/* Self-hosted fonts (variable woff2): Plus Jakarta Sans, JetBrains Mono — SIL Open Font License 1.1 */

/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans — latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans — latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Wiser Node — landing page
   Themes: dark (default) / light, switched via <html data-theme="…">
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root,
:root[data-theme="dark"] {
  --bg: #070b14;
  --bg-alt: #0a101c;
  --surface: #0d1424;
  --surface-2: #121b2f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2fa;
  --text-muted: #9aa6bd;
  --accent: #3b6ff0;
  --accent-ink: #ffffff;       /* text on accent background */
  --accent-text: #7da4ff;      /* accent used as text colour */
  --accent-soft: rgba(79, 134, 255, 0.14);
  --accent-glow: rgba(79, 134, 255, 0.26);
  --ok: #22d39a;               /* status / success only */
  --btn-primary-bg: var(--accent);
  --btn-primary-fg: var(--accent-ink);
  --btn-primary-hover: #5a86f5;
  --header-bg: rgba(7, 11, 20, 0.72);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --terminal-bg: #060a12;
  --grid-line: rgba(255, 255, 255, 0.045);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-alt: #edf1f8;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --border: rgba(5, 12, 26, 0.09);
  --border-strong: rgba(5, 12, 26, 0.2);
  --text: #050c1a;
  --text-muted: #55627a;
  --accent: #062b7a;
  --accent-ink: #ffffff;
  --accent-text: #062b7a;
  --accent-soft: rgba(6, 43, 122, 0.08);
  --accent-glow: rgba(6, 43, 122, 0.16);
  --ok: #0f9d6b;
  --btn-primary-bg: #062b7a;   /* brand blue */
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: #0a3a9e;
  --header-bg: rgba(246, 248, 252, 0.78);
  --shadow: 0 24px 60px -28px rgba(5, 12, 26, 0.28);
  --terminal-bg: #0a1222;
  --grid-line: rgba(5, 12, 26, 0.05);
  color-scheme: light;
}

:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 820px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Theme-dependent images */
.logo--for-light, .cta-icon--for-light { display: none; }
:root[data-theme="light"] .logo--for-dark,
:root[data-theme="light"] .cta-icon--for-dark { display: none; }
:root[data-theme="light"] .logo--for-light { display: block; }
:root[data-theme="light"] .cta-icon--for-light { display: block; }

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 0 var(--ok);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); }
  70% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn--primary:hover { background: var(--btn-primary-hover); box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn--outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--text); }
.btn--ghost { color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); background: var(--accent-soft); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); transition: color .2s, border-color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand .logo { height: 34px; width: auto; }
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; gap: 6px; }
.primary-nav ul a {
  display: block; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--text-muted); transition: color .2s, background-color .2s;
}
.primary-nav ul a:hover { color: var(--text); background: var(--accent-soft); }
.nav-actions-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* language switch */
.lang-switch {
  display: inline-grid; place-items: center; height: 40px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--border); font: 600 13px var(--mono); letter-spacing: .06em; color: var(--text-muted);
  transition: color .2s, border-color .2s;
}
.lang-switch:hover { color: var(--text); border-color: var(--border-strong); }

/* theme toggle icons */
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle .cross { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .cross { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, var(--accent-glow), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.pill-sep { opacity: .5; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6vw, 70px); font-weight: 800; letter-spacing: -0.035em; }
.accent-text { color: var(--accent-text); }
.lead { margin-top: 22px; max-width: 540px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row--center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--accent-text); flex: none; }

/* Hero visual */
.hero-visual { position: relative; padding: 0 20px 28px 0; }
.terminal {
  background: var(--terminal-bg); border: 1px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl--r { background: #ff5f57; } .tl--y { background: #febc2e; } .tl--g { background: #28c840; }
.terminal-title { margin-left: 10px; font: 500 12px var(--mono); color: #8591a8; }
.status-chip {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font: 500 11px var(--mono); color: #22d39a; padding: 3px 10px; border-radius: 999px;
  background: rgba(34, 211, 154, .1);
}
.status-chip .dot { width: 6px; height: 6px; background: #22d39a; }
.terminal-body {
  margin: 0; padding: 22px 22px 26px; min-height: 290px;
  font: 400 13.5px/1.85 var(--mono); color: #d7deee; white-space: pre-wrap; overflow-x: auto;
}
.t-dim { color: #6f7b93; } .t-key { color: #7d8ba6; } .t-ok { color: #22d39a; }
.caret { display: inline-block; width: 8px; height: 1em; margin-left: 4px; vertical-align: -2px; background: #7da4ff; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.fc-label { font-size: 12px; color: var(--text-muted); }
.fc-value { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.fc-value small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.float-card--a { right: -12px; bottom: 56px; }
@keyframes float { 50% { transform: translateY(-8px); } }
.visual-note { position: absolute; left: 0; bottom: 0; font-size: 12px; color: var(--text-muted); opacity: .8; }

/* ---------- Tech strip ---------- */
.tech-strip { padding: 28px 0; border-block: 1px solid var(--border); background: var(--bg-alt); }
.tech-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.tech-label { font-size: 14px; color: var(--text-muted); }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.tech-list li { font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--text-muted); opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font: 600 13px var(--mono);
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text);
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--text-muted); }

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

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow); }

.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237da4ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
:root[data-theme="light"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062b7a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
}
.check-list strong { color: var(--text); font-weight: 600; }

/* Services */
.service-icon, .f-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent-text);
}
.service h3 { font-size: 23px; }
.service > p { margin: 12px 0 22px; color: var(--text-muted); }
.service .check-list { margin-bottom: 26px; }
.link-arrow { font-weight: 600; color: var(--accent-text); display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* Features */
.feature { padding: 8px 4px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--text-muted); }
.f-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px; }

/* Pricing */
.pricing { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan-desc { margin-top: 8px; font-size: 15px; color: var(--text-muted); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 24px 0; }
.price .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--text-muted); font-weight: 500; }
.plan .check-list { flex: 1; margin-bottom: 30px; }
.plan--featured {
  border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 45%), var(--surface);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.plan--featured:hover { border-color: var(--accent); }
.badge {
  position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--accent); color: var(--accent-ink);
}
.pricing-note { margin-top: 32px; text-align: center; color: var(--text-muted); }
.pricing-note a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Locations */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.region {
  min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 28px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.region:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.region-head {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.region-code {
  grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text); font: 700 14px var(--mono); letter-spacing: .04em;
}
.region-head h3 { font-size: 20px; align-self: end; }
.region-count { font: 500 12px var(--mono); color: var(--text-muted); align-self: start; }
.region ul { display: grid; gap: 14px; }
.region li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.region li small { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.node-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-text); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }

/* Stats */
.stats { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent-text); }
.stat-label { color: var(--text-muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-muted); }
.os-row { margin-top: 56px; text-align: center; }
.os-label { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.os-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.os-list li { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
  padding: 20px 24px; font-weight: 600; font-size: 17px; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 20px; height: 20px; transition: transform .25s;
  background: currentColor; color: var(--text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-text); }
.faq details p { padding: 0 24px 22px; color: var(--text-muted); }

/* CTA band */
.cta-band { padding: 100px 0; }
.cta-card {
  position: relative; overflow: hidden; text-align: center; padding: 72px 28px;
  border: 1px solid var(--border-strong); border-radius: 28px;
  background: radial-gradient(70% 90% at 50% 0%, var(--accent-glow), transparent 70%), var(--surface);
}
.cta-icon { margin: 0 auto 24px; width: 64px; height: auto; }
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.03em; }
.cta-card p { max-width: 520px; margin: 16px auto 0; color: var(--text-muted); font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .logo { height: 32px; width: auto; }
.footer-brand p { margin: 18px 0 20px; max-width: 320px; color: var(--text-muted); font-size: 15px; }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-muted); transition: color .2s, border-color .2s; }
.social:hover { color: var(--text); border-color: var(--border-strong); }
.footer-col h4 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--text); opacity: .85; transition: color .2s, opacity .2s; }
.footer-col a:hover { color: var(--accent-text); opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
.fb-status { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .hide-sm { display: none; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    display: none; padding: 12px 20px 24px; background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav ul a { padding: 14px 12px; font-size: 17px; }
  .nav-actions-mobile { display: flex; gap: 10px; margin-top: 16px; }
  .nav-actions-mobile .btn { flex: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 900px) {
  .regions { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section, .cta-band { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .hero-visual { padding-right: 0; }
  .float-card--a { right: -4px; bottom: 44px; }
  .terminal-body { font-size: 12.5px; padding: 18px; min-height: 270px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 52px 20px; }
  .cta-row .btn--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
