/* ============================================================
   2s-ui.com — marketing site
   Token values are kept 1:1 with the panel's own design system
   (2s-ui/frontend/src/styles/tokens.css). Never hardcode a colour
   that already has a token.
   ============================================================ */

/* ---------- self-hosted fonts (latin subset; CJK falls back to
     the system stack, same as the panel does) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --brand: #635bff;
  --brand-600: #5249f5;
  --brand-700: #463ce0;
  --brand-soft: rgba(99, 91, 255, .12);
  --cyan: #1bc7d8;
  --emerald: #18b574;
  --amber: #f0a92e;
  --rose: #f0556b;
  --violet: #9a6bff;
  --pink: #ff7eb6;
  --sky: #6ea8ff;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-ui: 'Manrope', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html[data-theme='dark'] {
  --bg: #0b0d14;
  --surface: #12141d;
  --surface-2: #171a25;
  --surface-3: #1d2130;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #eef0f6;
  --text-2: #a7adc0;
  --text-3: #6f7488;
  --glass: rgba(11, 13, 20, .72);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 24px -16px rgba(0, 0, 0, .5);
  --bg-grad:
    radial-gradient(1200px 700px at 78% -8%, rgba(99, 91, 255, .13), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(27, 199, 216, .07), transparent 55%);
  color-scheme: dark;
}

html[data-theme='light'] {
  --bg: #f4f5fa;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #f4f5fa;
  --line: rgba(18, 22, 45, .08);
  --line-2: rgba(18, 22, 45, .14);
  --text: #161a2b;
  --text-2: #545a72;
  --text-3: #8b91a8;
  --glass: rgba(255, 255, 255, .78);
  --shadow-card: 0 1px 2px rgba(20, 25, 60, .05), 0 12px 28px -22px rgba(20, 25, 60, .28);
  --bg-grad:
    radial-gradient(1100px 650px at 82% -10%, rgba(99, 91, 255, .10), transparent 60%),
    radial-gradient(800px 600px at -5% 108%, rgba(27, 199, 216, .10), transparent 55%);
  color-scheme: light;
}

/* semantic colour carrier — one rule instead of eight per component */
[data-color='brand'] { --c: var(--brand) }
[data-color='cyan'] { --c: var(--cyan) }
[data-color='emerald'] { --c: var(--emerald) }
[data-color='amber'] { --c: var(--amber) }
[data-color='rose'] { --c: var(--rose) }
[data-color='violet'] { --c: var(--violet) }
[data-color='pink'] { --c: var(--pink) }
[data-color='sky'] { --c: var(--sky) }

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

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

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sky);
  text-decoration: none;
}

::selection { background: rgba(99, 91, 255, .25) }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* language switching — both languages ship in the DOM, CSS picks one */
.zh { display: none }
html[data-lang='zh'] .zh { display: revert }
html[data-lang='zh'] .en { display: none }

.page-glow {
  position: absolute;
  inset: 0;
  background: var(--bg-grad);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  background: var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.skip-link:focus-visible { left: 0 }

@keyframes fadeUp {
  from { transform: translateY(9px); opacity: 0 }
  to { transform: none; opacity: 1 }
}

@keyframes pulse {
  0%, 100% { opacity: 1 }
  50% { opacity: .35 }
}

/* ---------- shared controls ---------- */
.btn-ghost {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
}

.nav-spacer { flex: 1 }

/* theme button shows the icon for the theme you'd switch *to* the
   look of — sun while dark, moon while light (matches the design) */
html[data-theme='dark'] .i-moon,
html[data-theme='light'] .i-sun { display: none }

/* copy buttons: check replaces the clipboard for 1.6s */
.i-check { display: none }
.is-copied .i-copy { display: none }
.is-copied .i-check { display: inline }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 max(24px, calc(50vw - 590px));
  height: 64px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  display: block;
  border-radius: 9px;
  box-shadow: 0 6px 16px -6px rgba(99, 91, 255, .6);
}

.brand-name {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: .01em;
}

.brand-name-sm { font-size: 15px }

.navlinks {
  display: flex;
  gap: 4px;
  margin-inline-start: 8px;
}

.navlinks a {
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.navlinks a:hover {
  color: var(--text);
  background: var(--surface-3);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  text-align: center;
}

.chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  animation: fadeUp .45s var(--ease);
}

.chip-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero-title {
  margin: 22px auto 0;
  max-width: 820px;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
  animation: fadeUp .5s var(--ease);
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
  animation: fadeUp .55s var(--ease);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  animation: fadeUp .6s var(--ease);
}

.btn-primary {
  height: 44px;
  padding: 0 22px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -6px rgba(99, 91, 255, .65);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--text);
}

.hero-cmd-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  animation: fadeUp .62s var(--ease);
}

.cmd-btn {
  height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.cmd-btn:hover {
  border-color: var(--brand);
  color: var(--text);
}

.prompt {
  color: var(--emerald);
  flex: none;
}

/* Scrolls rather than wraps, per the design — but with a visible scrollbar.
   The design hid it, and with no scrollbar a narrow screen just shows a
   command chopped off mid-URL with nothing to say it continues. */
.cmd-text {
  max-width: min(78vw, 640px);
  overflow-x: auto;
  white-space: nowrap;
  text-align: left;
  /* Own lane for the scrollbar, or it hugs the baseline and reads as an
     underline. The matching margin-top keeps the text aligned with the $. */
  margin-top: 7px;
  padding-bottom: 7px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.cmd-text::-webkit-scrollbar { height: 5px }
.cmd-text::-webkit-scrollbar-track { background: transparent }

.cmd-text::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 3px;
}

.cmd-btn:hover .cmd-text::-webkit-scrollbar-thumb { background: var(--text-3) }

.hero-stats {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: fadeUp .65s var(--ease);
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

a.stat:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.stat .mono { color: var(--text) }

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.2s infinite;
}

.hero-stats .dot-live {
  background: var(--emerald);
  animation-duration: 2s;
}

/* ---------- section scaffolding ---------- */
.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
  scroll-margin-top: 70px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-brand { color: var(--brand) }
.eyebrow-cyan { color: var(--cyan) }
.eyebrow-emerald { color: var(--emerald) }

.section-title {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-sub {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* only the full-width sections centre their heading block */
.section > .eyebrow,
.section > .section-title,
.section > .section-sub { text-align: center }

#screens > .section-title,
#screens > .section-sub { max-width: 520px }

#install > .section-title { max-width: 520px }

/* ---------- features ---------- */
/* min(100%, …) on every auto grid: a bare minmax(300px, 1fr) forces a
   300px column and overflows once the viewport drops below ~340px */
.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s var(--ease);
}

.feature-card:hover { border-color: var(--line-2) }

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 14px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- protocols ---------- */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-card);
}

.proto-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  align-items: start;
}

.panel-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.18;
  text-wrap: balance;
}

.panel-sub {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.proto-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.proto-label {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
}

.chip sup {
  font-size: 9px;
  line-height: 1;
}

.proto-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-3);
}

/* ---------- cluster ---------- */
.cluster-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 48px;
  align-items: center;
}

.cluster-points {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cluster-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cp-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
}

.cp-desc {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.cluster-diagram {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}

.master-row {
  display: flex;
  justify-content: center;
}

.master-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 13px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
}

.master-mark {
  display: block;
  border-radius: 8px;
}

.master-name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.master-host {
  margin: 0;
  font-size: 10.5px;
  color: var(--text-3);
}

.cluster-wires {
  display: block;
  width: 100%;
  height: 56px;
  margin: 2px 0;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.node-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 11px;
  text-align: center;
}

.node-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
}

.node-status.is-online { color: var(--emerald) }
.node-status.is-warn { color: var(--amber) }

.node-name {
  margin: 7px 0 2px;
  font-size: 12.5px;
  font-weight: 700;
}

.node-loc {
  margin: 0;
  font-size: 10px;
  color: var(--text-3);
}

.cluster-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px dashed var(--line-2);
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
}

/* ---------- screenshots ---------- */
/* four captures — auto-fit would give an awkward 3 + 1 at desktop width,
   and each card would be too narrow to read anything in the screenshot */
.shot-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

@media (min-width: 760px) {
  .shot-grid { grid-template-columns: repeat(2, 1fr) }
}

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color .2s var(--ease);
}

.shot:hover { border-color: var(--line-2) }

/* the three 1920x869 captures are wider than 16/10, so anchor the
   crop left — centring it would cut the sidebar clean off */
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
  background: var(--surface-3);
}

.shot figcaption {
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.shot-note {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
}

/* ---------- install ---------- */
.section-install {
  max-width: 900px;
  padding-bottom: 84px;
}

.install-card {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.tabbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.tab:hover { color: var(--text) }

.tab.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
}

.btn-copy {
  height: 32px;
  padding: 0 13px;
  border-radius: 8px;
  gap: 7px;
}

.tabpanel pre {
  margin: 0;
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}

.tabpanel-text {
  padding: 22px 24px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
}

.tabpanel-text code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--text);
}

.default-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
}

.default-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
}

.default-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.default-value {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text);
}

.default-value .muted { color: var(--text-3) }

.star { color: var(--amber) }

.default-note {
  margin: 12px 4px 0;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-about { max-width: 400px }

.footer-blurb {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}

.footer-disclaimer {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}

.footer-links a {
  color: var(--text-2);
  transition: color .2s var(--ease);
}

.footer-links a:hover { color: var(--text) }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .navlinks { display: none }
}

@media (max-width: 560px) {
  .hero { padding: 64px 20px 56px }
  .section { padding: 56px 20px }
  .section-install { padding-bottom: 64px }
  .node-grid { grid-template-columns: 1fr }
  .footer-cols { gap: 36px }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
