/* ==========================================================================
   Vetu Link — Design System
   GPU compute rental & LLM token API
   ========================================================================== */

:root {
  /* Brand palette */
  --bg:            #07090f;
  --bg-soft:       #0a0d15;
  --bg-elevated:   #0f131d;
  --surface:       #141927;
  --surface-2:     #1a2031;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:          #e9edf5;
  --text-muted:    #9aa3b5;
  --text-faint:    #6b7488;

  --accent-1:      #22d3ee;   /* cyan */
  --accent-2:      #8b5cf6;   /* violet */
  --accent-grad:   linear-gradient(120deg, #22d3ee 0%, #7c6cf0 55%, #8b5cf6 100%);

  --good:          #34d399;
  --good-dim:      rgba(52, 211, 153, 0.12);
  --warn:          #fbbf24;
  --danger:        #f87171;

  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:      22px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono",
               Menlo, Consolas, monospace;

  --maxw: 1180px;
  --shadow-lg: 0 24px 80px -24px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.18),
                 0 20px 60px -20px rgba(34, 211, 238, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }

/* Subtle ambient background — radial glows */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(1100px 620px at 16% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(920px 620px at 100% 0%, rgba(139, 92, 246, 0.15), transparent 62%),
    radial-gradient(1000px 700px at 50% 120%, rgba(34, 211, 238, 0.06), transparent 60%);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
}
.bg-ambient::before,
.bg-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.bg-ambient::before {
  width: 520px; height: 520px;
  left: 6%; top: -140px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 70%);
  animation: aurora-a 24s ease-in-out infinite alternate;
}
.bg-ambient::after {
  width: 560px; height: 560px;
  right: -80px; top: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.46), transparent 70%);
  animation: aurora-b 28s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  to   { transform: translate3d(70px, 50px, 0) scale(1.18); opacity: 0.85; }
}
@keyframes aurora-b {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  to   { transform: translate3d(-80px, 60px, 0) scale(1.22); opacity: 0.9; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }
.section--alt { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--text-muted); }
.lead { font-size: 1.14rem; line-height: 1.65; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.grad-text {
  background: var(--accent-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 7s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mono { font-family: var(--font-mono); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { background: rgba(7, 9, 15, 0.9); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand .logo-mark { height: 30px; width: auto; filter: brightness(0) invert(1); }
.brand .brand-sub { color: var(--text-faint); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .16s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px; height: 40px;
  color: var(--text);
  font-size: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease,
              border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #04121a;
  background: var(--accent-grad);
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover { box-shadow: 0 16px 42px -12px rgba(34, 211, 238, 0.65); transform: translateY(-1px); }

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.28); background: var(--surface-2); }

.btn-ghost { color: var(--text-muted); padding-inline: 8px; }
.btn-ghost:hover { color: #fff; }

.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 104px 88px; overflow: hidden; }
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .8;
}
.hero-canvas--front { opacity: .55; z-index: 2; }
.hero-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 46%;
  width: min(820px, 84vw);
  height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(34,211,238,.18), rgba(139,92,246,.13) 45%, transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid--solo { grid-template-columns: 1fr; }
.hero-grid--solo > .reveal { text-align: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(1.8rem, 3.2vw, 3rem); }
.hero .lead { margin: 0 auto 32px; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta .kpi { display: flex; flex-direction: column; }
.hero-meta .kpi b { font-family: var(--font-mono); font-size: 1.28rem; color: #fff; }
.hero-meta .kpi span { font-size: 0.8rem; color: var(--text-faint); }

/* Hero panel — terminal / console card */
.hero-panel {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(34,211,238,.5), transparent 40%, rgba(139,92,246,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar .term-title { margin-left: 8px; font-family: var(--font-mono); font-size: .8rem; color: var(--text-faint); }

.term { font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.9; color: #c8d2e0; }
.term .cmd { color: #fff; }
.term .ok { color: var(--good); }
.term .dim { color: var(--text-faint); }
.term .acc { color: var(--accent-1); }

/* ---- Hero cluster visual ---- */
.cluster { width: 100%; height: auto; display: block; }
.cluster text { font-family: var(--font-mono); }
.cluster .nodes rect { fill: #0f131d; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.cluster .nodes text { fill: #c8d2e0; font-size: 8px; text-anchor: middle; }
.cluster .dot { fill: #34d399; animation: nodePulse 2.4s ease-in-out infinite; }
.term-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--good);
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  animation: nodePulse 1.6s ease-in-out infinite;
}
.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { flex: 1; text-align: center; }
.hero-stats b { display: block; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: #fff; }
.hero-stats span { font-size: 0.74rem; color: var(--text-faint); }
@keyframes nodePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---- GPU node hover & tooltip ---- */
.cluster .node { cursor: pointer; }
.cluster .node rect { transition: stroke .15s ease, fill .15s ease; }
.cluster .node:hover rect { stroke: var(--accent-1); fill: #16202f; }
.node-tooltip {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  min-width: 208px;
  background: rgba(16, 20, 30, 0.96);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(34, 211, 238, 0.08);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.node-tooltip.show { opacity: 1; transform: translateY(0); }
.node-tooltip .tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.node-tooltip .tt-title { font-weight: 600; color: #fff; font-size: .9rem; }
.node-tooltip .tt-badge { font-family: var(--font-mono); font-size: .68rem; color: var(--good); }
.node-tooltip .tt-row { display: flex; justify-content: space-between; gap: 18px; font-size: .78rem; color: var(--text-muted); padding: 2.5px 0; }
.node-tooltip .tt-row b { color: var(--text); font-weight: 500; }
.node-tooltip .tt-price b { color: var(--accent-1); }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--border); padding-block: 22px; background: var(--bg-soft); }
.trustbar .container { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trustbar .label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.trustbar .item { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.trustbar .item svg { width: 17px; height: 17px; color: var(--good); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 18px 60px -24px rgba(34, 211, 238, 0.28), 0 0 0 1px rgba(34, 211, 238, 0.10);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--accent-1);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; margin-bottom: 0; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--accent-1); }

/* Feature card with top accent line */
.card-accent { border-top: 2px solid transparent; border-image: var(--accent-grad) 1; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.stat b { display: block; font-family: var(--font-mono); font-size: 2rem; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.stat span { font-size: .86rem; color: var(--text-muted); }
.stat .stat-note { display: block; margin-top: 8px; font-size: .74rem; color: var(--text-faint); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.price-card.featured {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(34,211,238,.08), rgba(139,92,246,.08)), var(--surface);
  box-shadow: var(--shadow-glow);
}
.price-card .tag {
  position: absolute;
  top: -12px; left: 24px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #04121a;
}
.price-card h3 { font-size: .95rem; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
.price-card .amount { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-card .amount .num { font-family: var(--font-mono); font-size: 2.3rem; font-weight: 650; color: #fff; letter-spacing: -0.02em; }
.price-card .amount .unit { color: var(--text-faint); font-size: .86rem; }
.price-card .strike { font-family: var(--font-mono); font-size: .84rem; color: var(--text-faint); text-decoration: line-through; }
.price-card .save { display: inline-block; margin-top: 10px; font-size: .76rem; font-weight: 600; color: var(--good); }
.price-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--text-muted); }
.price-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--good); font-weight: 700;
}
.price-card .btn { margin-top: 24px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; font-size: .9rem; }
table.cmp thead th {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-elevated);
}
table.cmp tbody tr { border-bottom: 1px solid var(--border); }
table.cmp tbody tr:last-child { border-bottom: 0; }
table.cmp td:first-child { color: var(--text-muted); }
table.cmp .col-vetu { background: rgba(34,211,238,.06); }
table.cmp .col-vetu th, table.cmp .col-vetu td { color: #fff; }
table.cmp .hl { color: var(--good); font-weight: 600; }
table.cmp .xh { color: var(--text-faint); }

/* ---------- Trust / compliance ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
}
.badge svg { width: 16px; height: 16px; color: var(--good); }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-muted); font-size: .95rem; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--good-dim);
  color: var(--good);
  font-size: .72rem;
  font-weight: 700;
}
.check-list li b { color: var(--text); font-weight: 600; }

/* ---------- Timeline / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .n { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-1); font-weight: 700; letter-spacing: .1em; }
.step h3 { margin: 10px 0 8px; }
.step p { font-size: .9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  background: linear-gradient(120deg, rgba(34,211,238,.14), rgba(139,92,246,.14)), var(--bg-elevated);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 64px 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: .88rem; max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-size: .82rem; letter-spacing: .04em; color: var(--text-faint); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .9rem; color: var(--text-muted); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-faint);
}
.footer-bottom .legal { display: flex; gap: 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-size: .95rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(34,211,238,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: .78rem; color: var(--text-faint); }

/* ---------- Code block ---------- */
.code-block {
  position: relative;
  background: #0b0e16;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  overflow-x: auto;
}
.code-block pre { margin: 0; font-family: var(--font-mono); font-size: .82rem; line-height: 1.7; color: #c8d2e0; }
.code-block .copy-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
}
.code-block .copy-btn:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal documents ---------- */
.legal-doc { max-width: 820px; }
.legal-doc .legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-faint);
  letter-spacing: .02em;
  margin-bottom: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
}
.legal-doc .legal-meta b { color: var(--text-muted); font-weight: 600; }
.legal-doc .legal-section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.legal-doc h2 { font-size: 1.4rem; margin-bottom: 14px; }
.legal-doc h3 { font-size: 1.04rem; margin: 26px 0 10px; color: #fff; }
.legal-doc p { color: var(--text-muted); font-size: .95rem; }
.legal-doc ul, .legal-doc ol {
  color: var(--text-muted);
  font-size: .95rem;
  padding-left: 22px;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal-doc li::marker { color: var(--accent-1); }
.legal-doc a { color: var(--accent-1); }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc .legal-table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.legal-doc .legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.legal-doc .legal-table th, .legal-doc .legal-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-doc .legal-table thead th {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border-strong);
}
.legal-doc .legal-table td { color: var(--text-muted); }
.legal-doc .legal-table td:first-child { color: var(--text); }
.legal-doc .legal-table tr:last-child td { border-bottom: 0; }
.legal-doc .mono { font-family: var(--font-mono); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .price-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .grid-2, .grid-3, .grid-4, .price-grid, .stat-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 48px 24px; }

  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-links.open li:last-child a { border-bottom: 0; }

  .hero { padding-block: 72px 56px; }
}
