/* ── TOKENS ── */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #111110;
  --ink-2: #3D3B37;
  --ink-3: #787570;
  --navy: #1A2B4A;
  --navy-2: #2E4070;
  --navy-pale: #EDF1F8;
  --accent-pale: #FAF0E8;
  --border: rgba(0,0,0,0.07);
  --border-2: rgba(0,0,0,0.05);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPE ── */
h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ── UTIL ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.wrap--narrow { max-width: 780px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.tc { text-align: center; }

.label {
  display: inline-flex; align-items: center;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.78rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 0.9rem;
  letter-spacing: -0.01em;
  cursor: pointer; border: none;
  transition: all 0.2s cubic-bezier(0.25,0.46,0.45,0.94);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 1px 3px rgba(26,43,74,0.3), 0 4px 16px rgba(26,43,74,0.18);
}
.btn--primary:hover {
  background: var(--navy-2);
  box-shadow: 0 2px 6px rgba(26,43,74,0.3), 0 8px 24px rgba(26,43,74,0.22);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: rgba(0,0,0,0.18); color: var(--ink); transform: translateY(-1px); }
.btn--sm { padding: 0.52rem 1.2rem; font-size: 0.82rem; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__logo { font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.nav__logo .k { color: var(--navy); font-style: italic; }
.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__links a { font-size: 0.88rem; font-weight: 500; color: var(--ink-3); transition: color 0.18s; letter-spacing: -0.01em; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 4px; }
.nav__hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,43,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,43,74,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero__orb-1 {
  position: absolute; top: -10%; right: -5%;
  width: min(60vw, 720px); height: min(60vw, 720px);
  background: radial-gradient(circle at 40% 40%, #DDE6F5 0%, #EDF1F8 40%, transparent 70%);
  border-radius: 50%;
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}
.hero__orb-2 {
  position: absolute; bottom: 5%; left: -5%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, #FAF0E8 0%, transparent 65%);
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(12px,-18px) scale(1.03); }
  66% { transform: translate(-8px,10px) scale(0.97); }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: 100%; max-width: 1120px; margin: 0 auto;
}
.hero__left { display: flex; align-items: center; }
.hero__h1 {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  letter-spacing: -0.03em; line-height: 1.12;
  animation: fadeUp 0.65s ease both;
  max-width: 18ch;
}
.hero__h1 em {
  font-style: italic; color: var(--navy);
  position: relative; display: inline-block;
}
.hero__h1 em::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%);
  opacity: 0.2; border-radius: 2px;
}
.hero__right {
  display: flex; flex-direction: column; gap: 2rem;
  animation: fadeUp 0.65s 0.12s ease both;
}
.hero__sub { font-size: 1.05rem; color: var(--ink-3); line-height: 1.85; }
.hero__actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* ── SECTION SHARED ── */
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section--alt { background: var(--surface); }
.section__hd { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section__title { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.025em; margin-bottom: 0.65rem; }
.section__sub { font-size: 1rem; color: var(--ink-3); max-width: 480px; line-height: 1.85; }
.section__hd.tc .section__sub { margin: 0 auto; }

/* ── STORY ── */
.story__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.story__body p { color: var(--ink-3); font-size: 0.97rem; line-height: 1.9; margin-bottom: 1.1rem; }
.story__body p strong { color: var(--ink-2); font-weight: 600; }
.story__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(2rem, 3.5vw, 2.75rem);
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.story__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 50%, transparent 100%);
}
.story__quote-mark {
  font-family: 'Lora', serif; font-size: 5rem; line-height: 0.8;
  color: var(--navy-pale); margin-bottom: 1rem; display: block; user-select: none;
}
.story__blockquote { font-family: 'Lora', serif; font-style: italic; font-size: 1.05rem; line-height: 1.85; color: var(--ink-2); }
.story__cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 0.78rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── WHAT ── */
.what__grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.what__card { background: var(--surface); padding: 2rem 1.75rem; transition: background 0.22s ease; cursor: default; }
.what__card:hover { background: var(--bg); }
.what__card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.what__card p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.78; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 2rem; position: relative; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step::after {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--navy-pale) 0%, transparent 100%);
}
.step:last-child::after { display: none; }
.step__num {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--navy); color: #fff;
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 600;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 2px 8px rgba(26,43,74,0.25), 0 0 0 4px var(--navy-pale);
  transition: transform 0.2s;
}
.step:hover .step__num { transform: scale(1.05); }
.step__body { padding-top: 0.9rem; }
.step__body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.step__body p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.8; }

/* ── PRICING ── */
.pricing__wrap { max-width: 440px; margin: 0 auto; }
.pricing__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(2.25rem,4vw,3rem) clamp(2rem,3.5vw,2.75rem);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); text-align: center;
}
.pricing__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, #4A6BA8 100%);
}
.pricing__tag {
  display: inline-block; background: var(--navy-pale); color: var(--navy-2);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: var(--r-pill); margin-bottom: 1.75rem;
}
.pricing__amount { font-family: 'Lora', serif; font-size: 4.5rem; font-weight: 600; line-height: 1; color: var(--ink); margin-bottom: 0.2rem; letter-spacing: -0.03em; }
.pricing__amount sup { font-size: 1.6rem; vertical-align: 0.6em; margin-right: 0.1em; }
.pricing__per { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 2rem; font-weight: 500; }
.pricing__divider { border: none; border-top: 1px solid var(--border-2); margin-bottom: 1.5rem; }
.pricing__features { margin-bottom: 2rem; text-align: left; }
.pricing__features li { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.6rem 0; font-size: 0.88rem; color: var(--ink-2); border-bottom: 1px solid var(--border-2); }
.pricing__features li:last-child { border-bottom: none; }
.pricing__check { flex-shrink: 0; width: 17px; height: 17px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.58rem; font-weight: 700; margin-top: 2px; }
.pricing__cta { width: 100%; justify-content: center; font-size: 0.95rem; padding: 0.95rem; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border); padding: 2.5rem clamp(1.5rem,5vw,4rem);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem; background: var(--surface);
}
.footer__logo { font-family: 'Lora', serif; font-size: 0.95rem; color: var(--ink-2); font-weight: 600; letter-spacing: -0.01em; }
.footer__logo .k { color: var(--navy); font-style: italic; }
.footer__copy { font-size: 0.78rem; color: var(--ink-3); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.78rem; color: var(--ink-3); font-weight: 500; transition: color 0.18s; }
.footer__links a:hover { color: var(--ink); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .what__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(250,250,248,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem clamp(1.5rem,5vw,4rem); gap: 1.25rem; z-index: 199;
  }
  .nav__hamburger { display: flex; }
  .what__grid { grid-template-columns: 1fr; }
  .hero__h1 { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
