/* ───────────────────────────────────────────────
   Veil — Premium Christian Repentance App
   Design: warm ivory + deep ink + muted antique gold
   ─────────────────────────────────────────────── */

:root {
  /* palette */
  --bg:        #F8F5EF;
  --bg-2:      #F1ECE2;
  --bg-3:      #EAE3D4;
  --ink:       #181818;
  --ink-2:     #3A3A3F;
  --ink-3:     #6B655A;
  --muted:     #8C8475;
  --line:      #E5DFD2;
  --line-2:    #D6CFBE;
  --white:     #FFFFFF;
  --gold:      #CC7351;
  --gold-2:    #D98A68;
  --gold-soft: #F2DED3;
  --sage:      #8A9A8B;

  /* type */
  --serif: 'Iowan Old Style','Palatino Linotype','AppleMyungjo','Batang','Times New Roman',serif;
  --sans:  -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic','Segoe UI',sans-serif;

  /* radius & shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(24, 24, 24, .04);
  --shadow-sm: 0 2px 8px rgba(24, 24, 24, .04), 0 1px 2px rgba(24, 24, 24, .03);
  --shadow-md: 0 8px 32px rgba(24, 24, 24, .06), 0 2px 6px rgba(24, 24, 24, .03);
  --shadow-lg: 0 24px 64px rgba(24, 24, 24, .09), 0 4px 12px rgba(24, 24, 24, .04);

  --easing: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  /* ── fluid serif display scale (gentle negative tracking) ── */
  --fs-display: clamp(2.6rem, 4.5vw + 1rem, 5rem);
  --fs-h1: clamp(2.4rem, 4vw + 1rem, 4.25rem);
  --fs-h2: clamp(1.8rem, 2.5vw + .8rem, 2.9rem);
  --fs-h3: 1.35rem;
  --fs-h4: 1.1rem;
  --lh-display: 1.06; --lh-h1: 1.1; --lh-h2: 1.14; --lh-h3: 1.25;
  --tr-display: -.02em; --tr-h1: -.02em; --tr-h2: -.018em; --tr-h3: -.01em; --tr-h4: -.005em;
  --weight-head: 600;

  /* ── sans body / UI scale (neutral-to-positive tracking; Hangul-safe) ── */
  --fs-lead: 1.19rem;
  --fs-body: 1.0625rem;
  --fs-ui: .95rem;
  --fs-cap: .85rem;
  --fs-label: .78rem;

  /* ── 8px spacing scale + fluid section padding ── */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --space-section: clamp(72px, 10vw, 128px);
  --space-section-lg: clamp(96px, 12vw, 160px);

  /* ── layout / reading measure ── */
  --container: 1140px;
  --measure: 64ch;
  --nav-h: 56px;

  /* ── motion tiers + nav glass ── */
  --dur-micro: 150ms;
  --dur-reveal: 700ms;
  --dur-step: 450ms;
  --nav-bg: rgba(248, 245, 239, .72);
  --nav-bg-scrolled: rgba(248, 245, 239, .92);
  --focus-ring: 0 0 0 3px rgba(217, 138, 104, .45);
}

/* ───────────────  RESET / BASE  ─────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
  word-break: keep-all;     /* Korean: break at spaces, never mid-word */
  overflow-wrap: break-word;
}
@media (max-width: 744px) { body { font-size: 1rem; } }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ───────────────  TYPOGRAPHY  ─────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: var(--weight-head);
  color: var(--ink);
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: var(--tr-h4); }
em { font-style: italic; color: var(--gold); }
p  { margin: 0 0 1em; color: var(--ink-2); text-wrap: pretty; }

/* ───────────────  BUTTONS  ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: var(--fs-ui);
  font-weight: 500;
  font-family: var(--sans);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--dur-micro) var(--easing), color var(--dur-micro) var(--easing),
              border-color var(--dur-micro) var(--easing), transform var(--dur-micro) var(--easing),
              box-shadow var(--dur-micro) var(--easing);
  white-space: nowrap;
  text-align: center;
}
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn[data-locked], .btn:disabled { opacity: .5; transform: none; box-shadow: none; cursor: not-allowed; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(24,24,24,.18);
}

/* gold primary — the single most sacred CTA; hover DARKENS, never lightens */
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #B45F40;
  border-color: #B45F40;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(204,115,81,.22);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--ink-3);
}

/* text tier — borderless link with optional chevron */
.btn-text {
  background: none;
  border: none;
  min-height: 0;
  padding: 10px 6px;
  color: var(--ink-2);
  gap: 6px;
}
.btn-text:hover { background: none; color: var(--ink); transform: none; box-shadow: none; }
.btn-text svg { transition: transform var(--dur-micro) var(--easing); }
.btn-text:hover svg { transform: translateX(2px); }

/* ───────────────  NAV  ─────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--easing), background .3s var(--easing);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(248, 245, 239, .98); }
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: var(--nav-bg-scrolled);
}
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 28px;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: var(--weight-head);
}
.brand-mark { color: var(--gold-2); font-size: 1.15em; display: inline-flex; }
.brand-mark svg { width: 1.05em; height: 1.05em; display: block; }
.footer-brand .brand-mark { color: var(--gold-2); }
.nav-links {
  display: flex; gap: 30px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.nav-links a { position: relative; transition: color var(--dur-micro) var(--easing); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--easing);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-links a.is-current { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink);
}
.nav-toggle svg { display: block; }

/* full-height mobile sheet */
.nav-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 28px 40px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .35s var(--easing), transform .35s var(--easing);
}
.nav-sheet.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-sheet-close {
  position: absolute; top: 12px; right: 22px;
  width: 40px; height: 40px; background: none; border: none; color: var(--ink);
}
.nav-sheet-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.nav-sheet-links a {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  color: var(--ink); padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-sheet-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
body.nav-open { overflow: hidden; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { padding: 10px 20px; }
  .container { padding: 0 20px; }
}
@media (min-width: 821px) { .nav-sheet { display: none; } }

/* ───────────────  HERO  ─────────────── */
.hero {
  position: relative;
  padding: var(--space-section-lg) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow {
  position: absolute;
  top: -18%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 760px;
  background:
    radial-gradient(ellipse 52% 60% at 50% 18%, rgba(243, 222, 211, .55), transparent 70%),
    radial-gradient(ellipse 40% 46% at 68% 36%, rgba(138, 154, 139, .12), transparent 72%);
  animation: heroGlow 12s var(--easing) infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1; }
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .14;
  mix-blend-mode: multiply;
}
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-3);
  margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(204, 115, 81, .15);
}
.hero-title {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--weight-head);
  max-width: 16ch;
  margin: 0 auto var(--s3);
}
.hero-sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: var(--measure);
  margin: 0 auto var(--s5);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 0; }

.hero-verse {
  max-width: 580px; margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-verse blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.8;
}
.hero-verse cite {
  font-style: normal;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .04em;
}

/* ───────────────  SECTION HEADS  ─────────────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .kicker {
  display: inline-block;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { color: var(--ink-3); }

/* ───────────────  REPENTANCE APP  ─────────────── */
.repent {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
}

.app-step { display: none; animation: fadeStep .5s var(--easing); }
.app-step.is-active { display: block; }

@keyframes fadeStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.step-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.step-name { color: var(--ink-3); letter-spacing: .08em; }
.step-title { font-size: 1.6rem; margin-bottom: 10px; }
.step-desc { color: var(--ink-3); margin-bottom: 32px; max-width: 540px; }

.step-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* breathing ring */
.breath-ring {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  min-height: 210px;
  margin: 12px 0;
}
.breath-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-soft), var(--gold) 80%);
  box-shadow: 0 0 0 0 rgba(204, 115, 81, .35);
  animation: breathe 9s ease-in-out infinite;
  flex: none;
}
.breath-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-2);
  text-align: center;
  letter-spacing: .01em;
  pointer-events: none;
}
@keyframes breathe {
  0%   { transform: scale(.7);  box-shadow: 0 0 0 0 rgba(204, 115, 81, .25); }
  45%  { transform: scale(1.15); box-shadow: 0 0 0 30px rgba(204, 115, 81, 0); }
  55%  { transform: scale(1.15); box-shadow: 0 0 0 30px rgba(204, 115, 81, 0); }
  100% { transform: scale(.7);  box-shadow: 0 0 0 0 rgba(204, 115, 81, .25); }
}

/* confession chips */
.confess-helpers { margin-bottom: 18px; }
.confess-helpers summary { width: max-content; cursor: pointer; list-style: none; }
.confess-helpers summary::-webkit-details-marker { display: none; }
.confess-helpers summary::after { content: ' +'; color: var(--gold); }
.confess-helpers[open] summary::after { content: ' −'; }
.helper-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.helper-label { font-size: .82rem; color: var(--ink-3); margin-right: 4px; }
.chip {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .85rem;
  transition: all .15s var(--easing);
}
.chip:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }

/* textarea */
.confess-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  resize: vertical;
  min-height: 200px;
  transition: border-color .2s, background .2s;
  letter-spacing: -.01em;
}
.confess-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(204, 115, 81, .12);
}
.confess-textarea::placeholder { color: var(--muted); font-style: italic; }

.confess-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
  font-size: .85rem; color: var(--ink-3);
}
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.check input { accent-color: var(--gold); }
.check em { font-style: normal; color: var(--gold); font-weight: 500; }
.crisis-panel {
  margin-top: 20px;
  padding: 20px 22px;
  border: 2px solid #b42318;
  border-radius: var(--r-md);
  background: #fff4f2;
  color: #521b17;
}
.crisis-panel[hidden] { display: none; }
.crisis-panel:focus { outline: 3px solid rgba(180, 35, 24, .22); outline-offset: 3px; }
.crisis-panel strong { display: block; margin-bottom: 8px; color: #7a271a; font-size: 1.05rem; }
.crisis-panel p { margin: 8px 0; }
.crisis-panel a { color: #7a271a; font-weight: 700; text-underline-offset: 3px; }
.crisis-panel small { display: block; margin-top: 12px; color: #784f4a; line-height: 1.55; }

/* loading orb */
.loading-state { padding: 40px 0 20px; text-align: center; }
.loading-orb {
  width: 64px; height: 64px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold) 60%, transparent 80%);
  animation: orb 2.4s ease-in-out infinite;
}
@keyframes orb {
  0%, 100% { transform: scale(.85); opacity: .7; filter: blur(0); }
  50%      { transform: scale(1.1); opacity: 1; filter: blur(1px); }
}

/* response — three clearly distinct voices: 말씀(gold) · 묵상(sage) · 기도(ink) */
.response { display: grid; gap: 18px; }
.response-block {
  padding: 24px 28px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-2);
  background: var(--white);
  position: relative;
}
.block-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.block-label .ic { width: 17px; height: 17px; flex: none; }

/* 말씀 — the hero: warm gold card */
.response-word {
  background: linear-gradient(135deg, var(--white), var(--gold-soft));
  border-color: #ECCBBA;
  border-left-color: var(--gold);
}
.response-word .block-label { color: #A85A3E; }
.response-word blockquote {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
  font-style: italic;
}
.response-word cite {
  font-style: normal;
  font-size: .92rem;
  color: var(--gold);
  letter-spacing: .04em;
  font-weight: 600;
}

/* 묵상 — cool sage card */
.response-meditation {
  background: #F7F8F5;
  border-color: #DDE4DC;
  border-left-color: var(--sage);
}
.response-meditation .block-label { color: #5E6E5F; }

/* 기도 — deep warm card */
.response-prayer {
  background: var(--bg-3);
  border-color: var(--line-2);
  border-left-color: var(--ink-2);
}
.response-prayer .block-label { color: var(--ink); }

/* 적용 — premium-only: bronze action card */
.response-apply {
  background: linear-gradient(135deg, var(--bg-2), var(--gold-soft));
  border-color: #ECCBBA;
  border-left-color: var(--gold-2);
}
.response-apply .block-label { color: #A85A3E; }
.response-apply p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}

.response-meditation p, .response-prayer p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0;
}

/* ── response deck: 말씀·묵상 / 기도·적용 두 페이지로 분할 (PC·모바일 공통) ── */
.response-deck {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  height: auto;                       /* JS가 활성 페이지 높이로 설정 */
  transition: height .34s var(--easing);
}
.response-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;            /* 페이지를 같은 높이로 늘이지 않음 → 페이지별 실제 높이 유지 */
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.response-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.response-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  gap: 18px;
  align-content: start;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* The response reads as one uninterrupted devotional flow. */
.response-deck { height: auto !important; overflow: visible; }
.response-track { display: grid; gap: 18px; overflow: visible; scroll-snap-type: none; }
.response-slide { width: auto; min-width: 0; display: grid; gap: 18px; }
.deck-nav { display: none; }
.response-why {
  padding: 2px 4px;
  color: var(--ink-3);
  font-size: .88rem;
}
.response-why summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.response-why p { margin: 10px 0 0; line-height: 1.7; }
.response-followup {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.response-followup > summary {
  width: max-content;
  cursor: pointer;
  color: var(--ink-3);
  font-size: .9rem;
  font-weight: 600;
}
.response-followup[open] > summary { margin-bottom: 16px; }
.response-followup .member-cta { margin-top: 16px; }

.deck-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.deck-arrow {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink-2);
  font-size: 1.45rem; line-height: 1;
  cursor: pointer;
  transition: opacity .2s, background .2s, border-color .2s, color .2s;
}
.deck-arrow:disabled { opacity: .3; cursor: default; }
.deck-arrow:not(:disabled):hover,
.deck-arrow:not(:disabled):active {
  background: var(--gold-soft); border-color: var(--gold); color: var(--ink);
}
.deck-dots { display: flex; align-items: center; gap: 8px; }
.deck-dot {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink-3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.deck-dot:hover { border-color: var(--gold); color: var(--ink); }
.deck-dot.is-active {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--ink);
}

.response-tier {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
}
.response-tier.tier-free {
  background: var(--bg-2);
  color: var(--ink-3);
  border: 1px dashed var(--line-2);
}
.response-tier.tier-premium {
  background: linear-gradient(90deg, var(--gold-soft), var(--bg-2));
  color: var(--ink);
  border: 1px solid var(--gold);
}

.premium-ai {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
}
.premium-ai-note {
  margin: 0;
  font-size: .76rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.premium-ai-status {
  margin: 2px 0 0;
  font-size: var(--fs-cap);
  color: var(--ink-2);
  line-height: 1.65;
}
.premium-ai-status.is-done { color: var(--ink); }
.premium-ai-status.is-error { color: var(--ink-3); }

.response-actions {
  flex-wrap: wrap;
  justify-content: space-between;
}
.lock-tag {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 4px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .04em;
}

.app-note {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-3);
  margin-top: 28px;
}

@media (max-width: 720px) {
  .app-card { padding: 36px 24px 32px; }
  .step-title { font-size: 1.35rem; }
  .response-block { padding: 22px; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
}

/* ───────────────  FEATURES  ─────────────── */
.features { padding: 120px 0; background: var(--bg-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .3s var(--easing), box-shadow .3s var(--easing);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--bg);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.feature h3 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 600; }
.feature p { color: var(--ink-3); margin: 0; font-size: .95rem; }

/* ───────────────  PRICING  ─────────────── */
.pricing { padding: 120px 0; background: var(--bg); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--easing);
}
.plan:hover { transform: translateY(-3px); }
.plan-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.plan-featured h3, .plan-featured .num { color: var(--white); }
.plan-featured .plan-tag, .plan-featured .per, .plan-featured .plan-foot { color: var(--gold-2); }
.plan-featured .plan-feat li { color: rgba(255, 255, 255, .82); }
.plan-featured .plan-feat li::before { background: var(--gold-2); }
.plan-featured .btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.plan-featured .btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.plan-head { margin-bottom: 20px; }
.plan-head h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 4px; }
.plan-tag { font-size: .85rem; color: var(--ink-3); margin: 0; }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.plan-featured .plan-price { border-bottom-color: rgba(255, 255, 255, .12); }
.plan-price .num { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.plan-price .per { font-size: .9rem; color: var(--ink-3); }

.plan-feat { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.plan-feat li {
  font-size: .92rem;
  color: var(--ink-2);
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.5;
}
.plan-feat li::before {
  content: ''; position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--gold);
}
.plan-feat strong { color: var(--ink); font-weight: 600; }
.plan-featured .plan-feat strong { color: var(--white); }
.plan-foot { font-size: .8rem; color: var(--ink-3); text-align: center; margin: 12px 0 0; }

.offering {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.offering h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; }
.offering p { margin: 0; font-size: .9rem; color: var(--ink-3); }

/* ───────────────  TESTIMONY  ─────────────── */
.testimony { padding: 120px 0; background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  margin: 0;
}
.testi blockquote {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 18px;
  font-style: italic;
}
.testi figcaption {
  font-size: .85rem;
  color: var(--ink-3);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testi strong { color: var(--ink); font-weight: 600; }

/* ───────────────  FAQ  ─────────────── */
/* ───────────────  BRAND STORY  ─────────────── */
.brand-story {
  padding: 130px 0;
  background:
    radial-gradient(ellipse at 16% 28%, var(--gold-soft) 0%, transparent 46%),
    var(--bg-2);
}
.brand-story-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: center;
}
.brand-emblem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 16px;
}
.brand-emblem-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 260px; height: 260px;
  transform: translate(-50%, -58%);
  background: radial-gradient(circle, rgba(205, 160, 10, .22), transparent 65%);
  pointer-events: none;
}
.brand-emblem-mark {
  position: relative;
  width: clamp(120px, 17vw, 168px);
  height: auto;
}
.brand-emblem-word {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: .07em;
  color: var(--ink);
}
.brand-story-text .kicker {
  display: inline-block;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.brand-story-text h2 { font-style: italic; margin-bottom: .55em; }
.brand-meaning {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.brand-meaning li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}
.brand-meaning li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}
.brand-meaning b { color: var(--ink); font-weight: 600; }
.brand-verse {
  margin: 0;
  padding: 18px 24px;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(255, 255, 255, .55);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.7;
}
.brand-verse cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--gold);
}
@media (max-width: 760px) {
  .brand-story { padding: 90px 0; }
  .brand-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .brand-emblem { order: -1; }
}

.operator { padding: 92px 0; background: var(--white); border-block: 1px solid var(--line); }
.operator-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.operator-heading .kicker { color: var(--gold); }
.operator-heading h2 { margin-top: 14px; max-width: 13ch; }
.operator-copy { color: var(--ink-2); }
.operator-copy p { margin: 0 0 16px; }
.operator-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; }
.operator-links a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .operator { padding: 72px 0; }
  .operator-inner { grid-template-columns: 1fr; gap: 26px; }
  .operator-heading h2 { max-width: 18ch; }
}

.faq { padding: 120px 0; background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform .25s var(--easing);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 14px 0 4px;
  color: var(--ink-3);
  font-size: .95rem;
  line-height: 1.75;
}

/* ───────────────  CTA  ─────────────── */
.cta {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at center top, var(--gold-soft) 0%, transparent 60%),
    var(--bg-2);
  text-align: center;
}
.cta h2 {
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.cta cite {
  display: block;
  font-style: normal;
  color: var(--gold);
  margin-bottom: 40px;
  letter-spacing: .04em;
}

/* ───────────────  FOOTER  ─────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 80px 0 32px;
  font-size: .9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; }
.footer-tag {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .5);
  font-style: italic;
  font-family: var(--serif);
  font-size: .9rem;
  line-height: 1.7;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h5 {
  font-family: var(--sans);
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-cols a {
  display: block;
  color: rgba(255, 255, 255, .6);
  padding: 4px 0;
  transition: color .2s;
  font-size: .92rem;
}
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom small { color: rgba(255, 255, 255, .4); font-size: .8rem; }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ───────────────  REVEAL ANIMATIONS  ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--easing), transform var(--dur-reveal) var(--easing);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .breath-circle, .loading-orb, .hero-glow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .veil-tear .gate-light { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   APPLE REFINEMENTS — type/space tokens applied, unified
   components, signature motion. Palette unchanged.
   ════════════════════════════════════════════════════════════ */

/* site-wide paper grain (felt, not seen) */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* unified kicker (one definition, used everywhere) */
.kicker {
  display: inline-block;
  font-size: var(--fs-label);
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}

/* unified scripture voice */
.scripture {
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.scripture cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-cap);
  letter-spacing: .04em;
  color: var(--gold);
  margin-top: 12px;
}
.scripture--lg { font-size: 1.5rem; }
.scripture--sm { font-size: 1rem; }

/* scripture interstitial band between hero and the app */
.scripture-band {
  padding: var(--space-section) 0;
  text-align: center;
  background: var(--bg);
}
.scripture-band .scripture {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.scripture-band .scripture::before {
  content: '“';
  display: block;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: .6;
  color: var(--gold-2);
  opacity: .5;
  margin-bottom: 18px;
}

/* unified bullet system */
.list-veil { list-style: none; padding: 0; margin: 0; }
.list-veil li {
  position: relative;
  padding: 8px 0 8px 24px;
  line-height: 1.55;
}
.list-veil li::before {
  content: '';
  position: absolute; left: 2px; top: .68em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}
.list-veil li[data-off] { opacity: .42; }
.list-veil li[data-off]::before { background: var(--line-2); }

/* monoline icon sizing (currentColor inherits accent) */
.ic { width: 24px; height: 24px; display: block; }

/* ── FEATURES refinement ── */
.feature { padding: 36px 30px; position: relative; overflow: hidden; }
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--easing);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  color: var(--gold);
  font-size: 0;            /* kill any leftover emoji glyph spacing */
}
.feature-icon .ic { width: 24px; height: 24px; }

/* feature cards as links to the tools */
.feature-link { display: flex; flex-direction: column; color: inherit; }
.feature-foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.f-tag { font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; line-height: 1.7; }
.f-tag.free { color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line-2); }
.f-tag.paid { color: #A85A3E; background: var(--gold-soft); border: 1px solid #ECCBBA; }
.feature-go { margin-left: auto; color: var(--gold); font-size: .85rem; font-weight: 600; transition: transform var(--dur-micro) var(--easing); }
.feature-link:hover .feature-go { transform: translateX(3px); }
@media (min-width: 760px) { .feature-wide { grid-column: span 2; } }

/* ── PRICING refinement ── */
@media (min-width: 880px) {
  .plan-grid { grid-template-columns: 1fr 1.08fr 1fr; align-items: stretch; }
}
.plan-feat.list-veil li { font-size: .92rem; color: var(--ink-2); }
.plan-featured .plan-feat.list-veil li { color: rgba(255,255,255,.82); }
.plan-featured .plan-feat.list-veil li::before { background: var(--gold-2); }
.plan-featured .plan-feat.list-veil li[data-off] { opacity: .4; }
.offering {
  background:
    radial-gradient(ellipse 60% 120% at 12% 50%, var(--gold-soft), transparent 70%),
    var(--white);
}

/* per-tool free vs paid comparison */
.tool-compare {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tc-head, .tc-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 16px;
  padding: 15px 26px; align-items: center;
}
.tc-head {
  background: var(--bg-2);
  font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.tc-row { border-top: 1px solid var(--line); font-size: var(--fs-cap); }
.tc-tool { font-weight: 600; color: var(--ink); font-size: .95rem; }
.tc-col { color: var(--ink-3); }
.tc-col.tc-paid { color: #A85A3E; font-weight: 500; }
.tc-head .tc-paid { color: var(--gold); }
.tc-no { color: var(--muted); }
@media (max-width: 720px) {
  .tc-head { display: none; }
  .tc-row { grid-template-columns: 1fr; gap: 5px; padding: 14px 18px; }
  .tc-row .tc-col:not(.tc-paid)::before { content: '무료 — '; font-weight: 600; color: var(--ink-3); }
  .tc-col.tc-paid::before { content: '동행 — '; font-weight: 600; color: var(--gold); }
}

/* ── TESTIMONY refinement ── */
.testi { display: flex; flex-direction: column; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
  margin-right: 12px; flex: none;
}
.testi figcaption { display: flex; align-items: center; }
.testi figcaption > span { display: inline-flex; align-items: center; }
.testi .testi-who { display: flex; flex-direction: column; line-height: 1.3; }
.testi mark { background: none; color: var(--gold); font-weight: 500; }
@media (min-width: 860px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi--featured { grid-column: 1 / -1; }
  .testi--featured blockquote { font-size: 1.3rem; }
}
.testi--featured {
  background:
    radial-gradient(ellipse 70% 140% at 90% 0%, var(--gold-soft), transparent 65%),
    var(--white);
}
.testi--featured .testi-quote {
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-2);
  opacity: .6; display: block; margin-bottom: 8px;
}

/* ── FAQ refinement ── */
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  border-top: none;
  padding: 6px 26px;
  transition: background var(--dur-micro) var(--easing);
}
.faq-list details:last-child { border-bottom: none; }
.faq-list details:first-child { border-top: none; }
.faq-list summary { padding: 18px 0; transition: color var(--dur-micro) var(--easing); }
.faq-list details:hover summary { color: var(--ink); }
.faq-list summary::after {
  font-size: 1.15rem;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  flex: none; margin-left: 16px;
}
.faq-list details[open] .faq-a { animation: faqOpen .35s var(--easing); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-foot { text-align: center; margin: 32px 0 0; color: var(--ink-3); font-size: var(--fs-cap); }
.faq-foot a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA as 'altar' arrival — deep band, gold light beam ── */
.cta {
  position: relative;
  background: linear-gradient(180deg, #201F1C 0%, var(--ink) 100%);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 40% 70% at 50% 0%, rgba(217,138,104,.22), transparent 70%);
}
.cta .cta-mark { color: var(--gold-2); width: 38px; height: 38px; margin: 0 auto 28px; }
.cta h2 { color: #F4EFE4; }
.cta .scripture { color: rgba(244,239,228,.9); max-width: 700px; margin: 0 auto 36px; }
.cta cite { color: var(--gold-2); }
.cta-microcopy { margin: 18px 0 0; font-size: var(--fs-cap); color: rgba(244,239,228,.5); letter-spacing: .02em; }

/* ── FOOTER seam into the ink ── */
.footer { position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.footer .soli { color: var(--gold-2); font-family: var(--serif); font-style: italic; }
.footer-bottom small { color: rgba(255,255,255,.5); }
.footer-signup { margin-top: 24px; max-width: 340px; }
.footer-signup label {
  display: block; font-size: var(--fs-cap); color: rgba(255,255,255,.6);
  margin-bottom: 10px; font-family: var(--serif); font-style: italic;
}
.footer-signup-row { display: flex; gap: 8px; }
.footer-signup input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 9px 16px;
  color: #fff; font: inherit; font-size: var(--fs-cap);
  transition: border-color var(--dur-micro) var(--easing);
}
.footer-signup input::placeholder { color: rgba(255,255,255,.4); }
.footer-signup input:focus { outline: none; border-color: var(--gold-2); }
.footer-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: var(--fs-cap);
}
.lang-opt {
  background: none; border: none; color: rgba(255,255,255,.5);
  font: inherit; font-size: var(--fs-cap); padding: 2px 2px;
  transition: color var(--dur-micro) var(--easing);
}
.lang-opt:hover { color: #fff; }
.lang-opt.is-current { color: var(--gold-2); }
@media (max-width: 720px) { .footer-bottom-right { gap: 12px; } }

/* ── confession step directional transitions ── */
.app-step.is-active { animation: stepInNext var(--dur-step) var(--easing); }
.app-card.is-back .app-step.is-active { animation: stepInPrev var(--dur-step) var(--easing); }
@keyframes stepInNext { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes stepInPrev { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* chip persistent selected state */
.chip.is-selected { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }

/* response spacing — see the three-voice block above */
.response { gap: 18px; }

/* journaling surfaced as its own soft card (not a row button) */
.journal-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(ellipse 70% 160% at 100% 50%, var(--gold-soft), transparent 60%),
    var(--bg-2);
}
.journal-text { flex: 1 1 260px; }
.journal-text p { margin: 6px 0 0; font-size: var(--fs-cap); color: var(--ink-3); }
.journal-card .btn { flex: none; }

.response-actions { justify-content: space-between; align-items: center; }

/* privacy hint under the textarea */
.confess-privacy { font-size: var(--fs-cap); color: var(--muted); display: inline-flex; align-items: center; }

/* crisis / pastoral-care note (despair, addiction categories) */
.resp-care {
  margin: 4px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--sage);
  color: var(--ink-2);
  font-size: var(--fs-cap);
  line-height: 1.7;
}

.clarification-panel,
.response-feedback {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 92%, var(--gold) 8%);
}
.clarification-panel p,
.response-feedback p { margin: 6px 0 0; color: var(--ink-muted); font-size: .86rem; }
.response-fit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.response-preferences { margin: 12px 0 4px; padding: 0; border: 0; background: transparent; }
.response-preferences > summary { width: max-content; cursor: pointer; color: var(--ink-muted); font-size: .82rem; font-weight: 600; list-style: none; }
.response-preferences > summary::-webkit-details-marker { display: none; }
.response-preferences > summary::before { content: '+ '; color: var(--gold); }
.response-preferences[open] > summary::before { content: '− '; }
.response-preferences > summary span { margin-left: 5px; font-size: .72rem; font-weight: 500; color: var(--muted); }
.response-preferences-body { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.response-preferences fieldset { margin: 0 0 10px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.response-preferences fieldset:last-of-type { margin-bottom: 7px; }
.response-preferences legend { width: 100%; margin-bottom: 6px; color: var(--ink-muted); font-size: .78rem; font-weight: 700; }
.response-preferences label { cursor: pointer; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; }
.response-preferences label:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.response-preferences input { accent-color: var(--gold); }
.response-preferences small { color: var(--ink-muted); font-size: .74rem; }
.response-primary-actions { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── BRAND-STORY signature: light rises through the open door on reveal ── */
.brand-meaning-intro { color: var(--ink-2); font-weight: 500; margin: 6px 0 0; }
.veil-tear .gate-light {
  transform-box: fill-box; transform-origin: center;
  opacity: 0; transform: scale(.45);
  transition: opacity 1.1s var(--easing) .25s, transform 1.3s var(--easing) .25s;
}
.veil-tear.torn .gate-light { opacity: 1; transform: scale(1); }

/* ───────────────────────────────────────────────
   회개 응답 — 찢어진 휘장 너머로 빛이 차오르며 말씀을 펼치는 연출
   ─────────────────────────────────────────────── */
.book-search {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; min-height: 240px; padding: 26px 0;
}
.word-search {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
/* 빛이 차오르는 무대: 글로우(뒤) + 휘장 마크(앞) */
.ws-stage { position: relative; width: 150px; height: 124px; display: grid; place-items: center; }
.ws-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft) 0%, rgba(201, 162, 107, .30) 36%, transparent 70%);
  opacity: .3; transform: scale(.55);
  transition: opacity 1s var(--easing), transform 1.1s var(--easing);
  animation: ws-breathe 3.6s ease-in-out infinite;
}
@keyframes ws-breathe {
  0%, 100% { filter: blur(2px) brightness(1); }
  50%      { filter: blur(5px) brightness(1.14); }
}
.book-search.open  .ws-glow { opacity: .92; transform: scale(1.2); }
.book-search.found .ws-glow { opacity: 1;   transform: scale(1.06); }
/* 휘장 마크 */
.ws-veil {
  position: relative; width: 62px; height: 62px; color: var(--gold);
  opacity: .5; transform: translateY(3px) scale(.95);
  filter: drop-shadow(0 6px 16px rgba(201, 162, 107, .35));
  transition: opacity .9s var(--easing), transform 1s var(--easing), color .9s var(--easing);
}
.book-search.open  .ws-veil { opacity: 1; transform: translateY(0) scale(1); color: var(--gold-2); }
.book-search.found .ws-veil { transform: translateY(-4px) scale(1.03); }
/* 빛 속에 떠오르는 구절 */
.ws-ref {
  min-height: 1.4em;
  font-family: var(--serif); font-weight: 600; font-size: 1.04rem;
  color: var(--ink); letter-spacing: .02em;
  opacity: 0; transform: translateY(12px);
  transition: opacity .7s var(--easing), transform .8s var(--easing);
}
.book-search.found .ws-ref { opacity: 1; transform: translateY(0); }

.bss-caption { color: var(--ink-3); font-size: .96rem; min-height: 1.4em; transition: opacity .3s; text-align: center; }
/* 개발 지원 배너 — 설정 최상단. 요청이 아니라 현재 상태 서술로 읽히게 조용히 둔다. */
.support-banner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: border-color .2s, background-color .2s;
}
.support-banner:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 5%, transparent); }
.sb-text { flex: 1 1 260px; font-size: .92rem; line-height: 1.65; color: var(--ink-2); }
.sb-cta { flex: 0 0 auto; font-size: .9rem; font-weight: 600; color: var(--gold); white-space: nowrap; }

/* 감정가에 따라 갈리는 여는 인사 — 응답 맨 위 한 줄 */
.resp-address {
  margin: 0 0 14px; font-family: var(--serif); font-size: 1.06rem;
  color: var(--ink-2); letter-spacing: .01em;
}
.resp-address[hidden] { display: none; }

/* 휘장이 찢어짐(마 27:51) — 같은 마크 두 장을 좌우로 클립해 겹쳐두고,
   말씀을 찾은 순간(.found) 반쪽이 갈라지며 그 틈으로 골드 빛이 샌다. */
.ws-veil-l, .ws-veil-r { position: absolute; }
.ws-veil-l { clip-path: inset(0 50% 0 0); }
.ws-veil-r { clip-path: inset(0 0 0 50%); }
.book-search.found .ws-veil-l { transform: translate(-9px, -4px) scale(1.03) rotate(-1.5deg); }
.book-search.found .ws-veil-r { transform: translate(9px, -4px) scale(1.03) rotate(1.5deg); }
.ws-rip {
  position: absolute; width: 2px; height: 0; border-radius: 2px;
  /* --gold 계열은 이 코드베이스에서 실제로 블루다(레거시 명명). 휘장 마크는 로고라
     진짜 골드(--brand-gold, redesign.css)를 쓰고, 없으면 기존 토큰으로 폴백한다. */
  background: linear-gradient(180deg, transparent, var(--brand-gold-deep, var(--gold-2)) 18%, #fff 50%, var(--brand-gold-deep, var(--gold-2)) 82%, transparent);
  opacity: 0; filter: blur(.4px) drop-shadow(0 0 10px var(--brand-gold, var(--gold)));
  transition: height .55s var(--easing), opacity .5s var(--easing);
}
.book-search.found .ws-rip { height: 66px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ws-glow, .ws-veil, .ws-ref, .ws-rip { transition: none !important; animation: none !important; }
  .book-search.found .ws-veil-l,
  .book-search.found .ws-veil-r { transform: none; }
}

/* ───────────────────────────────────────────────
   로그인 / 가입 모달 · 계정 칩
   ─────────────────────────────────────────────── */
.vauth-root { position: fixed; inset: 0; z-index: 1000; display: none; }
.vauth-root.open { display: block; }
.vauth-backdrop { position: absolute; inset: 0; background: rgba(24, 24, 24, .42); backdrop-filter: blur(3px); animation: vauth-fade .25s ease; }
@keyframes vauth-fade { from { opacity: 0; } }
.vauth {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(404px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 36px 34px 26px; text-align: center;
  animation: vauth-pop .3s var(--easing);
}
@keyframes vauth-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.vauth-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: none; background: none; color: var(--ink-3); cursor: pointer; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vauth-x:hover { background: var(--bg-2); color: var(--ink); }
.vauth-mark { color: var(--gold-2); display: inline-flex; width: 42px; height: 42px; }
.vauth-mark svg { width: 100%; height: 100%; }
.vauth h3 { font-family: var(--serif); font-size: 1.5rem; margin: 8px 0 5px; }
.vauth-sub { color: var(--ink-3); font-size: .92rem; margin: 0 0 22px; line-height: 1.55; }
.vauth-field { text-align: left; margin-bottom: 14px; }
.vauth-field label { display: block; font-size: .82rem; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.vauth-field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 1rem; font-family: var(--sans); background: var(--white); color: var(--ink); box-sizing: border-box; }
.vauth-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 138, 104, .18); }
.vauth-err { color: #A6493B; font-size: .85rem; margin: 0 0 12px; text-align: left; }
.vauth-switch { font-size: .88rem; color: var(--ink-3); margin: 16px 0 0; }
.vauth-switch button { background: none; border: none; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.vauth-note { font-size: .76rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
body.vauth-lock { overflow: hidden; }

/* 소셜 로그인 버튼 (Google) */
.vauth-social { display: grid; gap: 10px; margin: 6px 0 4px; }
.vauth-social .soc-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 14px; border-radius: var(--r-sm);
  font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  transition: box-shadow .15s var(--easing), filter .15s var(--easing), opacity .15s var(--easing);
}
.vauth-social .soc-btn:hover { box-shadow: var(--shadow-sm); }
.vauth-social .soc-btn:active { filter: brightness(.97); }
.vauth-social .soc-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.soc-google { background: #fff; border-color: #DADCE0; color: #3C4043; }
.soc-btn .soc-ic { width: 18px; height: 18px; flex: none; display: inline-flex; }
.vauth-or { position: relative; text-align: center; margin: 16px 0 8px; }
.vauth-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.vauth-or span { position: relative; background: var(--bg); padding: 0 12px; font-size: .76rem; color: var(--muted); }

/* 가입 동의(개인정보·약관) */
.vauth-consent { text-align: left; margin: 2px 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; background: var(--white); }
.vauth-consent[hidden] { display: none; }
.vauth-consent label { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.vauth-consent .vc-all { font-weight: 600; color: var(--ink); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.vauth-consent .vc-item { margin-top: 8px; }
.vauth-consent input[type="checkbox"] { margin: 3px 0 0; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.vauth-consent a { color: var(--gold); text-decoration: underline; }
.vauth-consent b { color: var(--gold); font-weight: 600; }
.vauth-consent b.opt { color: var(--ink-3); }
.vauth-legal { text-align: left; font-size: .78rem; color: var(--muted); margin: 2px 0 14px; line-height: 1.55; }
.vauth-legal[hidden] { display: none; }
.vauth-legal a { color: var(--gold); text-decoration: underline; }

.auth-slot { display: inline-flex; align-items: center; }
.auth-chip { position: relative; }
.auth-chip-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px 4px 4px; cursor: pointer; font: inherit; color: var(--ink); font-size: .86rem; transition: border-color .2s; }
.auth-chip-btn:hover { border-color: var(--gold); }
.auth-ava { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; }
.auth-chip-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 10px; min-width: 190px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.auth-chip.open .auth-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.auth-menu-email { font-size: .8rem; color: var(--ink-3); padding: 4px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; word-break: break-all; }
.auth-menu .auth-logout { width: 100%; text-align: left; background: none; border: none; padding: 8px; border-radius: var(--r-sm); cursor: pointer; font: inherit; font-size: .9rem; color: var(--ink); }
.auth-menu .auth-logout:hover { background: var(--bg-2); }
.journal-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
.journal-acct { font-size: .82rem; color: var(--gold); margin: 6px 0 0; font-weight: 500; }

/* 기도문 생성 — 감사 반영 안내 */
.prayer-meta { color: var(--ink-2); font-size: .92rem; margin: 0 0 16px; }
.prayer-meta strong { color: var(--gold); font-weight: 600; }
.prayer-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 회개 일기 (tools) */
.journal-list { display: grid; gap: 14px; margin-top: 4px; }
.journal-entry { position: relative; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-md); background: var(--white); padding: 16px 18px; }
.je-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.je-cat { font-size: .78rem; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.je-date { font-size: .78rem; color: var(--muted); margin-left: auto; }
.je-text { margin: 0; color: var(--ink-2); white-space: pre-wrap; line-height: 1.7; }
.je-verse { margin-top: 10px; font-size: .82rem; color: var(--sage); font-weight: 500; }
.je-del { position: absolute; top: 12px; right: 12px; border: none; background: none; color: var(--muted); cursor: pointer; font-size: .9rem; opacity: .45; line-height: 1; }
.je-del:hover { opacity: 1; color: var(--ink); }
/* 씨름 중 ↔ 벗어남 — 삭제 버튼 왼쪽에 붙는 토글 칩 */
.je-status {
  position: absolute; top: 10px; right: 36px;
  border: 1px solid var(--line); background: none; border-radius: 999px;
  padding: 3px 10px; font-size: .74rem; letter-spacing: .02em;
  color: var(--muted); cursor: pointer; line-height: 1.5;
  transition: color .2s, border-color .2s, background-color .2s;
}
.je-status:hover { color: var(--ink); border-color: var(--ink-3); }
.je-status.is-freed {
  color: var(--gold); border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}
.journal-empty { text-align: center; }
.journal-empty .ic { width: 32px; height: 32px; color: var(--gold); margin: 0 auto 8px; display: block; }

/* 히어로 — 풀블리드 분위기 사진(워밍 오버레이로 팔레트 유지) + 위치/시간 스탬프 */
.hero-photo {
  position: absolute; inset: 0;
  background: url('images/hero-mountains.jpg') center/cover no-repeat;
  opacity: .24;
  -webkit-mask-image: radial-gradient(125% 105% at 50% 2%, #000 28%, transparent 80%);
  mask-image: radial-gradient(125% 105% at 50% 2%, #000 28%, transparent 80%);
}
.hero-stamp {
  position: absolute; left: 28px; bottom: 22px; z-index: 2;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 640px) { .hero-stamp { left: 20px; bottom: 14px; } }

/* ───────────────────────────────────────────────
   히어로 — 에디토리얼/타이포 중심 (Waka·adbc 톤): 거대한 톤온톤 워드마크 + 미세 라벨
   ─────────────────────────────────────────────── */
.hero-ed {
  position: relative; min-height: 100svh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 6vw 92px; background: var(--bg); overflow: hidden;
}
.hero-ed .he-corner {
  position: absolute; top: 104px; font-size: .72rem; letter-spacing: .04em; color: var(--muted);
}
.hero-ed .he-tl { left: 6vw; }
.hero-ed .he-tr { right: 6vw; }
.he-stage { text-align: center; margin: auto 0; }
.he-word {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(4.5rem, 21vw, 18rem); line-height: .84; letter-spacing: -.03em;
  color: #8B7F66; margin: 0;
}
.he-word2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.4rem, 5.5vw, 3.6rem); letter-spacing: .26em;
  color: var(--gold); margin: .14em 0 0; padding-left: .26em;
}
.he-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line-2); padding-top: 26px;
}
.he-caption { max-width: 48ch; color: var(--ink-2); font-size: 1.02rem; line-height: 1.85; margin: 0; }
.he-actions { display: flex; gap: 14px; align-items: center; }
.he-stamp {
  position: absolute; bottom: 30px; z-index: 2;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.he-stamp.he-bl { left: 6vw; }
.he-stamp.he-br { right: 6vw; }
@media (max-width: 720px) {
  .hero-ed { padding: 116px 24px 84px; min-height: 86svh; }
  .hero-ed .he-corner { top: 80px; }
  .he-foot { flex-direction: column; align-items: flex-start; }
  .he-stamp { display: none; }
}

/* ───────────────────────────────────────────────
   에디토리얼 통일 — 섹션 헤더(번호·모노 라벨 + 대형 세리프 제목)
   ─────────────────────────────────────────────── */
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.section-head .kicker::before { content: ''; width: 26px; height: 1px; background: var(--line-2); flex: none; }
.section-head .kicker i { font-style: normal; color: var(--gold); letter-spacing: .1em; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.12; margin: .36em 0 .38em;
}
.section-head .lead { font-size: 1.04rem; line-height: 1.85; color: var(--ink-3); }

/* 도구 카드 — 에디토리얼 톤 */
.feature h3 { font-family: var(--serif); font-weight: 600; }
.tool-head .kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.tool-head .kicker::before { content: ''; width: 24px; height: 1px; background: var(--line-2); flex: none; }
.tool-head h1 { font-family: var(--serif); letter-spacing: -.02em; font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* ═══════════════════════════════════════════════════════════════════
   DESIGN REFRESH · 2026-06-10  — palette UNCHANGED; only rhythm/depth/motion.
   (Layered as overrides so it's reviewable & easy to revert as one block.)
   ═══════════════════════════════════════════════════════════════════ */

/* ── P1 · bridge the scripture interstitial into the 회개 section ──
   Was ~248px of dead air (scripture-band bottom + repent top, both full
   section padding). Tighten so the verse leads INTO the section. */
.scripture-band { padding: var(--space-section) 0 clamp(36px, 5vw, 56px); }
.repent { padding: clamp(60px, 8vw, 92px) 0 120px; }

/* ── P2 · editorial rhythm — break the 6× identical centered cadence ──
   Left-anchor a couple of section intros so they play against the
   centered ones (and the already-asymmetric brand story). */
.section-head--start { text-align: left; margin-left: 0; margin-right: auto; max-width: 760px; }
.section-head--start .kicker { justify-content: flex-start; }

/* ── P2 · separate the CTA 'altar' band from the footer plane ──
   Both were #181818 and merged into one dark mass. Lift the CTA above
   the footer with a stronger gold seam + a soft inset top shadow. */
.footer { box-shadow: inset 0 16px 36px -26px rgba(0,0,0,.7); }
.footer::before { opacity: .72; height: 2px; }

/* ── P3 · hero depth — faint tone-on-tone light behind the wordmark ──
   Adds dimension to the empty centre band without touching the palette. */
.hero-ed { isolation: isolate; }
.hero-ed::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 47%; transform: translate(-50%, -50%);
  width: min(118vw, 1080px); height: min(78vh, 600px);
  background: radial-gradient(ellipse at center, rgba(243, 222, 211, .5), transparent 66%);
}

/* ── P3 · micro-interactions — a little more life on hover ── */
.feature-icon { transition: border-color var(--dur-micro) var(--easing), color var(--dur-micro) var(--easing), transform var(--dur-micro) var(--easing); }
.feature-link:hover .feature-icon { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.plan { transition: transform .3s var(--easing), box-shadow .3s var(--easing); }
.plan:hover { box-shadow: var(--shadow-md); }
.footer-cols a { position: relative; width: fit-content; max-width: 100%; }
.footer-cols a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-micro) var(--easing);
}
.footer-cols a:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .hero-ed::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   POINTER MOTION · 2026-06-10  — subtle, on-brand. motion.js sets the
   custom properties; the defaults below ARE the resting state, so with
   no JS / reduced-motion / touch the page looks exactly as before.
   ═══════════════════════════════════════════════════════════════════ */

/* Hero — glow drifts toward the cursor; stage gets a gentle parallax */
.hero-ed { --hx: 50%; --hy: 47%; --px: 0; --py: 0; }
.hero-ed::after { left: var(--hx); top: var(--hy); transition: opacity .4s var(--easing); }
.he-stage { transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 7px), 0); will-change: transform; }

/* CTA 'altar' — gold light beam gathers toward the cursor */
.cta { --cta-mx: 50%; }
.cta::before { background: radial-gradient(ellipse 40% 70% at var(--cta-mx) 0%, rgba(217,138,104,.22), transparent 70%); }

/* Brand emblem — 3D tilt of the gate + its light follows the cursor */
.brand-emblem { perspective: 760px; --ex: 0deg; --ey: 0deg; --gx: 0px; --gy: 0px; }
.brand-emblem-mark { transform: rotateX(var(--ey)) rotateY(var(--ex)); transform-style: preserve-3d; transition: transform .25s var(--easing); }
.brand-emblem-glow { transform: translate(calc(-50% + var(--gx)), calc(-58% + var(--gy))); transition: transform .25s var(--easing); }

/* Feature & plan cards — tilt toward the cursor + soft light sheen */
.feature { position: relative; }
.feature, .plan { --mx: 50%; --my: 50%; --sheen: 0; transform-style: preserve-3d; }
.feature::after, .plan::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(217,138,104,.16), transparent 55%);
  opacity: var(--sheen); transition: opacity .3s var(--easing);
}
.plan-featured::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(217,138,104,.26), transparent 55%); }
.feature.is-tilting, .plan.is-tilting { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .he-stage, .brand-emblem-mark, .brand-emblem-glow { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO · 중앙 회개 컴포저 (Claude식 레이아웃 · 2026-06-11)
   ═══════════════════════════════════════════════════════════════════ */
.hero-c{
  min-height:100svh; box-sizing:border-box; position:relative; overflow:hidden; isolation:isolate;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:144px 24px 88px; background:var(--bg); --hx:50%; --hy:46%;
}
.hero-c::after{
  content:''; position:absolute; z-index:-1; pointer-events:none; left:var(--hx); top:var(--hy);
  transform:translate(-50%,-50%); width:min(80vw,760px); height:min(60vh,520px);
  background:radial-gradient(ellipse at center, rgba(217,138,104,.16), transparent 66%);
}
.hc-eyebrow{ display:inline-flex; align-items:center; gap:9px; font-size:.78rem; color:var(--muted);
  letter-spacing:.06em; text-transform:uppercase; margin-bottom:24px; }
.hc-eyebrow .mark{ width:17px; height:17px; color:var(--gold); flex:none; }
.hc-disp{ font-family:var(--serif); font-weight:600; color:var(--ink);
  font-size:clamp(2.3rem,4.4vw,3.7rem); line-height:1.1; letter-spacing:-.02em; margin:0 auto 16px; max-width:20ch; }
.hc-disp em{ font-style:italic; color:var(--gold); }
.hc-sub{ font-size:1.12rem; line-height:1.75; color:var(--ink-3); max-width:48ch; margin:0 auto 34px; }
.hc-composer{
  position:relative; display:block; width:100%; max-width:660px; margin:0 auto; text-align:left;
  background:var(--white); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow-lg);
  padding:0 0 14px; overflow:hidden; color:inherit;
  transition:box-shadow .25s var(--easing), border-color .25s var(--easing), transform .25s var(--easing);
}
.hc-composer:hover{ border-color:var(--line-2); transform:translateY(-2px); box-shadow:0 34px 64px -30px rgba(40,30,20,.3); }
.hc-composer::before{ content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--gold-soft),var(--gold),var(--gold-soft)); }
.hc-field{ display:block; padding:22px 22px 6px; }
.hc-ph{ display:block; color:var(--muted); font-family:var(--serif); font-style:italic; font-size:1.12rem; min-height:74px; }
.hc-caret{ display:inline-block; width:1px; height:1.15em; background:var(--gold); margin-left:2px;
  transform:translateY(3px); animation:hcCaret 1.1s step-end infinite; }
@keyframes hcCaret{ 50%{ opacity:0; } }
.hc-toolbar{ display:flex; align-items:center; gap:8px; padding:0 18px; }
.hc-pill{ display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line-2); border-radius:999px;
  padding:7px 13px; font-size:.83rem; color:var(--ink-2); background:var(--white); }
.hc-plus{ width:32px; height:32px; border-radius:999px; border:1px solid var(--line-2);
  display:inline-flex; align-items:center; justify-content:center; color:var(--ink-2); font-size:1.05rem; }
.hc-go{ margin-left:auto; }
.hc-suggest{ margin-top:24px; max-width:680px; }
.hc-lab{ font-size:.82rem; color:var(--ink-3); margin:0 0 12px; }
.hc-chips{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; }
.hc-chip{ display:inline-flex; align-items:center; font-size:.86rem; padding:8px 15px; border:1px solid var(--line-2);
  border-radius:999px; color:var(--ink-2); background:var(--white);
  transition:border-color .15s var(--easing), color .15s var(--easing), transform .15s var(--easing); }
.hc-chip:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-1px); }
.hc-trust{ display:flex; gap:20px; flex-wrap:wrap; justify-content:center; color:var(--ink-3); font-size:.85rem; margin-top:34px; }
.hc-trust span{ display:inline-flex; align-items:center; gap:7px; }
.hc-trust .dot{ width:5px; height:5px; border-radius:50%; background:var(--gold-2); }
@media (max-width:560px){ .hero-c{ padding:108px 18px 64px; } .hc-disp{ font-size:2rem; } .hc-sub{ font-size:1.02rem; } }
@media (prefers-reduced-motion: reduce){ .hc-caret{ animation:none; } }

/* ═══════════════════════════════════════════════════════════════════
   SINGLE-SCREEN 회개 — 한 화면에서 입력 → 응답 (2026-06-11)
   ═══════════════════════════════════════════════════════════════════ */
.repent.solo{
  min-height:100svh; display:flex; align-items:center; padding:104px 0 56px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 28%, var(--gold-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.repent.solo > .container{ width:100%; max-width:720px; }
.solo-head{ text-align:center; margin-bottom:24px; }
.solo-head .hc-eyebrow{ margin-bottom:14px; }
.solo-head .hc-disp{ font-size:clamp(2rem,3.6vw,3rem); margin:0 auto 12px; max-width:18ch; }
.solo-sub{ font-size:1.02rem; line-height:1.7; color:var(--ink-3); max-width:42ch; margin:0 auto; }
.repent.solo .app-card{ max-width:680px; margin:0 auto; padding:26px 26px 22px; }
.repent.solo .confess-helpers{ margin-bottom:14px; }
.repent.solo .confess-textarea{ min-height:118px; border-radius:14px; }
/* 모바일: 칩을 한 줄 가로 스크롤로 → 입력 박스 높이 확보 (오른쪽 페이드로 더보기 힌트) */
@media (max-width:600px){
  .repent.solo .confess-helpers{
    flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    margin-bottom:12px; padding-bottom:2px;
    -webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);
            mask-image:linear-gradient(90deg,#000 86%,transparent);
  }
  .repent.solo .confess-helpers::-webkit-scrollbar{ display:none; }
  .repent.solo .confess-helpers .chip,
  .repent.solo .confess-helpers .helper-label{ flex:0 0 auto; white-space:nowrap; }
}
.repent.solo .step-actions{ border-top:none; padding-top:14px; margin-top:6px; justify-content:flex-end; }
.repent.solo .response-actions{ border-top:1px solid var(--line); }
.repent.solo .app-note{ max-width:560px; margin:22px auto 0; }
@media (max-width:560px){
  .repent.solo{ padding:88px 0 44px; }
  .solo-head .hc-disp{ font-size:1.8rem; }
  .repent.solo .app-card{ padding:22px 18px 18px; }
}

/* nav — 드롭다운 메뉴 + 우측 CTA (색 불변) */
.nav-links{ align-items:center; }
.nav-item{ position:relative; display:inline-flex; align-items:center; }
.nav-item::after{ content:''; position:absolute; top:100%; left:-6px; right:-6px; height:12px; }  /* hover 다리 */
.nav-top{
  background:none; border:none; font:inherit; cursor:pointer; color:var(--ink-2);
  display:inline-flex; align-items:center; gap:5px; padding:6px 2px;
  transition:color var(--dur-micro) var(--easing);
}
.nav-top:hover, .nav-item:hover .nav-top, .nav-item.open .nav-top{ color:var(--ink); }
.nav-top .caret{ width:9px; height:9px; opacity:.55; transition:transform .2s var(--easing); }
.nav-item:hover .nav-top .caret, .nav-item.open .nav-top .caret{ transform:rotate(180deg); }
.nav-flat{ color:var(--ink-2); padding:6px 2px; }
.nav-flat:hover{ color:var(--ink); }
.nav-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(4px);
  min-width:178px; background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-md); box-shadow:var(--shadow-md); padding:7px;
  display:flex; flex-direction:column; gap:2px; z-index:60;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .18s var(--easing), transform .18s var(--easing);
}
.nav-item:hover .nav-menu, .nav-item.open .nav-menu{ opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(10px); }
.nav-menu a{ display:block; padding:9px 13px; border-radius:8px; font-size:.9rem; color:var(--ink-2); white-space:nowrap; }
.nav-menu a:hover{ background:var(--bg-2); color:var(--ink); }
.nav-menu a::after{ content:none !important; }
.nav-cta .nav-pill{ margin-left:2px; }
@media (max-width:820px){ .nav-cta .nav-pill{ display:none; } }

/* 회개 응답 안 멤버십 유도 CTA */
.member-cta{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin:18px 0 4px; padding:16px 20px; border:1px solid var(--line-2); border-radius:var(--r-md);
  background:linear-gradient(100deg, var(--gold-soft), var(--white) 70%);
  transition:border-color var(--dur-micro) var(--easing), box-shadow var(--dur-micro) var(--easing);
}
.member-cta:hover{ border-color:var(--gold); box-shadow:var(--shadow-sm); }
.member-cta-text{ font-size:.9rem; line-height:1.65; color:var(--ink-2); max-width:46ch; }
.member-cta-text strong{ color:var(--ink); font-weight:600; }
.member-cta-go{ color:var(--gold); font-weight:600; font-size:.9rem; white-space:nowrap; }
