@font-face {
  font-family: "SUIT Variable";
  src: url("/assets/fonts/SUIT-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #f6cbdc;
  --pink-pale: #fdf0f5;
  --plum: #38243a;
  --plum-soft: #6b5670;
  --white: #ffffff;
  --butter: #ffe9a8;
  --blue: #cfe6f5;
  --rose: #ee7aa0;
  --line: #ecdde5;
  --control-line: #8c7a90;
  --error: #a32a1c;
  --radius: 14px;
  --gutter: 1.25rem;
  --page: 74rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--plum);
  font-family: "SUIT Variable", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: var(--plum);
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Script-focused headings and main are not controls, so they need no focus ring.
   Links, buttons and inputs keep the visible ring above. */
[tabindex="-1"]:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--plum);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

.preview-banner {
  padding: 0.3125rem var(--gutter);
  background: var(--plum);
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding: 0.375rem max(var(--gutter), calc((100% - var(--page)) / 2));
  background: var(--white);
}

body[data-route="landing"] .site-header {
  background: var(--pink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--plum);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.wordmark-accent {
  color: #b83a6b;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.125rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--plum);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

main {
  margin: 0 auto;
}

body[data-route="apply"] main,
body[data-route="status"] main {
  padding: 1.5rem var(--gutter) 4rem;
  background: var(--pink-pale);
}

.loading,
.noscript {
  padding: 2rem var(--gutter);
  color: var(--plum-soft);
}

/* Footer */
.site-footer {
  padding: 2rem max(var(--gutter), calc((100% - var(--page)) / 2)) 2.5rem;
  background: var(--plum);
  color: var(--white);
  font-size: 0.875rem;
}

.site-footer > * + * {
  margin-top: 0.25rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.footer-brand .wordmark-accent {
  color: var(--pink);
}

.site-footer a {
  color: var(--white);
}

/* The quiz and chats are focused apps, without the site's nav and footer. */
body[data-route="find"] .site-header,
body[data-route="find"] .site-footer,
body[data-route="chat"] .site-header,
body[data-route="chat"] .site-footer,
body[data-route="lover"] .site-header,
body[data-route="lover"] .site-footer,
body[data-route="manager"] .site-header,
body[data-route="manager"] .site-footer {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.375rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--plum);
  border-radius: var(--radius);
  background: var(--plum);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: #4d3450;
}

.btn[disabled] {
  background: var(--pink-pale);
  border-color: var(--line);
  color: var(--plum-soft);
  cursor: not-allowed;
}

.btn.secondary {
  background: transparent;
  color: var(--plum);
}

.btn.secondary:hover {
  background: var(--white);
}

.btn.on-plum {
  border-color: var(--white);
  background: var(--white);
  color: var(--plum);
}

.btn.on-plum:hover {
  background: var(--pink);
  border-color: var(--pink);
}

.btn.danger {
  background: transparent;
  border-color: var(--error);
  color: var(--error);
}

.btn.danger:hover {
  background: var(--white);
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-row > .secondary {
  flex: 0 0 34%;
}

.btn-stack {
  display: grid;
  gap: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.75rem;
}

.button-link {
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--plum);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.product-label {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Landing: hero, one composition of copy and an opening love letter */
.home-hero {
  overflow: hidden;
  padding: 0.5rem var(--gutter) 3rem;
  background: var(--pink);
}

.home-hero-inner {
  display: grid;
  gap: 2.25rem;
  max-width: var(--page);
  margin: 0 auto;
}

.hero-copy h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 11.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.14;
  white-space: pre-line;
}

.hero-lead {
  margin-top: 1rem;
  font-size: 1.0625rem;
  white-space: pre-line;
}

.hero-actions {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.hero-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.envelope-back,
.envelope-front {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.envelope-back {
  bottom: 0;
}

.envelope-front {
  bottom: 0;
  z-index: 2;
}

.letter {
  position: relative;
  z-index: 1;
  margin: 0 8%;
  padding: 1.25rem 1.125rem 46%;
  border-radius: 14px 14px 0 0;
  background: var(--white);
  transform: rotate(-1.5deg);
  transform-origin: bottom center;
}

.letter-count {
  width: fit-content;
  margin: 0 auto;
  padding: 0.125rem 0.75rem;
  border: 2px solid var(--plum);
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.8125rem;
  font-weight: 800;
}

.letter-question {
  margin: 0.625rem 0 0.875rem;
  font-size: clamp(1.125rem, 5vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
}

.letter-answer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  background: var(--plum);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.letter-answer:hover {
  background: #4d3450;
}

.result-chip {
  position: absolute;
  right: 6%;
  bottom: 5%;
  left: 6%;
  z-index: 3;
  display: grid;
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  background: var(--white);
  line-height: 1.4;
  text-align: center;
  transform: rotate(1deg);
}

.result-chip small {
  color: var(--plum-soft);
  font-size: 0.75rem;
}

.result-chip strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Landing: sections */
.home-split {
  display: grid;
  gap: 2rem;
  max-width: var(--page);
  margin: 0 auto;
}

.home-find,
.home-lover,
.home-manager,
.home-steps {
  padding: 3.5rem var(--gutter);
}

.home-find h2,
.home-lover h2,
.home-manager h2,
.home-steps h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 7.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: pre-line;
}

.section-lead {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--plum-soft);
}

.sample-card {
  padding: 1.25rem;
  border: 3px solid var(--plum);
  border-radius: 18px;
  background: var(--pink-pale);
  box-shadow: 7px 7px 0 var(--plum);
  transform: rotate(1deg);
}

.sample-tag {
  font-size: 0.8125rem;
  font-weight: 700;
}

.sample-type {
  font-size: clamp(3.5rem, 19vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.sample-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sample-axes {
  display: grid;
  gap: 0.375rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.sample-axes li {
  display: grid;
  grid-template-columns: 4rem 1.5rem 1fr;
  align-items: center;
}

.sample-pair {
  display: grid;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--butter);
}

.sample-pair small {
  font-size: 0.8125rem;
}

.dots {
  display: inline-flex;
  gap: 0.25rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: var(--white);
}

.dot.on {
  background: var(--plum);
}

.home-lover {
  background: var(--butter);
}

.home-lover .section-lead {
  color: var(--plum);
}

.phone-preview {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  padding: 1rem;
  border: 3px solid var(--plum);
  border-radius: 24px;
  background: var(--white);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
}

.phone-head strong {
  display: block;
  line-height: 1.3;
}

.phone-head small {
  font-size: 0.75rem;
}

.avatar {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-minji {
  object-position: 45% 25%;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
}

.portrait-frame .photo-fallback {
  width: 100%;
  height: 100%;
}

img.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 25%;
}

/* The source is a wide 4:3 street scene. Scaled to twice the frame's height, with the
   face at about 55% across and 25% down placed in the frame's centre. */
.frame-haneul img.portrait-image {
  position: absolute;
  top: 0;
  left: -96.7%;
  width: 266.67%;
  max-width: none;
  height: 200%;
}

.avatar-manager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  font-weight: 900;
}

.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-pale);
  color: var(--plum-soft);
  font-size: 0.875rem;
}

.mini-bubble {
  width: fit-content;
  max-width: 86%;
  margin-top: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 16px;
  font-size: 0.9375rem;
}

.mini-bubble.them {
  border-top-left-radius: 4px;
  background: var(--pink-pale);
}

.mini-bubble.me {
  margin-left: auto;
  border-top-right-radius: 4px;
  background: var(--plum);
  color: var(--white);
}

.phone-foot {
  margin-top: 0.75rem;
  color: var(--plum-soft);
  font-size: 0.75rem;
  text-align: center;
}

.home-manager {
  background: var(--plum);
  color: var(--white);
}

.home-manager :focus-visible {
  outline-color: var(--white);
}

.home-manager .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.qa {
  display: grid;
  gap: 0.5rem;
}

.qa-q {
  width: fit-content;
  max-width: 86%;
  margin-left: auto;
  padding: 0.625rem 1rem;
  border-radius: 16px 4px 16px 16px;
  background: var(--pink);
  color: var(--plum);
  font-weight: 700;
}

.qa-a {
  width: fit-content;
  max-width: 90%;
  margin-bottom: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: 4px 16px 16px 16px;
  background: var(--white);
  color: var(--plum);
}

.intake-rows {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.intake-rows li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: start;
  padding: 0.875rem 0;
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--pink);
  font-weight: 900;
}

.intake-rows strong {
  display: block;
}

.intake-rows li > div > span,
.after-rows {
  color: var(--plum-soft);
  font-size: 0.9375rem;
}

.faq {
  margin-top: 0.75rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.5rem 0;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  padding-bottom: 1rem;
  color: var(--plum-soft);
}

.home-closing {
  padding: 3.5rem var(--gutter);
  background: var(--pink);
  text-align: center;
}

.home-closing h2 {
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: pre-line;
}

.home-closing .hero-actions {
  max-width: 24rem;
  margin-inline: auto;
}

/* Apply and status: a workspace on a pale field */
.workspace {
  max-width: 35rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-radius: 20px;
  background: var(--white);
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-tabs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--plum-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}

.step-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--pink-pale);
}

.step-tabs .done span {
  background: var(--pink);
  color: var(--plum);
}

.step-tabs .now {
  color: var(--plum);
}

.step-tabs .now span {
  background: var(--plum);
  color: var(--white);
}

.step-title {
  margin-top: 1.5rem;
  font-size: 1.625rem;
}

.step-hint {
  margin-top: 0.5rem;
  color: var(--plum-soft);
}

.field {
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field > label,
.field > legend {
  display: block;
  padding: 0;
  font-weight: 700;
}

.help {
  margin-top: 0.25rem;
  color: var(--plum-soft);
  font-size: 0.875rem;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--control-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--plum);
  font: inherit;
  font-size: max(1rem, 1em);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin-top: 0.375rem;
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 600;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-top: 0.625rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  background: var(--pink-pale);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0.15rem 0 0;
  accent-color: var(--plum);
}

.check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.check:has(input:checked) {
  outline: 2px solid var(--plum);
  outline-offset: -2px;
}

.policy {
  margin-top: 1.5rem;
  padding: 1.125rem;
  border-radius: var(--radius);
  background: var(--pink-pale);
  font-size: 0.9375rem;
}

.policy h3 {
  font-size: 1rem;
}

.policy p {
  margin-top: 0.5rem;
  color: var(--plum-soft);
}

.policy ul {
  margin: 0.625rem 0 0;
  padding-left: 1.125rem;
}

.alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--error);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--error);
  font-weight: 600;
}

.alert:empty {
  display: none;
}

.ai-notice {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--blue);
  font-size: 0.9375rem;
}

.ai-notice strong {
  display: block;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 900;
}

.page-lead {
  margin-top: 0.75rem;
  color: var(--plum-soft);
}

.section {
  margin-top: 1.5rem;
}

.card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--pink-pale);
}

.card-lead {
  background: var(--pink);
}

.card-lead .muted {
  color: var(--plum);
}

.card h2 {
  font-size: 1.0625rem;
}

.card > * + * {
  margin-top: 0.625rem;
}

.card .emphasis {
  font-size: 1.25rem;
  font-weight: 800;
}

.muted {
  color: var(--plum-soft);
  font-size: 0.9375rem;
}

.rows {
  margin: 0.75rem 0 0;
}

.rows div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}

.rows dt {
  color: var(--plum-soft);
  font-size: 0.9375rem;
}

.rows dd {
  margin: 0;
  white-space: pre-wrap;
}

.message-preview {
  padding: 0.875rem;
  border-radius: 10px;
  background: var(--white);
  white-space: pre-wrap;
}

/* FIND YOUR LOVER (v6, 2026-11-06): 홈과 같은 라벤더·잉크 톤의 차분한 에디토리얼 화면.
   문항·결과 구성은 그대로 두고 두꺼운 외곽선·만화풍 일러스트를 걷어냈어요. */
@font-face {
  font-family: "Hahmlet Latin";
  src: url("/assets/v5/fonts/Hahmlet-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body[data-route="find"] {
  --f-ink: #15131a;
  --f-ink-2: #4f4a57;
  --f-ink-3: #7d7686;
  --f-night: #221b31;
  --f-lav: #f7f3fd;
  --f-violet: #8c6fe0;
  --f-violet-deep: #6f52d6;
  --f-rose: #d64d7a;
  --f-line: rgba(21, 19, 26, 0.1);
  --f-serif: "Hahmlet Latin", "Didot", "Bodoni MT", Georgia, serif;
  background: #f4f1f8;
  color: var(--f-ink);
}

.find-app {
  width: 100%;
  max-width: 31rem;
  min-height: 100dvh;
  margin: 0 auto;
}

.find-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 5rem 1fr 5rem;
  align-items: center;
  padding: 0 0.5rem;
  background: #f4f1f8;
  border-bottom: 1px solid var(--f-line);
}

.find-bar-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-align: center;
  color: var(--f-ink);
}

.find-nav {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--f-ink-2);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.find-nav:hover {
  color: var(--f-ink);
}

.find-nav-end {
  justify-content: flex-end;
}

.find-progress {
  display: flex;
  gap: 4px;
  padding: 0.875rem 1.25rem 0;
}

.find-progress span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(21, 19, 26, 0.1);
}

.find-progress span.done {
  background: var(--f-ink);
}

.find-body {
  padding: 1.25rem 1.25rem 3.5rem;
}

/* 시작 화면: 밤색 표지 카드 + 네 개의 축 */
.poster {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.625rem;
  border-radius: 28px;
  background: var(--f-night);
  color: #fff;
  box-shadow: 0 22px 44px rgba(34, 20, 60, 0.22);
}

.poster::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(227, 189, 244, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.poster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.875rem;
  font-family: var(--f-serif);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.62);
}

.poster-axes {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.pa {
  display: grid;
  grid-template-columns: 1.25rem 1fr 1.25rem;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-serif);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.86);
}

.pa b {
  font-weight: 500;
  text-align: center;
}

.pa-track {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.pa-track i {
  position: absolute;
  top: 50%;
  left: var(--pa, 50%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #f49abf;
  box-shadow: 0 0 0 4px rgba(244, 154, 191, 0.18);
  transform: translate(-50%, -50%);
}

.pa-1 { --pa: 28%; }
.pa-2 { --pa: 64%; }
.pa-3 { --pa: 42%; }
.pa-4 { --pa: 74%; }

.poster-copy {
  padding: 0;
  border: 0;
  text-align: left;
}

.poster-copy .product-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #e3bdf4;
}

.poster-copy h1 {
  margin: 0.5rem 0 0.625rem;
  font-size: clamp(1.75rem, 7.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
  white-space: pre-line;
}

.poster-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.find-note {
  margin-top: 0.875rem;
  color: var(--f-ink-3);
  font-size: 0.8125rem;
  text-align: center;
}

.find-form {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.gender-field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.gender-field legend {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 800;
}

.gender-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.gender-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.gender-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.gender-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border: 1px solid rgba(21, 19, 26, 0.14);
  border-radius: 16px;
  background: #fff;
  font-weight: 700;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.gender-option:hover span {
  border-color: var(--f-violet);
}

.gender-option input:checked + span {
  border-color: var(--f-ink);
  background: var(--f-ink);
  color: #fff;
}

.gender-option input:focus-visible + span {
  outline: 3px solid rgba(140, 111, 224, 0.45);
  outline-offset: 2px;
}

body[data-route="find"] .help {
  color: var(--f-ink-3);
  font-size: 0.8125rem;
}

body[data-route="find"] .check {
  align-items: center;
  margin-top: 0.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(21, 19, 26, 0.1);
  border-radius: 16px;
  background: #fff;
  font-size: 0.9375rem;
}

body[data-route="find"] .check input {
  margin: 0;
  accent-color: var(--f-violet-deep);
}

body[data-route="find"] .check:has(input:checked) {
  outline: 0;
  border-color: var(--f-violet);
  background: var(--f-lav);
}

.find-app .btn {
  min-height: 3.5rem;
  border: 1px solid var(--f-ink);
  border-radius: 999px;
  background: var(--f-ink);
  color: #fff;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.find-app .btn:hover {
  background: #2c2638;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(21, 19, 26, 0.16);
}

.find-app .btn.secondary {
  border-color: rgba(21, 19, 26, 0.16);
  background: #fff;
  color: var(--f-ink);
}

.find-app .btn.secondary:hover {
  border-color: var(--f-ink);
  background: #fff;
}

.find-form .btn {
  margin-top: 0.75rem;
}

/* 문항 화면 */
.question-card {
  margin-top: 0.75rem;
  padding: 0;
}

.question-count {
  font-family: var(--f-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  color: var(--f-violet-deep);
}

.question-card h1 {
  margin-top: 0.75rem;
  font-size: clamp(1.625rem, 6.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.34;
  white-space: pre-line;
}

.answers {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.answer {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: 0.875rem;
  min-height: 5rem;
  padding: 1rem 1.125rem 1rem 1rem;
  border: 1px solid rgba(21, 19, 26, 0.12);
  border-radius: 20px;
  background: #fff;
  color: var(--f-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(60, 40, 90, 0.05);
  transition: border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease;
}

.answer-key {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(21, 19, 26, 0.18);
  border-radius: 50%;
  font-family: var(--f-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--f-ink-2);
}

.answer:hover {
  border-color: var(--f-violet);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(60, 40, 90, 0.1);
}

.answer:focus-visible {
  outline: 3px solid rgba(140, 111, 224, 0.45);
  outline-offset: 2px;
}

.answer[aria-pressed="true"] {
  border-color: var(--f-violet-deep);
  background: var(--f-lav);
}

.answer[aria-pressed="true"] .answer-key {
  border-color: var(--f-violet-deep);
  background: var(--f-violet-deep);
  color: #fff;
}

.answer[disabled] {
  cursor: progress;
}

/* 결과 화면: 밤색 유형 카드 */
.result-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 28px;
  background: var(--f-night);
  color: #fff;
  box-shadow: 0 22px 44px rgba(34, 20, 60, 0.22);
}

.result-card::after {
  content: "";
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(227, 189, 244, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.result-tag {
  width: fit-content;
  padding: 0.1875rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
}

.result-kicker {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.62);
}

.result-type {
  margin-top: 0.25rem;
  font-family: var(--f-serif);
  font-size: clamp(4.25rem, 21vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #f2a9c8;
}

.result-card h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 6.4vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.result-desc {
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.result-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.result-traits li {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.result-axes {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.axis-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.axis-side {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.axis-side b {
  font-family: var(--f-serif);
  font-weight: 500;
}

.axis-side.chosen {
  color: #fff;
  font-weight: 700;
}

.result-axes .dots {
  gap: 3px;
}

.result-axes .dot {
  width: 1.125rem;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.result-axes .dot.on {
  background: rgba(255, 255, 255, 0.55);
}

.result-axes .axis-side.chosen .dot.on {
  background: #f49abf;
}

.pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1rem;
}

.pair {
  display: flex;
  flex-direction: column;
  padding: 1.125rem 1rem;
  border: 1px solid rgba(21, 19, 26, 0.08);
  border-radius: 20px;
  background: #fff;
}

.pair.good {
  background: #fdf3f7;
}

.pair.pace {
  background: #f5f1fe;
}

.pair small {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--f-ink-3);
}

.pair strong {
  margin-top: 0.5rem;
  font-family: var(--f-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.pair.good strong {
  color: #b23a63;
}

.pair.pace strong {
  color: var(--f-violet-deep);
}

.pair p {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.pair .pair-desc {
  margin-top: 0.375rem;
  color: var(--f-ink-2);
  font-weight: 400;
}

.lover-offer {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0.875rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.875rem;
  border: 1px solid rgba(21, 19, 26, 0.08);
  border-radius: 20px;
  background: #fff;
}

.offer-photo {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 16px;
  object-fit: cover;
}

.lover-offer h2 {
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
}

.lover-offer p {
  font-size: 0.8125rem;
  color: var(--f-ink-2);
}

.result-actions {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}

.result-why {
  margin-top: 1rem;
  padding: 0 1.125rem;
  border: 1px solid rgba(21, 19, 26, 0.08);
  border-radius: 18px;
  background: #fff;
}

.result-why summary {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.result-why ul {
  margin: 0;
  padding: 0 0 0.75rem;
  list-style: none;
  font-size: 0.9375rem;
}

.result-why li {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(21, 19, 26, 0.08);
}

.result-why small {
  display: block;
  color: var(--f-ink-3);
  font-size: 0.75rem;
}

.result-retake {
  display: block;
  margin: 0.75rem auto 0;
  color: var(--f-ink-2);
}

@media (min-width: 48rem) {
  .find-body {
    padding-top: 2rem;
  }

  .poster {
    padding: 2.25rem 2rem 2rem;
  }
}

/* Chats: a messenger sized to the screen, with its own scrolling log */
body[data-route="chat"],
body[data-route="lover"],
body[data-route="manager"] {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: var(--pink-pale);
}

body[data-route="chat"] main,
body[data-route="lover"] main,
body[data-route="manager"] main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  min-height: 0;
}

.chat-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
}

.chat-top {
  padding: 0.25rem 0.75rem 0.375rem;
  border-bottom: 2px solid var(--plum);
  background: var(--pink);
}

.chat-identity {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.chat-back {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.chat-identity .avatar {
  width: 2.75rem;
  height: 2.75rem;
}

.chat-names {
  min-width: 0;
}

.chat-names h1 {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.chat-names p {
  font-size: 0.75rem;
  line-height: 1.35;
}

.chat-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 0.875rem;
}

.demo-badge {
  margin-right: auto;
  padding: 0.0625rem 0.5rem;
  border-radius: 6px;
  background: var(--butter);
  font-size: 0.75rem;
  font-weight: 800;
}

.chat-tool,
.chat-tools .button-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--plum);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  margin: 0;
  padding: 1rem 0.875rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.bubble {
  max-width: 82%;
}

.bubble p {
  padding: 0.625rem 0.875rem;
  border-radius: 18px;
  white-space: pre-wrap;
}

.bubble.assistant p {
  border-top-left-radius: 4px;
  background: var(--pink-pale);
}

.bubble.user {
  align-self: flex-end;
}

.bubble.user p {
  border-top-right-radius: 4px;
  background: var(--plum);
  color: var(--white);
}

.bubble small {
  display: block;
  margin-top: 0.125rem;
  color: var(--plum-soft);
  font-size: 0.75rem;
}

.chat-dock {
  padding: 0 0.75rem calc(0.625rem + env(safe-area-inset-bottom));
  background: var(--white);
}

.chat-dock .alert,
.chat-dock .notice {
  margin: 0 0 0.5rem;
}

.chat-status {
  padding-bottom: 0.375rem;
  color: var(--plum-soft);
  font-size: 0.875rem;
}

.find-body .chat-status {
  padding: 0.75rem 0 0;
  text-align: center;
}

.starters {
  display: flex;
  gap: 0.375rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.starter {
  flex: none;
  min-height: 2.75rem;
  padding: 0.25rem 0.875rem;
  border: 2px solid var(--plum);
  border-radius: 12px;
  background: var(--white);
  color: var(--plum);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.starter:hover {
  background: var(--pink);
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 2.875rem;
  max-height: 6.5rem;
  margin: 0;
  padding: 0.625rem 0.875rem;
  border-radius: 14px;
  resize: none;
  field-sizing: content;
}

.send {
  flex: none;
  min-width: 4.25rem;
  min-height: 2.875rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 14px;
  background: var(--plum);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
}

.send[disabled] {
  background: var(--line);
  color: var(--plum-soft);
  cursor: not-allowed;
}

.notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--pink-pale);
  font-size: 0.9375rem;
}

/* Tablet and up */
@media (min-width: 48rem) {
  :root {
    --gutter: 2rem;
  }

  .home-hero {
    padding-block: 1.5rem 4.5rem;
  }

  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5.6vw, 5rem);
  }

  .hero-lead {
    font-size: 1.25rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

  .home-closing .hero-actions {
    justify-content: center;
    max-width: none;
  }

  .home-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }

  .home-split.top {
    align-items: start;
  }

  .home-find,
  .home-lover,
  .home-manager,
  .home-steps {
    padding-block: 5.5rem;
  }

  .home-find .btn,
  .home-lover .btn,
  .home-manager .btn {
    width: auto;
  }

  .sample-card {
    max-width: 26rem;
    margin-left: auto;
    padding: 2rem;
  }

  .home-lover .phone-preview {
    margin-left: 0;
  }

  .workspace {
    padding: 2.25rem;
  }

  .chat-shell {
    border-inline: 2px solid var(--plum);
  }
}

@media (max-width: 22.5rem) {
  .site-nav {
    gap: 0 0.75rem;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

  .pairs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Shared brand from the user supplied v5. */
.wordmark{display:inline-flex;align-items:center;gap:0}.brand-v5-mark{width:40px;height:auto;margin-right:8px;flex-shrink:0}

/* Six-step application: scoped to preserve the v6 homepage and chat. */
.workspace.intake { max-width: 820px; padding-top: 44px; padding-bottom: 70px; }
.intake-top { display: flex; justify-content: space-between; align-items: center; color: #8a7180; font-size: 12px; letter-spacing: .08em; }
.intake-steps { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; gap: 8px; margin: 22px 0 38px; padding: 0; }
.intake-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #8d858d; font-size: 12px; text-align: center; }
.intake-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e4dce2; border-radius: 50%; font-weight: 700; }
.intake-steps .done { color: #9d4e74; }
.intake-steps .done > span { background: #f5e7ef; border-color: #f5e7ef; }
.intake-steps .current { color: #211b25; font-weight: 800; }
.intake-steps .current > span { background: #211b25; border-color: #211b25; color: #fff; }
.intake .step-title { font-size: clamp(25px, 4vw, 36px); line-height: 1.3; margin-bottom: 12px; letter-spacing: -.055em; }
.intake .step-hint { font-size: 16px; line-height: 1.7; }
.intake-save-note { color: #837983; font-size: 12px; line-height: 1.6; margin: 12px 0 22px; }
.intake-body { padding: 0; border: 0; margin: 0; min-width: 0; }
.intake-body > * + * { margin-top: 24px; }
.intake-note { padding: 16px 18px; background: #f7f2f6; border: 1px solid #e8dfe7; border-radius: 14px; color: #6a5466; font-size: 13px; line-height: 1.8; }
.intake-verify { padding: 36px 28px; background: #fff; border: 1px solid #e8e1e6; border-radius: 24px; text-align: center; }
.intake-verify h2 { font-size: 22px; margin: 16px 0; }
.intake-verify p { line-height: 1.85; }
.intake-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 17px; background: #f6e8f0; color: #ae5c85; font-weight: 800; }
.intake-result { color: #6d447c; font-weight: 700; margin: 24px 0; }
.intake-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #e8e1e6; padding-top: 24px; margin-top: 32px; }
.intake-nav .btn { min-width: 116px; }
.intake-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.intake .field { min-width: 0; }
.intake .field label, .intake .field legend { font-size: 14px; font-weight: 700; }
.intake .field input:not([type=checkbox]):not([type=radio]), .intake select, .intake textarea { width: 100%; border: 1px solid #ddd4df; border-radius: 12px; padding: 13px 14px; background: #fff; font: inherit; color: #29242d; }
.intake textarea { resize: vertical; }
.intake-chips, .intake-plans { border: 0; padding: 0; }
.intake-chip-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.intake-chip { position: relative; cursor: pointer; }
.intake-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.intake-chip span { display: inline-block; padding: 10px 15px; background: #fff; border: 1px solid #e1d8e1; border-radius: 24px; font-size: 13px; font-weight: 500; }
.intake-chip input:checked + span { background: #f4e3ed; border-color: #c779a1; color: #863d66; }
.intake-chip input:focus-visible + span { outline: 3px solid #a896d0; outline-offset: 3px; }
.intake-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.intake-photo-slot { position: relative; min-width: 0; aspect-ratio: 3 / 4; border: 1px solid #ded5de; border-radius: 18px; overflow: hidden; background: #f9f6f8; }
.intake-photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.intake-upload { display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.intake-upload b { color: #a57196; font-size: 34px; font-weight: 300; }
.intake-upload small { color: #938294; }
.intake-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.intake-photo-slot:focus-within { outline: 3px solid #a896d0; outline-offset: 3px; }
.intake-photo-label { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 20px; background: #fff; color: #5b3e56; font-size: 11px; }
.intake-photo-actions { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; gap: 6px; justify-content: flex-end; }
.intake-photo-actions button { background: #fff; border: 1px solid #e8e0e6; border-radius: 8px; padding: 8px 10px; color: #302631; font: inherit; font-size: 12px; cursor: pointer; }
.intake-photo-strip { display: flex; gap: 12px; margin-bottom: 20px; }
.intake-photo-strip img { width: 80px; height: 100px; object-fit: cover; border-radius: 12px; }
.intake-tips { padding-left: 22px; font-size: 14px; line-height: 2; color: #5d5261; }
.intake-details { border-bottom: 1px solid #e8e1e6; padding: 16px 0; font-size: 13px; line-height: 1.8; }
.intake-details summary { font-weight: 700; cursor: pointer; }
.intake .intake-plan { display: grid; grid-template-columns: 20px 1fr; gap: 8px 12px; padding: 20px; margin-top: 14px; border: 1px solid #e5dce4; border-radius: 18px; background: #fff; cursor: pointer; }
.intake-plan:has(input:checked) { border-color: #ae6396; background: #fdf6fa; box-shadow: 0 0 0 1px #ae6396; }
.intake-plan > input { grid-row: 1 / 5; margin: 3px 0 0; accent-color: #a15187; }
.intake-plan > :not(input) { grid-column: 2; }
.intake-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.intake-plan-head b { font-size: 17px; }
.intake-plan-head > span, .intake-plan-fees { font-size: 12px; color: #766678; font-weight: 500; }
.intake-plan strong { font-size: 17px; }
.intake-preview { display: grid; grid-template-columns: 130px 1fr; gap: 22px; border: 1px solid #e5dce4; border-radius: 18px; padding: 22px; background: #fff; }
.intake-preview img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.intake-preview h2 { font-size: 20px; margin: 8px 0; }
.intake-preview p, .intake-preview small { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.intake-preview small { color: #897b8c; }
.intake-receipt { padding: 24px; background: #28202d; color: #fff; border-radius: 18px; }
.intake-receipt h3 { font-size: 14px; color: #ded2e0; }
.intake-receipt strong { font-size: 32px; }
.intake-receipt p { font-size: 13px; line-height: 1.8; color: #ded2e0; margin-top: 10px; }
.intake .check { align-items: flex-start; line-height: 1.7; font-weight: 500; }
.intake .check input { margin-top: 4px; accent-color: #a15187; flex-shrink: 0; }
.intake-status .intake-note { margin-top: 20px; }
@media (max-width: 600px) {
  .workspace.intake { padding-top: 24px; }
  .intake-steps { gap: 3px; margin-bottom: 28px; }
  .intake-steps li { font-size: 10px; letter-spacing: -.03em; }
  .intake-steps li > span { width: 26px; height: 26px; }
  .intake-verify { padding: 26px 18px; }
  .intake-field-grid { grid-template-columns: 1fr; gap: 8px; }
  .intake-photo-grid { gap: 8px; }
  .intake-photo-slot { border-radius: 12px; }
  .intake-upload { font-size: 11px; }
  .intake-photo-actions { left: 5px; right: 5px; bottom: 6px; gap: 3px; }
  .intake-photo-actions button { padding: 7px 6px; font-size: 10px; }
  .intake-photo-label { top: 6px; left: 6px; padding: 4px 6px; font-size: 10px; }
  .intake .intake-plan { padding: 16px; }
  .intake-preview { grid-template-columns: 80px 1fr; padding: 16px; gap: 14px; }
  .intake-nav .btn { padding: 14px 20px; }
}

.intake-contact { margin-top:28px; padding-top:20px; border-top:1px solid #e8e1e6; color:#786a7d; font-size:13px; line-height:1.9; text-align:center; }
.intake-contact a { color:#7e456b; font-weight:800; white-space:nowrap; text-underline-offset:3px; }

.intake .field > .check { display:flex; gap:10px; padding:0; }
@media (max-width: 600px) {
  body[data-route="apply"] main, body[data-route="status"] main { padding:16px 8px 32px; }
  body[data-route="apply"] .workspace, body[data-route="status"] .workspace { padding-left:14px; padding-right:14px; }
  .card.intake-status { padding:0; background:transparent; }
}
