/* Landing site. Same identity as the app: warm paper, sage accent, Frank Ruhl display + Heebo text. */
:root {
  --bg: #F7F4EE; --surface: #FFFFFF; --soft: #EFEAE1; --text: #2A2622; --muted: #6B6259; --line: #E2DBCF;
  --accent: #4A6B4F; --on-accent: #FFFFFF; --accent-soft: #E3EADF; --deep: #2F4733;
  /* Earth tones beside the sage: fills use the base colour, text uses the darker *-ink for contrast */
  --clay: #B0715A; --clay-ink: #8A4F3A; --ochre: #C08A3E; --ochre-ink: #85601F; --sand: #EADFCC; --sand-2: #F3EBDD; --bark: #3B2B22;
  --display: 'Frank Ruhl Libre', Georgia, serif; --ui: 'Heebo', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171513; --surface: #211E1B; --soft: #2B2723; --text: #F1ECE4; --muted: #A69D92; --line: #38332D;
    --accent: #9DBB95; --on-accent: #171513; --accent-soft: #2A3428; --deep: #1E2A20;
    --clay: #D79E88; --clay-ink: #E3AE97; --ochre: #D9AE6C; --ochre-ink: #E2BC80; --sand: #2E261F; --sand-2: #221C17; --bark: #1C1511; color-scheme: dark;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.ic { width: 24px; height: 24px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; }
.brand b { font-family: var(--display); font-size: 26px; color: var(--text); }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.lang { font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding-inline: 26px; border-radius: 99px; font-weight: 500; font-size: 17px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, filter .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.secondary { border-color: var(--line); background: var(--surface); }
.btn.sm { height: 40px; padding-inline: 18px; font-size: 15px; }

/* hero */
.hero { padding: 72px 0 40px; background:
  radial-gradient(circle at 18% 38%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 34%),
  radial-gradient(circle at 30% 82%, color-mix(in srgb, var(--ochre) 14%, transparent), transparent 30%); }
[dir="ltr"] .hero { background:
  radial-gradient(circle at 82% 38%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 34%),
  radial-gradient(circle at 70% 82%, color-mix(in srgb, var(--ochre) 14%, transparent), transparent 30%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--clay-ink); margin-bottom: 16px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 68px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: 21px; line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 34ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* phone mock */
.phone { width: 330px; max-width: 100%; margin-inline: auto; background: var(--bg); border: 10px solid #2A2622; border-radius: 46px; padding: 22px 16px 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.m-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-bar b { font-family: var(--display); font-size: 24px; }
.m-pill { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 13px; }
.m-card + .m-card { margin-top: 10px; }
.m-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 7px; background: color-mix(in srgb, var(--tc, var(--accent)) 15%, transparent); }
.m-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--tc, var(--accent)); }
.m-title { font-weight: 600; font-size: 16px; margin: 8px 0 4px; }
.m-meta { color: var(--muted); line-height: 1.6; }
.m-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.m-seats { margin-top: 10px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.m-bar2 { height: 6px; border-radius: 99px; background: var(--soft); margin-top: 5px; overflow: hidden; }
.m-bar2 i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* sections */
section { padding: 88px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; text-wrap: balance; }
.sec-head p { font-size: 19px; color: var(--muted); margin-top: 14px; }
.band { background: var(--sand-2); border-block: 1px solid var(--line); }
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain div { border-top: 3px solid var(--clay); padding-top: 18px; }
.pain div:nth-child(2) { border-top-color: var(--ochre); }
.pain div:nth-child(3) { border-top-color: var(--accent); }
.pain h3, .feat h3 { font-size: 21px; font-weight: 600; line-height: 1.35; }
.pain p, .feat p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.feat .badge { grid-row: span 2; width: 52px; height: 52px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feat:nth-child(2) .badge { background: color-mix(in srgb, var(--clay) 18%, transparent); color: var(--clay-ink); }
.feat:nth-child(3) .badge { background: color-mix(in srgb, var(--ochre) 20%, transparent); color: var(--ochre-ink); }
.feat:nth-child(4) .badge { background: var(--sand); color: var(--clay-ink); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; inset-inline-start: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.steps li:nth-child(2)::before { background: var(--clay); color: #fff; }
.steps li:nth-child(3)::before { background: var(--ochre); color: #fff; }
.steps b { display: block; font-size: 21px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 17px; }

/* business band */
.biz { background: var(--bark); color: #F1ECE4; }
.biz h2 { color: #F7F4EE; }
.biz .sec-head p, .biz .muted { color: #D8C9B8; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.biz ul { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.biz li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.biz li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #D79E88; margin-top: 10px; flex: none; }
.math { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 28px; }
.math-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.math-row span { font-size: 15px; color: #D8C9B8; line-height: 1.35; }
.math-bar { height: 58px; border-radius: 12px; display: flex; align-items: center; padding-inline: 18px; font-family: var(--display); font-weight: 700; font-size: 28px; }
.math-bar.a { background: rgba(234,223,204,.16); width: 100%; }
.math-bar.b { background: #9DBB95; color: #171513; width: 62%; }
.biz .btn.primary { background: #F7F4EE; color: #2A2622; }
.biz .btn.secondary { background: transparent; color: #F7F4EE; border-color: rgba(255,255,255,.3); }

/* world */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat b { display: block; font-family: var(--display); font-size: 72px; line-height: 1; color: var(--clay); }
.stat:nth-child(2) b { color: var(--ochre); }
.stat:nth-child(3) b { color: var(--accent); }
.stat p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips span { font-size: 15px; padding: 7px 15px; border-radius: 99px; background: var(--sand); border: 1px solid transparent; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--clay-ink); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 17px; max-width: 70ch; }

/* final cta + footer */
.final { text-align: center; background: var(--sand); }
.final h2 { margin-inline: auto; max-width: 18ch; }
.final .cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-in nav { display: flex; gap: 18px; margin-inline-start: auto; flex-wrap: wrap; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: var(--text); }

@media (max-width: 880px) {
  .hero-grid, .biz-grid { grid-template-columns: 1fr; gap: 44px; }
  .pain, .steps, .stats { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-in { gap: 12px; }
  .lang { margin-inline-start: auto; }
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .math-row { grid-template-columns: 1fr; gap: 6px; }
  .stat b { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* "Coming soon" label for beta features */
.soon { display: inline-block; vertical-align: middle; font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 2px 9px; border-radius: 99px; background: color-mix(in srgb, var(--ochre) 20%, transparent); color: var(--ochre-ink); margin-inline-start: 6px; }
