/* 불독클럽 랜딩 — 책의 일부처럼 */

/* SUIT 폰트 — 앱과 동일 (CLAUDE.md 디자인 원칙).
   .otf 6개 weight 로컬 임베드. Pretendard CDN은 fallback. */
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/suit/SUIT-Light.woff2") format("woff2"),
       url("fonts/suit/SUIT-Light.otf") format("opentype");
}
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/suit/SUIT-Regular.woff2") format("woff2"),
       url("fonts/suit/SUIT-Regular.otf") format("opentype");
}
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/suit/SUIT-Medium.woff2") format("woff2"),
       url("fonts/suit/SUIT-Medium.otf") format("opentype");
}
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/suit/SUIT-SemiBold.woff2") format("woff2"),
       url("fonts/suit/SUIT-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/suit/SUIT-Bold.woff2") format("woff2"),
       url("fonts/suit/SUIT-Bold.otf") format("opentype");
}
@font-face {
  font-family: "SUIT";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/suit/SUIT-ExtraBold.woff2") format("woff2"),
       url("fonts/suit/SUIT-ExtraBold.otf") format("opentype");
}

:root {
  /* Light (기본) */
  --bg: #F5F5F0;
  --bg-elev: #EFEFE9;
  --ink: #1A1A1A;
  --ink-soft: #6B6B6B;
  --ink-faint: #9A9A95;
  --rule: #DEDED8;
  --rule-strong: #C9C9C0;
  --invert-bg: #141414;
  --invert-ink: #E8E8E3;
  --invert-soft: #8E8E8E;
  --invert-rule: #2C2C2C;

  --max: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);
  --gap-section: clamp(80px, 12vw, 160px);

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

  /* 폰 목업 사이즈 */
  --phone-w: 280px;
}

[data-theme="dark"] {
  --bg: #141414;
  --bg-elev: #1A1A1A;
  --ink: #E8E8E3;
  --ink-soft: #8E8E8E;
  --ink-faint: #5C5C58;
  --rule: #2C2C2C;
  --rule-strong: #3A3A38;
  --invert-bg: #F5F5F0;
  --invert-ink: #1A1A1A;
  --invert-soft: #6B6B6B;
  --invert-rule: #DEDED8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141414;
    --bg-elev: #1A1A1A;
    --ink: #E8E8E3;
    --ink-soft: #8E8E8E;
    --ink-faint: #5C5C58;
    --rule: #2C2C2C;
    --rule-strong: #3A3A38;
    --invert-bg: #F5F5F0;
    --invert-ink: #1A1A1A;
    --invert-soft: #6B6B6B;
    --invert-rule: #DEDED8;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
em { font-style: normal; border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 600;
  /* 한글 eyebrow가 대부분이라 0.18em은 자간이 너무 벌어진다.
     영문 caps 가독성 살리는 최소값(0.08em)으로 좁힘. */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--center { text-align: center; }

/* ── Header ─────────────────────────────────────────────── */
.site-hd {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
}
.site-hd .wrap {
  display: flex;
  align-items: center;
  height: 64px;
}
.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
}
.btn__sub {
  margin-left: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ── Hero (공통) ────────────────────────────────────────── */
.hero {
  padding-top: clamp(40px, 8vw, 96px);
  padding-bottom: var(--gap-section);
}

/* Classic */
.hero--classic .hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.hero__icon {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 22.37%; /* iOS app icon Squircle 근사값 */
  margin: 0 0 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.hero__lede {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Typo (giant title) */
.hero--typo .hero__title--giant {
  font-size: clamp(56px, 11vw, 144px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 56px;
}
.hero__accent {
  font-style: italic;
  font-weight: 800;
  border-bottom: 4px solid var(--ink);
  padding-bottom: 0.04em;
}
.hero__giant-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero__lede--wide {
  font-size: 18px;
  max-width: 460px;
}
.hero__lede--wide p { margin-bottom: 24px; }
.hero__cta--row { gap: 0; }

/* Editorial */
.hero--editorial .hero__editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title-block { max-width: 760px; }
.hero__title--serifish {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.18;
  margin: 8px 0 24px;
}
.hero__editorial-sub {
  font-size: 17px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 40px;
}
.hero__rule {
  width: 80px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto 32px;
  opacity: 0.4;
}
.hero__editorial-meta {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__cta--centered {
  justify-content: center;
}
.hero__editorial-art {
  margin-top: clamp(48px, 8vw, 80px);
}

/* ── Phone mockup (iPhone 13 actual dimensions) ─────────── */
/* iPhone 13: 71.5mm × 146.7mm device, 390×844pt display
   Device aspect ≈ 1/2.052, Display aspect = 390/844 ≈ 1/2.164
   Bezel ≈ 3.7% of width on all sides */
.phone {
  --w: var(--phone-w);
  width: var(--w);
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.18))
          drop-shadow(0 8px 16px rgba(0,0,0,0.10));
}
.phone__bezel {
  position: relative;
  width: 100%;
  aspect-ratio: 71.5 / 146.7;
  border-radius: calc(var(--w) * 0.155);
  background: #1A1A1A;
  padding: calc(var(--w) * 0.037);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 2px #0a0a0a;
}
[data-theme="dark"] .phone {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5))
          drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}
.phone__notch {
  position: absolute;
  top: calc(var(--w) * 0.037 + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--w) * 0.42);
  height: calc(var(--w) * 0.075);
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 390 / 844;
  border-radius: calc(var(--w) * 0.118);
  overflow: hidden;
  background: #F5F5F0;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── Strip ──────────────────────────────────────────────── */
.strip {
  background: var(--invert-bg);
  color: var(--invert-ink);
  padding: clamp(64px, 9vw, 120px) 0;
}
.strip__inner {
  text-align: center;
}
.strip__line {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4em;
  max-width: 920px;
}
.strip__dot {
  color: var(--invert-soft);
  font-weight: 400;
}

/* ── Etymology ──────────────────────────────────────────── */
.etym {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
}
.etym__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.etym__body {
  margin-top: 24px;
}
.etym__lead {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.etym__char { color: var(--ink); }
.etym__hanja {
  font-size: 0.4em;
  color: var(--ink-faint);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: -8px;
  align-self: flex-end;
  padding-bottom: 0.2em;
}
.etym__plus {
  font-size: 0.4em;
  color: var(--ink-faint);
  font-weight: 400;
  align-self: center;
}
.etym__text {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ── Feature ────────────────────────────────────────────── */
.feat {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
}
.feat:last-of-type { border-bottom: 0; }
.feat__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.feat--reverse .feat__grid > .feat__copy { order: 2; }
.feat--reverse .feat__grid > .feat__art  { order: 1; }
.feat__title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
/* 좁은 모바일에선 강제 <br>이 어색한 한 단어 줄을 만든다.
   자연 wrap 으로 두자. (h1/h2 공통) */
@media (max-width: 540px) {
  .feat__title br,
  .hero__title br,
  .cta__title br,
  .madeby__title br,
  .together__title br {
    display: none;
  }
}
.feat__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 440px;
}

/* Dual phone 섹션 — grid를 1-column으로 전환해서 art 영역이 wrap 폭 전체를 차지.
   그러면 phone 두 개가 무조건 한 열에 나란히 들어감 (cell 폭 제약 없음). */
.feat--dual .feat__grid {
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.feat--dual .feat__copy { max-width: none; }
.feat--dual .feat__body { max-width: 560px; }
.feat--dual .feat__art--dual {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 24px;
  width: 100%;
}
.feat--dual .feat__art--dual > div { flex: 0 0 auto; }
.feat--dual .feat__art--dual .phone {
  width: var(--phone-w);
  margin: 0;
}
.feat--dual .feat__art--dual .phone__caption {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: -0.01em;
}
/* reverse modifier는 1-column에선 의미 없음 — order 무시 */
.feat--dual.feat--reverse .feat__grid > .feat__copy { order: 0; }
.feat--dual.feat--reverse .feat__grid > .feat__art { order: 0; }
@media (max-width: 720px) {
  .feat--dual .feat__art--dual { flex-wrap: wrap; gap: 32px; }
}

/* ── Section header ─────────────────────────────────────── */
.sect-hd {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.sect-hd__title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sect-hd__sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ── Pricing ────────────────────────────────────────────── */
.price {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
}
.price__grid {
  display: grid;
  /* 3 carded plans (free / subscription / lifetime). Equal width keeps
     the visual rhythm clean — the dark `.card--together` in the middle
     anchors the row. Mobile drops to a single column (rule below). */
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* 3 카드 가로 비교 시 가격/타이틀 영역 baseline 정합.
   .card--solo 는 price-alt 가 없어 vertical rhythm 이 어긋남 →
   .card__hd 에 최소 높이 부여해 hint border-top 위치를 가지런히. */
.card__hd { min-height: 96px; }
.card--together {
  background: var(--invert-bg);
  color: var(--invert-ink);
  border-color: var(--invert-bg);
}
.card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card__price {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
.card__price-wrap { display: flex; flex-direction: column; gap: 8px; }
.card__price-alt {
  font-size: 14px;
  color: var(--invert-soft);
  margin: 0;
}
.card--solo .card__price-alt,
.card--lifetime .card__price-alt { color: var(--ink-soft); }
/* Lifetime: light card like .card--solo, but with a slightly thicker
   border so the "한 번 결제로 영구" decision feels anchored next to the
   dark .card--together. Same warm-neutral palette — no color accent. */
.card--lifetime {
  border-width: 2px;
  border-color: var(--ink);
}
.card__discount {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.7;
}
.card__hint {
  font-size: 13px;
  color: var(--invert-soft);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--invert-rule);
}
.card--solo .card__hint,
.card--lifetime .card__hint { color: var(--ink-soft); border-top-color: var(--rule); }
.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.card__list li {
  position: relative;
  padding-left: 18px;
}
.card__list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  font-size: 18px;
  font-weight: 700;
}
.price__fine {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.8;
}

/* 평생권 합리성 — 책 권수 + 기간 둘 다 명시 */
.price__rationale {
  margin: 24px auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.price__rationale em {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* 가격 섹션 내 carry-over 시나리오 mini-FAQ.
   가격을 본 직후 가장 자주 떠오르는 3가지 질문을 카드 형태로. */
.scenarios {
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.scenarios__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scenarios__q {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.scenarios__a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .scenarios { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; margin-top: 40px; }
}

/* 가격 보고 결제 의향 식기 전, 같은 자리에 CTA 한 번 더 */
.price__cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 모바일 sticky CTA — hero 벗어나면 등장.
   데스크탑은 hero/final CTA 만으로 충분, 모바일만 floating */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.sticky-cta .btn {
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.32),
              0 4px 8px rgba(0,0,0,0.12);
}
@media (min-width: 881px) {
  .sticky-cta { display: none; }
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
}
.faq__wrap { max-width: 880px; margin: 0 auto; }
.faq__list {
  border-top: 1px solid var(--rule);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform 0.2s ease;
}
.faq__chev::before, .faq__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink-soft);
}
.faq__chev::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__chev::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  padding: 0 4px 28px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.8;
}

/* ── Final CTA ──────────────────────────────────────────── */
.cta {
  padding: var(--gap-section) 0;
}
.cta__inner {
  text-align: center;
}
.cta__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  line-height: 1.25;
}

/* ── Animations (책장을 넘기듯, 차분하게) ───────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* 1. 페이드+살짝 위로 — 섹션 진입 시 */
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }

  /* 2. 자식 순차 진입 — stat, feature body, 다이어그램 노드 */
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
  .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.15s; }
  .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.25s; }
  .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.35s; }
  .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.45s; }
  .reveal-stagger.is-in > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* 3. Hero 타이틀 — 한 줄씩 떠오름 */
  .hero__title { overflow: hidden; }
  .hero__title > br + *,
  .hero-line {
    display: inline-block;
  }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero__title {
    animation: hero-rise 1.0s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__lede,
  .hero__editorial-meta,
  .hero__editorial-sub {
    animation: hero-rise 1.0s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }
  .hero__cta {
    animation: hero-rise 1.0s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
  }
  .eyebrow {
    animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  /* 4. 폰 목업 — 살짝 떠오르며 우상향 그림자 */
  @keyframes phone-rise {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  .hero__art .phone,
  .hero__editorial-art .phone,
  .hero__giant-row .phone {
    animation: phone-rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
  }

  /* 5. 다크 띠 (philosophy strip) — 단어 흐르듯 */
  .strip__line > span {
    opacity: 0;
    transform: translateY(8px);
    display: inline-block;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .strip.is-in .strip__line > span:nth-child(1) { transition-delay: 0.0s;  opacity: 1; transform: translateY(0); }
  .strip.is-in .strip__line > span:nth-child(2) { transition-delay: 0.1s;  opacity: 0.5; transform: translateY(0); }
  .strip.is-in .strip__line > span:nth-child(3) { transition-delay: 0.2s;  opacity: 1; transform: translateY(0); }
  .strip.is-in .strip__line > span:nth-child(4) { transition-delay: 0.3s;  opacity: 0.5; transform: translateY(0); }
  .strip.is-in .strip__line > span:nth-child(5) { transition-delay: 0.4s;  opacity: 1; transform: translateY(0); }

  /* 6. CTA 버튼 호버 — 책 표지에 손이 닿듯 */
  .btn--primary {
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
                background 0.2s ease,
                box-shadow 0.25s ease;
  }
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--ink) 40%, transparent);
  }

  /* 7. FAQ — 펼쳐지며 부드럽게 */
  .faq__a { animation: faq-open 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes faq-open {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* 8. Together 다이어그램 광선 — 위에서 아래로 흐르는 빛 */
  @keyframes ray-flow {
    0%   { background-position: 0 -100%; }
    100% { background-position: 0 200%; }
  }
  .together.is-in .together__ray::before {
    background: linear-gradient(to bottom,
      transparent 0%,
      color-mix(in srgb, var(--invert-ink) 60%, transparent) 40%,
      color-mix(in srgb, var(--invert-ink) 60%, transparent) 60%,
      transparent 100%);
    background-size: 100% 200%;
    animation: ray-flow 2.4s ease-in-out 0.5s infinite;
  }

  /* 9. 어원 한자 — 한 글자씩 천천히 페이드 */
  .etym__lead > * {
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  .etym.is-in .etym__lead > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; }
  .etym.is-in .etym__lead > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; }
  .etym.is-in .etym__lead > *:nth-child(3) { transition-delay: 0.4s; opacity: 1; }
  .etym.is-in .etym__lead > *:nth-child(4) { transition-delay: 0.6s; opacity: 1; }
  .etym.is-in .etym__lead > *:nth-child(5) { transition-delay: 0.8s; opacity: 1; }
}

/* Phone dark mode — swaps real screenshot, just darkens screen bg */
.phone--dark .phone__screen { background: #0E0E10; }
.phone__screen img { transition: opacity 0.4s ease; }

/* ── Widget feature ─────────────────────────────────────── */
.widget {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
}
.widget__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.widget__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.widget__shell {
  width: 100%;
  max-width: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: #1A1A1A;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 8px 16px rgba(0,0,0,0.10);
}
.widget__shell img { width: 100%; height: auto; display: block; }
.widget__caption { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.02em; }
@media (max-width: 880px) {
  .widget__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Hero phone toggle (interactive light/dark) ────────── */
.phone-toggle {
  position: absolute;
  bottom: -56px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phone-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.phone-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.hero__art-wrap { position: relative; padding-bottom: 80px; }

.madeby {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--rule);
}
.madeby__inner { max-width: 880px; margin: 0 auto; }
.madeby__title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.madeby__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.85;
}
.madeby__body em {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.madeby__principles {
  list-style: none;
  padding: 48px 0 0;
  margin: 56px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
}
.madeby__principles li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.madeby__principle-no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  flex: 0 0 auto;
  min-width: 36px;
}
.madeby__principle-text {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

/* ── Together value (다크 띠) ──────────────────────────── */
.together {
  background: var(--invert-bg);
  color: var(--invert-ink);
  padding: var(--gap-section) 0;
}
.together__inner { max-width: 920px; margin: 0 auto; }
.eyebrow--inv { color: var(--invert-soft); }
.together__title {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 28px;
}
.together__lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--invert-soft);
  max-width: 620px;
  margin-bottom: 64px;
}

.together__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 16px 0 8px;
  margin-bottom: 64px;
}
.together__node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--invert-rule);
  text-align: center;
}
.together__node--owner {
  border: 1px solid var(--invert-ink);
  background: rgba(255,255,255,0.08);
  padding: 14px 24px;
}
.together__node-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--invert-ink);
  white-space: nowrap;
}
.together__node-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--invert-soft);
  text-transform: uppercase;
  white-space: nowrap;
}
.together__rays {
  position: relative;
  width: 100%;
  max-width: 720px;        /* 멤버 노드 컨테이너와 동일 폭 → ray endpoint가 각 멤버 노드 중심에 정확히 떨어짐 */
  margin: 0 auto;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.together__ray {
  position: relative;
  height: 100%;
}
.together__ray::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--invert-ink) 50%, transparent),
    color-mix(in srgb, var(--invert-ink) 15%, transparent));
}
.together__members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 720px;
}
.together__members .together__node--member {
  width: 100%;
}

.together__pts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--invert-rule);
  padding-top: 48px;
}
.together__pts li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.together__pts h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--invert-ink);
}
.together__pts p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--invert-soft);
}

/* Pricing badge */
.card { position: relative; }
.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--invert-ink);
  border: 1px solid rgba(255,255,255,0.18);
}

@media (max-width: 720px) {
  .madeby__principles { grid-template-columns: 1fr; gap: 0; }
  .together__pts { grid-template-columns: 1fr; }
  .together__members { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .together__rays { display: none; }
  .together__diagram { gap: 24px; }
  .together__node--member { padding: 10px 8px; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-ft {
  padding: 48px 0 64px;
  border-top: 1px solid var(--rule);
}
.site-ft__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-ft__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-ft__meta {
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-ft__meta > * { white-space: nowrap; }
.site-ft__meta a { text-decoration: none; }
.site-ft__meta a:hover { color: var(--ink); }
.site-ft__sep { color: var(--ink-faint); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 880px) {
  body { font-size: 15px; }
  .hero--classic .hero__grid,
  .feat__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .feat--reverse .feat__grid > .feat__copy { order: 1; }
  .feat--reverse .feat__grid > .feat__art  { order: 2; }
  .hero__giant-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__giant-row .phone { justify-self: center; }
  .price__grid { grid-template-columns: 1fr; }
  .strip__line {
    flex-direction: column;
    gap: 4px;
  }
  .strip__dot { display: none; }
}

@media (max-width: 720px) {
  .brand span { display: none; }
}

@media (max-width: 540px) {
  :root { --phone-w: 240px; }
  .hero__title { font-size: 44px; }
  .hero__title--giant { font-size: 64px; }
  .feat__title { font-size: 32px; }
  .sect-hd__title { font-size: 30px; }
  .cta__title { font-size: 32px; }
  .btn__sub { display: block; width: 100%; margin: 12px 0 0; }
  .hero__cta--centered .btn__sub { text-align: center; }
}
