:root {
  /* Identity — the deep green of the logo tile. Quiet, used for big surfaces. */
  --green-900: #073829;
  --green-800: #0a5640;
  --green-700: #0f6e56;
  --green-600: #1f8a6c;
  /* Action — the cyan-teal you actually see inside the app. CTAs, links, selection. */
  --teal-500: #22b5c8;
  --teal-600: #169fb2;
  --teal-700: #0e8497;
  --teal-100: #d6f1f5;
  --teal-50:  #ecfafc;
  /* Block palette — pulled from the in-app block colors */
  --spark:   #fcd78a; /* 0–15 min */
  --stride:  #b6dcc0; /* 15–30 */
  --anchor:  #d8c8e8; /* 30–60 */
  --long:    #bce0e4; /* 1–2h */
  /* Neutrals */
  --ink:     #0e1614;
  --ink-2:   #2a3531;
  --muted:   #6c7a76;
  --line:    #e3e8e5;
  --paper:   #fbfaf6;
  --paper-2: #f4f2ec;
  --white:   #ffffff;
  /* Accent */
  --accent:        var(--teal-500);
  --accent-strong: var(--teal-600);
  --accent-soft:   var(--teal-100);
  --accent-ink:    #03323a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 15px; color: var(--ink-2);
}
.nav-links a:hover { color: var(--accent-strong); }
.nav-links a.current { color: var(--accent-strong); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white;
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.nav-cta:hover { background: var(--accent-strong); transform: translateY(-1px); color: white; }
@media (max-width: 720px) {
  .nav-row { height: 60px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  /* keep the brand small enough that the CTA fits */
  .brand span { font-size: 18px; }
}

/* Mobile sub-nav row — shown only when the desktop nav links collapse */
.subnav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.subnav-row {
  display: flex; gap: 18px;
  overflow-x: auto;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  -webkit-overflow-scrolling: touch;
}
.subnav-row::-webkit-scrollbar { display: none; }
.subnav-row { scrollbar-width: none; }
.subnav-row a { white-space: nowrap; padding: 4px 0; }
.subnav-row a.current { color: var(--accent-strong); border-bottom: 2px solid var(--accent); }
@media (max-width: 720px) { .subnav { display: block; } }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 720px) { .hero { padding: 56px 0 32px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong);
}
h1.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 20px 0 20px;
  text-wrap: balance;
}
.hero-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--green-800);
}
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 520px; margin: 0 0 32px;
}
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 80%, black);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); color: white; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.hero-meta {
  margin-top: 18px;
  font-size: 13.5px; color: var(--muted);
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: 320px; aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  background: #0e0e10;
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 0 0 1.5px #1d1f22,
    0 30px 80px -30px rgba(7,56,41,.45),
    0 8px 30px -10px rgba(0,0,0,.25);
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000; border-radius: 999px;
  z-index: 2;
}

/* Hero phone with floating chips */
.hero-phone-stage {
  position: relative; padding: 32px 0;
}
.chip {
  position: absolute;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: white; color: var(--ink-2);
  box-shadow: 0 12px 28px -14px rgba(7,56,41,.35), 0 1px 0 rgba(0,0,0,.04);
  border: 1px solid var(--line);
  z-index: 3;
}
.chip.spark  { background: var(--spark);  border-color: transparent; }
.chip.stride { background: var(--stride); border-color: transparent; }
.chip.anchor { background: var(--anchor); border-color: transparent; }
.chip.long   { background: var(--long);   border-color: transparent; }
.chip.brand  { background: var(--accent); color: white; border-color: transparent; }

.hero-chip-1 { top: 60px; left: -8px; }
.hero-chip-2 { top: 200px; right: -16px; }
.hero-chip-3 { bottom: 130px; left: -28px; }
.hero-chip-4 { bottom: 60px; right: 12px; }

/* On narrow viewports, pull chips closer so they don't fall off the edge. */
@media (max-width: 420px) {
  .chip { font-size: 12px; padding: 6px 11px; }
  .hero-chip-1 { left: 4px; }
  .hero-chip-2 { right: 0; }
  .hero-chip-3 { left: 0; }
  .hero-chip-4 { right: 4px; }
}

/* ---------- Section base ---------- */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-strong);
  margin: 0 0 14px;
}
h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-wrap: balance;
}
h2 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
}
.lede {
  font-size: 18px; line-height: 1.6; color: var(--ink-2);
  max-width: 640px;
}

/* ---------- The problem (quiet, universal) ---------- */
.problem {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 980px) { .problem-grid { grid-template-columns: 1fr; gap: 48px; } }
.problem-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.problem-quote span {
  background: linear-gradient(180deg, transparent 60%, var(--spark) 60%);
  padding: 0 4px;
}
.problem-list {
  display: grid; gap: 18px; margin: 0; padding: 0; list-style: none;
}
.problem-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 17px; color: var(--ink-2);
}
.problem-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-strong); }

/* ---------- Time blocks (deep green hero feature) ---------- */
.blocks-feature {
  background: var(--green-900);
  color: #eaf2ed;
  position: relative;
  overflow: hidden;
}
.blocks-feature::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(34,181,200,.13), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(15,110,86,.45), transparent 60%);
  pointer-events: none;
}
.blocks-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 980px) { .blocks-grid { grid-template-columns: 1fr; gap: 56px; } }
.blocks-feature h2 { color: white; }
.blocks-feature h2 em { color: var(--accent); }
.blocks-feature .lede { color: rgba(255,255,255,.78); }
.blocks-feature .kicker { color: var(--accent); }

.duration-list {
  margin: 32px 0 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
}
.duration-row {
  display: grid; grid-template-columns: 110px 1fr;
  align-items: center; gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
}
.duration-tag {
  font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: 999px;
  color: var(--ink); text-align: center;
}
.duration-tag.t1 { background: var(--spark); }
.duration-tag.t2 { background: var(--stride); }
.duration-tag.t3 { background: var(--anchor); }
.duration-tag.t4 { background: var(--long); }
.duration-row span:last-child { color: rgba(255,255,255,.86); font-size: 15px; }

/* phone over green */
.blocks-feature .hero-phone-stage { padding: 0; }

/* ---------- Light + Dark pair ---------- */
.modes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end;
  margin-top: 48px;
}
@media (max-width: 820px) { .modes-grid { grid-template-columns: 1fr; gap: 48px; } }
.mode-card {
  text-align: center;
}
.mode-card .phone { box-shadow: 0 30px 80px -40px rgba(7,56,41,.4); }
.mode-card-label {
  margin-top: 22px;
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.mode-card.light .phone { background: #1a1a1c; }
.mode-card.dark  .phone { background: #050505; }
.modes-intro {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
}
@media (max-width: 820px) { .modes-intro { grid-template-columns: 1fr; } }
.modes-intro p { margin: 0; }

/* ---------- Adjust + reschedule (split) ---------- */
.adjust {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.adjust-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center;
}
@media (max-width: 980px) { .adjust-grid { grid-template-columns: 1fr; gap: 48px; } }
.adjust-points { display: grid; gap: 24px; margin-top: 32px; }
.adjust-points h4 {
  font-size: 17px; font-weight: 700; margin: 0 0 4px;
}
.adjust-points p { margin: 0; color: var(--muted); font-size: 15.5px; }
.adjust-points > div {
  padding-left: 18px; border-left: 2px solid var(--accent);
}

/* ---------- Plan ahead — three cards ---------- */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 28px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(7,56,41,.18);
}
.plan-card h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.plan-card p {
  color: var(--muted); margin: 0 0 24px; font-size: 15px;
}
.plan-card .shot {
  margin: 0 -28px; flex: 1;
  display: flex; justify-content: center; align-items: flex-end;
}
.plan-card .shot img {
  width: 88%;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -10px 30px -10px rgba(7,56,41,.18);
}

/* ---------- Voice / always edit ---------- */
.voice {
  padding: 88px 0;
}
@media (max-width: 720px) { .voice { padding: 56px 0; } }
.voice-card {
  background: var(--green-800);
  color: white;
  border-radius: 28px;
  padding: 56px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 820px) { .voice-card { grid-template-columns: 1fr; padding: 40px 28px; } }
.voice-card h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.voice-card h3 em {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 500;
  color: var(--accent);
}
.voice-card p { color: rgba(255,255,255,.78); font-size: 17px; margin: 0; max-width: 460px; }
.voice-mock {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 22px;
}
.voice-mock-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.voice-quote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 19px; color: white; margin: 0 0 18px;
  line-height: 1.4;
}
.voice-extracted {
  background: rgba(252,215,138,.14);
  border: 1px solid rgba(252,215,138,.3);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid; gap: 4px;
}
.voice-extracted .row1 { display: flex; align-items: center; gap: 10px; font-weight: 600; color: white; }
.voice-extracted .row2 { color: rgba(255,255,255,.7); font-size: 14px; }
.voice-extracted .icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--spark); display: grid; place-items: center;
  color: var(--ink);
}
.voice-actions {
  display: flex; gap: 10px; margin-top: 16px;
}
.voice-actions .btn-confirm {
  background: var(--accent); color: white;
  flex: 1; padding: 11px; border-radius: 12px;
  font-weight: 600; text-align: center; font-size: 14px;
}
.voice-actions .btn-edit {
  background: transparent; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: 11px 16px; border-radius: 12px; font-size: 14px;
}

/* ---------- Page intro (used at top of subpages) ---------- */
.page-intro {
  padding: 72px 0 24px;
  text-align: center;
}
.page-intro h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.page-intro h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 500;
  color: var(--green-800);
}
.page-intro p {
  margin: 0 auto;
  max-width: 620px;
  font-size: 18px; color: var(--ink-2); line-height: 1.55;
}
@media (max-width: 720px) { .page-intro { padding: 48px 0 16px; } }

/* ---------- Closing CTA ---------- */
.close {
  text-align: center;
  padding: 120px 0 110px;
}
@media (max-width: 720px) { .close { padding: 72px 0 64px; } }
.close h2 {
  margin-bottom: 12px;
}
.close p { color: var(--muted); margin: 0 auto 32px; max-width: 520px; font-size: 18px; }
.close .hero-cta-row { justify-content: center; }
.close-meta {
  margin-top: 18px;
  font-size: 13px; color: var(--muted);
}

/* ---------- Mini closing CTA (for subpages) ---------- */
.mini-close {
  text-align: center;
  padding: 72px 0 88px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.mini-close h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.mini-close p { color: var(--muted); margin: 0 auto 22px; font-size: 16px; }
.mini-close .hero-cta-row { justify-content: center; }
@media (max-width: 720px) { .mini-close { padding: 56px 0 64px; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted); font-size: 14px;
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--accent-strong); }

/* ---------- Big-screen polish ---------- */
@media (min-width: 1100px) {
  .hero-grid { gap: 96px; }
}
