/* ==========================================================================
   NexusSec Virtual Server - stylesheet (v3, multi-page)
   Family resemblance to nexussec.org (IBM Plex Sans, brand blue) with a
   quieter, editorial layout: hairlines instead of boxes, video hero,
   dark footer, smooth motion.
   ========================================================================== */

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --line: #e6ebf2;
  --line-2: #d3dbe6;
  --text: #0f172a;
  --text-2: #4b5768;
  --text-3: #7a8595;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-soft: rgba(37, 99, 235, .08);
  --signal: #7fe7d2;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-text: #aab6cc;
  --dark-muted: #7f8ba3;
  --radius: 14px;
  --pill: 999px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  --gutter: 40px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Type helpers, buttons
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--text-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--pill); font-size: 14px; font-weight: 600; line-height: 1;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s, border-color .3s, color .3s;
}
.btn .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 14px 30px rgba(37, 99, 235, .25); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.light { color: rgba(255, 255, 255, .9); }
.link-arrow.light:hover { color: #fff; }
.link-arrow.brand { color: var(--brand-strong); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 120px 0; }
.section + .section { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.03em; line-height: 1.04; margin-top: 20px; max-width: 12ch; }
.sec-head p { font-size: 17px; color: var(--text-2); max-width: 440px; line-height: 1.6; padding-bottom: 6px; }
.sec-head.stack { grid-template-columns: 1fr; }
.sec-head.stack p { margin-top: 18px; }
.sec-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; font-size: 14px; color: var(--text-3); }
.hairline { height: 1px; background: var(--line); }

/* Subpage header */
.page-head { padding: calc(var(--nav-h) + 88px) 0 64px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.04em; line-height: 1; margin-top: 22px; max-width: 14ch; }
.page-head .lead { font-size: 18px; color: var(--text-2); max-width: 580px; margin-top: 24px; line-height: 1.6; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.page-head .meta b { color: var(--text); font-weight: 600; }
.page-head .meta a:hover { color: var(--brand-strong); }
.page-head + .section { padding-top: 96px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); color: #fff;
  transition: background .5s var(--ease-out), color .3s, border-color .5s, height .4s var(--ease-out);
}
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .wordmark { display: flex; align-items: baseline; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.nav-logo .wm-sub { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
/* White mark on dark surfaces (transparent nav over the hero, footer); colour mark on light */
.nav .logo-color { display: none; }
.nav.scrolled .logo-color, .subpage .nav .logo-color { display: block; }
.nav.scrolled .logo-white, .subpage .nav .logo-white { display: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; font-size: 14px; font-weight: 500; opacity: .8; transition: opacity .3s; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-signin { font-size: 14px; font-weight: 500; opacity: .8; transition: opacity .3s; }
.nav-signin:hover { opacity: 1; }
.nav.scrolled .nav-signin, .subpage .nav .nav-signin { opacity: .85; }
.nav-cta .link-arrow { font-size: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: inherit; transition: border-color .3s; }
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-menu { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }
.nav-menu { display: none; }

.nav.scrolled { height: 60px; }
.nav.scrolled, .subpage .nav {
  color: var(--text);
  background: rgba(247, 249, 252, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled .nav-toggle, .subpage .nav .nav-toggle { border-color: var(--line-2); }
.nav.scrolled .nav-cta .link-arrow, .subpage .nav .nav-cta .link-arrow { color: var(--brand-strong); }

/* --------------------------------------------------------------------------
   Hero (video)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: #fff; background: #070d1c;
  display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 48px);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media > * { position: absolute; inset: 0; }
.hero-fallback { background: #070d1c; overflow: hidden; }
.hero-fallback::before, .hero-fallback::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; min-width: 520px; min-height: 520px; border-radius: 50%;
  filter: blur(80px); opacity: .55; will-change: transform;
}
.hero-fallback::before { left: -10vw; top: -10vw; background: radial-gradient(circle, #1e4fd8 0%, rgba(30, 79, 216, 0) 65%); animation: drift1 22s var(--ease-inout) infinite alternate; }
.hero-fallback::after { right: -15vw; bottom: -20vw; background: radial-gradient(circle, #0ea5b7 0%, rgba(14, 165, 183, 0) 65%); opacity: .35; animation: drift2 26s var(--ease-inout) infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, -18vh) scale(1.2); } }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease; will-change: transform; }
.hero.video-ready .hero-video { opacity: 1; }
.hero.no-video .hero-video { display: none; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 13, 28, .55) 0%, rgba(7, 13, 28, .3) 40%, rgba(7, 13, 28, .84) 100%),
    linear-gradient(90deg, rgba(7, 13, 28, .66) 0%, rgba(7, 13, 28, .2) 55%, rgba(7, 13, 28, 0) 80%);
}
.hero-grain {
  opacity: .14; mix-blend-mode: soft-light; pointer-events: none; background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.hero-content { position: relative; padding-bottom: 64px; will-change: transform; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 28px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(127, 231, 210, .18); }
.hero h1 { font-size: clamp(42px, 6.6vw, 86px); font-weight: 600; letter-spacing: -.04em; line-height: 1; max-width: 22ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: lineUp 1.2s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em { font-style: normal; color: rgba(255, 255, 255, .55); }
.hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .74); max-width: 520px; margin: 28px 0 36px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-in { opacity: 0; transform: translateY(16px); animation: fadeUp 1.1s var(--ease-out) forwards; }
.hero-in.d1 { animation-delay: .35s; } .hero-in.d2 { animation-delay: .5s; } .hero-in.d3 { animation-delay: .65s; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-foot { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; opacity: 0; animation: fadeIn 1.2s ease .9s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero-specs { display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero-specs b { color: #fff; font-weight: 600; }
.hero-scroll { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hero-scroll .line { width: 40px; height: 1px; background: rgba(255, 255, 255, .5); transform-origin: left; animation: scrollLine 2.4s var(--ease-inout) infinite; }
@keyframes scrollLine { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-inner { display: flex; align-items: center; gap: 40px; height: 64px; }
.marquee-label { flex-shrink: 0; padding-right: 32px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.marquee-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track ul { display: flex; gap: 56px; width: max-content; padding-right: 56px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track ul { animation-play-state: paused; }
.marquee-track li { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */
.statement { max-width: 1040px; }
.statement h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.22; margin-top: 26px; }
.statement h2 em { font-style: normal; color: var(--brand-strong); }
.statement .meta { display: flex; gap: 40px; margin-top: 36px; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }
.statement .meta b { display: block; color: var(--text); font-size: 15px; }

/* --------------------------------------------------------------------------
   Feature grid (hairlines, no boxes)
   -------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { position: relative; padding: 40px 32px 44px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background .5s var(--ease-out); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-child(3n + 1) { padding-left: 0; }
.feature:nth-child(3n) { padding-right: 0; }
.feature:hover { background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .03)); }
.feature .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--text-3); }
.feature .icon { width: 26px; height: 26px; color: var(--text); margin: 26px 0 22px; stroke-width: 1.4; transition: color .3s, transform .6s var(--ease-out); }
.feature:hover .icon { color: var(--brand); transform: translateY(-2px); }
.feature h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 10px; }
.feature p { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.feature .note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--brand-strong); }
.feature .note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.feature ul { margin-top: 16px; }
.feature ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--text-2); }
.feature ul li:last-child { border-bottom: 0; }
.feature ul li b { color: var(--text); }

/* --------------------------------------------------------------------------
   Offer trio (home) + list rows
   -------------------------------------------------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer { display: flex; flex-direction: column; padding: 36px 32px 40px; border-right: 1px solid var(--line); transition: background .5s var(--ease-out); }
.offer:first-child { padding-left: 0; }
.offer:last-child { border-right: 0; padding-right: 0; }
.offer .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.offer .from { display: block; margin-top: 18px; font-size: 15px; color: var(--text-3); }
.offer .from b { font-size: 34px; letter-spacing: -.035em; color: var(--text); margin-right: 4px; }
.offer p { margin: 16px 0 24px; font-size: 15px; color: var(--text-2); line-height: 1.6; }
.offer .link-arrow { margin-top: auto; color: var(--brand-strong); }

.uc-list { border-top: 1px solid var(--line); }
.uc-list li { display: grid; grid-template-columns: 56px 1.1fr 1.6fr 40px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.uc-list li:hover { padding-left: 8px; }
.uc-n { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--text-3); }
.uc-t { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.uc-d { font-size: 15px; color: var(--text-2); }
.uc-list .icon { width: 18px; height: 18px; color: var(--text-3); justify-self: end; transition: transform .5s var(--ease-out), color .3s; }
.uc-list li:hover .icon { transform: translateX(4px); color: var(--brand); }

/* --------------------------------------------------------------------------
   Pricing tables
   -------------------------------------------------------------------------- */
.plan-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.plan-nav a { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--text-2); transition: border-color .3s, color .3s, background .3s; }
.plan-nav a:hover { border-color: var(--text); color: var(--text); }

.price-block + .price-block { margin-top: 112px; }
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.price-head h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.05; margin-top: 18px; }
.price-head p { font-size: 15.5px; color: var(--text-2); max-width: 460px; }

.price-table { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1.8fr .9fr .9fr .9fr 1.1fr 1.4fr 130px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.price-row.cols-6 { grid-template-columns: 1.8fr .9fr .9fr .9fr 1.6fr 130px; }
.price-row.head { padding: 12px 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.price-row .name { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.price-row .name small { display: block; font-size: 13px; color: var(--text-3); font-weight: 400; letter-spacing: 0; margin-top: 3px; }
.price-row .name .tag { display: inline-block; margin-left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); vertical-align: middle; }
.price-row .cell { font-size: 15px; color: var(--text-2); }
.price-row .cell b { color: var(--text); font-weight: 600; }
.price-row .amount { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.price-row .amount small { font-size: 12px; font-weight: 400; color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.price-row .price .sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 6px; }
.price-row .action { justify-self: end; }

.svc-list { border-top: 1px solid var(--line); }
.svc-list li { display: grid; grid-template-columns: 1.2fr 1fr 40px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc-list .t { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.svc-list .t small { display: block; font-size: 13px; font-weight: 400; color: var(--text-3); margin-top: 2px; }
.svc-list .p { font-size: 15px; color: var(--text-2); }
.svc-list .p b { color: var(--text); }
.svc-list .icon { width: 18px; height: 18px; color: var(--text-3); justify-self: end; transition: transform .5s var(--ease-out), color .3s; }
.svc-list li:hover .icon { transform: translateX(4px); color: var(--brand); }

.plans-note { margin-top: 24px; font-size: 13.5px; color: var(--text-3); max-width: 720px; }
.plans-note b { color: var(--text-2); }

/* --------------------------------------------------------------------------
   Spec grid, stack lists, timeline, responsibility columns
   -------------------------------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.spec-grid li { display: flex; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.spec-grid li b { color: var(--text); }
.spec-grid .icon { width: 14px; height: 14px; color: var(--brand); align-self: center; }

.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stack-grid h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.stack-grid li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.stack-grid li small { color: var(--text-3); font-size: 12px; margin-left: 8px; }

.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .t { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--brand-strong); }
.timeline h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 6px; }
.timeline p { font-size: 15px; color: var(--text-2); max-width: 640px; }

.resp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.resp-grid h3 { font-size: 18px; letter-spacing: -.015em; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.resp-grid h3 span { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.resp-grid li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }

/* --------------------------------------------------------------------------
   Security split + report card
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin-top: 20px; }
.split > div > p { font-size: 17px; color: var(--text-2); margin-top: 20px; max-width: 480px; }
.check-list { margin-top: 30px; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.check-list li b { color: var(--text); white-space: nowrap; }
.check-list .icon { width: 14px; height: 14px; color: var(--brand); align-self: center; }

.report {
  position: relative; background: linear-gradient(160deg, #101a2e, #0b1220); border: 1px solid var(--dark-line); border-radius: var(--radius);
  color: #dfe7f5; font-family: var(--mono); font-size: 12.5px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(6, 15, 32, .55);
}
.report::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 100% 0%, rgba(37, 99, 235, .25), transparent 70%); pointer-events: none; }
.report-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--dark-line); font-size: 11px; letter-spacing: .08em; color: var(--dark-muted); }
.report-head .dots { display: flex; gap: 6px; margin-right: 4px; }
.report-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: #253252; }
.report-head .status { margin-left: auto; color: var(--signal); }
.report-body { position: relative; padding: 8px 20px; }
.report-row { display: grid; grid-template-columns: 1fr auto 16px; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); opacity: 0; transform: translateX(-8px); }
.report-row:last-child { border-bottom: 0; }
.visible .report-row { animation: rowIn .7s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 250ms); }
.report-row .k { color: #c8d3e6; }
.report-row .v { color: var(--dark-muted); text-align: right; }
.report-row .ok { color: var(--signal); font-weight: 700; }
.report-foot { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; background: rgba(0, 0, 0, .22); font-size: 11px; color: var(--dark-muted); }
.report-foot b { color: var(--signal); font-weight: 600; }
@keyframes rowIn { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: var(--line); }
.step { position: relative; }
.step-n { position: relative; display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--text-2); transition: background .4s, color .4s, border-color .4s; }
.step:hover .step-n { background: var(--brand); border-color: var(--brand); color: #fff; }
.step .tag { display: block; margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--text-3); }
.step h3 { font-size: 19px; letter-spacing: -.015em; margin: 8px 0 10px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--text-2); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 32px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat-num { font-size: clamp(38px, 4vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .55em; font-weight: 500; color: var(--text-3); letter-spacing: -.02em; margin-left: 2px; }
.stat-label { margin-top: 12px; font-size: 14px; font-weight: 600; }
.stat-sub { font-size: 13px; color: var(--text-3); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-grid h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin-top: 20px; }
.faq-grid .lead { font-size: 17px; color: var(--text-2); margin: 18px 0 28px; max-width: 380px; }
.faq-side { position: sticky; top: 100px; }
.faq-side .jump { display: grid; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq-side .jump a { font-size: 14px; color: var(--text-2); transition: color .3s; }
.faq-side .jump a:hover { color: var(--brand-strong); }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -.01em; transition: color .3s; }
.faq-q:hover { color: var(--brand-strong); }
.faq-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background .4s, border-color .4s, transform .6s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--text); border-color: var(--text); color: #fff; transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 0; font-size: 15.5px; line-height: 1.7; color: var(--text-2); opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .5s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-grid h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; line-height: 1.02; margin-top: 20px; }
.contact-grid .lead { font-size: 17px; color: var(--text-2); margin-top: 22px; max-width: 440px; }
.contact-list { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; transition: color .3s, padding .5s var(--ease-out); }
.contact-list a:hover { color: var(--brand-strong); padding-left: 6px; }
.contact-list .icon { width: 16px; height: 16px; color: var(--text-3); }
.contact-note { margin-top: 20px; font-size: 13px; color: var(--text-3); }

.form { padding-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.f-field { position: relative; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; min-width: 0; }
.form-row > * { min-width: 0; }
.f-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.f-field:focus-within::after { transform: scaleX(1); }
.f-field label { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.f-input { width: 100%; border: 0; background: transparent; padding: 8px 0 12px; font-size: 16px; color: var(--text); outline: none; border-radius: 0; }
.f-input::placeholder { color: #a5aebc; }
textarea.f-input { min-height: 96px; resize: vertical; }
select.f-input { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; max-width: 100%; text-overflow: ellipsis; background-repeat: no-repeat; background-position: right 2px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8595' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--text-3); }
.form-status { margin-top: 16px; font-size: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: rgba(127, 231, 210, .18); color: #0b6b62; }
.form-status.err { display: block; background: rgba(220, 38, 38, .07); color: #b91c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   CTA band (subpages) + footer (dark)
   -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 104px 0; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(720px 340px at 88% 100%, rgba(37, 99, 235, .28), transparent 70%); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.cta .eyebrow { color: var(--dark-muted); }
.cta h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; margin-top: 22px; }
.cta p { color: var(--dark-text); margin-top: 18px; max-width: 460px; font-size: 17px; }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-shrink: 0; flex-wrap: wrap; }

.footer { background: var(--dark); color: var(--dark-text); padding: 72px 0 32px; border-top: 1px solid var(--dark-line); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer .nav-logo { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.65; max-width: 320px; color: var(--dark-text); }
.footer-col h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--dark-text); transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--dark-muted); }
.footer-bottom .contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .contacts a { color: var(--dark-text); transition: color .3s; }
.footer-bottom .contacts a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   WhatsApp
   -------------------------------------------------------------------------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 28px rgba(37, 211, 102, .35); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.wa:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(37, 211, 102, .45); }
.wa svg { width: 22px; height: 22px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.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 .reveal, .hero-in, .hero-foot, .hero h1 .line > span { opacity: 1; transform: none; }
  .visible .report-row { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); padding-right: 32px; }
  .feature:nth-child(3n + 1) { padding-left: 32px; }
  .feature:nth-child(2n) { border-right: 0; padding-right: 0; }
  .feature:nth-child(2n + 1) { padding-left: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; padding-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .split, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .stack-grid, .resp-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: 1.6fr .8fr .8fr .8fr 1fr 1.3fr 110px; gap: 12px; }
  .price-row.cols-6 { grid-template-columns: 1.6fr .8fr .8fr .8fr 1.5fr 110px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .link-arrow, .nav-cta .nav-signin { display: none; }
  .nav-toggle { display: grid; }
  .nav-menu {
    position: absolute; top: calc(var(--nav-h) + 6px); left: 12px; right: 12px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .3); color: var(--text);
    opacity: 0; transform: translateY(-8px); pointer-events: none; display: block;
    transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
  }
  .nav.scrolled .nav-menu { top: calc(60px + 6px); }
  .nav.open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { display: block; padding: 13px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: background .3s; }
  .nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--surface-2); }
  .nav-menu .btn { margin: 8px 0 4px; width: 100%; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .sec-head h2 { max-width: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer, .offer:first-child, .offer:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .offer:last-child { border-bottom: 0; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .price-row, .price-row.cols-6 { grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 24px 0; }
  .price-row.head { display: none; }
  .price-row .name, .price-row .price, .price-row .action { grid-column: 1 / -1; }
  .price-row .action { justify-self: start; }
  .price-row .cell::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 84px 0; }
  .section + .section { padding-top: 0; }
  .page-head { padding: calc(var(--nav-h) + 56px) 0 44px; }
  .page-head + .section { padding-top: 64px; }
  .price-block + .price-block { margin-top: 80px; }
  .hero-content { padding-bottom: 40px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero-sub { font-size: 16px; margin: 22px 0 28px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-specs { gap: 14px 22px; }
  .hero-scroll { display: none; }
  .marquee-inner { height: 56px; gap: 20px; }
  .marquee-label { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n), .feature:nth-child(2n) { border-right: 0; padding-left: 0; padding-right: 0; padding-top: 30px; padding-bottom: 34px; }
  .uc-list li { grid-template-columns: 40px 1fr 28px; gap: 14px; }
  .uc-d { grid-column: 2 / 3; }
  .uc-list .icon { grid-row: 1; grid-column: 3; }
  .svc-list li { grid-template-columns: 1fr 28px; gap: 8px 14px; }
  .svc-list .p { grid-column: 1 / 2; }
  .svc-list .icon { grid-row: 1; grid-column: 2; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .stack-grid, .resp-grid, .spec-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-q { font-size: 16px; padding: 18px 0; }
  .faq-a p { padding-right: 0; }
  .cta { padding: 72px 0; }
  .footer { padding-top: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa { right: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .nav-logo .wm-sub { display: none; }
  .nav-logo img { height: 36px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
  .price-row, .price-row.cols-6 { grid-template-columns: 1fr 1fr; }
  .price-row .action, .price-row .action .btn { width: 100%; }
  .hero-fallback::before, .hero-fallback::after { animation: none; }
}

/* --------------------------------------------------------------------------
   Device optimisation: touch, notches, small/large/landscape screens, print
   -------------------------------------------------------------------------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, select { touch-action: manipulation; }
.container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.nav { padding-top: env(safe-area-inset-top); height: calc(var(--nav-h) + env(safe-area-inset-top)); }
.nav.scrolled { height: calc(60px + env(safe-area-inset-top)); }
.wa { right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
.footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }

.soon { display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); vertical-align: middle; }
.hero-specs .soon { color: var(--signal); margin-left: 4px; }

/* Touch devices: no hover-only motion, larger targets */
@media (hover: none) {
  .btn:hover, .btn:hover .icon, .link-arrow:hover .icon, .wa:hover, .plans-custom:hover .icon,
  .uc-list li:hover .icon, .svc-list li:hover .icon, .feature:hover .icon { transform: none; }
  .btn:hover, .wa:hover { box-shadow: none; }
  .btn-primary:hover { box-shadow: none; }
  .feature:hover { background: none; }
  .uc-list li:hover, .contact-list a:hover { padding-left: 0; }
  .nav-links a::after { display: none; }
}
@media (pointer: coarse) {
  .nav-links a { padding: 12px 0; }
  .plan-nav a { padding: 12px 18px; }
  .btn-sm { padding: 13px 20px; }
  .faq-side .jump { gap: 4px; }
  .faq-side .jump a { display: block; padding: 8px 0; }
  .footer-col ul { gap: 4px; }
  .footer-col a, .footer-bottom .contacts a { display: inline-block; padding: 7px 0; }
  .marquee-track ul { animation-duration: 64s; }
}

/* Small screens: cheaper hero effects */
@media (max-width: 768px) {
  .hero-fallback::before, .hero-fallback::after { filter: blur(48px); animation-duration: 32s; }
  .hero-grain { display: none; }
  .nav, .nav.scrolled { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Very small phones */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 36px; }
  .page-head h1 { font-size: 36px; }
  .offer .from b { font-size: 28px; }
  .stat-num { font-size: 34px; }
  .statement h2 { font-size: 24px; }
  .sec-head h2, .split h2, .faq-grid h2, .contact-grid h2, .price-head h2 { font-size: 28px; }
}

/* Phones in landscape: keep the hero within one short screen */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .hero-content { padding-bottom: 28px; }
  .hero h1 { font-size: clamp(32px, 6vw, 56px); }
  .hero-sub { margin: 14px 0 20px; font-size: 15px; }
  .hero-scroll { display: none; }
  .hero-foot { padding-top: 14px; padding-bottom: 16px; }
}

/* Large desktops: a little more room */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
  body { font-size: 17px; }
  .hero h1 { font-size: 96px; }
}

@media print {
  .nav, .wa, .hero-media, .marquee, .cta, .skip-link { display: none !important; }
  .hero { min-height: auto; color: #000; background: #fff; padding: 24px 0; }
  .hero-sub, .hero-specs, .hero-eyebrow { color: #333; }
  .js .reveal { opacity: 1; transform: none; }
  .report { box-shadow: none; }
  .footer { background: #fff; color: #333; border-top: 1px solid #ccc; }
  .footer .nav-logo { color: #000; }
}

/* --------------------------------------------------------------------------
   Cookie consent banner (site + portal)
   -------------------------------------------------------------------------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35); font-size: 14px; color: var(--text-2); line-height: 1.55; opacity: 0; transform: translateY(12px); animation: consentIn .6s var(--ease-out) forwards; }
.consent b { color: var(--text); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.consent-actions .text-link { margin-left: auto; font-size: 13px; }
@keyframes consentIn { to { opacity: 1; transform: none; } }

.consent .btn-sm { padding: 10px 16px; }
@media (max-width: 768px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  body.consent-open .wa { bottom: 170px; }
}

/* --------------------------------------------------------------------------
   Legal pages (privacy / terms)
   -------------------------------------------------------------------------- */
.legal { max-width: 820px; margin: 0; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal a { color: var(--brand-strong); font-weight: 500; }
.legal b { color: var(--text); }
.legal code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.legal-table th, .legal-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--text-2); }
.legal-table th { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-meta { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
@media (max-width: 768px) {
  .legal-table { display: block; overflow-x: auto; }
}
