:root {
  color-scheme: light;
  --ink: #13201d;
  --muted: #64706b;
  --line: #d9dfdb;
  --panel: #ffffff;
  --soft: #f4f7f4;
  --green: #18795b;
  --blue: #245cc7;
  --gold: #b87919;
  --rose: #b14567;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfcfb;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
nav a { white-space: nowrap; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 760; }
.nav-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 720;
}

.hero {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 64px);
  background:
    linear-gradient(120deg, rgba(24, 121, 91, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfcfb 0%, #edf4f0 100%);
}
.hero > *,
.split-band > *,
.feature-hero > *,
.feature-split > * {
  min-width: 0;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: 68px; line-height: 0.95; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: 38px; line-height: 1.05; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: 0; }
.lede { max-width: 620px; color: #3e4d48; font-size: 21px; }
.trust-note {
  max-width: 620px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: #273833;
  font-weight: 720;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 7px; font-weight: 720; }
.primary { background: var(--ink); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }

.hero-device, .screen, .chat-card {
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(19, 32, 29, 0.13);
}
.window-chrome {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.window-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #d9dfdb; }
.window-chrome span:nth-child(1) { background: #e66a5d; }
.window-chrome span:nth-child(2) { background: #e7b84a; }
.window-chrome span:nth-child(3) { background: #62bd6e; }
.app-grid { display: grid; grid-template-columns: 190px 1fr; min-height: 440px; }
.sidebar, .mini-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f6f8f6;
}
.sidebar span, .mini-sidebar span {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
}
.sidebar .active, .mini-sidebar span:first-of-type {
  background: #e2f1eb;
  color: var(--green);
  font-weight: 700;
}
.panel { padding: 24px; }
.panel-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.panel-head p { color: var(--muted); }
.pill {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2f1eb;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}
.dropzone {
  display: grid;
  place-items: center;
  min-height: 118px;
  margin-bottom: 18px;
  border: 2px dashed #95b8aa;
  border-radius: 8px;
  color: var(--green);
  font-weight: 740;
}
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.source-row b { color: var(--green); }

.band, .split-band, .screens, .feature-band, .feature-split, .hosting-band, .faq-section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 64px);
}
.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head a {
  color: var(--green);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vault-grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.vault-grid article:nth-child(2) h3 { color: var(--gold); }
.vault-grid article:nth-child(3) h3 { color: var(--blue); }
.vault-grid article:nth-child(5) h3 { color: var(--rose); }
.vault-grid p, .split-band p, .screen p { color: var(--muted); }

.split-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #10201d;
  color: #fff;
}
.split-band .eyebrow { color: #86d7b9; }
.split-band p { color: #dce8e3; }
.coming { color: #fff; font-weight: 720; }
.chat-card { padding: 22px; color: var(--ink); }
.chat-header { display: flex; justify-content: space-between; margin-bottom: 22px; }
.chat-header span { color: var(--green); font-size: 13px; font-weight: 720; }
.bubble {
  width: fit-content;
  max-width: 86%;
  padding: 13px 15px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.bubble.user { margin-left: auto; background: var(--blue); color: #fff; }
.bubble.bot { background: #eef3f0; color: var(--ink); }
.cost { color: var(--green); font-size: 13px; font-weight: 760; }

.hosting-band {
  background:
    linear-gradient(120deg, rgba(184, 121, 25, 0.12), transparent 38%),
    #f7f3eb;
}
.hosting-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.hosting-grid.compact { margin-bottom: 0; }
.hosting-grid article, .faq-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.hosting-grid h3:nth-child(1) { color: var(--ink); }
.hosting-grid p, .faq-grid p { color: var(--muted); }
.faq-section {
  background: #fbfcfb;
}
.faq-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0;
}
.faq-grid article {
  min-height: 220px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.screen { min-height: 360px; padding: 18px; overflow: hidden; }
.screen-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: var(--muted); }
.screen-title b { color: var(--ink); }
.mini-layout { display: grid; grid-template-columns: 150px 1fr; min-height: 270px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mini-main { padding: 20px; }
.search {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 18px;
  color: var(--muted);
}
.answer {
  padding: 18px;
  border-radius: 8px;
  background: #f4f7f4;
}
.answer small { color: var(--green); font-weight: 720; }
footer {
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.shot-body {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(36, 92, 199, 0.10), transparent 38%),
    linear-gradient(180deg, #f8fbf9, #e9f2ee);
}
.shot-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px;
}
.shot {
  width: min(1080px, calc(100vw - 96px));
  min-height: 620px;
  padding: 34px;
}
.shot .screen-title {
  font-size: 20px;
  margin-bottom: 28px;
}
.shot .screen-title b { font-size: 24px; }
.shot-layout { min-height: 470px; grid-template-columns: 240px 1fr; }
.shot .mini-sidebar, .shot .mini-main { padding: 28px; }
.shot .mini-sidebar { gap: 13px; }
.shot .mini-main h3 { font-size: 34px; max-width: 640px; }
.shot .mini-main p { font-size: 21px; max-width: 720px; }
.shot .search { font-size: 24px; padding: 20px; margin-bottom: 28px; }
.shot .answer { padding: 28px; }
.shot .answer h3 { font-size: 34px; }
.shot .answer p { font-size: 22px; color: #34443f; }
.shot .answer small, .shot .source-row { font-size: 18px; }
.shot .bubble { font-size: 22px; padding: 20px 22px; margin-bottom: 20px; }
.shot .cost { font-size: 19px; }

.feature-hero {
  min-height: calc(88vh - 62px);
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 64px);
  background:
    linear-gradient(120deg, rgba(36, 92, 199, 0.10), transparent 44%),
    linear-gradient(180deg, #fbfcfb 0%, #ecf4f0 100%);
}
.feature-hero h1 {
  max-width: 980px;
  font-size: clamp(46px, 6vw, 76px);
}
.steps-card {
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(19, 32, 29, 0.12);
}
.steps-card h2 { font-size: 28px; }
.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 24px;
}
.steps li::marker { color: var(--green); font-weight: 800; }
.steps b, .steps span { display: block; }
.steps span { color: var(--muted); margin-top: 3px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #e2f1eb;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}
.feature-grid p { color: var(--muted); }
.seo-feature-copy {
  background: #fff;
}
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.seo-feature-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}
.seo-feature-grid p { color: var(--muted); }
.feature-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #10201d;
  color: #fff;
}
.feature-split.light {
  background: #eef5f1;
  color: var(--ink);
}
.feature-split .eyebrow { color: #86d7b9; }
.feature-split.light .eyebrow { color: var(--green); }
.feature-split p { color: #dce8e3; }
.feature-split.light p { color: var(--muted); }
.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.provider-list span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.model-compare, .metrics-panel, .source-stack {
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(19, 32, 29, 0.13);
}
.model-compare { padding: 10px; }
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-row.head { color: var(--muted); font-size: 13px; font-weight: 760; text-transform: uppercase; }
.compare-row b { color: var(--green); }
.metrics-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
}
.metrics-panel div {
  padding: 22px;
  background: #fff;
}
.metrics-panel span, .metrics-panel small { display: block; color: var(--muted); }
.metrics-panel b {
  display: block;
  margin: 8px 0 4px;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}
.source-stack {
  display: grid;
  gap: 0;
  overflow: hidden;
}
.source-stack div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}
.source-stack div:first-child { border-top: 0; }
.source-stack span { color: var(--muted); }

@media (max-width: 900px) {
  body,
  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .topbar {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    justify-content: stretch;
  }
  .brand {
    min-width: 0;
  }
  nav {
    display: flex;
    width: 100%;
    max-width: calc(100vw - 36px);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 720;
  }
  .hero, .split-band, .feature-hero, .feature-split { grid-template-columns: 1fr; }
  .hero, .band, .split-band, .screens, .feature-hero, .feature-band, .feature-split, .hosting-band, .faq-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero > *,
  .band > *,
  .split-band > *,
  .screens > *,
  .feature-hero > *,
  .feature-band > *,
  .feature-split > *,
  .hosting-band > *,
  .faq-section > * {
    max-width: calc(100vw - 36px);
  }
  .feature-hero { min-height: auto; }
  h1 { font-size: 28px; line-height: 1.1; }
  h2 { font-size: 24px; line-height: 1.12; }
  h3 { font-size: 18px; }
  .feature-hero h1,
  .hero h1 {
    max-width: calc(100vw - 36px);
    font-size: 30px;
    line-height: 1.08;
  }
  .steps-card h2 { font-size: 24px; }
  .lede { font-size: 16px; }
  p, h1, h2, h3, span, b, small, a { overflow-wrap: anywhere; }
  .hero-actions { gap: 10px; }
  .button { padding: 0 14px; font-size: 14px; }
  .app-grid { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .vault-grid, .screen-grid, .feature-grid, .metrics-panel, .hosting-grid, .faq-grid, .seo-feature-grid { grid-template-columns: 1fr; }
  .hero-device,
  .screen,
  .chat-card,
  .steps-card,
  .model-compare,
  .metrics-panel,
  .source-stack {
    min-width: 0;
    width: 100%;
  }
  .hero-device { overflow: hidden; }
  .panel { padding: 20px; }
  .panel-head {
    display: grid;
    gap: 10px;
  }
  .pill { width: fit-content; }
  .dropzone {
    min-height: 96px;
    padding: 16px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .source-row {
    display: grid;
    gap: 4px;
  }
  .mini-layout { grid-template-columns: 1fr; }
  .mini-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .screen-title {
    display: grid;
    gap: 3px;
  }
  .feature-grid article { min-height: auto; }
  .steps-card,
  .feature-grid article,
  .hosting-grid article,
  .faq-grid article,
  .seo-feature-grid article,
  .screen,
  .chat-card {
    padding: 16px;
  }
  .hosting-grid article,
  .faq-grid article,
  .seo-feature-grid article {
    min-height: auto;
  }
  .steps { padding-left: 20px; }
  .steps span { font-size: 15px; }
  .feature-split { gap: 24px; }
  .feature-split h2,
  .feature-band h2,
  .screens h2 { overflow-wrap: anywhere; }
  .provider-list { gap: 8px; }
  .provider-list span { font-size: 13px; padding: 7px 10px; }
  .model-compare {
    width: 100%;
    overflow: hidden;
  }
  .compare-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    row-gap: 6px;
  }
  .compare-row span,
  .compare-row b {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .metrics-panel div { padding: 18px; }
  .source-stack div {
    display: grid;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .hero > *,
  .band > *,
  .split-band > *,
  .screens > *,
  .feature-hero > *,
  .feature-band > *,
  .feature-split > *,
  .hosting-band > *,
  .faq-section > * {
    width: 100%;
    max-width: calc(100vw - 36px);
  }
  .feature-hero h1,
  .hero h1 {
    max-width: calc(100vw - 36px);
    font-size: 28px;
  }
  .topbar { padding-left: 18px; padding-right: 18px; }
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  nav a {
    justify-content: center;
    padding: 0 6px;
  }
}
