/* CloudCord website — v2 "Storm" design system.
   Source of truth: .superdesign/design-system.md. Built by site-src/build.py. */

:root {
  --bg-0: #07060d;
  --bg-1: #0c0a16;
  --bg-2: #121020;
  --bg-3: #1a1730;
  --line: rgba(167, 139, 250, 0.10);
  --line-strong: rgba(167, 139, 250, 0.22);
  --text-0: #f5f3ff;
  --text-1: #cfc9e6;
  --text-2: #9a93b8;
  --text-3: #6b6489;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --bolt: #e9d5ff;
  --glow: rgba(139, 92, 246, 0.35);
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius-control: 10px;
  --radius-card: 16px;
  --radius-panel: 22px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg-0);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text-0); letter-spacing: -0.03em; line-height: 1.1; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--violet-500); color: #fff; padding: 10px 16px; border-radius: var(--radius-control);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--violet-300);
}
.gradient-text {
  background: linear-gradient(120deg, #a78bfa 0%, #c4b5fd 55%, #e9d5ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-control);
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, background-color .2s, filter .2s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--violet-500), var(--violet-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 28px var(--glow); }
.btn-secondary { color: var(--text-0); border: 1px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--violet-400); background: rgba(167, 139, 250, .06); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(7, 6, 13, .72);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--text-0); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-0); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav-login:hover { color: var(--text-0); }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-control); color: var(--text-1); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-open { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7, 6, 13, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
  }
  .nav.is-open .mobile-menu { display: block; }
  .mobile-menu a.m-link { display: block; padding: 12px 4px; font-size: 1rem; color: var(--text-1); border-bottom: 1px solid var(--line); }
  .mobile-menu .m-actions { display: flex; gap: 12px; padding-top: 16px; }
  .mobile-menu .m-actions .btn { flex: 1; }
}

/* ---------- Backgrounds ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 139, 250, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000, transparent);
  opacity: .55;
}
.storm-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 640px; max-width: 140vw; pointer-events: none;
  background: radial-gradient(ellipse, rgba(139, 92, 246, .22) 0%, transparent 70%);
  filter: blur(8px);
  animation: storm 9s var(--ease) infinite;
}
@keyframes storm {
  0%, 88%, 100% { opacity: .9; }
  90% { opacity: 1.35; }
  91% { opacity: .95; }
  93% { opacity: 1.25; }
  95% { opacity: .9; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; }
.lead { color: var(--text-2); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
a.card:hover, .card.hoverable:hover { border-color: var(--line-strong); background: var(--bg-3); transform: translateY(-3px); }
.icon-tile {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-control); color: var(--violet-300);
  background: rgba(139, 92, 246, .12); border: 1px solid var(--line-strong);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 88px) 0 104px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .bento > *, .plans > *, .contact-grid > *, .legal-layout > * { min-width: 0; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.04; }
@media (min-width: 721px) { .hero h1 .nowrap { white-space: nowrap; } }
.hero .lead { font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-note { font-family: var(--mono); font-size: .8rem; color: var(--text-3); }

.console {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1) { background: var(--err); }
.dots span:nth-child(2) { background: var(--warn); }
.dots span:nth-child(3) { background: var(--ok); }
.console-title { font-family: var(--mono); font-size: .75rem; color: var(--text-2); }
.tag {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px; color: var(--violet-300); border: 1px solid var(--line-strong);
}
.console-bar .tag { margin-left: auto; }
.console-body { font-family: var(--mono); font-size: .82rem; line-height: 1.9; padding: 20px; min-height: 236px; overflow: hidden; }
.c-line { color: var(--text-2); overflow-wrap: anywhere; padding-left: 2ch; text-indent: -2ch; }
.c-line.out { color: var(--text-1); }
.c-line .hl { color: var(--violet-300); }
.c-line .ok { color: var(--ok); }
.cursor { color: var(--violet-300); animation: blink 1.05s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 4px 20px 20px; }
.meter-label { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 6px; }
.meter { height: 6px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-500), var(--violet-300)); transform-origin: left; animation: meter 6s ease-in-out infinite alternate; }
@keyframes meter { from { transform: scaleX(.8); } to { transform: scaleX(1.05); } }

/* ---------- Runtimes ---------- */
.runtimes { padding: 72px 0; text-align: center; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 24px auto 0; }
.pill {
  font-family: var(--mono); font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg-0); color: var(--text-1);
  transition: border-color .2s, color .2s;
}
.pill:hover { border-color: var(--violet-400); color: var(--violet-300); }
.runtimes .sub { margin-top: 22px; font-size: .92rem; color: var(--text-2); }

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; }
.feature h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; margin: 18px 0 6px; }
.feature p { font-size: .9rem; color: var(--text-2); }
.feature a.inline { color: var(--violet-300); }
.feature a.inline:hover { text-decoration: underline; }
.feature-lg { grid-column: span 2; grid-row: span 2; padding: 32px; display: flex; flex-direction: column; }
.feature-lg h3 { font-size: 1.3rem; margin-top: 20px; }
.feature-lg p { font-size: .96rem; max-width: 560px; }
.panel-mock { margin-top: 28px; margin-top: auto; padding-top: 28px; }
.panel-mock-inner { border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.pm-tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--text-3); overflow: hidden; }
.pm-tabs span { padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.pm-tabs span.on { color: var(--text-0); background: var(--bg-3); }
.pm-graphs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.pm-graph { background: var(--bg-1); padding: 14px 16px 12px; }
.pm-graph-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pm-graph-label { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.pm-graph-val { font-family: var(--mono); font-size: .72rem; color: var(--text-0); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-graph svg { display: block; width: 100%; height: 54px; overflow: hidden; }
.pm-grid line { stroke: rgba(167, 139, 250, .08); stroke-width: 1; }

/* ---------- MultiBot ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { margin: 12px 0 16px; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-1); }
.checks .icon { color: var(--ok); stroke-width: 2; margin-top: 3px; }
.tree { padding: 22px; }
.tree-path { font-family: var(--mono); font-size: .8rem; color: var(--text-3); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.tree-path .tag { margin-left: auto; }
.tree-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; margin-top: 6px; border-radius: var(--radius-control);
  background: var(--bg-1); border: 1px solid var(--line); font-family: var(--mono); font-size: .9rem; color: var(--text-1);
}
.tree-row .name { display: inline-flex; align-items: center; gap: 10px; }
.tree-row .name .icon { color: var(--violet-300); width: 18px; height: 18px; }
.tree-row .files { color: var(--text-3); font-size: .75rem; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--ok); }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .35); } 50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); } }
.tree-foot { margin-top: 14px; font-family: var(--mono); font-size: .75rem; color: var(--text-3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 16%; height: 1px;
  background: linear-gradient(90deg, var(--violet-500), rgba(139, 92, 246, .35) 70%, transparent);
}
.step { position: relative; }
.step-num {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-family: var(--mono); font-weight: 500; color: var(--violet-300);
  background: var(--bg-2); border: 1px solid var(--line-strong); margin-bottom: 20px; position: relative;
}
.step h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--text-2); max-width: 320px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; }
.plan.rec { border-color: var(--violet-500); box-shadow: 0 0 0 1px rgba(139, 92, 246, .4), 0 16px 50px var(--glow); }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--mono); font-size: .68rem; font-weight: 500; color: #fff;
  padding: 3px 12px; border-radius: 999px; background: linear-gradient(180deg, var(--violet-500), var(--violet-600));
}
.plan-name { font-size: 1.2rem; font-weight: 600; color: var(--text-0); letter-spacing: -0.02em; }
.plan-tag { font-size: .85rem; color: var(--text-2); margin-top: 2px; min-height: 2.8em; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--text-0); letter-spacing: -0.03em; margin: 10px 0 20px; line-height: 1; }
.plan-price small { font-family: var(--mono); font-size: .82rem; font-weight: 400; color: var(--text-2); letter-spacing: 0; margin-left: 2px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; font-size: .9rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-1); }
.plan li .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2; margin-top: 2px; }
.plan .btn { margin-top: auto; padding: 11px 16px; font-size: .95rem; }
.included { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-family: var(--mono); font-size: .8rem; color: var(--text-2); }
.included span { display: inline-flex; align-items: center; gap: 8px; }
.included .icon { width: 15px; height: 15px; color: var(--violet-300); stroke-width: 2; }
.plans-note { text-align: center; font-size: .9rem; color: var(--text-3); margin: 14px auto 0; max-width: 720px; }

/* ---------- Billing timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; position: relative; }
.stage { padding: 24px; position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.stage.s-ok::after { background: linear-gradient(90deg, var(--ok), transparent); }
.stage.s-warn::after { background: linear-gradient(90deg, var(--warn), transparent); }
.stage.s-err::after { background: linear-gradient(90deg, var(--err), transparent); }
.stage-when { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--violet-300); }
.stage h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 6px; }
.s-ok h3 { color: var(--ok); } .s-warn h3 { color: var(--warn); } .s-err h3 { color: var(--err); }
.stage p { font-size: .9rem; color: var(--text-2); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.note { padding: 20px 22px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); font-size: .92rem; color: var(--text-2); }
.note strong { color: var(--text-1); font-weight: 600; }
.note a { color: var(--violet-300); }
.note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.faq[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: .98rem; color: var(--text-0); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--violet-300); transition: transform .25s var(--ease); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 20px 20px; font-size: .93rem; color: var(--text-2); max-width: 680px; }
.faq .answer a { color: var(--violet-300); }
.faq .answer a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 32px; border-radius: var(--radius-panel);
  background: var(--bg-2); border: 1px solid var(--line-strong);
}
.cta-panel .storm-glow { top: -140px; width: 640px; height: 380px; }
.cta-panel > *:not(.storm-glow):not(.grid-bg) { position: relative; }
.cta-panel img { width: 72px; height: 72px; margin: 0 auto 22px; filter: drop-shadow(0 0 24px rgba(139, 92, 246, .45)); }
.cta-panel h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 12px; }
.cta-panel p { color: var(--text-2); font-size: 1.05rem; max-width: 520px; margin: 0 auto 32px; }
.cta-panel .hero-ctas { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand img { width: 32px; height: 32px; }
.footer-brand p { margin-top: 14px; font-size: .88rem; color: var(--text-3); }
.footer-cols { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { font-size: .88rem; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--violet-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-3); }
.footer-bottom .right { display: flex; gap: 18px; align-items: center; }
.footer-bottom a { color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom a:hover { color: var(--violet-300); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 72px) 0 56px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 14px 0 14px; }
.page-hero .lead { max-width: 560px; }
.page-hero .storm-glow { top: -240px; width: 820px; height: 520px; }

/* ---------- Support ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact { padding: 30px; display: flex; flex-direction: column; }
.contact h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 20px 0 8px; }
.contact p { color: var(--text-2); font-size: .95rem; margin-bottom: 24px; }
.contact .action { margin-top: auto; }
.contact .mono-link { font-family: var(--mono); font-size: .92rem; color: var(--violet-300); display: inline-flex; align-items: center; gap: 8px; }
.contact .mono-link:hover { text-decoration: underline; }
.contact.primary { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(139, 92, 246, .08), var(--bg-2) 60%); }
.help-strip { margin-top: 20px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.help-strip .label { color: var(--text-1); font-weight: 600; letter-spacing: -0.01em; }
.help-strip .label span { display: block; color: var(--text-3); font-weight: 400; font-size: .88rem; letter-spacing: 0; }
.help-links { display: flex; flex-wrap: wrap; gap: 10px; }
.help-links a { font-family: var(--mono); font-size: .8rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-1); transition: border-color .2s, color .2s; }
.help-links a:hover { border-color: var(--violet-400); color: var(--violet-300); }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.policy { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.policy .icon { color: var(--violet-300); }
.policy strong { color: var(--text-0); font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; }
.policy span { font-family: var(--mono); font-size: .72rem; color: var(--text-3); }

/* ---------- Legal ---------- */
.legal-hero { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-meta { font-family: var(--mono); font-size: .8rem; color: var(--text-3); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-tabs a {
  font-size: .88rem; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-2); transition: color .2s, border-color .2s, background-color .2s;
}
.doc-tabs a:hover { color: var(--text-0); border-color: var(--line-strong); }
.doc-tabs a[aria-current="page"] { color: #fff; border-color: transparent; background: linear-gradient(180deg, var(--violet-500), var(--violet-600)); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 72px; padding-top: 56px; padding-bottom: 104px; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; }
.toc-title { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .86rem; color: var(--text-2); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text-0); }
.toc a.is-active { color: var(--violet-300); border-left-color: var(--violet-400); }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--text-1); }
.prose section { padding-top: 8px; }
.prose section + section { margin-top: 36px; }
.prose h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .num { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--violet-300); min-width: 1.8em; }
.prose p + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 2px; background: var(--violet-400); transform: rotate(45deg); }
.prose strong { color: var(--text-0); font-weight: 600; }
.prose a { color: var(--violet-300); text-decoration: underline; text-decoration-color: rgba(196, 181, 253, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--violet-300); }
.doc-contact { margin-top: 56px; padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
.doc-contact p { color: var(--text-2); font-size: .95rem; }
.doc-contact a { color: var(--violet-300); font-family: var(--mono); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature-lg { grid-column: span 2; grid-row: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 72px; }
  .toc { display: none; }
  .footer-top { flex-direction: column; gap: 40px; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 72px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 40px; }
  .section-head { margin-bottom: 40px; }
  .bento, .timeline, .notes, .contact-grid, .steps { grid-template-columns: 1fr; }
  .feature-lg { grid-column: auto; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan.rec { order: -1; margin-top: 10px; }
  .pm-graphs { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 36px 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-panel { padding: 56px 20px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .console-body { font-size: .74rem; padding: 16px; min-height: 0; }
  .contact { padding: 24px; }
}
@media (max-width: 420px) {
  .policy-grid { grid-template-columns: 1fr; }
  .meters { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
