:root {
  color-scheme: dark;
  --bg: #06101d;
  --bg-2: #08182b;
  --panel: rgba(10, 25, 45, 0.68);
  --panel-strong: rgba(13, 35, 61, 0.86);
  --line: rgba(156, 236, 255, 0.22);
  --line-bright: rgba(194, 249, 255, 0.56);
  --text: #effdff;
  --muted: #9bc9d5;
  --muted-2: #6f98aa;
  --ice: #94f6ff;
  --ice-2: #2bd3ff;
  --blue: #4c75ff;
  --deep: #121d61;
  --violet: #836dff;
  --green: #66ffd3;
  --shadow: 0 26px 80px rgba(0, 9, 23, 0.5);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --mx: 50%;
  --my: 22%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(61, 216, 255, 0.21), transparent 29rem),
    radial-gradient(circle at 10% 12%, rgba(91, 106, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 3%, rgba(37, 223, 255, 0.16), transparent 20rem),
    linear-gradient(135deg, #020713 0%, var(--bg) 42%, #071d32 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vh -10vw;
  z-index: -4;
  background:
    conic-gradient(from 205deg at 45% 10%, transparent 0 17%, rgba(112, 255, 240, 0.08) 18% 21%, transparent 23% 44%, rgba(79, 115, 255, 0.12) 47% 51%, transparent 55% 100%),
    linear-gradient(115deg, transparent, rgba(74, 226, 255, 0.08), transparent 62%);
  filter: blur(20px);
  animation: auroraDrift 15s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 36vh;
  z-index: -2;
  background:
    linear-gradient(to top, rgba(4, 12, 22, 0.95), rgba(4, 12, 22, 0)),
    repeating-linear-gradient(112deg, rgba(163, 242, 255, 0.13) 0 1px, transparent 1px 52px);
  mask-image: linear-gradient(to top, black 0%, transparent 84%);
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: #03101d;
  background: var(--ice);
}

#ice-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100vw;
  height: 100vh;
  opacity: 0.75;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 72% 20%, rgba(0, 255, 229, 0.12), transparent 24rem),
    radial-gradient(circle at 29% 36%, rgba(78, 102, 255, 0.14), transparent 23rem),
    radial-gradient(circle at 50% 92%, rgba(12, 156, 255, 0.15), transparent 30rem);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, transparent 0 50%, rgba(255, 255, 255, 0.5) 50% 51%, transparent 51%),
    linear-gradient(90deg, transparent 0 50%, rgba(255, 255, 255, 0.35) 50% 51%, transparent 51%);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  padding: 10px 12px 10px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(176, 239, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 13, 26, 0.64);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 210px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(74, 226, 255, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  position: relative;
  padding: 12px 15px;
  border-radius: 999px;
  color: rgba(231, 250, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(139, 239, 255, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-pill {
  margin-left: 4px;
  color: #06111e;
  background: linear-gradient(135deg, #e9ffff, #78f3ff 54%, #6c87ff);
  box-shadow: 0 8px 28px rgba(58, 217, 255, 0.24);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(178, 243, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #dffbff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

.section-shell {
  width: min(1180px, calc(100% - 34px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 100vh;
  padding: 140px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #97f7ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #8cf7ff;
  box-shadow: 0 0 0 6px rgba(140, 247, 255, 0.12), 0 0 25px rgba(140, 247, 255, 0.78);
}

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

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7.4vw, 6.95rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

h1 em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: transparent;
  background: linear-gradient(95deg, #ffffff, #7ff7ff 42%, #8d9dff 84%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(84, 224, 255, 0.3));
}

h1 em::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.05em;
  bottom: -0.05em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(124, 248, 255, 0.92), transparent);
  filter: blur(0.5px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.hero-lede,
.architecture-copy > p,
.snapshot-copy > p,
.final-cta > p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.center-actions {
  justify-content: center;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 21px;
  overflow: hidden;
  border: 1px solid rgba(182, 246, 255, 0.18);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 900;
  isolation: isolate;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.8), transparent 40%), linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 0.24;
}

.button-primary {
  color: #03101d;
  background: linear-gradient(135deg, #f2ffff, #75f2ff 48%, #6e86ff 100%);
  box-shadow: 0 18px 54px rgba(40, 209, 255, 0.26);
}

.button-ghost {
  color: #eaffff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.fact-strip div {
  position: relative;
  overflow: hidden;
  min-height: 106px;
  padding: 17px;
  border: 1px solid rgba(187, 246, 255, 0.15);
  border-radius: 19px;
  background: rgba(6, 20, 36, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fact-strip div::after {
  content: "";
  position: absolute;
  inset: auto -20% 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(120, 247, 255, 0.84), transparent);
  transform: translateX(-75%);
  animation: scanLine 4.5s ease-in-out infinite;
}

.fact-strip div:nth-child(2)::after { animation-delay: 0.55s; }
.fact-strip div:nth-child(3)::after { animation-delay: 1.1s; }
.fact-strip div:nth-child(4)::after { animation-delay: 1.65s; }

.fact-strip strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.22;
}

.fact-strip span {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.45;
}

.glass-panel,
.feature-card {
  border: 1px solid rgba(184, 245, 255, 0.17);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.2);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-art {
  position: relative;
  perspective: 1100px;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-art::before {
  inset: 5% -7% 9% 0;
  background: radial-gradient(circle, rgba(82, 228, 255, 0.25), transparent 61%);
  filter: blur(38px);
}

.hero-art::after {
  right: 10%;
  bottom: -6%;
  width: 68%;
  height: 18%;
  background: rgba(40, 205, 255, 0.28);
  filter: blur(40px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border-radius: var(--radius-xl);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.18s ease-out;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.24), transparent 22rem),
    linear-gradient(120deg, rgba(125, 246, 255, 0.12), transparent 30%, rgba(99, 112, 255, 0.1));
  pointer-events: none;
}

.panel-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(181, 239, 255, 0.12);
  background: rgba(2, 12, 24, 0.34);
}

.traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}

.traffic-a { color: #6fffe1; background: currentColor; }
.traffic-b { color: #91f7ff; background: currentColor; }
.traffic-c { color: #7b8cff; background: currentColor; }

.panel-path {
  margin-left: 8px;
  overflow: hidden;
  color: #9ed8e9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icefall-stage {
  position: relative;
  display: grid;
  min-height: 600px;
  place-items: center;
  overflow: hidden;
}

.icefall-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(154, 240, 255, 0.11);
  border-radius: 44% 56% 50% 50%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px);
  transform: rotate(-7deg);
  mask-image: radial-gradient(circle, black 0 55%, transparent 76%);
}

.icefall-graphic {
  position: relative;
  z-index: 1;
  width: min(96%, 680px);
  filter: drop-shadow(0 32px 55px rgba(0, 9, 26, 0.48));
}

.fall-lines path {
  fill: none;
  stroke: url(#lineGlow);
  stroke-width: 3.5;
  stroke-dasharray: 8 17;
  stroke-linecap: round;
  animation: dashFall 2.4s linear infinite;
}

.fall-lines circle {
  fill: #eaffff;
  filter: drop-shadow(0 0 14px #72f3ff);
}

.ice-block {
  stroke: #ecffff;
  stroke-width: 7;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}

.ice-facet {
  fill: none;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}

.block-a { animation: floatShard 6.2s ease-in-out infinite; }
.block-b { animation: floatShard 5.5s ease-in-out infinite reverse; }
.block-c { animation: floatShard 6.8s ease-in-out infinite 0.6s; }
.block-d { animation: floatShard 5.9s ease-in-out infinite 0.25s reverse; }

.database-shell {
  filter: drop-shadow(0 0 28px rgba(60, 216, 255, 0.25));
}

.table-glints rect {
  fill: rgba(239, 254, 255, 0.72);
  filter: drop-shadow(0 0 8px rgba(140, 247, 255, 0.75));
  animation: glint 3.2s ease-in-out infinite;
}

.table-glints rect:nth-child(2n) { animation-delay: 0.65s; }
.table-glints rect:nth-child(3n) { animation-delay: 1.25s; }

.live-console {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.live-console p {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid rgba(175, 242, 255, 0.15);
  border-radius: 16px;
  background: rgba(2, 12, 24, 0.48);
  color: #c8f7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.71rem;
  line-height: 1.35;
}

.console-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #76fff0;
  box-shadow: 0 0 16px #76fff0;
}

.signal-band {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(171, 239, 255, 0.12);
  background: rgba(7, 17, 32, 0.5);
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.signal-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 34s linear infinite;
}

.signal-track::after {
  content: "Plain Parquet  JSON metadata  Immutable snapshots  Row-level DELETE  UPDATE  MERGE  DataFusion  DuckDB reads  Python adapter  Offline compaction";
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  color: transparent;
}

.signal-track span,
.signal-track::after {
  min-width: max-content;
  padding: 9px 15px;
  border: 1px solid rgba(151, 239, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(229, 252, 255, 0.78);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.split-section,
.architecture,
.demo,
.snapshots,
.final-cta {
  padding-block: clamp(80px, 10vw, 142px);
}

.section-kicker {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-kicker.center {
  margin-inline: auto;
  text-align: center;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 60%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(141, 247, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  border-color: rgba(175, 247, 255, 0.34);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
  opacity: 1;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.68;
}

.card-icon {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 30px;
  border: 1px solid rgba(176, 246, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, rgba(128, 246, 255, 0.22), rgba(89, 101, 255, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 44px rgba(19, 197, 255, 0.15);
}

.shard-icon::before,
.cascade-icon::before,
.cache-icon::before,
.shard-icon::after,
.cascade-icon::after,
.cache-icon::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, #f3ffff, #60e8ff 60%, #6278ff);
  box-shadow: 0 0 18px rgba(113, 238, 255, 0.44);
}

.shard-icon::before {
  left: 16px;
  top: 13px;
  width: 28px;
  height: 25px;
  clip-path: polygon(23% 0, 100% 25%, 76% 100%, 12% 80%, 0 29%);
}

.shard-icon::after {
  right: 12px;
  bottom: 11px;
  width: 20px;
  height: 18px;
  clip-path: polygon(0 20%, 70% 0, 100% 80%, 17% 100%);
}

.cascade-icon::before {
  left: 16px;
  top: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 17px 0 rgba(104, 235, 255, 0.86), 17px 31px 0 rgba(104, 235, 255, 0.7), 0 0 18px rgba(113, 238, 255, 0.44);
}

.cascade-icon::after {
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 14px;
  border-radius: 50%;
}

.cache-icon::before {
  left: 14px;
  top: 16px;
  width: 34px;
  height: 13px;
  border-radius: 50%;
}

.cache-icon::after {
  left: 16px;
  top: 29px;
  width: 30px;
  height: 18px;
  border-radius: 0 0 15px 15px;
  opacity: 0.85;
}

.architecture {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.node-reader {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(172, 239, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.node-reader span {
  display: inline-flex;
  margin-bottom: 11px;
  color: var(--ice);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.node-reader strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.16rem;
}

.node-reader p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius-xl);
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 50% 50%, rgba(74, 223, 255, 0.16), transparent 20rem),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 36px);
  mask-image: radial-gradient(circle at 50% 48%, black 0, transparent 72%);
  pointer-events: none;
}

.map-grid {
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 50%, rgba(8, 30, 56, 0.42), transparent 65%);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-flow {
  fill: none;
  stroke: rgba(129, 240, 255, 0.66);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 11 16;
  filter: drop-shadow(0 0 10px rgba(103, 232, 255, 0.62));
  animation: dashFall 4s linear infinite;
}

.map-flow.delay {
  stroke: rgba(117, 130, 255, 0.55);
  animation-delay: -1.2s;
}

.map-node {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 15px 18px;
  border: 1px solid rgba(183, 247, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 16, 30, 0.78);
  color: #effdff;
  text-align: left;
  box-shadow: 0 18px 45px rgba(0, 8, 24, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.map-node:hover,
.map-node:focus-visible,
.map-node.is-active {
  border-color: rgba(144, 247, 255, 0.58);
  background: linear-gradient(145deg, rgba(28, 212, 255, 0.16), rgba(86, 105, 255, 0.14)), rgba(4, 16, 30, 0.9);
  transform: translateY(-3px) scale(1.015);
  outline: none;
}

.map-node span {
  font-weight: 950;
  letter-spacing: -0.03em;
}

.map-node small {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.node-files { left: 32px; top: 56px; }
.node-ingest { left: 46px; bottom: 56px; }
.node-core { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.node-core:hover,
.node-core:focus-visible,
.node-core.is-active { transform: translate(-50%, calc(-50% - 3px)) scale(1.015); }
.node-fusion { right: 42px; top: 56px; }
.node-duck { right: 42px; bottom: 56px; }
.node-cache { left: 50%; bottom: 26px; transform: translateX(-50%); }
.node-cache:hover,
.node-cache:focus-visible,
.node-cache.is-active { transform: translateX(-50%) translateY(-3px) scale(1.015); }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 20px;
  align-items: stretch;
}

.console-card,
.route-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.console-card {
  min-height: 430px;
}

.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px;
  border-bottom: 1px solid rgba(179, 243, 255, 0.12);
  background: rgba(3, 14, 27, 0.45);
}

.mode-tab {
  padding: 11px 14px;
  border: 1px solid rgba(182, 247, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(231, 252, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mode-tab:hover,
.mode-tab:focus-visible,
.mode-tab.is-active {
  border-color: rgba(142, 247, 255, 0.45);
  background: rgba(126, 244, 255, 0.13);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.code-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 0;
}

.code-topline span {
  color: #91f6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copy-button {
  padding: 9px 12px;
  border: 1px solid rgba(177, 244, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #defbff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(143, 247, 255, 0.46);
  background: rgba(137, 247, 255, 0.11);
  transform: translateY(-1px);
  outline: none;
}

.code-window {
  margin: 18px;
  min-height: 286px;
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(177, 242, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(4, 13, 27, 0.92), rgba(4, 13, 27, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 28px);
  color: #d9fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  line-height: 1.75;
}

.code-window code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 28px;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 32%, rgba(113, 244, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 18% 84%, rgba(104, 119, 255, 0.14), transparent 16rem);
  pointer-events: none;
}

.route-visual {
  position: absolute;
  inset: 24px 24px 130px;
  border: 1px solid rgba(174, 240, 255, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 222, 255, 0.1), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
  overflow: hidden;
}

.route-visual::before,
.route-visual::after {
  content: "";
  position: absolute;
  inset: 50% 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(142, 247, 255, 0), rgba(142, 247, 255, 0.86), rgba(118, 127, 255, 0));
  transform: rotate(-18deg);
  box-shadow: 0 0 16px rgba(101, 237, 255, 0.72);
}

.route-visual::after {
  transform: rotate(23deg);
  opacity: 0.54;
}

.route-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(190, 249, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), transparent 31%),
    linear-gradient(145deg, rgba(117, 240, 255, 0.22), rgba(77, 91, 255, 0.16)),
    rgba(4, 15, 29, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 45px rgba(0, 7, 21, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.route-start { left: 10%; top: 17%; }
.route-delta { right: 14%; top: 12%; }
.route-snapshot { left: 18%; bottom: 12%; }
.route-cache { right: 10%; bottom: 16%; }

.route-pulse {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eaffff;
  box-shadow: 0 0 18px #79f2ff, 0 0 44px rgba(80, 116, 255, 0.68);
  animation: pulseRoute 3s ease-in-out infinite;
}

.pulse-1 { left: 22%; top: 42%; }
.pulse-2 { left: 48%; top: 36%; animation-delay: 0.8s; }
.pulse-3 { right: 22%; bottom: 34%; animation-delay: 1.55s; }

.route-card h3,
.route-card p {
  position: relative;
  z-index: 2;
}

.route-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.route-card.is-snapshot .route-visual::before { transform: rotate(0deg); }
.route-card.is-snapshot .route-visual::after { transform: rotate(90deg); }
.route-card.is-analytics .route-visual::before { transform: rotate(14deg); }
.route-card.is-analytics .route-visual::after { transform: rotate(-29deg); }

.snapshots {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}

.range-label {
  display: flex;
  justify-content: space-between;
  max-width: 430px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #cffaff;
  font-weight: 900;
}

.range-label span {
  color: var(--ice);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.snapshot-range {
  width: min(430px, 100%);
  accent-color: var(--ice-2);
  cursor: pointer;
}

.snapshot-status {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.snapshot-stack {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  perspective: 1000px;
}

.snapshot-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 35%, rgba(111, 241, 255, 0.14), transparent 19rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.layer {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(78%, 480px);
  min-height: 74px;
  padding: 0 24px;
  border: 1px solid rgba(183, 247, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(231, 254, 255, 0.2), rgba(55, 210, 255, 0.12) 42%, rgba(92, 103, 255, 0.16)),
    rgba(6, 20, 37, 0.86);
  box-shadow: 0 24px 60px rgba(0, 10, 25, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%) rotateX(62deg) rotateZ(-11deg);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.layer span {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.1rem;
  font-weight: 950;
}

.layer small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layer-1 { top: 332px; opacity: 0.54; }
.layer-2 { top: 286px; opacity: 0.64; }
.layer-3 { top: 240px; opacity: 0.74; }
.layer-4 { top: 194px; opacity: 0.84; }
.layer-5 { top: 148px; opacity: 0.94; }
.layer-6 { top: 102px; opacity: 0.55; filter: saturate(0.55); }

.layer.is-lit {
  border-color: rgba(143, 247, 255, 0.7);
  box-shadow: 0 28px 70px rgba(0, 10, 25, 0.45), 0 0 42px rgba(89, 229, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: saturate(1.25);
  transform: translateX(-50%) rotateX(62deg) rotateZ(-11deg) translateY(-5px);
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 44px;
  padding-inline: clamp(20px, 5vw, 70px);
  border: 1px solid rgba(185, 244, 255, 0.16);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 235, 255, 0.2), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  text-align: center;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.final-cta > *:not(.cta-glacier) {
  position: relative;
  z-index: 2;
}

.final-cta p {
  margin-inline: auto;
}

.cta-glacier {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
}

.cta-glacier span {
  position: absolute;
  bottom: -76px;
  width: 240px;
  height: 190px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(73, 219, 255, 0.2), rgba(91, 106, 255, 0.16));
  clip-path: polygon(0 100%, 23% 18%, 44% 55%, 66% 4%, 100% 100%);
  filter: blur(0.2px);
}

.cta-glacier span:nth-child(1) { left: 2%; transform: scale(1.2); }
.cta-glacier span:nth-child(2) { left: 28%; transform: scale(0.88); opacity: 0.7; }
.cta-glacier span:nth-child(3) { right: 24%; transform: scale(1.05); opacity: 0.75; }
.cta-glacier span:nth-child(4) { right: 0; transform: scale(1.35); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 30px 0 46px;
  color: var(--muted-2);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer img {
  filter: drop-shadow(0 0 16px rgba(93, 231, 255, 0.2));
}

.site-footer p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraDrift {
  0% { transform: translate3d(-2%, -1%, 0) rotate(-2deg) scale(1); }
  100% { transform: translate3d(2%, 1%, 0) rotate(2deg) scale(1.08); }
}

@keyframes scanLine {
  0%, 22% { transform: translateX(-80%); opacity: 0; }
  36%, 72% { opacity: 1; }
  100% { transform: translateX(80%); opacity: 0; }
}

@keyframes dashFall {
  to { stroke-dashoffset: -110; }
}

@keyframes floatShard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(-9px) rotate(1.8deg); }
}

@keyframes glint {
  0%, 100% { opacity: 0.28; transform: translateX(-4px); }
  50% { opacity: 0.92; transform: translateX(4px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes pulseRoute {
  0%, 100% { transform: translate3d(-12px, -10px, 0) scale(0.7); opacity: 0.25; }
  45% { transform: translate3d(18px, 8px, 0) scale(1.1); opacity: 1; }
}

@media (max-width: 1040px) {
  .hero,
  .architecture,
  .snapshots {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    max-width: 720px;
    margin-inline: auto;
  }

  .architecture-copy,
  .snapshot-copy {
    max-width: 780px;
  }

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

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    border-radius: 28px;
  }

  .brand img {
    width: 176px;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(176, 239, 255, 0.16);
    border-radius: 24px;
    background: rgba(4, 13, 26, 0.94);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 15px;
  }

  .site-nav .nav-pill {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding-top: 126px;
  }

  .fact-strip,
  .feature-grid,
  .live-console {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    gap: 14px;
  }

  .map-panel {
    min-height: 620px;
  }

  .map-grid {
    inset: 14px;
  }

  .map-lines {
    opacity: 0.7;
  }

  .map-node {
    min-width: 0;
    width: calc(50% - 24px);
  }

  .node-files { left: 16px; top: 30px; }
  .node-ingest { left: 16px; bottom: 122px; }
  .node-core { left: 50%; top: 46%; width: 190px; }
  .node-fusion { right: 16px; top: 30px; }
  .node-duck { right: 16px; bottom: 122px; }
  .node-cache { left: 50%; bottom: 24px; width: 210px; }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .fact-strip,
  .feature-grid,
  .live-console {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 560px;
    border-radius: 26px;
  }

  .icefall-stage {
    min-height: 500px;
  }

  .live-console {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .panel-path {
    max-width: 240px;
  }

  .signal-track {
    animation-duration: 22s;
  }

  .map-panel {
    min-height: 710px;
  }

  .map-node {
    width: calc(100% - 28px);
  }

  .node-files { left: 14px; top: 18px; }
  .node-fusion { left: 14px; right: auto; top: 112px; }
  .node-core { top: 316px; width: calc(100% - 28px); }
  .node-ingest { left: 14px; bottom: 196px; }
  .node-duck { left: 14px; right: auto; bottom: 102px; }
  .node-cache { left: 14px; bottom: 12px; width: calc(100% - 28px); transform: none; }
  .node-cache:hover,
  .node-cache:focus-visible,
  .node-cache.is-active { transform: translateY(-3px) scale(1.015); }

  .route-card {
    min-height: 500px;
  }

  .route-visual {
    inset: 20px 20px 190px;
  }

  .route-node {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 0.68rem;
  }

  .snapshot-stack {
    min-height: 470px;
  }

  .layer {
    width: 90%;
    min-height: 62px;
    padding: 0 16px;
  }

  .layer-1 { top: 282px; }
  .layer-2 { top: 244px; }
  .layer-3 { top: 206px; }
  .layer-4 { top: 168px; }
  .layer-5 { top: 130px; }
  .layer-6 { top: 92px; }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  #ice-canvas {
    display: none;
  }
}

.feature-card.tilt-card.is-visible {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}
