/* ==========================================================================
   Netrax — corporate site styles
   ========================================================================== */

:root {
  --ink: #0b0f1e;
  --ink-2: #343b55;
  --muted: #5f6680;
  --line: #e3e8f2;
  --line-strong: #cfd7e6;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --bg-tint: #eff0ff;

  --navy-950: #05070e;
  --navy-900: #0a0f1d;
  --navy-800: #121a2e;
  --navy-700: #1b2540;
  --on-dark: #e6e9f5;
  --on-dark-muted: #949db8;
  --line-dark: rgba(255, 255, 255, .1);

  --blue-700: #3442e0;
  --blue-600: #4654ff;
  --blue-500: #6b78ff;
  --blue-100: #e9eaff;
  --cyan-400: #2ee6b6;
  --green-500: #22c55e;

  --grad: linear-gradient(135deg, #6b78ff 0%, #2ee6b6 100%);
  --grad-text: linear-gradient(100deg, #9aa3ff 0%, #6fd6ff 45%, #2ee6b6 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 30, .06), 0 1px 1px rgba(11, 15, 30, .04);
  --shadow: 0 10px 30px -12px rgba(11, 15, 30, .18), 0 2px 6px rgba(11, 15, 30, .05);
  --shadow-lg: 0 30px 60px -20px rgba(5, 7, 14, .45);

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--navy-900); color: var(--on-dark-muted); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan-400); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.bg-dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark-muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { margin: 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(70, 84, 255, .7); }
.btn-primary:hover { --btn-bg: var(--blue-700); box-shadow: 0 14px 30px -10px rgba(70, 84, 255, .8); }
.btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
.btn-ghost:hover { --btn-bd: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light:hover { --btn-bg: #eef3ff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(10, 15, 29, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.04em; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; }
.brand-dark { color: var(--ink); }
.brand-dark:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  line-height: 1;
  color: rgba(255, 255, 255, .86); background: none; border: 0; cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.nav-link:hover, .nav-trigger:hover, .nav-item.is-open .nav-trigger { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link[aria-current="page"] { color: #fff; }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-item { position: relative; }
.nav-item.is-open .nav-trigger .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -24px;
  width: 640px; padding: 14px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 15, 30, .06);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega.mega-sm { width: 340px; grid-template-columns: 1fr; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-link { display: flex; gap: 14px; padding: 14px; border-radius: 12px; color: var(--ink-2); transition: background-color .15s ease; }
.mega-link:hover { background: var(--bg-soft); color: var(--ink-2); }
.mega-link .mega-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); flex: none; }
.mega-link strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: .96rem; margin-bottom: 2px; }
.mega-link span { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-size: .9rem; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .94rem; }
.header-phone:hover { color: #fff; }
.header-phone .icon { width: 16px; height: 16px; color: var(--cyan-400); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.site-header.is-open .menu-toggle .icon-menu { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 10vw, 120px);
  isolation: isolate;
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before, .page-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-bg::after, .page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 78% 18%, rgba(46, 230, 182, .22), transparent 70%),
    radial-gradient(720px 520px at 12% 0%, rgba(70, 84, 255, .35), transparent 70%),
    radial-gradient(500px 400px at 60% 110%, rgba(70, 84, 255, .25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; margin-bottom: 28px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  font-size: .88rem; color: var(--on-dark);
}
.hero-badge b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: var(--navy-950); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; list-style: none; font-size: .93rem; color: var(--on-dark); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--green-500); stroke-width: 2.5; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 56px 0 20px; }


.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(18, 26, 46, .8); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark); font-size: .82rem; line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: #fff; font-family: var(--font-display); font-size: .9rem; }
.float-card .fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 197, 94, .16); color: var(--green-500); flex: none; }
.float-card .fc-ico.blue { background: rgba(107, 120, 255, .2); color: #aab2ff; }
.float-card code { font-family: var(--font-mono); font-size: .78rem; color: var(--cyan-400); }
.fc-1 { top: 0; left: 0; }
.fc-2 { bottom: 14%; right: -6%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Network strip ---------- */
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 34px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat-num .unit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .95rem; color: var(--muted); line-height: 1.45; }
.stats-float { margin-top: -64px; position: relative; z-index: 3; }
.bg-dark .stats { background: rgba(255,255,255,.03); border-color: var(--line-dark); box-shadow: none; }
.bg-dark .stat { border-color: var(--line-dark); }
.bg-dark .stat-num { color: #fff; }
.bg-dark .stat-label { color: var(--on-dark-muted); }

/* ---------- Product cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card p { color: var(--muted); font-size: .98rem; }
.card h3 { margin-bottom: 10px; }
a.card { color: inherit; }
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card .chip { align-self: flex-start; margin-top: auto; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
  transition: background .25s ease, color .25s ease;
}
a.card:hover .card-ico { background: var(--grad); color: #fff; }
.card-tag { position: absolute; top: 28px; right: 28px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--blue-600); background: var(--blue-100); padding: 4px 10px; border-radius: 999px; }
.bg-soft .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.bg-dark .card { background: rgba(255, 255, 255, .03); border-color: var(--line-dark); }
.bg-dark .card p { color: var(--on-dark-muted); }
.bg-dark .card-ico { background: rgba(107, 120, 255, .16); color: #aab2ff; }

/* ---------- Split feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; display: grid; gap: 14px; margin: 28px 0 36px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); flex: none; margin-top: 1px; }
.checklist .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.bg-dark .checklist .tick { background: rgba(46, 230, 182, .14); color: var(--cyan-400); }
.bg-dark .checklist li { color: var(--on-dark); }


/* ---------- Developer / code ---------- */
.code-window { border-radius: var(--radius-lg); overflow: hidden; background: #0b1020; border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 0 18px; height: 50px; border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.code-dots { display: flex; gap: 7px; }
.code-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3150; }
.code-label { margin-left: auto; font-size: .75rem; color: var(--on-dark-muted); letter-spacing: .04em; }
.code-window pre { margin: 0; padding: 24px 26px 28px; overflow-x: auto; font-family: var(--font-mono); font-size: .86rem; line-height: 1.75; color: #cdd3ea; }
.code-window pre[hidden] { display: none; }
.tok-c { color: #5f6f99; }
.tok-k { color: #ff9ac1; }
.tok-s { color: #8ef0c4; }
.tok-f { color: #7fb4ff; }
.tok-n { color: #ffcf7a; }
.code-resp { border-top: 1px solid var(--line-dark); padding: 16px 26px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .8rem; color: var(--on-dark-muted); }
.code-resp .ok { color: var(--green-500); font-weight: 700; }


/* ---------- Portal mock ---------- */


/* ---------- Network / POP cards ---------- */

/* ---------- Pricing ---------- */

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: clamp(44px, 6vw, 72px);
  background: var(--navy-900);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 10%, rgba(46, 230, 182, .25), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(70, 84, 255, .45), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 600; }
.cta-phone:hover { color: #fff; }
.cta-phone .icon { color: var(--cyan-400); width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: var(--on-dark-muted);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.75rem); margin-bottom: 20px; max-width: 900px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.page-hero .btn-row { margin-top: 36px; }
.crumbs { display: flex; gap: 8px; align-items: center; list-style: none; margin: 0 0 26px; padding: 0; font-size: .88rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Timeline / about ---------- */

.quote { padding: 40px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 260px at 100% 0%, rgba(46, 230, 182, .22), transparent 70%); }
.quote > * { position: relative; }
.quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; font-weight: 600; color: #fff; letter-spacing: -0.015em; margin-bottom: 20px; }
.quote span { color: var(--on-dark-muted); font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
a.contact-card:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .card-ico { width: 48px; height: 48px; margin: 0; }
.contact-card small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.contact-card span { display: block; font-size: .9rem; color: var(--muted); margin-top: 4px; }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.75rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label i { font-style: normal; color: var(--blue-600); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6987' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(107, 120, 255, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form-foot p { margin: 0; font-size: .85rem; color: var(--muted); max-width: 320px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(34, 197, 94, .1); color: #15803d; font-size: .92rem; font-weight: 500; }
.form-status[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-600); flex: none; }
.field .check { font-weight: 500; font-size: .94rem; color: var(--ink-2); cursor: pointer; }

/* ---------- Jobs ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.chip .icon { width: 14px; height: 14px; }

/* ---------- Legal / prose ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.toc h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.toc a:hover { background: #fff; color: var(--blue-600); }
.toc .toc-group { margin-top: 14px; padding: 0 10px 4px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.toc .toc-group:first-child { margin-top: 0; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 12px; }
.prose h3 { font-size: 1.3rem; margin: 44px 0 12px; padding-top: 8px; }
.prose h4 { font-size: 1.02rem; margin: 24px 0 8px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--blue-600); }
.prose .policy + .policy { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.prose .updated { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.callout { padding: 20px 24px; border-radius: var(--radius); background: var(--bg-tint); border-left: 4px solid var(--blue-600); color: var(--ink-2); margin: 24px 0; }
.callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 88px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-bottom: 64px; }
.footer-brand p { margin: 20px 0 24px; max-width: 300px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: var(--on-dark-muted); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--cyan-400); margin-top: 3px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid .footer-contact-col { grid-column: 1 / -1; }
  .header-phone { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--navy-900); }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--navy-900);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link, .nav-trigger { width: 100%; height: 56px; justify-content: space-between; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 1.08rem; }
  .nav-link:hover, .nav-trigger:hover, .nav-item.is-open .nav-trigger { background: none; }
  .mega, .mega.mega-sm { position: static; width: auto; display: none; grid-template-columns: 1fr; padding: 8px 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mega::before { display: none; }
  .nav-item.is-open .mega { display: grid; }
  .mega-link { padding: 12px 4px; }
  .mega-link:hover { background: rgba(255, 255, 255, .04); }
  .mega-link strong { color: #fff; }
  .mega-link span { color: var(--on-dark-muted); }
  .mega-link .mega-ico { background: rgba(107, 120, 255, .16); color: #aab2ff; }
  .mega-foot { display: none; }
  .nav-cta { display: grid !important; gap: 12px; margin-top: 28px; }

  .hero-grid, .split, .contact-grid, .cta-band, .legal { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { margin-top: 12px; }
  .cta-actions { align-items: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bg-dark .stat:nth-child(n+3) { border-top-color: var(--line-dark); }
  .toc { position: static; }
  .fc-2 { right: 0; }
}
.nav-cta { display: none; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4, .form-grid, .plans, .testimonials, .infra-grid, .duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .stat { padding: 26px 20px; }
  .card, .price-card { padding: 26px; }
  .float-card { font-size: .76rem; padding: 10px 12px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
  .fc-2 { bottom: 6%; }
  .btn-row .btn { flex: 1 1 auto; }
  .code-window pre { font-size: .78rem; padding: 20px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 12px 20px; }
}

/* ==========================================================================
   Netrax components
   ========================================================================== */

/* ---------- Rack hero visual ---------- */
.rack {
  position: relative; width: 360px; max-width: 100%;
  padding: 16px 14px 18px; border-radius: 20px;
  background: linear-gradient(180deg, #1a2138 0%, #0c1120 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-lg), 0 0 120px -30px rgba(107, 120, 255, .55);
}
.rack::before, .rack::after { content: ""; position: absolute; top: 46px; bottom: 18px; width: 6px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.14) 0 2px, transparent 2px 8px); }
.rack::before { left: 4px; }
.rack::after { right: 4px; }
.rack-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; font-family: var(--font-mono); font-size: .7rem; color: var(--on-dark-muted); letter-spacing: .04em; }
.rack-head b { color: var(--on-dark); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ru {
  position: relative; display: flex; align-items: center; gap: 10px;
  height: 36px; margin: 6px 6px 0; padding: 0 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #232c48, #171e34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.4);
  font-family: var(--font-mono); font-size: .66rem; color: #7d87a8;
}
.ru.u2 { height: 64px; }
.ru.blank { background: repeating-linear-gradient(90deg, #141a2d 0 3px, #1a2139 3px 6px); }
.ru .name { min-width: 64px; }
.ru .bays { display: flex; gap: 4px; flex: 1; }
.ru .bays i { flex: 1; height: 14px; border-radius: 2px; background: #0e1424; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.ru.u2 .bays { flex-wrap: wrap; }
.ru.u2 .bays i { flex: 1 0 calc(25% - 4px); }
.ru .vent { flex: 1; height: 14px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 2px, transparent 2px 5px); border-radius: 2px; }
.leds { display: flex; gap: 5px; }
.led { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 8px var(--green-500); animation: blink 1.6s infinite; animation-delay: var(--d, 0s); }
.led.blue { background: #7c87ff; box-shadow: 0 0 8px #7c87ff; animation-duration: 2.8s; }
.led.amber { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; animation-duration: 3.6s; }
.led.steady { animation: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 45% { opacity: 1; } 50% { opacity: .2; } 60% { opacity: 1; } }
.fc-3 { top: 50%; left: -14%; animation-delay: -1.5s; }
.float-card .fc-ico.violet { background: rgba(107, 120, 255, .2); color: #aab2ff; }

/* ---------- Terminal ---------- */
.terminal pre { min-height: 0; }
.term-p { color: var(--cyan-400); }
.term-o { color: #8b93b3; }
.term-cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--cyan-400); animation: blink 1.1s steps(1) infinite; }
.code-title { font-family: var(--font-mono); font-size: .78rem; color: var(--on-dark-muted); margin-left: 10px; }

/* ---------- Duo product cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(32px, 4vw, 48px); border-radius: 28px;
  background: var(--navy-900); color: var(--on-dark-muted);
}
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 300px at 100% 0%, rgba(107, 120, 255, .35), transparent 70%); }
.duo-card.alt::before { background: radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 182, .25), transparent 70%); }
.duo-card h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.duo-card > p { font-size: 1.05rem; margin-bottom: 0; }
.duo-card .card-ico { background: rgba(107, 120, 255, .18); color: #aab2ff; }
.duo-card.alt .card-ico { background: rgba(46, 230, 182, .14); color: var(--cyan-400); }
.duo-card .checklist { margin: 28px 0 32px; }
.duo-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.from { font-size: .9rem; }
.from b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.from b small { font-size: .9rem; color: var(--on-dark-muted); font-weight: 500; letter-spacing: 0; }

/* ---------- Infrastructure pillars ---------- */
.infra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); }
.pillar .card-ico { background: rgba(107, 120, 255, .16); color: #aab2ff; margin-bottom: 20px; }
.pillar h3 { color: #fff; margin-bottom: 14px; }
.pillar ul { list-style: none; display: grid; gap: 10px; }
.pillar li { display: flex; gap: 10px; font-size: .93rem; color: var(--on-dark); line-height: 1.45; }
.pillar li .icon { width: 16px; height: 16px; color: var(--cyan-400); margin-top: 3px; stroke-width: 2.5; }
.tier-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: var(--on-dark); font-weight: 600; font-size: .92rem; }
.tier-badge b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--navy-950); font-family: var(--font-display); font-size: .8rem; }

/* ---------- Spec sheet ---------- */
.specs { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.specs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 600; }
.specs-head span { font-family: var(--font-mono); font-size: .75rem; color: var(--cyan-400); font-weight: 400; display: inline-flex; align-items: center; gap: 8px; }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 24px; border-top: 1px solid var(--line); font-size: .95rem; }
.spec:first-of-type { border-top: 0; }
.spec span { color: var(--muted); }
.spec b { font-family: var(--font-mono); font-weight: 500; font-size: .9rem; color: var(--ink); text-align: right; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-kind { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.plan h3 { font-size: 1.6rem; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); color: var(--ink); margin-bottom: 28px; }
.plan-price b { font-size: 3.4rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.plan-price sup { font-size: 1.4rem; font-weight: 600; align-self: flex-start; margin-top: 6px; }
.plan-price span { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.plan .checklist { margin: 0 0 32px; padding-top: 24px; border-top: 1px solid var(--line); gap: 12px; font-size: .96rem; }
.plan .btn { margin-top: auto; }
.plan-badge { position: absolute; top: 24px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--navy-950); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.plan.featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); box-shadow: var(--shadow-lg); }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px 240px at 100% 0%, rgba(107, 120, 255, .35), transparent 70%); }
.plan.featured > * { position: relative; }
.plan > .plan-badge { position: absolute; }
.plan.featured h3, .plan.featured .plan-price { color: #fff; }
.plan.featured .plan-kind { color: var(--cyan-400); }
.plan.featured .plan-desc, .plan.featured .plan-price span { color: var(--on-dark-muted); }
.plan.featured .checklist { border-color: var(--line-dark); }
.plan.featured .checklist li { color: var(--on-dark); }
.plan.featured .checklist .tick { background: rgba(46, 230, 182, .14); color: var(--cyan-400); }
.plans-note { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; border-top: 1px solid var(--line); }
.compare-table thead th { border-top: 0; background: var(--bg-soft); font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.compare-table thead th small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .82rem; }
.compare-table tbody th { font-weight: 500; color: var(--muted); width: 28%; }
.compare-table td { color: var(--ink); font-weight: 500; }
.compare-table td .icon { width: 18px; height: 18px; color: var(--green-500); stroke-width: 2.5; }
.compare-table .dash { color: #b8bdcc; }
.compare-table .group th { background: #fafbfd; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.bg-soft .testimonial { border-color: transparent; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; color: #f5b301; margin-bottom: 18px; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0 0 28px; font-size: 1.04rem; line-height: 1.65; color: var(--ink-2); }
.who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--navy-950); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; flex: none; }
.who strong { display: block; color: var(--ink); font-family: var(--font-display); }
.who span { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); flex: none; transition: background .2s ease, transform .3s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s ease; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--blue-600); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: .85rem; color: var(--blue-600); margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Values / misc ---------- */
.mono { font-family: var(--font-mono); }
.kicker-stat { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.kicker-stat div b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); letter-spacing: -0.04em; line-height: 1.1; }
.kicker-stat div span { font-size: .9rem; color: var(--muted); }

@media (max-width: 1100px) {
  .infra-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans, .testimonials { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child, .testimonials .testimonial:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .duo, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .fc-3 { left: 0; }
}
@media (max-width: 640px) {
  .infra-grid, .steps, .plans, .testimonials { grid-template-columns: 1fr; }
  .plans .plan:last-child, .testimonials .testimonial:last-child { grid-column: auto; }
  .rack { width: 300px; }
  .ru .name { min-width: 52px; }
  .fc-3 { display: none; }
  .plan { padding: 30px 24px; }
  .faq summary { padding: 18px 20px; font-size: 1rem; }
  .faq details > div { padding: 0 20px 18px; }
  .kicker-stat { gap: 24px; }
}
@media (max-width: 760px) {
  .compare-table tbody th[scope="row"], .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .compare-table thead th:first-child { background: var(--bg-soft); }
  .compare-table th, .compare-table td { padding: 14px 16px; }
  .table-hint { display: block; }
}
.table-hint { display: none; margin-top: 12px; font-size: .85rem; color: var(--muted); text-align: right; }
