/* 이나 — 랜딩 페이지
   방향: name-as-monument (seed 1179384104) · 색: Oxblood and grey · 서체: Pretendard (한글 때문에 Archivo 대신) */

:root {
  --bg: #e2e2e2;
  --surface: #d6d6d6;
  --ink: #7d0c14;
  --muted: #7a4a4e;
  --accent: #7d0c14;
  --accent-ink: #e2e2e2;
  --field-1: #7d0c14;
  --field-1-ink: #e2e2e2;
  --field-1-soft: #dca9ad;

  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  /* 다섯 단계 */
  --step-small: 0.875rem;                                    /* 14px */
  --step-body: clamp(1.125rem, 1.08rem + 0.15vw, 1.1875rem);   /* 18–19px */
  --step-head: clamp(1.625rem, 1.2rem + 1.1vw, 2.25rem);      /* 26–36px: 섹션 제목, 질문 */
  --step-band: clamp(4rem, 2rem + 7vw, 8rem);                 /* 흐르는 이름 */
  --step-mega: min(49vw, 78svh);                              /* 이름: 두 글자가 화면 폭의 약 90% */

  --m: clamp(16px, 2.8vw, 40px);           /* 바깥 여백 한 쌍 */
  --gap-sec: clamp(96px, 12vw, 200px);     /* 섹션 사이 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--m); }

.h-sec {
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* 버튼 하나의 모양: 각진 사각형 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-size: var(--step-body); font-weight: 600; text-decoration: none;
  border-radius: 0;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--field-1-ink); color: var(--field-1); }
.btn--light:hover { background: var(--field-1-soft); }

/* ── 상단 줄 ── */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--m);
  color: var(--field-1-ink);
}
.bar__mark { font-weight: 800; font-size: var(--step-body); text-decoration: none; letter-spacing: -0.02em; }
.bar__nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-small); }
.bar__nav a:not(.btn) { text-decoration: none; }
.bar__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.bar__nav .btn { min-height: 44px; font-size: var(--step-small); }

/* ── 첫 화면 ── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--field-1);
  color: var(--field-1-ink);
  padding: 0 var(--m);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero__name {
  align-self: end;
  display: flex;
  font-size: var(--step-mega);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  margin: 0 0 0 -0.04em;
  padding-top: 96px;
  white-space: nowrap;
}
.mask { display: inline-block; overflow: hidden; padding-bottom: 0.06em; }
.hero__word { display: inline-block; color: var(--field-1-soft); }
.hero__word::first-letter { color: var(--field-1-ink); }
.hero__foot {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  padding: 28px 0 40px;
}
.hero__lead { max-width: 34ch; font-size: var(--step-body); line-height: 1.5; }

/* ── 하는 일 ── */
.does { padding-block: var(--gap-sec); }
.does .h-sec { margin-bottom: 72px; }
.does__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px;
}
.does__col:nth-child(1) { grid-column: 1 / span 3; }
.does__col:nth-child(2) { grid-column: 4 / span 3; }
.does__col:nth-child(3) { grid-column: 7 / span 3; }
.does__note { grid-column: 10 / span 3; grid-row: 1; font-size: var(--step-body); color: var(--muted); min-height: 6em; }
.does__group { font-size: var(--step-body); font-weight: 700; margin-bottom: 1.4em; }
.does__list li { line-height: 1.25; }
.does__list button {
  display: block; width: 100%; text-align: left;
  padding: 6px 0; background: none; border: 0; cursor: pointer;
  font-size: var(--step-body); color: var(--muted);
  transition: color .15s var(--ease), transform .2s var(--ease);
}
.does__list button:hover, .does__list button:focus-visible, .does__list button[aria-current="true"] { color: var(--ink); transform: translateX(4px); }
.does__sum { display: none; }

/* ── 보여 주기 ── */
.show {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88svh;
  background: var(--surface);
}
.show__plate {
  margin: 40px var(--m);
  align-self: center;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  padding: clamp(20px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: center;
}
.show__side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 64px var(--m) 40px 0;
}
.tabs { display: flex; gap: 28px; }
.tabs button {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: var(--step-body); color: var(--muted); font-weight: 500;
  transition: color .15s var(--ease);
}
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.tabs button:hover { color: var(--ink); }
.show__text .h-sec { margin-bottom: 40px; }
.show__text p { max-width: 34ch; }
.cells { display: grid; grid-template-columns: 1fr 1fr; }
.cell {
  display: flex; align-items: center; padding: 0 24px; min-height: 72px;
  font-weight: 700; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.cell--ink { background: var(--ink); color: var(--bg); }
.cell--ink:hover { background: var(--muted); }
.cell--tone { background: var(--bg); color: var(--ink); }
.cell--tone:hover { background: var(--ink); color: var(--bg); }

/* 대화 조각 (제품 화면) */
.show__plate .bubble { font-size: var(--step-head); line-height: 1.3; padding: 20px 26px; border-radius: 28px; max-width: 92%; }
.show__plate .chat { gap: 22px; }
.chat { display: flex; flex-direction: column; gap: 14px; }
.chat__row { display: flex; }
.chat__row--me { justify-content: flex-end; }
.bubble {
  max-width: 82%; padding: 14px 18px; border-radius: 20px;
  background: var(--surface); color: var(--ink); font-size: var(--step-body); line-height: 1.45;
}
.bubble--me { background: var(--ink); color: var(--bg); }
.chat__tool, .chat__src { font-size: var(--step-small); color: var(--muted); }
.chat__tool::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 8px; vertical-align: middle; }
.chat.is-swapping { opacity: 0; transform: translateY(8px); }
.chat { transition: opacity .25s var(--ease), transform .35s var(--ease); }

/* ── 작동 방식 ── */
.how { padding-block: var(--gap-sec); }
.how__col { width: min(600px, 100% - 2 * var(--m)); margin-left: max(var(--m), 30vw); }
.how .h-sec { margin-bottom: 48px; }
.stage + .stage { margin-top: 72px; }
.stage > p { color: var(--muted); line-height: 1.6; }
.stage > p b { color: var(--ink); font-weight: 700; }
.ev { margin-top: 20px; background: var(--surface); padding: 22px 24px; }
.ev__title { font-weight: 800; margin-bottom: 14px; }
.ev__foot { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.mem div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 14px; background: var(--bg); }
.mem div + div { margin-top: 2px; }
.mem dt { color: var(--muted); }
.ev--notes { display: flex; flex-direction: column; gap: 10px; background: none; padding: 0; }
.ev--notes li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px;
  background: var(--surface); padding: 16px 20px; border-radius: 16px;
}
.note__app { font-weight: 800; font-size: var(--step-small); }
.note__time { grid-column: 2; grid-row: 1; font-size: var(--step-small); color: var(--muted); }
.note__body { grid-column: 1 / -1; }
.ev--chat { display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.ev--chat .bubble { background: var(--bg); }
.ev--chat .bubble--me { background: var(--ink); }

/* 팀플 시간 찾기 (살아 있는 것) */
.sched__controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tog {
  min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 600; cursor: pointer; border-radius: 0;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.tog[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.tog:hover { background: var(--muted); color: var(--bg); border-color: var(--muted); }
.sched__grid {
  display: grid; grid-template-columns: 3.2em repeat(5, 1fr); gap: 2px;
  font-size: var(--step-small); color: var(--muted);
}
.sched__grid .d { text-align: center; font-weight: 700; color: var(--ink); padding-bottom: 4px; }
.sched__grid .t { text-align: right; padding-right: 6px; line-height: 12px; }
.sched__grid .c { height: 12px; background: var(--bg); transition: background-color .25s var(--ease); }
.sched__grid .c.busy { background: var(--muted); }
.sched__grid .c.lab { background: var(--ink); }
.sched__grid .c.pick { background: #2f7a55; }
.sched__legend { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.key { display: inline-block; width: 14px; height: 14px; margin-right: -8px; vertical-align: middle; }
.key--busy { background: var(--muted); }
.key--lab { background: var(--ink); }
.key--pick { background: #2f7a55; }
.sched__picks { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.sched__picks li { font-weight: 600; }
.sched__picks li span { font-weight: 400; color: var(--muted); }

/* 실제 사진: 흑백, 각진 모서리 */
.platform { margin: 120px 0 0; }
.platform img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; filter: grayscale(1) contrast(1.05); }
.platform figcaption { padding: 16px var(--m) 0; font-size: var(--step-small); color: var(--muted); }
.sign { margin-top: 40px; }
.sign img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.sign figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }

/* ── 증거 띠 ── */
.proof__band {
  background: var(--field-1); color: var(--field-1-ink);
  height: 34vh; min-height: 200px;
  display: flex; align-items: center; overflow: hidden;
}
.proof__track {
  display: flex; align-items: center; gap: 0.35em;
  font-size: var(--step-band); font-weight: 900; letter-spacing: -0.04em; white-space: nowrap;
  animation: drift 40s linear infinite;
}
.proof__track i { display: inline-block; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--field-1-soft); }
@keyframes drift { to { transform: translateX(-50%); } }
.proof__after { padding-top: 40px; padding-bottom: var(--gap-sec); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.proof__left { grid-column: 1 / span 5; }
.proof__line { font-size: var(--step-body); font-weight: 600; }
.rules { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 18px; }
.rules b { font-weight: 800; }

/* ── 질문 ── */
.faq { padding-bottom: var(--gap-sec); }
.faq__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; }
.faq__row + .faq__row { margin-top: 80px; }
.faq__q { grid-column: 1 / span 6; font-size: var(--step-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.faq__q--head { color: var(--muted); font-weight: 800; }
.faq__a { grid-column: 8 / span 5; max-width: 40ch; line-height: 1.55; }

/* ── 신청 띠 ── */
.cta__band {
  position: relative; display: block; min-height: 60svh;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  padding: 32px var(--m) 0; overflow: hidden;
  transition: background-color .12s linear, color .12s linear;
}
.cta__band:hover, .cta__band:focus-visible { background: var(--accent-ink); color: var(--accent); }
.cta__lead { position: absolute; top: 32px; left: var(--m); max-width: 30ch; font-size: var(--step-body); font-weight: 600; line-height: 1.45; }
.cta__arrow { position: absolute; top: 32px; right: var(--m); width: 48px; height: 48px; transition: transform .25s var(--ease); }
.cta__band:hover .cta__arrow { transform: translate(4px, -4px); }
.cta__word {
  display: block; font-size: var(--step-mega); font-weight: 900; line-height: 0.8; letter-spacing: -0.06em;
  padding-top: max(16svh, 120px); margin-left: -0.04em; padding-bottom: 24px;
}

/* ── 바닥글 ── */
.foot { background: var(--surface); color: var(--ink); padding-top: 40px; overflow: hidden; }
.foot__name { font-size: var(--step-mega); font-weight: 900; line-height: 0.86; letter-spacing: -0.06em; padding-inline: var(--m); margin-left: -0.04em; }
.foot__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 72px; }
.foot__places { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 6px; font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; }
.foot__places a { text-decoration: none; }
.foot__places a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot__links { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: var(--step-small); align-content: start; padding-top: 8px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__legal { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 96px; padding-bottom: 32px; font-size: var(--step-small); color: var(--muted); }
.foot__legal p { max-width: 70ch; }

/* ── 들어오는 움직임 ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__word { transform: translateY(105%); }
  .js.loaded .hero__word { transform: none; transition: transform .9s var(--ease); }
}
.js .hero__foot { opacity: 0; transform: translateY(16px); }
.js.loaded .hero__foot { opacity: 1; transform: none; transition: opacity .6s var(--ease) .5s, transform .7s var(--ease) .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .proof__track { animation: none; }
  .js .reveal, .js .hero__word, .js .hero__foot { opacity: 1; transform: none; transition: none; }
  .chat, .does__list button { transition: none; }
}

/* ── 휴대폰 ── */
@media (max-width: 860px) {
  .bar__nav a:not(.btn) { display: none; }
  .hero__name { padding-top: 18svh; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 24px; }
  .hero__lead { max-width: none; }

  .does .h-sec { margin-bottom: 48px; }
  .does__grid { display: flex; flex-direction: column; gap: 40px; }
  .does__note { display: none; }
  .does__list button { line-height: 1.4; padding: 8px 0; }
  .does__sum { display: block; margin-top: 12px; color: var(--muted); }

  .show { grid-template-columns: 1fr; min-height: 0; }
  .show__plate { margin: 16px var(--m) 0; aspect-ratio: auto; min-height: 92vw; }
  .show__plate .bubble { font-size: var(--step-body); padding: 14px 18px; border-radius: 20px; }
  .show__side { padding: 32px var(--m) 40px; gap: 32px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }

  .how__col { width: auto; margin: 0 var(--m); }
  .stage + .stage { margin-top: 56px; }

  .proof__band { height: 22vh; min-height: 150px; }
  .platform { margin-top: 72px; }
  .platform img { aspect-ratio: 4 / 3; }
  .proof__after, .faq__row, .foot__row { display: flex; flex-direction: column; gap: 20px; }
  .rules { gap: 14px; }
  .faq__row + .faq__row { margin-top: 56px; }
  .faq__row { gap: 12px; }
  .faq__a { max-width: none; }

  .cta__band { min-height: 46svh; }
  .cta__band { display: flex; flex-direction: column; padding-top: 24px; }
  .cta__word { order: 1; padding-top: 0; padding-bottom: 0; }
  .cta__lead { order: 2; position: static; margin: 20px 0 28px; max-width: 18em; }
  .cta__arrow { width: 32px; height: 32px; }

  .foot__legal { flex-direction: column; align-items: flex-start; }
  .foot__links { padding-top: 0; }
}

/* ── 문서 페이지: 개인정보처리방침, 이용약관, 지원 (privacy.html, terms.html, support.html) ── */
.bar--doc .bar__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.doc-head {
  background: var(--field-1); color: var(--field-1-ink);
  padding: 136px var(--m) 40px;
}
.doc-head__title {
  font-size: clamp(2.5rem, 1rem + 6vw, 7rem); font-weight: 900;
  line-height: 0.95; letter-spacing: -0.05em; margin-left: -0.03em;
}
.doc-head__meta { margin-top: 28px; max-width: 46ch; color: var(--field-1-ink); }

.doc {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: 72px var(--m) var(--gap-sec);
}
.doc__toc { grid-column: 1 / span 3; align-self: start; position: sticky; top: 24px; font-size: var(--step-small); }
.doc__toc-title { font-weight: 800; margin-bottom: 12px; }
.doc__toc li + li { margin-top: 6px; }
.doc__toc a { color: var(--muted); text-decoration: none; }
.doc__toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.doc__body { grid-column: 5 / span 7; max-width: 40em; line-height: 1.75; }
.doc__body > section { scroll-margin-top: 24px; }
.doc__body > section + section { margin-top: 72px; }
.doc__body h2 {
  font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); font-weight: 800;
  line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 20px;
}
.doc__body h3 { font-size: var(--step-body); font-weight: 700; margin: 32px 0 10px; }
.doc__body p + p, .doc__body p + ul, .doc__body p + ol, .doc__body ul + p, .doc__body ol + p { margin-top: 1em; }
.doc__body ul { list-style: disc; padding-left: 1.2em; }
.doc__body ol { list-style: decimal; padding-left: 1.4em; }
.doc__body li + li { margin-top: 0.45em; }
.doc__body li > ul, .doc__body li > ol { margin-top: 0.45em; }
.doc__body li::marker { color: var(--muted); }
.doc__body a { text-underline-offset: 3px; }
.doc__body b { font-weight: 700; }
.doc__note { color: var(--muted); }

/* 요점: 회색 판 위 굵은 첫 마디 */
.doc__sum { background: var(--surface); padding: 24px 28px; margin-top: 40px; }
.doc__sum h2 { margin-bottom: 14px; }
.doc__sum ul { list-style: none; padding: 0; }
.doc__sum li + li { margin-top: 10px; }

/* 항목과 값: 위탁 업체, 보유 기간 등 */
.spec { margin-top: 16px; }
.spec > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 18px; background: var(--surface); }
.spec > div + div { margin-top: 2px; }
.spec dt { color: var(--muted); font-weight: 600; }
.spec + h3 { margin-top: 40px; }

/* 운영자가 확인해야 하는 값 */
.tbc { background: var(--field-1-soft); color: var(--ink); padding: 0 0.25em; font-weight: 700; }

/* 지원: 큰 메일 주소 */
.mail-big {
  display: inline-block; margin-top: 8px;
  font-size: var(--step-head); font-weight: 800; letter-spacing: -0.02em;
  text-decoration: none; overflow-wrap: anywhere;
}
.mail-big:hover { text-decoration: underline; text-underline-offset: 6px; }
.qa + .qa { margin-top: 36px; }
.qa h3 { margin-top: 0; }

.foot__links .foot__privacy { font-weight: 800; }

@media (max-width: 860px) {
  .bar--doc .bar__nav { gap: 16px; }
  .bar--doc .bar__nav a:not(.btn) { display: inline; }
  .doc-head { padding-top: 112px; }
  .doc { display: block; padding-top: 40px; }
  .doc__toc { position: static; margin-bottom: 56px; }
  .doc__sum { padding: 20px; margin-top: 32px; }
  .doc__body > section + section { margin-top: 56px; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; }
}
@media (max-width: 420px) {
  .bar--doc .bar__nav { gap: 12px; }
}
