:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #5f6a62;
  --line: #dfe6df;
  --paper: #f7faf5;
  --white: #ffffff;
  --accent: #f6c944;
  --accent-strong: #d49800;
  --green: #2e7d59;
  --night: #08090b;
  --night-panel: #121417;
  --night-line: #2b3137;
  --night-ink: #f4f6f1;
  --night-muted: #99a1a8;
  --terminal: #20242d;
  --terminal-text: #edf4ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 250, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover {
  color: var(--ink);
}

.landing-topbar {
  background: rgba(8, 9, 11, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.landing-topbar .brand {
  color: var(--night-ink);
}

.landing-topbar nav {
  color: #a6adb5;
}

.landing-topbar nav a:hover {
  color: #ffffff;
}

.launch-hero {
  display: grid;
  gap: clamp(42px, 6vw, 76px);
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 92px) clamp(20px, 6vw, 92px) clamp(22px, 4vw, 46px);
  border-bottom: 1px solid #1d2228;
  color: var(--night-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
    linear-gradient(90deg, #08090b 0%, #0b0d10 58%, #10141a 100%);
}

.launch-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.launch-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #afb7bf;
  background: transparent;
  font-size: 13px;
}

.launch-label span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(246, 201, 68, 0.62);
}

.launch-copy h1 {
  max-width: 1120px;
  margin-bottom: 24px;
  color: #f7f8f4;
  font-size: 96px;
  font-weight: 760;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.launch-lede {
  max-width: 760px;
  color: var(--night-muted);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.launch-actions .secondary-button {
  border-color: #333a42;
  color: #e9ece8;
  background: transparent;
}

.launch-actions .secondary-button:hover {
  border-color: #59626c;
  background: rgba(255, 255, 255, 0.05);
}

.hero-note {
  align-self: center;
  min-width: max-content;
  color: #b6bcc4;
  font-size: 15px;
  font-weight: 700;
}

.hero-note:hover {
  color: #fff;
}

.control-plane {
  overflow: hidden;
  width: min(100%, 1320px);
  justify-self: center;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: var(--night-panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.plane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid #242a30;
  color: #aeb6be;
  font-size: 13px;
  font-weight: 800;
}

.plane-head strong {
  color: #94e6b1;
}

.plane-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0;
}

.plane-chat {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 370px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(246, 201, 68, 0.04), transparent),
    #15181c;
}

.plane-side {
  display: grid;
  align-content: start;
  border-left: 1px solid #242a30;
}

.plane-side div {
  min-height: 92px;
  padding: 14px;
  border-bottom: 1px solid #242a30;
}

.plane-side span {
  display: block;
  margin-bottom: 8px;
  color: #8d969f;
  font-size: 12px;
  font-weight: 850;
}

.plane-side strong {
  display: block;
  font-size: 18px;
  color: #f1f4ef;
}

.quick-install,
.pricing-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(36px, 6vw, 68px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.quick-install p,
.pricing-strip p,
.flow-section .section-heading p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.6;
}

.compact-command {
  max-width: none;
  margin-top: 0;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.value-band article {
  min-height: 250px;
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
}

.value-band p,
.flow-steps p {
  color: var(--muted);
  line-height: 1.6;
}

.flow-section {
  padding: clamp(44px, 7vw, 78px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.flow-section .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-steps div {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: #151515;
  background: var(--accent);
}

.flow-steps span {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 850;
}

.pricing-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.install-command {
  max-width: 720px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid #2b3039;
  border-radius: 8px;
  background: var(--terminal);
  box-shadow: 0 24px 60px rgba(30, 37, 31, 0.16);
}

.install-split {
  align-items: start;
}

.install-mode-grid {
  display: grid;
  gap: 16px;
}

.install-mode-grid .install-command {
  max-width: none;
  margin-top: 0;
}

.command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #cbd5cc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.copy-button {
  min-width: 64px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--terminal-text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
}

code {
  color: var(--terminal-text);
  font: 700 15px/1.6 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 800;
}

.primary-button {
  color: #151515;
  background: var(--accent);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.product-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 420px);
  min-height: 560px;
  padding: 16px;
  border: 1px solid #cbd7cc;
  border-radius: 28px;
  background: #eef5ed;
  box-shadow: 0 30px 80px rgba(31, 50, 36, 0.18);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #26a269;
}

.chat {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.bubble {
  max-width: 84%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.35;
}

.bubble.user {
  justify-self: end;
  color: #151515;
  background: var(--accent);
}

.bubble.bot {
  justify-self: start;
  border: 1px solid var(--line);
  background: var(--white);
}

.section {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 28px;
}

.section-link {
  margin: 22px 0 0;
  color: var(--green);
  font-weight: 800;
}

.section-link a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-grid p,
.split p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-strong);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #151515;
  background: var(--accent);
}

.guide-hero {
  padding: clamp(48px, 8vw, 90px) clamp(20px, 5vw, 64px) clamp(36px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.guide-hero h1 {
  max-width: 940px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.guide-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.guide-stats div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 34px;
}

.guide-stats span {
  color: var(--muted);
  line-height: 1.4;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.flow div {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 850;
  text-align: center;
}

.guide-section {
  padding: clamp(44px, 7vw, 78px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.guide-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(240px, 1fr) minmax(280px, 1.4fr);
  gap: 18px;
  align-items: start;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.guide-row:first-child {
  border-top: 0;
}

.guide-head {
  color: var(--muted);
  background: #eef4ed;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.guide-row > span:first-child {
  font-weight: 800;
}

.guide-row code {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--terminal-text);
  background: var(--terminal);
  white-space: normal;
}

.status-pass,
.status-manual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pass {
  color: #0c5133;
  background: #dff3e8;
}

.status-manual {
  color: #6a4700;
  background: #fff2bf;
}

.admin-note {
  margin-top: 14px;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .launch-hero,
  .quick-install {
    grid-template-columns: 1fr;
  }

  .launch-headline {
    grid-template-columns: 1fr;
  }

  .launch-copy h1 {
    font-size: 72px;
  }

  .hero-note {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid-3,
  .flow,
  .value-band,
  .flow-steps,
  .pricing-strip {
    grid-template-columns: 1fr;
  }

  .guide-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-head {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .launch-copy h1 {
    font-size: 44px;
  }

  .plane-grid {
    grid-template-columns: 1fr;
  }

  .plane-side {
    border-top: 1px solid #242a30;
    border-left: 0;
  }

  .phone-shell {
    min-height: 0;
  }

  .guide-stats {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
