/* Andy Web Service — Hosting Landing */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
  --bg: #0a0a08;
  --bg-2: #111110;
  --ink: #f4f1ea;
  --ink-dim: #8a8a82;
  --ink-faint: #3a3a36;
  --line: #1f1f1c;
  --accent: oklch(0.88 0.22 130);   /* electric lime */
  --accent-2: oklch(0.72 0.20 50);  /* warm amber (unused, retained) */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); }
body {
  /* body itself stays transparent so the fixed canvas is visible everywhere */
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
}

.app { position: relative; z-index: 3; }

/* ============ PRELOADER ============ */
body.preloading { overflow: hidden; }
body.preloading .app { opacity: 0; }
.app { transition: opacity 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1); }

.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  transition: opacity 0.6s, transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.pre-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  animation: preGrid 6s linear infinite;
}
@keyframes preGrid {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}
.pre-top, .pre-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--ink-dim);
  position: relative; z-index: 2;
  gap: 20px;
  flex-wrap: wrap;
}
.pre-top span:first-child {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.pre-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative; z-index: 2;
}
.pre-pct {
  font-family: var(--display);
  font-size: clamp(96px, 18vw, 240px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.pre-bar {
  width: clamp(280px, 40vw, 560px);
  max-width: 90vw;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.pre-fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 12px oklch(0.88 0.22 130 / 0.6);
}
.pre-msg {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
}
.pre-msg::before { content: '> '; }

.pre-curtain {
  position: absolute; inset: 0;
  background: var(--bg);
  z-index: 3;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.preloader.pre-done .pre-pct { animation: glitch 0.35s steps(3) 1; }
@keyframes glitch {
  0%   { transform: translate(0,0); color: var(--ink); }
  33%  { transform: translate(-4px, 2px); color: var(--accent); }
  66%  { transform: translate(3px, -1px); color: var(--ink); }
  100% { transform: translate(0,0); color: var(--ink); }
}
.preloader.pre-exit {
  transform: translateY(-100%);
}

/* ============ CUSTOM CURSOR (desktop only) ============ */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, input, .distortable { cursor: none; }

  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    mix-blend-mode: difference;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--ink);
    border-radius: 50%;
    margin: -3px 0 0 -3px;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    margin: -18px 0 0 -18px;
    transition: width 0.25s, height 0.25s, margin 0.25s, border-color 0.25s, background 0.25s;
  }
  body.cursor-hot .cursor-ring {
    width: 60px; height: 60px;
    margin: -30px 0 0 -30px;
    border-color: var(--accent);
    background: oklch(0.88 0.22 130 / 0.08);
  }
  body.cursor-hot .cursor-dot { background: var(--accent); }
}

/* ============ SCROLL PROGRESS BAR ============ */
/* Uses CSS var --p driven by rAF in interactions.js — no transition, no jitter */
.scroll-bar-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.scroll-bar {
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  will-change: transform;
}

/* ============ PERSISTENT SCENE CANVAS ============ */
.scene-canvas {
  position: fixed;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1;
  pointer-events: none;
}

/* mobile: skip the WebGL scene */
@media (max-width: 880px) {
  .scene-canvas { display: none !important; }
  html {
    background:
      radial-gradient(ellipse at 80% -10%, rgba(201, 242, 58, 0.05), transparent 60%),
      radial-gradient(ellipse at -10% 100%, rgba(201, 242, 58, 0.025), transparent 60%),
      var(--bg);
  }
}

/* ============ SECTION REVEALS ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 32px;
  z-index: 100;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
  gap: 20px;
}
.nav .brand-left { justify-self: start; }
.nav .links { justify-self: center; }
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.nav .brand-left {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.nav .brand-right {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.nav .lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  gap: 8px;
  letter-spacing: 0.04em;
  flex: none;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.nav .lang-toggle:hover { border-color: var(--accent); }
.nav .lang-toggle [data-lang-seg] {
  color: var(--ink-faint);
  transition: color 0.2s;
}
.nav .lang-toggle [data-lang-seg].active { color: var(--ink); }
.nav .lang-toggle .sep { color: var(--ink-faint); font-weight: 400; }
@media (max-width: 880px) {
  .nav .lang-toggle { height: 28px; padding: 0 10px; font-size: 10px; gap: 6px; }
}
.nav .nav-console {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: none;
  transition: background 0.2s, transform 0.2s;
}
.nav .nav-console:hover { background: var(--ink); transform: translateX(-2px); }
.nav .nav-console .dot {
  width: 7px; height: 7px;
  background: var(--bg);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite;
}
.nav .links { display: flex; gap: 28px; }
.nav .links a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: opacity 0.2s;
}
.nav .links a:hover { opacity: 0.5; }
.nav .links a::before {
  content: '[ '; color: var(--accent); opacity: 0;
  transition: opacity 0.2s;
}
.nav .links a:hover::before { opacity: 1; }
@keyframes blink { 50% { opacity: 0.3; } }

@media (max-width: 880px) {
  .nav {
    padding: 14px 20px;
    grid-template-columns: auto 1fr;  /* brand + right cluster only */
  }
  .nav .links { display: none; }
  .nav .brand-right, .nav .brand-left { font-size: 14px; }
  .nav .nav-console { padding: 7px 12px 7px 10px; font-size: 10.5px; letter-spacing: 0.06em; }
  .nav .nav-console span:last-child { display: none; }
  .nav .nav-console::after { content: 'CONSOLE'; }
  .nav-right { gap: 6px; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 120px 32px 60px;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 60%, black 30%, transparent 80%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero > .hero-meta,
.hero > .hero-title,
.hero > .hero-bottom {
  position: relative;
  z-index: 2;
}

.hero-title,
.hero-lede,
.hero-meta,
.hero-actions {
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.distortable {
  filter: url(#axiomDistort);
  transition: filter 0.4s;
  cursor: default;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 60px;
  gap: 20px;
  flex-wrap: wrap;
  will-change: transform;
}
.hero-meta .pulse {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
}
.hero-meta .pulse::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.88 0.22 130 / 0.5); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-size: clamp(56px, 13vw, 220px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise {
  from { transform: translateY(105%) rotate(2deg); }
  to { transform: translateY(0) rotate(0); }
}
.hero-title em { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-title .slash {
  display: inline-block;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 300;
  transform: translateY(-0.15em);
  font-size: 0.7em;
  margin: 0 0.05em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-top: 80px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-lede {
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 540px;
  font-weight: 400;
  will-change: transform;
}
.hero-lede em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.btn-big {
  display: inline-flex; align-items: center; justify-content: space-between;
  background: var(--accent);
  color: var(--bg);
  padding: 22px 28px;
  text-decoration: none;
  border-radius: 0;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-big:hover { transform: translateX(-4px); }
.btn-big .arrow {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 18px;
}
.btn-big:hover .arrow { transform: translateX(8px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
}
.btn-ghost::before { content: '→'; color: var(--accent); }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 28px 0;
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  will-change: transform;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track em { font-style: italic; color: var(--accent); font-weight: 400; }
.marquee-track .dot { color: var(--accent); font-size: 0.5em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION CHROME ============ */
section { position: relative; }
.sec-tag {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 32px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.sec-tag .index { color: var(--accent); }

/* ============ STACK / FEATURES ============ */
.stack { padding: 80px 32px 120px; }
.stack-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  margin-bottom: 80px;
}
.stack-head h2 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.stack-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.stack-head p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 460px;
  align-self: end;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card {
  background: rgba(10, 10, 8, 0.72);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
  transition: background 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card:hover { background: rgba(17, 17, 16, 0.85); }
.card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 60px;
}
.card .num .arrow { float: right; color: var(--accent); transition: transform 0.3s; }
.card:hover .num .arrow { transform: translate(4px, -4px); }
.card h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: auto;
}
.card h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
.card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 24px;
}

/* ============ NUMBERS ============ */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.num-cell {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.num-cell:last-child { border-right: none; }
.num-cell .big {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  font-feature-settings: 'tnum';
}
.num-cell .big sup {
  font-size: 0.3em;
  color: var(--accent);
  font-family: var(--mono);
  vertical-align: top;
  margin-left: 6px;
  top: 0.5em;
  position: relative;
}
.num-cell .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ FLOW ============ */
.flow { padding: 100px 32px; border-top: 1px solid var(--line); }
.flow-head h2 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 1000px;
  margin-bottom: 60px;
}
.flow-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow-step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.flow-step .step-num {
  position: absolute;
  top: -1px;
  left: 0;
  background: var(--bg);
  padding-right: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  transform: translateY(-50%);
}
.flow-step h4 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 13px;
  font-family: var(--mono);
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ============ TERMINAL ============ */
.terminal-wrap { padding: 100px 32px; }
.terminal-wrap .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.terminal-wrap h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.terminal-wrap h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.terminal-wrap p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 440px;
}
.terminal {
  background: rgba(17, 17, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  padding: 0;
  overflow: hidden;
}
.terminal-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-dim);
}
.terminal-head .dots { display: flex; gap: 6px; margin-right: 12px; }
.terminal-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.terminal-body { padding: 20px; line-height: 1.7; min-height: 320px; }
.terminal-body .pr { color: var(--accent); }
.terminal-body .dim { color: var(--ink-dim); }
.terminal-body .ok { color: var(--accent); }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); vertical-align: middle; animation: blink 1s infinite; }

/* ============ CTA ============ */
.cta-block {
  padding: 140px 32px 100px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-block .huge {
  font-size: clamp(56px, 18vw, 300px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-align: center;
}
.cta-block .huge em { font-style: italic; color: var(--accent); font-weight: 300; }
.cta-block .huge .slash { color: var(--accent); font-family: var(--mono); font-weight: 300; }
.cta-block .below {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 32px 64px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.foot-grid h5 {
  color: var(--ink-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 400;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid .brand-foot {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.foot-grid .brand-foot span { color: var(--accent); }
.foot-grid .brand-foot p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 16px;
  text-transform: none;
  letter-spacing: 0;
  max-width: 320px;
  line-height: 1.6;
  font-weight: 400;
}
.foot-bottom {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  gap: 16px;
  flex-wrap: wrap;
}

/* status ticker */
.ticker {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10, 10, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 50;
  pointer-events: none;
  gap: 16px;
}
.ticker .live { color: var(--accent); }
.ticker .live::before {
  content: '●'; margin-right: 6px;
  animation: blink 1.4s infinite;
}

/* ============ RESPONSIVE / MOBILE ============ */
@media (max-width: 880px) {
  /* hero compactions */
  .hero { padding: 100px 20px 50px; min-height: auto; }
  .hero-meta { font-size: 10px; padding: 10px 0; margin-bottom: 36px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .hero-actions { align-items: flex-start; width: 100%; }
  .btn-big { min-width: 0; width: 100%; padding: 18px 22px; }
  .hero-title { margin-bottom: 28px; }
  .hero-lede { font-size: 16px; }
  .hero-title em + .slash { display: none; }

  /* sections */
  section, .stack, .flow, .terminal-wrap, .cta-block, footer { padding-left: 20px; padding-right: 20px; }
  .sec-tag { padding: 16px 20px; flex-wrap: wrap; }
  .sec-tag span:last-child { font-size: 10px; }

  /* stack */
  .stack-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; padding: 28px 22px; }
  .card .num { margin-bottom: 36px; }

  /* numbers 2x2 */
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num-cell { padding: 32px 20px; }
  .num-cell:nth-child(2) { border-right: none; }
  .num-cell:nth-child(1), .num-cell:nth-child(2) { border-bottom: 1px solid var(--line); }

  /* flow 2x2 */
  .flow-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow-step h4 { font-size: 18px; }

  /* terminal stack */
  .terminal-wrap .row { grid-template-columns: 1fr; gap: 32px; }
  .terminal-body { font-size: 11px; padding: 16px; min-height: 280px; }

  /* CTA */
  .cta-block { padding: 80px 20px 60px; }
  .cta-block .huge { font-size: clamp(48px, 14vw, 100px); line-height: 0.9; }
  .cta-block .below { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* footer */
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .foot-grid .brand-foot { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ticker — tighter on mobile, simpler */
  .ticker { font-size: 9px; padding: 6px 12px; }
  .ticker span:nth-child(2) { display: none; }

  /* preloader compact */
  .preloader { padding: 18px 20px; }
  .pre-top, .pre-bottom { font-size: 10px; gap: 10px; }
  .pre-bottom span:nth-child(2) { display: none; }

  /* hero grid pattern: less aggressive */
  .hero-grid { background-size: 40px 40px; opacity: 0.2; }
}

@media (max-width: 520px) {
  .hero-meta span { white-space: nowrap; }
  .hero-meta { font-size: 9px; }
  .nav .brand-right { font-size: 13px; }
}

/* prefers-reduced-motion: drop the heavy animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scene-canvas { display: none !important; }
}
