:root {
  --bg: #111111;
  --bg-soft: #181818;
  --ink: #141414;
  --muted: #5f5a51;
  --line: #d8d1c2;
  --paper: #f7f3ea;
  --paper-alt: #ece5d8;
  --green: #2d6a4f;
  --amber: #d98f45;
  --coral: #9f4f4d;
  --blue: #476d8f;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(0, 0, 0, 0.18);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.08), 0 28px 70px rgba(0, 0, 0, 0.26);
  --radius: 4px;
  --focus: 0 0 0 3px rgba(217, 143, 69, 0.55);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

img {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(17, 17, 17, 0.92);
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav,
.hero-actions,
.hero-facts,
.tabs,
.footer {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  color: rgba(255, 255, 255, 0.75);
  gap: 22px;
  justify-content: center;
  font-size: 14px;
}

.nav a,
.header-cta,
.primary-action,
.secondary-action {
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav a {
  position: relative;
  padding: 4px 2px;
}

.nav a::after {
  background: var(--amber);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.primary-action,
.secondary-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
}

.header-cta {
  background: var(--white);
  color: var(--ink);
  min-height: 38px;
  padding: 0 16px;
}

.header-cta:hover,
.primary-action:hover {
  background: var(--amber);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:hover {
  box-shadow: 0 10px 26px rgba(45, 106, 79, 0.32);
}

.hero {
  background: radial-gradient(135% 120% at 8% 0%, #1c1c1c 0%, #121212 52%, #0b0b0b 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade,
.hero-grid {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-media {
  background: url("assets/hero-background.png") right center / cover no-repeat;
  filter: saturate(1.08) contrast(1.05);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 80%);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.1) 0%, rgba(11, 11, 11, 0.6) 100%),
    linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.96) 0%,
      rgba(17, 17, 17, 0.78) 36%,
      rgba(17, 17, 17, 0.2) 70%,
      rgba(17, 17, 17, 0.45) 100%
    );
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(110% 90% at 72% 16%, #000 0%, transparent 68%);
  mask-image: radial-gradient(110% 90% at 72% 16%, #000 0%, transparent 68%);
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  margin: 0 auto;
  max-width: 1320px;
  min-height: min(880px, 92vh);
  padding: 128px clamp(18px, 5vw, 72px) 88px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.eyebrow,
.mini-label {
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.boundaries h2,
.cta-section h2 {
  letter-spacing: -0.018em;
  line-height: 1.06;
  margin: 0;
}

.hero h1 {
  font-size: clamp(46px, 5.2vw, 76px);
  max-width: 680px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  margin: 24px 0 0;
  max-width: 560px;
}

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

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 20px;
}

.primary-action {
  background: var(--green);
  color: var(--white);
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
  gap: 28px;
  margin: 44px 0 0;
  padding: 24px 0 0;
}

.hero-facts div {
  min-width: 104px;
}

.hero-facts dt {
  font-size: 30px;
  font-weight: 840;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-facts dd {
  color: rgba(255, 255, 255, 0.7);
  margin: 6px 0 0;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.glimpse {
  background: linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  color: var(--white);
  padding: 16px;
  width: min(420px, 100%);
}

.glimpse-head {
  align-items: center;
  display: flex;
  gap: 9px;
  padding: 2px 2px 13px;
}

.glimpse-dot {
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.22);
  height: 9px;
  width: 9px;
}

.glimpse-title {
  font-size: 13px;
  font-weight: 760;
}

.glimpse-live {
  background: rgba(217, 143, 69, 0.16);
  border: 1px solid rgba(217, 143, 69, 0.4);
  border-radius: 999px;
  color: #f0b878;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-left: auto;
  padding: 3px 9px;
  text-transform: uppercase;
}

.glimpse-stage {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 140% at 85% 15%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #2d6a4f 0%, #d98f45 40%, #9f4f4d 66%, #476d8f 100%);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.glimpse-chip {
  backdrop-filter: blur(3px);
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  left: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 12px;
}

.glimpse-chip strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.glimpse-chip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.glimpse-track {
  display: flex;
  gap: 3px;
  margin-top: 14px;
}

.glimpse-track .seg {
  border-radius: 3px;
  height: 8px;
}

.glimpse-track .seg.green {
  background: var(--green);
}

.glimpse-track .seg.amber {
  background: var(--amber);
}

.glimpse-track .seg.coral {
  background: var(--coral);
}

.glimpse-track .seg.blue {
  background: var(--blue);
}

.glimpse-scale {
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  margin-top: 8px;
}

.glimpse-list {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 14px 0 2px;
  padding: 0;
}

.glimpse-list li {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  padding: 9px 11px;
}

.glimpse-list .tick {
  border-radius: 2px;
  flex: none;
  height: 11px;
  width: 4px;
}

.glimpse-list .tick.green {
  background: var(--green);
}

.glimpse-list .tick.amber {
  background: var(--amber);
}

.glimpse-list .tick.blue {
  background: var(--blue);
}

.glimpse-list em {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.glimpse-list b {
  font-size: 13px;
  font-weight: 700;
}

.glimpse-list i {
  color: #8fc2a8;
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.intro-band,
.section,
.cta-section {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.intro-band {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: 30px;
  padding-top: 30px;
}

.band-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.band-grid p {
  color: var(--muted);
  line-height: 1.52;
  margin: 8px 0 0;
}

.section {
  padding-bottom: clamp(64px, 9vw, 112px);
  padding-top: clamp(64px, 9vw, 112px);
  scroll-margin-top: 72px;
}

.output-section,
.pilot-section,
.boundaries {
  background: var(--paper);
}

.use-cases,
.commercial-section {
  background: var(--bg-soft);
  color: var(--white);
}

.section-heading {
  margin: 0 auto 38px;
  max-width: 920px;
  text-align: center;
}

.section-heading.compact {
  max-width: 780px;
}

.section-heading h2,
.boundaries h2,
.cta-section h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 18px auto 0;
  max-width: 720px;
}

.use-cases .section-heading p:not(.eyebrow),
.commercial-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.output-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  margin: 0 auto;
  max-width: 1220px;
}

.output-layout > *,
.demo-panel,
.tab-panel {
  min-width: 0;
}

.preview-frame {
  background: var(--bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.preview-frame img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.demo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-height: 100%;
  padding: 22px;
}

.tabs {
  background: #eee7d9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  cursor: pointer;
  flex: 1;
  font-weight: 760;
  min-height: 40px;
  min-width: 0;
  padding: 0 10px;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.tab:hover:not(.is-active) {
  color: var(--ink);
}

.tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.tab-panel {
  padding-top: 28px;
}

.tab-panel h3,
.feature-grid h3,
.steps h3,
.commercial-grid h3 {
  font-size: 22px;
  line-height: 1.16;
  margin: 0;
}

.tab-panel p,
.feature-grid p,
.steps p,
.commercial-grid p,
.boundaries li,
.cta-section p {
  line-height: 1.58;
}

.tab-panel p,
.steps p,
.commercial-grid p {
  color: var(--muted);
}

.timeline-list,
.score-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.timeline-list li,
.score-list li {
  align-items: center;
  background: #f7f3ea;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
}

.timeline-list span,
.score-list span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

pre {
  background: var(--ink);
  border-radius: 8px;
  color: #f5f1e8;
  line-height: 1.5;
  margin: 24px 0 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.feature-grid,
.steps,
.commercial-grid {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}

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

.feature-grid article,
.steps article,
.commercial-grid article {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-grid article,
.commercial-grid article {
  background: rgba(255, 255, 255, 0.05);
}

.feature-grid article:hover,
.commercial-grid article:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.steps article:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-grid p,
.commercial-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.icon-dot {
  display: block;
  height: 12px;
  margin-bottom: 28px;
  width: 42px;
}

.icon-dot.green {
  background: var(--green);
}

.icon-dot.amber {
  background: var(--amber);
}

.icon-dot.coral {
  background: var(--coral);
}

.icon-dot.blue {
  background: var(--blue);
}

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

.steps article {
  background: var(--white);
  border-color: var(--line);
}

.steps span {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-weight: 820;
  height: 38px;
  justify-content: center;
  margin-bottom: 36px;
  width: 38px;
}

.commercial-grid {
  grid-template-columns: repeat(4, 1fr);
}

.commercial-grid strong {
  color: var(--amber);
  display: block;
  margin-top: 24px;
}

.boundaries {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
}

.boundaries ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.boundaries li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 0 6px 6px 0;
  padding: 18px 20px;
}

.cta-section {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: clamp(50px, 7vw, 80px);
  padding-top: clamp(50px, 7vw, 80px);
}

.cta-section .eyebrow {
  color: #ffe2b8;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  margin: 18px 0 0;
  max-width: 720px;
}

.cta-section .primary-action {
  background: var(--white);
  color: var(--ink);
  min-width: 190px;
}

.footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  column-gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px clamp(18px, 5vw, 72px);
  row-gap: 24px;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-brand strong {
  color: var(--white);
  display: block;
  font-size: 15px;
  font-weight: 820;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 2px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin: 0;
  width: 100%;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    gap: 40px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 64px;
    padding-top: 112px;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero h1 {
    max-width: 620px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .glimpse {
    width: min(460px, 100%);
  }

  .output-layout,
  .boundaries,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps,
  .commercial-grid,
  .band-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-frame img {
    height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    min-height: 62px;
    padding: 12px 14px;
  }

  .brand-mark {
    height: 30px;
    width: 30px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero-media {
    background-position: right top;
    opacity: 0.32;
  }

  .hero-inner {
    gap: 32px;
    padding: 104px 18px 56px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .glimpse {
    padding: 14px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-facts {
    gap: 20px;
  }

  .hero-facts div {
    min-width: calc(50% - 10px);
  }

  .feature-grid,
  .steps,
  .commercial-grid,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .boundaries h2,
  .cta-section h2 {
    font-size: 34px;
  }

  .demo-panel {
    padding: 14px;
  }

  .tabs {
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab {
    font-size: 14px;
    line-height: 1.15;
    padding: 8px 6px;
  }

  pre {
    padding: 14px;
  }

  code {
    font-size: 12px;
  }

  .timeline-list li,
  .score-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    padding: 12px 14px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
