:root {
  --ink: #080d19;
  --ink-soft: #0d1424;
  --panel: #111a2d;
  --panel-raised: #151f35;
  --line: rgba(152, 176, 219, 0.16);
  --line-strong: rgba(152, 176, 219, 0.28);
  --text: #f7f9fd;
  --muted: #a4b1c8;
  --muted-strong: #c4cee0;
  --orange: #ff9f1c;
  --orange-bright: #ffbd52;
  --orange-red: #ff5a1f;
  --blue: #66c8ff;
  --green: #75e5aa;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 24px;
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(36, 84, 158, 0.16), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  font-size: 0.92em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #111827;
  background: var(--orange-bright);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(8, 13, 25, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  height: 76px;
  margin-inline: auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 36px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid rgba(255, 159, 28, 0.6);
  color: var(--orange-bright);
  background: linear-gradient(145deg, rgba(255, 189, 82, 0.12), rgba(255, 90, 31, 0.04));
  font-size: 22px;
  font-weight: 900;
  clip-path: polygon(25% 0, 75% 0, 100% 24%, 100% 76%, 75% 100%, 25% 100%, 0 76%, 0 24%);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.site-nav .nav-github {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, 0.035);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: white;
  transition: transform 180ms ease;
}

.hero {
  min-height: 820px;
  padding-top: 172px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: 0;
  left: -10%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 159, 28, 0.55), transparent);
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-glow-one {
  top: 86px;
  right: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255, 117, 24, 0.19), transparent 67%);
}

.hero-glow-two {
  top: 260px;
  left: 36%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(55, 145, 255, 0.1), transparent 68%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(117, 229, 170, 0.18);
  border-radius: 999px;
  color: #b9e8ce;
  background: rgba(117, 229, 170, 0.055);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.release-pill:hover {
  border-color: rgba(117, 229, 170, 0.4);
}

.status-dot,
.pulse,
.cluster-node i,
.sql-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(117, 229, 170, 0.8);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 730px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.066em;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--orange-bright), var(--orange) 52%, var(--orange-red));
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 13px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
}

.hero-lede code {
  color: #dfe8f8;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #15100a;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  box-shadow: 0 16px 38px rgba(255, 128, 16, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffd178, #ffa72f);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #7887a2;
  font-size: 12px;
}

.hero-trust span {
  position: relative;
}

.hero-trust span:not(:last-child)::after {
  position: absolute;
  top: 7px;
  right: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  content: "";
  background: #4b5b77;
}

.hero-visual {
  position: relative;
  padding: 34px 0 40px;
}

.hero-visual::before {
  position: absolute;
  inset: -72px -54px -54px;
  z-index: -1;
  border: 1px solid rgba(111, 153, 215, 0.09);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 50% 55%, rgba(41, 79, 138, 0.2), transparent 64%);
}

.code-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(13, 20, 36, 0.94);
  box-shadow: var(--shadow);
}

.hero-code {
  position: relative;
  z-index: 2;
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.window-bar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #8492aa;
  background: rgba(255, 255, 255, 0.015);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #394762;
}

.window-dots i:first-child {
  background: #fd785f;
}

.window-dots i:nth-child(2) {
  background: #f2b94b;
}

.window-dots i:nth-child(3) {
  background: #5fd18b;
}

.window-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #82b69a;
}

.window-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.code-window pre,
.sql-showcase pre,
.mini-code {
  margin: 0;
  white-space: pre;
}

.hero-code pre {
  padding: 34px 28px;
  color: #c8d3e7;
  font-size: 13px;
  line-height: 1.85;
}

.code-type,
.code-fn {
  color: #69c7ff;
}

.code-method,
.code-param {
  color: #ffbb57;
}

.code-string {
  color: #8bdfb2;
}

.code-keyword {
  color: #ff9f63;
}

.runtime-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.runtime-strip div {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 7px;
  align-items: center;
}

.runtime-strip strong {
  font-size: 11px;
  font-weight: 650;
}

.runtime-strip small {
  grid-column: 2;
  color: #71809a;
  font-size: 9px;
}

.runtime-arrow {
  color: #42516d;
}

.pulse {
  width: 6px;
  height: 6px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.9);
}

.pulse-blue {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(102, 200, 255, 0.8);
}

.pulse-muted {
  background: #91a2bd;
  box-shadow: none;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #a9b7ce;
  background: rgba(17, 26, 45, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 600;
}

.floating-chip span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  font-size: 10px;
  font-weight: 850;
}

.chip-query {
  top: 0;
  right: -25px;
}

.chip-zero {
  bottom: 8px;
  left: -38px;
}

.chip-zero span {
  color: #d7f6e4;
  background: rgba(117, 229, 170, 0.12);
}

.proof-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 31, 0.7);
}

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

.proof-grid div {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  margin-bottom: 6px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.proof-grid span {
  color: #7f8da6;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-grid sup {
  color: var(--orange);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.features {
  background: linear-gradient(to bottom, rgba(12, 19, 34, 0.3), rgba(8, 13, 25, 0));
}

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

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 31, 53, 0.77), rgba(12, 19, 34, 0.78));
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(255, 159, 28, 0.3);
  transform: translateY(-3px);
}

.feature-card::after {
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(58, 111, 186, 0.13), transparent 69%);
}

.feature-wide {
  grid-column: span 1;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.feature-index {
  color: #66758f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.feature-label {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #98a7c0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
  max-width: 490px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.persistence-flow {
  position: absolute;
  right: 28px;
  bottom: 27px;
  left: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #bdc8da;
  background: rgba(7, 12, 22, 0.55);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.persistence-flow span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.persistence-flow b {
  color: #43516c;
}

.flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.flow-dot.orange { background: var(--orange); }
.flow-dot.blue { background: var(--blue); }
.flow-dot.pale { background: #9aa9c2; }

.map-rings {
  position: absolute;
  right: -35px;
  bottom: -54px;
  width: 240px;
  height: 240px;
}

.map-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 159, 28, 0.18);
  border-radius: 50%;
}

.map-rings span:nth-child(2) { inset: 38px; border-color: rgba(102, 200, 255, 0.15); }
.map-rings span:nth-child(3) { inset: 78px; border-color: rgba(255, 159, 28, 0.28); }

.mini-code {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  z-index: 2;
  padding: 15px 17px;
  border-left: 2px solid var(--orange);
  color: #b7c2d5;
  background: rgba(5, 10, 19, 0.62);
  font-size: 11px;
  line-height: 1.75;
}

.mini-nodes {
  position: absolute;
  right: 30px;
  bottom: 31px;
  left: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px 1fr 38px 1fr 38px;
  align-items: center;
}

.mini-nodes i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(102, 200, 255, 0.28);
  border-radius: 11px;
  color: var(--blue);
  background: rgba(102, 200, 255, 0.06);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.mini-nodes span {
  height: 1px;
  background: linear-gradient(90deg, rgba(102, 200, 255, 0.35), rgba(255, 159, 28, 0.35));
}

.endpoint {
  position: absolute;
  right: 30px;
  bottom: 32px;
  left: 30px;
  z-index: 2;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #8795ad;
  background: rgba(5, 10, 19, 0.55);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint span {
  margin-right: 11px;
  color: var(--orange-bright);
  font-weight: 800;
}

.meter {
  position: absolute;
  right: 30px;
  bottom: 36px;
  left: 30px;
  z-index: 2;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.meter span {
  display: block;
  width: 90%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.meter i {
  position: absolute;
  top: -25px;
  right: 8%;
  color: #7f8ea7;
  font-size: 10px;
  font-style: normal;
}

.architecture-section {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 50%, rgba(255, 133, 25, 0.08), transparent 24rem),
    #0a101d;
}

.architecture-grid,
.cluster-grid,
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px;
  align-items: center;
}

.architecture-copy > p:not(.eyebrow),
.cluster-copy > p:not(.eyebrow),
.quickstart-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
  color: #c4cee0;
  font-size: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(117, 229, 170, 0.22);
  border-radius: 6px;
  color: var(--green);
  background: rgba(117, 229, 170, 0.05);
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-bright);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.architecture-panel {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(15, 23, 40, 0.75);
  box-shadow: var(--shadow);
}

.arch-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #7f8da5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arch-caption i {
  color: #53617a;
  font-style: normal;
}

.arch-stage {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 10, 19, 0.48);
}

.arch-stage.stage-hot {
  border-color: rgba(255, 159, 28, 0.28);
  background: linear-gradient(90deg, rgba(255, 159, 28, 0.08), rgba(5, 10, 19, 0.45));
}

.stage-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--orange-bright);
  background: rgba(255, 159, 28, 0.09);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.arch-stage div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arch-stage strong {
  font-size: 13px;
}

.arch-stage small,
.arch-stage em {
  color: #71809a;
  font-size: 10px;
  font-style: normal;
}

.arch-stage em {
  color: #a5b2c8;
}

.arch-connector {
  display: flex;
  height: 42px;
  align-items: center;
  margin-left: 32px;
  padding-left: 29px;
  border-left: 1px dashed #34435e;
}

.arch-connector span,
.background-boundary span {
  padding: 4px 7px;
  border-radius: 5px;
  color: #61708b;
  background: #0a101d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.background-boundary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.background-boundary::before,
.background-boundary::after {
  height: 1px;
  flex: 1;
  content: "";
  background: repeating-linear-gradient(90deg, #33415b 0 5px, transparent 5px 9px);
}

.sql-section {
  overflow: hidden;
}

.sql-showcase {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0d1424;
  box-shadow: var(--shadow);
}

.sql-tabs {
  display: flex;
  height: 52px;
  align-items: end;
  gap: 2px;
  padding-left: 17px;
  border-bottom: 1px solid var(--line);
  background: #10182a;
}

.sql-tabs span {
  height: 40px;
  padding: 14px 18px 0;
  color: #61708a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.sql-tabs .active {
  position: relative;
  color: #c8d2e4;
  background: #0d1424;
}

.sql-tabs .active::after {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--orange-red));
}

.sql-content {
  display: grid;
  grid-template-columns: 54px 1fr;
  overflow-x: auto;
}

.line-numbers {
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  color: #3f4d67;
  background: rgba(0, 0, 0, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.78;
  text-align: right;
}

.sql-content pre {
  min-width: 790px;
  padding: 28px;
  color: #bdc8da;
  font-size: 12px;
  line-height: 1.78;
}

.sql-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  color: #71809a;
  background: rgba(0, 0, 0, 0.1);
  font-size: 10px;
}

.sql-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sql-footer i {
  width: 5px;
  height: 5px;
}

.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.capability-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #8593aa;
  background: rgba(255, 255, 255, 0.018);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.cluster-section {
  border-block: 1px solid var(--line);
  background: #0a101d;
  overflow: hidden;
}

.cluster-visual {
  position: relative;
  min-height: 500px;
}

.cluster-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(102, 200, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 285px;
  height: 285px;
}

.orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: rgba(255, 159, 28, 0.12);
}

.cluster-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 130px;
  height: 130px;
  place-content: center;
  border: 1px solid rgba(255, 159, 28, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.11), rgba(8, 13, 25, 0.92));
  box-shadow: 0 0 70px rgba(255, 124, 22, 0.1);
  text-align: center;
  transform: translate(-50%, -50%);
}

.cluster-core small {
  color: var(--orange-bright);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cluster-core strong {
  color: #8e9bb1;
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cluster-node {
  position: absolute;
  display: grid;
  grid-template-columns: 10px 1fr;
  width: 150px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(17, 26, 45, 0.95);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.cluster-node i {
  width: 6px;
  height: 6px;
  margin-top: 5px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(102, 200, 255, 0.65);
}

.cluster-node strong {
  font-size: 11px;
}

.cluster-node small {
  grid-column: 2;
  margin-top: 4px;
  color: #697790;
  font-size: 8px;
}

.node-a { top: 26px; left: 50%; transform: translateX(-50%); }
.node-b { right: 2px; bottom: 64px; }
.node-c { bottom: 64px; left: 2px; }

.cluster-points {
  display: grid;
  gap: 2px;
  margin: 33px 0;
}

.cluster-points > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cluster-points > div > span {
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.cluster-points p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #7e8ca4;
  font-size: 12px;
  line-height: 1.5;
}

.cluster-points strong {
  color: #dce4f1;
  font-size: 13px;
}

.benchmark-section {
  background: linear-gradient(to bottom, rgba(12, 19, 34, 0.12), transparent);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.benchmark-hero,
.benchmark-list {
  background: #0d1424;
}

.benchmark-hero {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.benchmark-hero > span {
  color: #8998b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-hero > strong {
  margin: 15px 0 26px;
  color: transparent;
  background: linear-gradient(110deg, #fff, var(--orange-bright));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(50px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.benchmark-hero strong small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0;
}

.benchmark-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.benchmark-track i {
  display: block;
  width: var(--width);
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-red));
}

.benchmark-hero em {
  margin-top: 12px;
  color: #64728a;
  font-size: 10px;
  font-style: normal;
}

.benchmark-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

.benchmark-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
}

.benchmark-list div:last-child {
  border-bottom: 0;
}

.benchmark-list span {
  color: #9aa8bf;
  font-size: 13px;
}

.benchmark-list strong {
  font-size: 18px;
  letter-spacing: -0.035em;
}

.benchmark-list small {
  color: #66758e;
  font-size: 9px;
  letter-spacing: 0;
}

.benchmark-note {
  max-width: 900px;
  margin: 20px auto 0;
  color: #59677f;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.quickstart-section {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 48%, rgba(47, 122, 218, 0.09), transparent 25rem),
    #0a101d;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 34px;
}

.quick-links a {
  display: flex;
  max-width: 320px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #c6d0e1;
  font-size: 13px;
}

.quick-links span {
  color: var(--orange);
}

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

.install-window {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
}

.install-window pre {
  padding: 22px;
  color: #bbc6d8;
  font-size: 11px;
  line-height: 1.72;
  overflow-x: auto;
}

.copy-button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8391a8;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 9px;
}

.copy-button:hover,
.copy-button:focus-visible {
  color: white;
  border-color: var(--line-strong);
}

.principles-section {
  padding-bottom: 36px;
}

.principles-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 36, 0.64);
}

.principles-shell h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 3.5vw, 48px);
}

.principles-list {
  display: grid;
}

.principles-list p {
  display: grid;
  grid-template-areas: "number title" "number copy";
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #7f8da5;
  font-size: 12px;
  line-height: 1.55;
}

.principles-list p:first-child {
  padding-top: 0;
}

.principles-list p:last-child {
  padding-bottom: 0;
  border: 0;
}

.principle-number {
  display: grid;
  grid-area: number;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 159, 28, 0.24);
  border-radius: 9px;
  color: var(--orange);
  background: rgba(255, 159, 28, 0.06);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
}

.principles-list strong {
  display: block;
  grid-area: title;
  margin-bottom: 4px;
  color: #d9e1ee;
  font-size: 13px;
}

.principle-copy {
  grid-area: copy;
}

.closing-section {
  padding-bottom: 72px;
}

.closing-card {
  position: relative;
  min-height: 470px;
  padding: 76px;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 28, 0.25);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 45%, rgba(255, 113, 23, 0.18), transparent 22rem),
    linear-gradient(145deg, #121b2f, #0c1322);
  box-shadow: var(--shadow);
}

.closing-card::before,
.closing-card::after {
  position: absolute;
  content: "";
  transform: rotate(-18deg);
}

.closing-card::before {
  right: 130px;
  bottom: -80px;
  width: 180px;
  height: 570px;
  background: linear-gradient(to bottom, transparent, rgba(255, 159, 28, 0.07), transparent);
}

.closing-card::after {
  right: 70px;
  bottom: -100px;
  width: 1px;
  height: 640px;
  background: linear-gradient(to bottom, transparent, rgba(255, 159, 28, 0.42), transparent);
}

.closing-card h2 {
  position: relative;
  z-index: 2;
  max-width: 680px;
  font-size: clamp(48px, 6vw, 76px);
}

.closing-card > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.closing-card .hero-actions {
  position: relative;
  z-index: 2;
}

.closing-bolt {
  position: absolute;
  right: 82px;
  bottom: -50px;
  color: rgba(255, 159, 28, 0.07);
  font-size: 390px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(6deg);
}

.site-footer {
  padding: 38px 0 45px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  width: 175px;
  height: auto;
}

.footer-grid > p {
  margin: 0;
  color: #64718a;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #8d9ab1;
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.footer-grid > small {
  grid-column: 1 / -1;
  color: #4f5d74;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal[data-delay="1"] {
  transition-delay: 90ms;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 90px 0; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-grid,
  .architecture-grid,
  .cluster-grid,
  .quickstart-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 650px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(2) { border-right: 1px solid var(--line); }
  .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .cluster-visual { order: 2; max-width: 590px; width: 100%; margin-inline: auto; }
  .benchmark-grid,
  .principles-shell { grid-template-columns: 1fr; }
  .principles-shell { gap: 46px; }
  .closing-card { padding: 58px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 28px); --radius: 18px; }
  .section { padding: 76px 0; }
  .nav-shell { height: 66px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(10, 16, 29, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }
  .site-nav.open { display: flex; flex-direction: column; }
  .site-nav a { padding: 13px 12px; }
  .site-nav .nav-github { margin-top: 5px; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { padding-top: 116px; }
  .hero-grid { display: block; }
  h1 { font-size: clamp(47px, 14.2vw, 70px); }
  .hero-lede { font-size: 16px; }
  .hero-visual { margin-top: 56px; padding-inline: 5px; }
  .hero-code { transform: none; }
  .hero-code pre { padding: 25px 18px; font-size: 10px; overflow-x: auto; }
  .floating-chip { display: none; }
  .runtime-strip { padding: 14px; }
  .runtime-arrow { display: none; }
  .proof-grid div { min-height: 105px; padding: 0 20px; }
  .proof-grid strong { font-size: 24px; }
  .proof-grid span { font-size: 9px; }
  .bento-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; padding: 24px; }
  .persistence-flow { right: 22px; left: 22px; }
  .architecture-panel { padding: 17px; }
  .arch-stage { grid-template-columns: 34px 1fr; }
  .arch-stage em { display: none; }
  .sql-showcase { margin-inline: -2px; }
  .sql-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cluster-visual { min-height: 410px; transform: scale(0.84); margin-block: -30px; }
  .orbit-two { width: 390px; height: 390px; }
  .node-b { right: -15px; }
  .node-c { left: -15px; }
  .benchmark-hero { min-height: 280px; padding: 30px; }
  .benchmark-list div { padding: 24px; gap: 18px; }
  .benchmark-list span { font-size: 11px; }
  .benchmark-list strong { font-size: 15px; text-align: right; }
  .principles-shell { padding: 30px 24px; }
  .closing-card { min-height: 440px; padding: 45px 26px; border-radius: 24px; }
  .closing-card h2 { font-size: clamp(43px, 13vw, 60px); }
  .closing-bolt { right: -30px; font-size: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-grid > small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
