/* RN마루 공개 랜딩 — 디자인 토큰
 *
 * 조판 원칙 (한국어 우선):
 *   - `word-break: keep-all` 을 전역에 둔다. 이게 없으면 "한국어로 이해하세요" 가
 *     "한국어로 이해 / 하세요." 로 어절 중간에서 잘린다. 실제로 잘렸다.
 *   - 헤딩에 라틴 serif(Georgia) 를 쓰지 않는다. 한글 글리프가 없어 폴백이 일어나고,
 *     한국어 Windows 에서는 바탕체로 떨어져 라틴(serif)과 한글(serif 폴백)의 인상이
 *     따로 논다. 한 벌의 산세리프로 통일하고 크기·자간·굵기로만 위계를 만든다.
 *   - 자간은 한글에서 -0.02em 안쪽으로 둔다. -0.05em 대는 자모가 뭉친다.
 *
 * 외부 자산 금지(landing/README.md): 원격 폰트·분석 스크립트를 넣지 않는다.
 * 따라서 폰트는 OS 내장만 쓰고, 없을 때의 폴백까지 명시한다.
 */

:root {
  color-scheme: light;

  /* 잉크 — 순검정 대신 녹색기 있는 먹색. 크림 배경에서 눈이 덜 아프다. */
  --ink: #14231f;
  --ink-2: #435a54;
  --ink-3: #71857f;

  /* 지면 */
  --paper: #faf7f1;
  --surface: #ffffff;
  --surface-2: #f4f1e9;

  /* 선 — 면을 나누는 일은 그림자가 아니라 헤어라인이 한다. */
  --line: #e5e1d7;
  --line-2: #d2ccbe;

  /* 브랜드 */
  --green: #0d5c4a;
  --green-deep: #093b30;
  --green-tint: #edf3f0;
  --green-on-dark: #7fd5bc;

  /* 악센트 — 상태 표시 한 가지 역할로만 쓴다. 장식으로 흩뿌리지 않는다. */
  --accent: #b8502c;
  --accent-tint: #f8ede7;

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;

  /* 그림자는 거의 쓰지 않는다. 쓸 때도 번지지 않게. */
  --shadow-sm: 0 1px 2px rgba(20, 35, 31, 0.04);
  --shadow: 0 1px 2px rgba(20, 35, 31, 0.04), 0 12px 32px -16px rgba(20, 35, 31, 0.18);

  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --sans:
    Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 헤더가 고정이므로 앵커 이동 시 제목이 헤더 밑에 숨지 않게 한다. */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.005em;
  word-break: keep-all;      /* 한국어 어절 보존 — 위 주석 참조 */
  overflow-wrap: anywhere;   /* 그래도 넘치는 긴 라틴 토큰은 끊는다 */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 1rem; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ── 마이크로 라벨 ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  /* 자간을 벌리지 않는다. 라틴용 트래킹(0.1em 대)을 한글에 걸면
     "검 수  원 칙" 처럼 낱자가 흩어져 오히려 조악해진다. */
  letter-spacing: 0.01em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}

/* ── 헤더 ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: border-color 200ms ease;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 200ms ease;
}
.site-header.is-stuck::after { opacity: 1; }

/* space-between 으로 두면 항목이 셋일 때(랜딩: 워드마크·내비·CTA)와 둘일 때
   (법무 페이지: 워드마크·CTA) 모두 CTA 가 오른쪽 끝에 선다. margin-left:auto 를
   내비에 걸면 내비가 없는 페이지에서 CTA 가 워드마크에 달라붙는다. */
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.site-nav a:hover { color: var(--green); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ── 버튼 ─────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease,
    transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { background: var(--green-tint); }
.button:active { transform: translateY(1px); }

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.button-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: 0 8px 20px -10px rgba(13, 92, 74, 0.6);
}
.button-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.button-sm { min-height: 38px; padding: 0.45rem 1rem; font-size: 0.86rem; }
.button-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link span { transition: transform 180ms ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover span { transform: translateX(3px); }

/* ── 히어로 ───────────────────────────────────────────────── */
.hero {
  display: grid;
  /* 좌측을 넓게 잡아 "한국어로 이해하세요." 가 한 줄에 들어가게 한다.
     이 어절이 두 줄로 접히면 헤딩이 3줄이 되어 우측 카드와 무게가 어긋난다. */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
}
.hero h1 em {
  display: block;
  color: var(--green);
  font-style: normal;
}
.hero-lede {
  max-width: 33rem;
  margin-top: 1.4rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.8;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-list {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--ink-2);
  font-size: 0.875rem;
}
.trust-list li { display: inline-flex; align-items: center; gap: 0.45rem; }
.check {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 15px;
}

/* ── 제품 미리보기 (회전·blob 제거, 실제 UI 처럼) ───────────── */
.preview {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-bar {
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface-2);
}
.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.preview-brand i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}
.preview-count {
  color: var(--ink-3);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
/* 진행 표시 — 카드 상단 바와 본문을 가르는 경계선 역할까지 겸한다.
   별도 border 를 두면 선이 두 줄로 겹쳐 보인다. */
.preview-progress {
  height: 3px;
  background: var(--line);
}
.preview-progress i {
  display: block;
  width: 30%;
  height: 100%;
  background: var(--green);
}
.preview-body { padding: 1.4rem 1.35rem 1.5rem; }
.preview-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-xs);
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.chip-muted { background: var(--surface-2); color: var(--ink-3); }

.preview-kicker {
  margin-top: 1.15rem;
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.preview h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.012em;
  /* 영어 문항이므로 어절 보존 규칙을 되돌린다. */
  word-break: normal;
}
.preview-options { margin-top: 1.1rem; display: grid; gap: 0.45rem; }
.preview-option {
  padding: 0.65rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 0.85rem;
  word-break: normal;
}
.preview-option b {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.7rem;
  font-weight: 800;
}
.preview-option-on {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--ink);
}
.preview-option-on b { background: var(--green); color: #fff; }

.preview-note {
  margin-top: 1.1rem;
  padding: 0.75rem 0.9rem;
  display: flex;
  gap: 0.6rem;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.6;
}
.preview-note strong { color: var(--accent); white-space: nowrap; }

/* ── 지표 스트립 ──────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats div {
  padding: 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}
.stats div + div { border-left: 1px solid var(--line); }
.stats strong {
  color: var(--green);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats span { color: var(--ink-3); font-size: 0.8rem; }

/* ── 섹션 공통 ────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 40rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── 학습 방식 ────────────────────────────────────────────── */
.steps {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step {
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;      /* 내용은 위에서부터 쌓는다 — 이전엔 auto 마진으로
                                  제목이 카드 바닥에 붙어 위쪽이 비어 보였다. */
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.step:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-block;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 0.35rem; font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.75; }

/* ── 검수 원칙 (다크 패널) ────────────────────────────────── */
.principles {
  padding: clamp(2.75rem, 5.5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  border-radius: var(--r-lg);
  background: var(--green-deep);
  color: #fff;
}
.principles .eyebrow { color: var(--green-on-dark); }
.principles h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.principles > div > p { margin-top: 1rem; color: #b9cec8; line-height: 1.8; }

.gates li {
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  /* 번호(0.8rem)와 제목(1rem)은 크기가 달라 상단 정렬하면 번호가 떠 보인다.
     베이스라인을 맞춰야 같은 줄에 놓인 것처럼 읽힌다. */
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.gates li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.gates > li > span {
  color: var(--green-on-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.gates strong { font-size: 1rem; font-weight: 700; }
.gates p { margin-top: 0.2rem; color: #a9c2bb; font-size: 0.875rem; line-height: 1.65; }

/* ── 가격 ─────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.price-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.price-head p { font-size: 0.95rem; font-weight: 700; }
.badge {
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}
.price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.price strong {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.price span { color: var(--ink-3); font-size: 0.95rem; }
.price-tax { margin-top: 0.35rem; color: var(--ink-3); font-size: 0.82rem; }
.price-card ul {
  margin: 1.5rem 0;
  padding: 1.35rem 0;
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}
.price-note {
  margin-top: 0.85rem;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

/* ── 대기자 신청 ──────────────────────────────────────────── */
.waitlist {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--green-tint);
}
.waitlist h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.waitlist > div > p { margin-top: 1rem; color: var(--ink-2); line-height: 1.8; }

.waitlist-form {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}
/* 입력란만 남는다 — 제출 버튼은 동의·봇확인 뒤로 옮겼다(법 제22조 제1항의
   "알리고 → 동의를 받아야" 순서). 자세한 근거는 index.html 의 주석 참조. */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); }
/* 동의문과 제출 사이 간격을 벌려, 제출이 봇확인 블록에 붙어 보이지 않게 한다. */
.waitlist-form > button[type="submit"] { margin-top: 1.1rem; }
.field-row input {
  min-width: 0;
  min-height: 46px;
  padding: 0 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field-row input::placeholder { color: #9aa8a3; }
.field-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
  outline: none;
}

.consent {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: var(--ink-3);
  font-size: 0.775rem;
  line-height: 1.6;
  cursor: pointer;
}
.consent input { width: 1rem; height: 1rem; margin: 0.22rem 0 0; accent-color: var(--green); }
/* 필수 동의는 [필수] 라벨이 본문에 묻히지 않게 잉크색으로 올린다. */
.consent strong { display: block; color: var(--ink); font-weight: 700; }
.consent a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile 위젯 자리 — 위젯이 늦게 뜨거나 실패해도 폼이 튀지 않도록
   높이를 미리 확보한다. */
/* 설명을 위젯 위에 둔다. 위젯이 늦게 뜨거나 차단되면 이전 구조에서는 선 아래로
   아무 설명 없는 빈 칸만 남았다. 무엇을 기다리는 자리인지 먼저 말해준다. */
.turnstile-box {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.turnstile-box > p { margin-bottom: 0.6rem; color: var(--ink-3); font-size: 0.72rem; line-height: 1.55; }
/* Turnstile 표준 위젯은 300x65. 자리를 미리 잡아 렌더될 때 폼이 밀리지 않게 하고,
   박스 전체에 88px 를 걸어 실제 위젯보다 넓게 비워두던 것도 없앤다. */
#turnstileWidget { min-height: 65px; }

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
}
.form-status.is-error { color: var(--accent); }

/* ── 푸터 ─────────────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem 0 3.5rem;
  margin-top: var(--section-y);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.75;
}
.site-footer .wordmark { color: var(--ink); }
.footer-tag { margin-top: 0.75rem; max-width: 22rem; }
.footer-legal { display: grid; gap: 0.4rem; text-align: right; }
/* 라벨과 번호가 줄바꿈으로 갈라지면 ("…사업자등록번호" / "101-86-40099")
   값이 어디에 걸린 것인지 한 박자 늦게 읽힌다. 한 덩어리로 넘긴다.
   계약 테스트가 문자열 연속성을 요구하므로 라벨과 값 사이에 태그를 넣지 않는다. */
.nowrap { white-space: nowrap; }
.footer-legal strong { color: var(--ink-2); font-weight: 700; }
.footer-legal a { text-underline-offset: 3px; }
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--green); }

/* ── 법무·개인정보 문서 (privacy / terms / refund) ────────────
   랜딩과 같은 토큰을 쓴다. 이 페이지들만 다른 폰트·라운드를 쓰면
   같은 서비스로 읽히지 않는다. */
.legal-main {
  width: min(100% - var(--gutter) * 2, 800px);
  margin-inline: auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
.legal-lede { margin: 1.1rem 0 2.5rem; color: var(--ink-2); font-size: 1rem; line-height: 1.8; }
.legal-card {
  margin-top: 1rem;
  padding: clamp(1.35rem, 3.5vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.legal-card h2 { margin-bottom: 0.9rem; font-size: 1.2rem; font-weight: 700; }
.legal-card h3 { margin: 1.5rem 0 0.5rem; font-size: 0.98rem; font-weight: 700; }
.legal-card p, .legal-card li { color: var(--ink-2); font-size: 0.95rem; line-height: 1.8; }
.legal-card p { margin: 0.6rem 0; }
.legal-card ul, .legal-card ol { margin: 0.6rem 0 0; padding-left: 1.2rem; list-style: revert; }
.legal-card li { margin: 0.25rem 0; }
.legal-card table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.legal-card th, .legal-card td {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-card th { background: var(--green-tint); color: var(--ink); font-weight: 700; }
.legal-card a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.legal-note {
  padding: 0.95rem 1.05rem;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
}
.legal-note, .legal-note p { color: #8a3d21 !important; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 940px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 2.75rem; }
  .hero-lede { max-width: none; }
  .preview { max-width: 560px; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .principles, .pricing, .waitlist { grid-template-columns: 1fr; }
  .pricing { gap: 2rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.75rem; }
  /* 푸터를 1열로 접으면 본문은 왼쪽으로 돌아오는데 링크 줄만
     justify-content:flex-end 로 남아 혼자 오른쪽에 붙었다. 함께 되돌린다. */
  .footer-legal { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
}

@media (max-width: 560px) {
  /* 좁은 화면에서 섹션 여백이 72px 로 고정돼 지표→다음 섹션 간격이 88px 까지
     벌어졌다. 화면이 좁을수록 같은 여백이 더 크게 읽히므로 하한을 낮춘다.
     데스크톱 값(7.5rem)은 건드리지 않는다. */
  :root { --section-y: 3.5rem; }

  .header-inner { min-height: 60px; gap: 0.75rem; }
  .hero h1 { font-size: clamp(2.05rem, 8.5vw, 2.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 0.75rem; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  /* 좁은 화면에서 가운데 정렬 본문은 두 줄만 돼도 좌우 rag 가 크게 어긋난다.
     게다가 가격·대기자 섹션 제목은 왼쪽 정렬이라 이 섹션만 가운데면 흐름이 튄다. */
  .section-head.is-center { text-align: left; }

  /* 버튼 아래 36px + 선까지 24px = 60px 가 비어 CTA 와 특징 목록이 끊겨 보였다. */
  .trust-list { flex-direction: column; gap: 0.55rem; margin-top: 1.5rem; padding-top: 1.25rem; }
  .stats { grid-template-columns: 1fr; }
  .stats div { padding: 1.15rem 1rem; flex-direction: row; justify-content: space-between; text-align: left; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .principles, .waitlist { border-radius: var(--r); padding: 2rem 1.25rem; }
  /* 번호 컬럼 40px 은 좁은 화면에서 번호와 제목을 멀어 보이게 한다. */
  .gates li { grid-template-columns: 1.9rem 1fr; gap: 0.6rem; }
  .price-card { padding: 1.35rem; }
  .waitlist-form { padding: 1.15rem; }
  .legal-main { padding-top: 2.5rem; }
  .legal-card { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
