:root {
  color-scheme: light;
  --ink: #101816;
  --deep: #07110f;
  --panel: #ffffff;
  --paper: #f5f2ea;
  --paper-2: #ebe7dc;
  --muted: #60706b;
  --line: #ded7c9;
  --teal: #1a8f74;
  --teal-2: #74d7bd;
  --amber: #d6a23a;
  --coral: #d96f4c;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

p {
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: 76px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 21px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 64px;
  color: #f7f2e8;
  background: rgba(7, 17, 15, 0.83);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #08110f;
  background: var(--teal-2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand-text small {
  color: rgba(255, 250, 240, 0.68);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
  border-bottom-color: var(--teal-2);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fffaf0;
  background: var(--deep);
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 132px 72px 94px;
}

.hero-home::after,
.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(116, 215, 189, 0.86), transparent);
}

.market-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-dashboard {
  position: absolute;
  right: 52px;
  bottom: 80px;
  width: min(760px, 52vw);
  min-height: 420px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.12), rgba(255, 250, 240, 0.04)),
    rgba(10, 25, 22, 0.7);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.terminal-top,
.terminal-metrics,
.panel-toolbar,
.app-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.terminal-chart {
  position: relative;
  height: 300px;
  margin: 20px 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 250, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 8px;
}

.terminal-chart::before,
.chart-mock::before {
  position: absolute;
  right: 0;
  left: 0;
  top: 38%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(116, 215, 189, 0.9), rgba(214, 162, 58, 0.8), transparent);
  transform: skewY(-8deg);
}

.terminal-chart span {
  position: absolute;
  left: var(--x);
  bottom: 20px;
  width: 14px;
  height: var(--h);
  background: var(--tone);
  border-radius: 4px;
  box-shadow: 0 0 22px rgba(116, 215, 189, 0.34);
}

.terminal-metrics span {
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 8px;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  width: min(760px, 60vw);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy,
.page-hero p {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 840;
}

.button.primary {
  color: #08110f;
  background: var(--teal-2);
}

.button.secondary {
  color: var(--cream);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.2);
}

.button.light {
  color: var(--deep);
  background: var(--cream);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  right: 72px;
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 9px 12px;
  color: rgba(255, 250, 240, 0.86);
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 760;
}

.page-hero {
  padding: 150px 72px 88px;
}

.page-hero h1 {
  font-size: 62px;
}

.section {
  padding: 92px 72px;
  background: var(--panel);
}

.section.muted,
.intro-band {
  background: var(--paper);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 980px;
  margin-bottom: 0;
}

.section-heading p,
.copy-block,
.stack-row span,
.feature-card p,
.legal-copy p,
.timeline p {
  color: var(--muted);
}

.section-heading p {
  max-width: 850px;
  font-size: 18px;
}

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

.feature-card {
  min-height: 238px;
  padding: 26px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 12px;
}

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

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stack-row strong {
  font-size: 15px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-grid span {
  padding: 16px 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--cream);
  background: var(--deep);
}

.cta-section h2 {
  max-width: 850px;
}

.product-panel,
.app-shell {
  overflow: hidden;
  color: var(--cream);
  background: var(--deep);
  border: 1px solid rgba(16, 24, 22, 0.15);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 22, 0.18);
}

.panel-toolbar,
.app-topbar {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
}

.chart-mock {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 250, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.chart-mock.large {
  min-height: 420px;
}

.chart-mock.xlarge {
  min-height: 470px;
}

.chart-mock i {
  position: absolute;
  left: var(--x);
  bottom: 46px;
  width: 16px;
  height: var(--h);
  background: var(--tone);
  border-radius: 4px;
}

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

.clean-list li {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.arch-node {
  min-height: 260px;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.arch-node span,
.timeline span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-node h3,
.timeline h3 {
  margin-bottom: 12px;
}

.arch-node p {
  color: var(--muted);
}

.preview-stage {
  background: #171d19;
}

.app-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  max-width: 1220px;
  margin: 0 auto;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 250, 240, 0.06);
  border-right: 1px solid rgba(255, 250, 240, 0.12);
}

.app-sidebar strong {
  margin-bottom: 22px;
}

.app-sidebar span {
  padding: 11px 12px;
  color: rgba(255, 250, 240, 0.76);
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
}

.insight-grid span {
  padding: 13px;
  color: rgba(255, 250, 240, 0.74);
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 720;
}

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

.metrics-grid div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics-grid strong {
  font-size: 22px;
}

.metrics-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-hero {
  min-height: 660px;
}

.mail-hero {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal-2);
  font-size: 38px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.timeline article {
  min-height: 280px;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-copy {
  max-width: 980px;
}

.legal-copy h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 30px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 72px;
  color: rgba(255, 250, 240, 0.68);
  background: var(--deep);
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  font-size: 14px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.tv-attribution {
  color: rgba(255, 250, 240, 0.88);
  font-weight: 820;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 760;
}

.site-footer a:hover {
  color: var(--teal-2);
}

@media (max-width: 1100px) {
  .site-header {
    padding: 14px 28px;
  }

  .site-nav {
    gap: 14px;
  }

  .hero,
  .section,
  .page-hero,
  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero-dashboard {
    width: 50vw;
    right: 28px;
  }

  .hero-copy-block {
    width: 56vw;
  }

  h1 {
    font-size: 58px;
  }

  .page-hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 72px 20px;
  }

  .hero-dashboard {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 320px;
    margin-top: 42px;
  }

  .terminal-chart {
    height: 220px;
  }

  .hero-copy-block {
    width: 100%;
  }

  .hero-home {
    display: flex;
    flex-direction: column;
  }

  .hero-copy-block {
    order: 1;
  }

  .hero-dashboard {
    order: 2;
  }

  .hero-proof {
    position: relative;
    order: 3;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .page-hero,
  .section,
  .site-footer {
    padding: 60px 20px;
  }

  .feature-grid,
  .split-section,
  .product-layout,
  .architecture,
  .metrics-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stack-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .check-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }

  .app-sidebar strong {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .mail-hero {
    font-size: 27px;
  }
}
