/* ==========================================================================
   autoplayer.ai — landing page styles
   Static, SEO-friendly rewrite of the original React/Babel single-file build.
   Palette: purple = brand / healthy / PASS, red = alert / FAIL. Dark theme.
   ========================================================================== */

:root {
  --bg: #070509;
  --bg2: #0c0810;
  --panel: rgba(22, 16, 28, .72);
  --panel-solid: #120c18;
  --panel2: #170f1f;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .05);
  --text: #f1ecf6;
  --muted: #a99fb5;
  --faint: #6f6480;
  --brand: #b14dff;
  --brand-2: #c46bff;
  --brand-deep: #8a2be2;
  --brand-ink: #1c0830;
  --alert: #ff2e54;
  --alert-soft: #ff5c78;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* clips off-canvas glows without making html a scroll container (keeps sticky nav + vertical scroll) */
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img, svg { display: block; }
a { color: inherit; }

/* ---------- ambient decoration ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 58px 58px;
}
.noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.section { position: relative; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; }
@media (max-width: 720px) { .inner { padding: 0 22px; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 5, 9, .7);
  border-bottom: 1px solid var(--line2);
}
.nav-in {
  max-width: 1200px; margin: 0 auto; padding: 15px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14.5px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 720px) { .nav-in { padding: 13px 22px; } }
/* phones: keep the header on one line — hide Sign in and shorten the CTA */
@media (max-width: 600px) {
  .nav .btn-ghost { display: none; }
  .nav-beta { display: none; }
}

/* ---------- wordmark ---------- */
.wm {
  display: inline-flex; align-items: center; gap: 11px; font-family: var(--display);
  font-weight: 700; letter-spacing: -.02em; color: var(--text); text-decoration: none;
}
.wm { font-size: 20px; }
.wm-mark { position: relative; display: grid; place-items: center; width: 30px; height: 30px; }
.wm svg, .wm-mark img { width: 30px; height: 30px; display: block; }
.wm--sm { font-size: 15px; }
.wm--sm .wm-mark { width: 24px; height: 24px; }
.wm--sm svg, .wm--sm .wm-mark img { width: 24px; height: 24px; }
.dotai { color: var(--brand); }

/* ---------- eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-2);
  padding: 7px 14px; border: 1px solid rgba(177, 77, 255, .28); border-radius: 100px;
  background: rgba(177, 77, 255, .06); white-space: nowrap;
}
.kicker--alert { color: var(--alert-soft); border-color: rgba(255, 46, 84, .28); background: rgba(255, 46, 84, .06); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; flex: 0 0 auto; }
.live--alert { background: var(--alert); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(177, 77, 255, .5); } 70% { box-shadow: 0 0 0 7px rgba(177, 77, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(177, 77, 255, 0); } }
@keyframes pulse-a { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 84, .5); } 70% { box-shadow: 0 0 0 7px rgba(255, 46, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 84, 0); } }

/* ---------- headings ---------- */
.h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.0; font-size: clamp(40px, 6vw, 74px); margin: 0; }
.h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(30px, 3.8vw, 48px); margin: 0; }
.h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 21px; margin: 0; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.grad { background: linear-gradient(115deg, var(--brand-2) 20%, var(--alert)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn {
  font-family: var(--body); font-weight: 600; font-size: 15px; border-radius: 11px;
  padding: 13px 22px; cursor: pointer; border: 1px solid transparent; display: inline-flex;
  align-items: center; gap: 9px; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), #9b41ea); color: #fff;
  box-shadow: 0 10px 34px rgba(138, 43, 226, .3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(177, 77, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn .arrow { font-size: 17px; }

/* ---------- panels ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}
.panel-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line2); gap: 12px; }
.ph-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.ph-meta { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot--b { background: var(--brand); box-shadow: 0 0 8px rgba(177, 77, 255, .9); }
.dot--a { background: var(--alert); box-shadow: 0 0 8px rgba(255, 46, 84, .9); }
.dot--liveb { animation: pulse 2s infinite; }
.dot--livea { animation: pulse-a 2s infinite; }
.dot--run { background: #6f6480; box-shadow: none; }

/* ---------- live feed ---------- */
.feed {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
}
.feed-track { display: flex; flex-direction: column; animation: scroll 28s linear infinite; }
@keyframes scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.row { display: grid; grid-template-columns: 14px 1fr auto auto auto; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line2); font-size: 13px; }
.row .g { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .act { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .04em; white-space: nowrap; }
.row .ms { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; min-width: 54px; }
.tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; padding: 3px 8px; border-radius: 5px; text-align: center; }
.tag.pass { color: var(--brand-2); background: rgba(177, 77, 255, .12); border: 1px solid rgba(177, 77, 255, .3); }
.tag.fail { color: var(--alert-soft); background: rgba(255, 46, 84, .12); border: 1px solid rgba(255, 46, 84, .34); }
.tag.run { color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

/* ---------- stat ---------- */
.stat-n { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; font-size: 30px; }
.stat-l { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; margin-top: 6px; }

/* ---------- game tile ---------- */
.tile { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1.18; background: #0a0710; }
.tile-art { position: absolute; inset: 0; }
.tile-art--img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.tile-scan {
  position: absolute; left: 0; right: 0; height: 34%;
  background: linear-gradient(180deg, rgba(177, 77, 255, .34), transparent);
  box-shadow: 0 1px 0 rgba(177, 77, 255, .75); animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: -34%; } 50% { top: 100%; } }
.tile-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 9px; background: linear-gradient(180deg, transparent, rgba(5, 3, 8, .94)); display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tile-name { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 auto; border: 2px solid rgba(177, 77, 255, .28); border-top-color: var(--brand); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(177, 77, 255, .32); transform: translateY(-3px); }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(177, 77, 255, .1); border: 1px solid rgba(177, 77, 255, .24); color: var(--brand-2); margin-bottom: 18px; }
.card-no { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 10px 0 0; }

/* ==========================================================================
   Sections
   ========================================================================== */

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: clamp(640px, 92vh, 1000px); display: flex; flex-direction: column; }
.hero-wall {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 30px; opacity: .5;
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, #000 52%, #000 100%);
          mask-image: linear-gradient(105deg, transparent 0%, #000 52%, #000 100%);
}
.hero-wall .tile { aspect-ratio: 1 / 1.28; }
.hero-fade { position: absolute; inset: 0; background: radial-gradient(125% 100% at 6% 50%, rgba(7, 5, 9, .97) 26%, rgba(7, 5, 9, .6) 58%, transparent); }
.hero-inner { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero-copy { max-width: 660px; }
.hero h1 { margin-top: 0; }
.hero .lead { max-width: 548px; margin-top: 22px; }
.hero .btns { margin-top: 32px; }
.hero-stats { display: flex; gap: clamp(22px, 3vw, 40px); margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line2); flex-wrap: wrap; max-width: 560px; }
.hero-stats .stat-n { font-size: 23px; }

.hud { position: absolute; right: max(40px, calc(50vw - 600px)); bottom: 54px; width: 354px; z-index: 2; }
.hud-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line2); }
.hud-stats > div { padding: 14px 16px; }
.hud-stats > div:first-child { border-right: 1px solid var(--line2); }
.hud-stats .stat-n { font-size: 19px; }
@media (max-width: 1080px) { .hud { display: none; } }
/* phones: trim the busy tile-wall to just two tiles tucked top-right */
@media (max-width: 760px) {
  .hero-wall {
    inset: auto; top: 54px; right: -6px; left: auto; bottom: auto;
    grid-template-columns: repeat(2, 88px); grid-auto-rows: 110px;
    gap: 9px; padding: 0; opacity: .4;
    -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 68%);
            mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 68%);
  }
  .hero-wall .tile { aspect-ratio: auto; }
  .hero-wall .tile:nth-child(n+3) { display: none; }
  /* these two glows bleed past the viewport on phones — drop them */
  .problem .glow, .dashboard .glow { display: none; }
}

/* ---------- differentiators ---------- */
.diff { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: var(--bg2); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.diff-item { padding: 34px clamp(20px, 3vw, 38px); display: flex; gap: 15px; align-items: flex-start; }
.diff-item + .diff-item { border-left: 1px solid var(--line2); }
.diff-item .card-ico { margin: 0; flex: 0 0 auto; width: 42px; height: 42px; }
.diff-item .h3 { font-size: 18px; }
.diff-item p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 7px 0 0; }
@media (max-width: 820px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item + .diff-item { border-left: none; border-top: 1px solid var(--line2); }
}

/* ---------- problem ---------- */
.problem { padding: clamp(72px, 11vw, 128px) 0; }
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.problem h2 { margin-top: 0; }
.problem .lead { margin-top: 20px; max-width: 520px; }
.problem .lead + .lead { margin-top: 16px; color: var(--text); }
.issue-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.issue-row:last-child { border-bottom: none; }
.issue-row .who { flex: 1; min-width: 0; }
.issue-row .who strong { display: block; font-weight: 600; font-size: 14px; }
.issue-row .who span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) { .problem-grid { grid-template-columns: 1fr; } }

/* ---------- checks ---------- */
.checks { padding: clamp(72px, 11vw, 128px) 0; border-top: 1px solid var(--line2); background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.checks-head { text-align: center; max-width: 720px; margin: 0 auto; }
.checks-head h2 { margin-top: 0; }
.checks-head .lead { margin-top: 18px; }
.checks-head strong { color: var(--text); font-weight: 600; }
.checks-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 54px; }
.check--big { grid-column: span 3; }
.check--small { grid-column: span 2; }
.check h3 { margin-top: 4px; }
.check .check-status { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--line2); color: var(--muted); }

/* latency meter */
.lat { margin-top: 14px; }
.lat-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.lat-head .label { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lat-head .val { flex: 0 0 auto; }
.lat-head .val.good { color: var(--brand-2); }
.lat-head .val.bad { color: var(--alert-soft); }
.lat-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.lat-fill { height: 100%; border-radius: 4px; }
.lat-fill.good { background: linear-gradient(90deg, var(--brand-deep), var(--brand-2)); }
.lat-fill.bad { background: linear-gradient(90deg, #b3203f, var(--alert-soft)); }

@media (max-width: 980px) {
  .checks-grid { grid-template-columns: repeat(2, 1fr); }
  .checks-grid > * { grid-column: span 1; }
}
@media (max-width: 600px) { .checks-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.how { padding: clamp(72px, 11vw, 128px) 0; border-top: 1px solid var(--line2); }
.how-head { max-width: 680px; }
.how-head h2 { margin-top: 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.how-num { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, var(--brand-2), var(--alert)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-card h3 { margin-top: 18px; }
.how-card p { color: var(--muted); font-size: 15px; line-height: 1.62; margin-top: 10px; }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- dashboard ---------- */
.dashboard { padding: clamp(72px, 11vw, 128px) 0; border-top: 1px solid var(--line2); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.dash-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.dash-head h2 { margin-top: 0; }
.dash-head .lead { margin-top: 18px; }
.dash-grid { display: grid; grid-template-columns: auto 1fr; }
.dash-rail { border-right: 1px solid var(--line2); padding: 16px 12px; min-width: 178px; }
.dash-rail-wm { display: flex; align-items: center; gap: 8px; padding: 4px 10px 16px; }
.rail-item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; margin-bottom: 2px; color: var(--muted); border: 1px solid transparent; }
.rail-item .dot { background: #3a3247; box-shadow: none; }
.rail-item .label { flex: 1; }
.rail-item.active { color: var(--text); background: rgba(177, 77, 255, .12); border-color: rgba(177, 77, 255, .22); }
.rail-item.active .dot { background: var(--brand); }
.rail-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--alert); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(255, 46, 84, .55); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line2); }
.dash-stats > div { padding: 18px 20px; border-right: 1px solid var(--line2); }
.dash-stats > div:last-child { border-right: none; }
.dash-stats .stat-n { font-size: 23px; }
.dash-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.dash-feed { border-right: 1px solid var(--line2); }
.dash-colhead { padding: 13px 18px; border-bottom: 1px solid var(--line2); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.dash-tiles { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 860px) {
  .dash-rail { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-feed { border-right: none; border-bottom: 1px solid var(--line2); }
}

/* ---------- outcomes ---------- */
.outcomes { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line2); }
.outcomes-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.outcomes-head h2 { margin-top: 0; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.out-card { padding: 30px; }
.out-card h3 { font-size: 22px; }
.out-card p { color: var(--muted); font-size: 15.5px; line-height: 1.62; margin-top: 11px; }
@media (max-width: 820px) { .out-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding: clamp(80px, 12vw, 150px) 0; border-top: 1px solid var(--line2); position: relative; overflow: hidden; }
.cta-grid { opacity: .5; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.cta-inner { position: relative; text-align: center; max-width: 760px; }
.cta .kicker { margin: 0 auto; }
.cta h2 { font-size: clamp(36px, 5.5vw, 68px); margin-top: 0; }
.cta .lead { margin-top: 22px; max-width: 560px; margin-inline: auto; }
.cta .btns { margin-top: 34px; justify-content: center; }
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 18px; letter-spacing: .04em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line2); padding: 56px 0 40px; background: var(--bg); }
/* NOTE: 4-col layout for when Company/Resources return — temporarily 2 cols. */
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; }
.foot-about p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 280px; margin-top: 16px; }
.foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 14px; display: block; padding: 5px 0; transition: color .15s; }
.foot a:hover { color: var(--text); }
.foot .wm { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line2); color: var(--faint); font-size: 13px; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { display: inline; }
.foot-legal { display: flex; gap: 22px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- terminal (shared, kept from design system) ---------- */
.term { font-family: var(--mono); font-size: 13px; line-height: 1.85; color: #d3c9e0; }
.term .b { color: var(--brand-2); }
.term .a { color: var(--alert-soft); }
.term .d { color: var(--faint); }
.term .ok { color: #8fe3c4; }

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