:root {
  --ink: #18212a;
  --muted: #5e6872;
  --paper: #f7f9fa;
  --line: #d8dfe3;
  --cyan: #0aa6a6;
  --green: #2d9d62;
  --amber: #e5a72f;
  --blue: #2878b8;
  --night: #101923;
  --code: #0d141c;
}

* { 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.55;
}
a { color: inherit; }
code, pre { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 62px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(16, 25, 35, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; }
.brand img { border-radius: 6px; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
nav a { color: #dce6ea; font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: #fff; }

.hero {
  position: relative;
  min-height: min(700px, calc(100vh - 62px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/indexedext-data.png");
  background-size: cover;
  background-position: 58% center;
  filter: saturate(.8);
  transform: scale(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 15, 22, .96) 0%, rgba(9, 15, 22, .86) 42%, rgba(9, 15, 22, .24) 78%, rgba(9, 15, 22, .12) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 90vw);
  margin-left: max(5vw, calc((100vw - 1180px) / 2));
  padding: 72px 0 84px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #70ded6;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow.dark { color: #087b7b; }
.eyebrow.light { color: #7fe6df; }
h1, h2, h3 { margin-top: 0; letter-spacing: 0; line-height: 1.08; }
h1 { margin-bottom: 18px; font-size: clamp(3.4rem, 9vw, 7.2rem); font-weight: 820; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.2vw, 3.7rem); }
h3 { margin-bottom: 10px; font-size: 1.12rem; }
.hero-copy { max-width: 610px; margin: 0 0 28px; color: #e6edf0; font-size: clamp(1.04rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}
.button.primary { color: #09201e; background: #6ee0d7; }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(15,25,35,.62); }
.availability { margin: 25px 0 0; color: #c9d4d8; font-size: .86rem; }
.availability span { width: 8px; height: 8px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--amber); }

.product-band, .status-band { width: min(1180px, 90vw); margin: 0 auto; padding: 92px 0; }
.section-heading { max-width: 760px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.product-shot { margin: 44px 0 0; }
.product-shot img { width: 100%; display: block; border: 1px solid #b9c3c9; box-shadow: 0 18px 46px rgba(24,33,42,.15); }
.product-shot figcaption { margin-top: 10px; color: var(--muted); font-size: .82rem; }
.feature-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 28px 30px 28px 0; }
.feature-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.feature-grid p { margin: 0; color: var(--muted); }

.api-band {
  padding: 88px max(5vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  color: #f4f7f8;
  background: var(--night);
}
.api-copy p:not(.eyebrow) { color: #c8d3d8; }
.api-copy code { color: #9be8e1; }
.code-window { overflow: hidden; border: 1px solid #344453; border-radius: 6px; background: var(--code); box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.code-title { padding: 11px 15px; display: flex; justify-content: space-between; color: #aebcc5; border-bottom: 1px solid #2c3945; font: .78rem "Cascadia Code", Consolas, monospace; }
.code-title span { color: #f1bd57; }
pre { margin: 0; padding: 24px; overflow-x: auto; color: #ccebe8; font-size: .88rem; line-height: 1.7; }

.privacy-band {
  padding: 82px max(5vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  background: #e9f3ee;
  border-top: 1px solid #c9ddd3;
  border-bottom: 1px solid #c9ddd3;
}
.privacy-mark { color: #176b45; font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 850; }
.privacy-band p { color: #40534a; }
.privacy-band strong { color: #173c2b; }

.status-band { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.status-band dl { margin: 0; border-top: 1px solid var(--line); }
.status-band dl div { padding: 17px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.status-band dt { font-weight: 750; }
.status-band dd { margin: 0; color: var(--muted); }

footer {
  padding: 34px 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  color: #bac7cd;
  background: #0b1219;
  font-size: .86rem;
}
footer p { margin: 0; }
footer a { color: #7fe6df; }

@media (max-width: 820px) {
  .site-header { padding-inline: 4vw; }
  nav { gap: 14px; }
  nav a:nth-child(-n+2) { display: none; }
  .hero { min-height: 680px; }
  .hero-media { background-position: 55% center; opacity: .5; }
  .hero-shade { background: rgba(9, 15, 22, .76); }
  .hero-content { margin: 0 auto; padding: 70px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .api-band { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; }
  .status-band { grid-template-columns: 1fr; gap: 20px; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .product-band, .status-band { padding: 68px 0; }
  .api-band, .privacy-band { padding-block: 68px; }
  .code-window { margin-inline: -2vw; }
  pre { padding: 18px; font-size: .76rem; }
  .status-band dl div { grid-template-columns: 1fr; gap: 3px; }
}

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