:root {
  --brand: #3e7b5a;
  --brand-deep: #2e5c44;
  --brand-soft: #e8f1ea;
  --accent: #f2a766;
  --accent-soft: #fceedf;
  --text: #22302a;
  --muted: #6b746e;
  --border: #ede7dc;
  --bg: #fbf7f0;
  --card: #ffffff;
  --sale: #b9562a;
  --display: 'Fraunces', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(74, 58, 32, 0.1);
  --shadow-soft: 0 4px 18px rgba(74, 58, 32, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 240, 0.85); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand-deep); font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.logo img { width: auto; height: 34px; }
footer .logo img { height: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 16px var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.nav .btn { color: #fff; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--sale); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.04; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { font-size: 20px; color: var(--muted); margin: 22px 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Waitlist */
.waitlist { display: flex; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-soft); max-width: 460px; }
.waitlist input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 16px var(--sans); padding: 0 16px; color: var(--text); }
.waitlist-done { display: none; font-weight: 600; color: var(--brand-deep); padding: 14px 0; }
.waitlist.sent { display: none; }
.waitlist.sent + .waitlist-done { display: block; }

/* Phone mockup */
.phone { position: relative; text-align: left; width: min(320px, 100%); margin: 0 auto; aspect-ratio: 9 / 19; border-radius: 48px; background: #1d2420; padding: 12px; box-shadow: 0 40px 80px rgba(46, 92, 68, 0.25); }
.screen { height: 100%; border-radius: 38px; background: var(--bg); overflow: hidden; padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.screen::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #1d2420; }
.screen-title { font-family: var(--display); font-weight: 600; font-size: 24px; }
.screen-sub { font-size: 13px; color: var(--muted); margin-top: -8px; }
.mini-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-soft); display: flex; gap: 10px; align-items: center; }
.mini-card img { width: 40px; height: 40px; }
.mini-card .t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mini-card .s { font-size: 12px; color: var(--muted); }
.mini-card .price { margin-left: auto; text-align: right; font-weight: 700; font-size: 15px; }
.mini-card .was { display: block; font-size: 11px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--sale); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.agent-bubble { background: var(--brand); color: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.agent-bubble strong { display: block; font-size: 12px; opacity: 0.8; font-weight: 600; margin-bottom: 2px; }
.approve { margin-top: auto; background: var(--brand-deep); color: #fff; border-radius: 999px; text-align: center; padding: 12px; font-weight: 600; font-size: 15px; }
.float { position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.float b { display: block; }
.float span { color: var(--muted); font-size: 12px; }
.float img { width: 34px; height: 34px; }
.float-1 { bottom: 13%; left: -70px; }
.float-2 { top: 3%; right: -80px; }
.phone-stage { position: relative; }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-soft); }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-soft); transition: transform 0.2s, box-shadow 0.2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature img { width: 64px; height: 64px; margin-bottom: 18px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--brand-deep); color: #fff; border: 0; }
.feature.wide p { color: rgba(255, 255, 255, 0.8); }
.feature.wide img { width: 112px; height: 112px; margin: 0; background: rgba(255, 255, 255, 0.95); border-radius: 24px; padding: 12px; }

.band { background: var(--brand-soft); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust h3 { font-size: 21px; margin-bottom: 8px; color: var(--brand-deep); }
.trust p { color: var(--muted); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 12px; }

.final { text-align: center; }
.final .box { background: var(--brand); color: #fff; border-radius: 32px; padding: 72px 32px; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(32px, 4.5vw, 48px); }
.final p { opacity: 0.85; font-size: 19px; margin: 14px auto 28px; max-width: 32em; }
.final .waitlist { margin: 0 auto; }
.final .waitlist-done { color: #fff; }
.final .btn-primary { background: var(--accent); color: var(--text); }

/* Footer */
footer { padding: 48px 0 56px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--brand); }

/* Legal and support pages */
.doc { max-width: 760px; padding: 56px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: #3b4741; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc .callout { background: var(--brand-soft); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede, .waitlist { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .float { display: none; }
  .steps, .features, .trust { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
