@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0c0d0f;
  --surface: #141518;
  --surface-2: #1b1c20;
  --line: #26282d;
  --fg: #f1efe9;
  --muted: #9d9b95;
  --accent: #ff6a3d;
  --on-accent: #160803;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f4;
    --surface: #ffffff;
    --surface-2: #eeeeeb;
    --line: #dcdcd7;
    --fg: #141417;
    --muted: #5e5d59;
    --accent: #e8501f;
    --on-accent: #ffffff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01";
}
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Buttons: one radius system, 12px everywhere interactive */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* Nav */
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 700; letter-spacing: -0.03em; font-size: 19px; text-decoration: none; }
.wordmark span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--fg); }

/* Hero: split, live demo on the right */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 72px; min-height: calc(100dvh - 68px); }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 22px; font-weight: 650; }
.hero p { font-size: 19px; color: var(--muted); max-width: 30ch; margin: 0 0 30px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.phone {
  justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 17; max-height: calc(100dvh - 140px);
  border-radius: 40px; padding: 10px; background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgb(255 106 61 / .25), inset 0 1px 0 rgb(255 255 255 / .06);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 31px; background: var(--bg); }

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 14px; font-weight: 650; }
.lead { font-size: 18px; color: var(--muted); max-width: 58ch; margin: 0; }

/* Services: asymmetric pair */
.services { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 40px; }
.tile { border-radius: var(--radius); padding: 32px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile h3 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 8px; }
.tile p { margin: 0; max-width: 40ch; }
.tile-twin { background: radial-gradient(120% 90% at 100% 0%, rgb(255 106 61 / .55), transparent 60%), var(--surface); }
.tile-twin p { color: var(--fg); opacity: .85; }
.tile-video { background: linear-gradient(160deg, #23252b 0%, #0f1012 70%); color: #f1efe9; }
.tile-video p { color: #b9b7b0; }
.tile .go { position: absolute; top: 28px; right: 28px; font-size: 14px; font-weight: 600; }

/* Demo list: rows, not cards */
.demo-list { margin-top: 36px; border-top: 1px solid var(--line); }
.demo-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 4px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.demo-row:hover { background: var(--surface); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #111; background: var(--c); }
.demo-row b { font-size: 18px; letter-spacing: -0.01em; }
.demo-row .niche { color: var(--muted); }
.demo-row .open { font-weight: 600; color: var(--accent); }

/* Process: big vertical stack */
.process { margin-top: 40px; display: grid; gap: 0; }
.process div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.process div:first-child { border-top: 0; }
.process strong { font-size: 22px; letter-spacing: -0.02em; }
.process p { margin: 0; color: var(--muted); max-width: 56ch; }

/* Pricing: featured pilot + stacked others */
.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 40px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.plan.featured { border-color: var(--accent); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.plan .amount { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 12px; }
.plan p { margin: 0; color: var(--muted); }
.plan-stack { display: grid; gap: 16px; }
.plan-stack .amount { font-size: 28px; }

/* Who it's for: two columns of plain text */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.fit h3 { font-size: 18px; margin: 0 0 6px; }
.fit p { margin: 0; color: var(--muted); }

/* Closing band */
.closing { padding: 96px 0; border-top: 1px solid var(--line); }
.closing h2 { max-width: 18ch; }
.closing .actions { margin-top: 28px; }

.foot { padding: 32px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* Entry motion: hero only, reduced-motion safe */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .26s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 32px 0 56px; gap: 40px; }
  .hero p { max-width: none; }
  .phone { width: min(320px, 100%); }
  .services, .pricing, .fit { grid-template-columns: 1fr; }
  .process div { grid-template-columns: 1fr; gap: 6px; }
  .nav-links a:not(.btn) { display: none; }
  .demo-row { grid-template-columns: 48px 1fr auto; }
  .demo-row .price { display: none; }
  section.block { padding: 64px 0; }
}

/* ---------- Demo chat (also rendered inside the hero phone) ---------- */
body.demo { display: flex; flex-direction: column; height: 100dvh; max-width: 720px; margin: 0 auto; }
.demo-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--accent) center/cover; color: #111; font-weight: 700; display: grid; place-items: center; flex: none; }
.demo-name { font-weight: 650; letter-spacing: -0.01em; }
.demo-sub { color: var(--muted); font-size: 13px; }
.demo-by { margin-left: auto; color: var(--muted); font-size: 12px; text-decoration: none; text-align: right; }
.demo-note { color: var(--muted); font-size: 12px; padding: 8px 16px 0; }
.chat { flex: 1; overflow-y: auto; padding: 10px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; white-space: pre-wrap; font-size: 15px; }
.msg.assistant { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.user { background: var(--accent); color: #111; align-self: flex-end; border-bottom-right-radius: 6px; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 16px; }
.suggest button { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.suggest button:hover { background: var(--surface); }
.composer { display: flex; gap: 8px; padding: 12px 16px; }
.composer input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); color: var(--fg); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; }
.composer input::placeholder { color: var(--muted); }
.composer input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.composer button { background: var(--accent); border: 0; border-radius: 12px; padding: 0 18px; font: inherit; font-weight: 600; color: #111; cursor: pointer; }
.paywall { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
body.embed .demo-by, body.embed .paywall, body.embed .demo-note { display: none; }
