@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #1E2B22;
  --ink-soft: #5B6960;
  --paper: #FFFFFF;
  --canvas: #EEF2EC;
  --evergreen: #2F4A3B;
  --evergreen-deep: #22362A;
  --moss: #6F9078;
  --clay: #AD5E3C;
  --slate: #3C4A52;
  --signal: #C79A3D;
  --line: #E1E5DE;
  --alert: #A6484A;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(30,43,34,0.06);
  --shadow-md: 0 10px 34px rgba(30,43,34,0.10);
  --ease: cubic-bezier(0.22,1,0.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', serif; color: var(--ink); margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: .09em; color: var(--moss); font-weight: 500;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1120px; margin: 0 auto; }
.nav-word { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; color: var(--evergreen); }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a.muted { color: var(--ink-soft); }
.nav-links a.muted:hover { color: var(--ink); }
.nav-cta-group { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-links-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: var(--radius-sm);
  padding: 12px 22px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: transform 120ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--evergreen); color: white; box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--evergreen-deep); box-shadow: var(--shadow-md); }
.btn.ghost { background: transparent; color: var(--evergreen); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--moss); }
.btn.small { padding: 9px 16px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.015em; font-weight: 500; max-width: 15ch; }
.hero p.lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-top: 20px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

/* the Horizon — ambient signature behind the hero */
.horizon-bg {
  position: absolute; left: 0; right: 0; bottom: -40px; height: 340px; z-index: 0; opacity: 0.5; pointer-events: none;
}

/* tone-check demo card — the hero's real "thesis" moment */
.demo-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px; position: relative; }
.demo-label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 8px; }
.demo-msg { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; border: 1px solid; }
.demo-msg.stormy { background: #FBEFEC; border-color: #F0D3C8; color: #7A3B32; margin-bottom: 16px; }
.demo-arrow { text-align: center; color: var(--moss); font-size: 13px; margin: 4px 0 16px; font-family: 'IBM Plex Mono', monospace; }
.demo-msg.calm { background: #F1F5F1; border-color: #DCE6DC; color: var(--evergreen-deep); }
.demo-tonebar-track { height: 6px; background: var(--canvas); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.demo-tonebar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--alert), var(--signal), var(--moss)); width: 82%; }
.demo-tonebar-caption { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-soft); margin-top: 6px; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.01em; margin-top: 8px; line-height: 1.2; }
.section-head p { font-size: 15px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }
.alt-bg { background: var(--canvas); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 4px; }
.step-num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--moss); font-weight: 600; }
.step h3 { font-size: 19px; font-weight: 500; margin-top: 10px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature-card h3 { font-size: 18px; font-weight: 500; }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }
.feature-tag { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--clay); background: #FBF1EC; border: 1px solid #EAD3C4; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- trust ---------- */
.trust-card {
  border: 1px solid var(--line); border-left: 4px solid var(--evergreen); border-radius: var(--radius);
  background: var(--paper); padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.trust-card h2 { font-size: 24px; font-weight: 500; }
.trust-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-top: 12px; max-width: 68ch; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border-color: var(--evergreen); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: "Most families choose this";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--evergreen); color: white; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace; letter-spacing: .03em; white-space: nowrap;
}
.price-name { font-size: 20px; font-weight: 500; }
.price-value { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 500; margin-top: 14px; }
.price-value span { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink-soft); font-weight: 400; }
.price-list { list-style: none; padding: 0; margin: 22px 0 26px; }
.price-list li { font-size: 13.5px; color: var(--ink-soft); padding: 7px 0; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: none; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--canvas); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-fine { font-size: 12px; color: var(--ink-soft); margin-top: 18px; max-width: 70ch; line-height: 1.6; }
