:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1f2120;
  --muted: #5f625f;
  --faint: #8f928e;
  --border: #e4e2dc;
  --accent: #2f5d52;
  --accent-text: #ffffff;
  --accent-soft: #e3ece8;
  --warm: #b7791f;
  --warm-soft: #fbf1df;
  --band: #18302a;
  --band-text: #e8efec;
  --band-muted: #a9bdb6;
  --term: #1d201f;
  --term-text: #dfe5e2;
  --danger: #b3402f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151716;
    --surface: #1c1f1d;
    --text: #e9eae7;
    --muted: #a3a6a2;
    --faint: #767975;
    --border: #2b2e2c;
    --accent: #7fb3a4;
    --accent-text: #10201b;
    --accent-soft: #213430;
    --warm: #e2b45e;
    --warm-soft: #33291a;
    --band: #0f1d19;
    --band-text: #e3ebe8;
    --band-muted: #95aaa3;
    --term: #0f1110;
    --term-text: #d8dfdb;
    --danger: #e58572;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
kbd { border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 18px; font-weight: 650; }
.eyebrow { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.eyebrow.light { color: #8fd1bd; }
.soon {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  background: var(--warm-soft); color: var(--warm);
}

/* header */
.top { display: flex; align-items: center; gap: 24px; padding: 20px 0; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 650; text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.top nav { display: flex; gap: 22px; font-size: 14.5px; }
.top nav a, .top-cta { text-decoration: none; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top-cta { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 9px; background: var(--accent); color: var(--accent-text); }

/* hero */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 56px 0 80px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 700; }
.lede { color: var(--muted); font-size: 18.5px; margin: 0 0 28px; max-width: 32em; }

.join-row { display: flex; gap: 8px; max-width: 470px; }
.join input[type="email"] {
  flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.join button {
  font: inherit; font-weight: 600; padding: 12px 18px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-text); white-space: nowrap; cursor: pointer;
}
.join button:hover, .top-cta:hover { filter: brightness(1.07); }
.join button:disabled { opacity: .55; cursor: default; }
.join input:focus-visible, .join button:focus-visible, .platforms input:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 1px;
}
.platforms { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 18px; color: var(--muted); font-size: 14.5px; }
.platforms label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.platforms input { accent-color: var(--accent); margin: 0; }
.hp { position: absolute; left: -9999px; }
.note { color: var(--faint); font-size: 13.5px; margin: 10px 0 0; min-height: 1.6em; }
.note strong { color: var(--text); font-weight: 600; }
.note.ok { color: var(--accent); }
.note.err { color: var(--danger); }

/* hero chat demo */
.chat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px;
  display: grid; gap: 12px; box-shadow: 0 30px 70px rgba(20, 40, 34, .14);
}
.msg { border-radius: 14px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.msg.you { justify-self: end; max-width: 80%; background: var(--accent); color: var(--accent-text); border-bottom-right-radius: 4px; }
.msg.ai { background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 4px; display: grid; gap: 8px; }
.msg .who { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.msg pre {
  margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--term); color: var(--term-text);
  font-size: 12.5px; line-height: 1.6; overflow-x: auto;
}

/* problem */
.problem { padding: 24px 0 72px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-grid p { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 15.5px; }
.problem-grid strong { color: var(--text); }
.problem-answer { font-size: 19px; font-weight: 550; margin: 24px 0 0; color: var(--accent); }

/* AI band */
.band { background: var(--band); color: var(--band-text); padding: 80px 0; }
.band h2 { color: #fff; }
.band code { color: #bfe6d9; }
.band-lede { max-width: 46em; color: var(--band-muted); font-size: 17.5px; margin: 0 0 32px; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-grid div { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.ai-grid h3 { margin: 0 0 6px; font-size: 16px; color: #fff; }
.ai-grid p { margin: 0; color: var(--band-muted); font-size: 14.5px; }
.tools { margin: 28px 0 0; color: var(--band-muted); }
.tools strong { color: #fff; }

/* features */
.features-wrap { padding: 88px 0 24px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.feature { background: var(--surface); padding: 24px 24px 26px; }
.feature h3 { font-size: 16.5px; margin: 0 0 6px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* move in */
.move { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 88px 0 24px; }
.move p { color: var(--muted); margin: 0 0 14px; }
.move .small { font-size: 14.5px; color: var(--faint); }
.term { background: var(--term); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 30, 26, .18); }
.term-bar { display: flex; gap: 6px; padding: 12px 14px; }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3f3c; }
.term pre { margin: 0; padding: 4px 20px 22px; color: var(--term-text); font-size: 13.5px; line-height: 1.75; overflow-x: auto; }
.term .p { color: #7fb3a4; }
.term .o { color: #8e9893; }

/* security */
.security { padding: 88px 0 24px; }
.security ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 760px; }
.security li { color: var(--muted); padding-left: 22px; position: relative; }
.security li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.security strong { color: var(--text); font-weight: 600; }

/* pricing */
.pricing { padding: 88px 0 24px; }
.pricing-note { margin: -6px 0 24px; color: var(--muted); }
.pricing-note strong { color: var(--warm); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; padding: 24px; }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 16.5px; }
.price { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 0; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.per { margin: 4px 0 16px; color: var(--faint); font-size: 14px; }
.plan ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; display: grid; gap: 5px; }
.plan-cta { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15px; }
.plan-cta:hover { text-decoration: underline; }
.enterprise { color: var(--muted); font-size: 15px; margin: 20px 0 0; }

/* faq */
.faq { padding: 88px 0 96px; max-width: 820px; margin-left: max(16px, calc((100% - 1080px) / 2)); }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 14px 28px 14px 0; position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; }

@media (max-width: 960px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero, .move { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 28px 0 56px; }
  .problem-grid, .plans { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .band { padding: 64px 0; }
  .features-wrap, .move, .security, .pricing, .faq { padding-top: 64px; }
  .faq { margin-left: auto; }
}
@media (max-width: 560px) {
  .features, .ai-grid { grid-template-columns: 1fr; }
  .join-row { flex-direction: column; }
  .lede { font-size: 16.5px; }
  .top-cta { padding: 6px 12px; }
}
