/* Wipra Broadband · night-sky theme. Mobile first. No inline styles (strict CSP). */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the font swap does not shift the layout. */
@font-face {
  font-family: "Sora Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
  size-adjust: 112%;
  ascent-override: 86.6%;
  descent-override: 25.9%;
  line-gap-override: 0%;
}

:root {
  --bg: #04060d;
  --bg-2: #070b16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #eef3f8;
  --muted: #a8b3c4;
  --brand: #8dc63f;
  --brand-hi: #b3e36c;
  --fibre: #3ee8d6;
  --link: #6ff0e2;
  --warm: #ffb547;
  --wa: #25d366;
  --radius: 20px;
  --gutter: 16px;
  --max: 1180px;
  --header-h: 64px;
  --font: "Sora", "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(62, 232, 214, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(141, 198, 63, 0.06), transparent 60%),
    url("/assets/img/stars.svg") 0 0 / 480px 480px repeat;
  opacity: 0.9;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #b4fff6; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.05rem, 1.35rem + 3.6vw, 4rem); letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
b, strong { font-weight: 650; }
::selection { background: rgba(141, 198, 63, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--fibre);
  outline-offset: 3px;
  border-radius: 8px;
}

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #06110a;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }
/* Big screens (27-32" monitors at 2560 or 3840 CSS px): type, header and content width grow together,
   so pages do not become a thin strip of small text in the middle of the screen. */
@media (min-width: 2200px) { :root { --max: 1400px; --header-h: 72px; } html { font-size: 118.75%; } }
@media (min-width: 3200px) { :root { --max: 1880px; --header-h: 88px; --gutter: 56px; } html { font-size: 150%; } }

.i { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #06120a;
  background: linear-gradient(135deg, #bdea7a, var(--brand) 55%, #79b52f);
  box-shadow: 0 0 0 1px rgba(179, 227, 108, 0.5) inset, 0 10px 30px -10px rgba(141, 198, 63, 0.75);
}
.btn-primary:hover { color: #06120a; box-shadow: 0 0 0 1px rgba(179, 227, 108, 0.8) inset, 0 14px 36px -10px rgba(141, 198, 63, 0.95); }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
}
.btn-ghost:hover { color: #fff; border-color: rgba(62, 232, 214, 0.6); background: rgba(62, 232, 214, 0.08); }
.btn-wa {
  color: #032310;
  background: var(--wa);
  box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.8);
}
.btn-wa:hover { color: #032310; background: #3ee07d; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.text-link .i { width: 1em; height: 1em; transition: transform 0.2s; }
.text-link:hover .i { transform: translateX(3px); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { color: #fff; border-color: rgba(62, 232, 214, 0.5); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fibre);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fibre));
}
.lead { font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem); color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.chip .i { width: 1.1em; height: 1.1em; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 6, 13, 0.78);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.header-bar { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-logo { display: block; width: auto; height: 36px; }
@media (min-width: 1100px) { .brand-logo { height: 40px; } }
@media (min-width: 2200px) { .brand-logo { height: 46px; } }
@media (min-width: 3200px) { .brand-logo { height: 58px; } }

.site-nav { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }

@media (max-width: 1099.98px) {
  .nav-open .site-nav {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: #060913;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .nav-list { list-style: none; display: grid; gap: 2px; }
  .nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 550;
  }
  .nav-list a .i { color: var(--fibre); }
  .nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--panel-2); }
  .nav-list a[aria-current="page"] { color: var(--brand-hi); }
  .sub-toggle { display: none; }
  .sub-label {
    display: block;
    padding: 14px 12px 4px;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sub { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding-bottom: 8px; }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .nav-cta .btn { padding-inline: 0.8em; }
}
/* No JavaScript: show the menu as a plain list under the header. */
@media (max-width: 1099.98px) and (scripting: none) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; }
  .header-bar { flex-wrap: wrap; height: auto; padding-block: 10px; }
}

@media (min-width: 1100px) {
  .nav-toggle, .call-btn { display: none; }
  .site-nav { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: space-between; margin-left: 28px; }
  .nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
  .nav-list > li { position: relative; }
  .nav-list a, .sub-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.93rem;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
  }
  .nav-list > li > a .i { display: none; }
  .nav-list a:hover, .sub-toggle:hover, .has-sub.is-active > .sub-toggle { color: #fff; }
  .nav-list a[aria-current="page"] { color: #fff; background: var(--panel-2); }
  .sub-toggle .i { width: 1em; height: 1em; transition: transform 0.2s; }
  .sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
  .sub-label { display: none; }
  .sub {
    position: absolute;
    top: 100%;
    left: -8px;
    display: none;
    min-width: 230px;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7, 11, 22, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
  .sub a { display: flex; width: 100%; gap: 10px; color: var(--text); padding: 10px 12px; }
  .sub a .i { display: block; color: var(--fibre); }
  .nav-cta { display: flex; gap: 10px; }
  .nav-cta .btn { min-height: 42px; padding: 0.55em 1.05em; font-size: 0.9rem; }
}

/* ------------------------------------------------------------ home story hero (full-screen map + glass panels)
   The map fills the whole screen under the header and stays pinned while the story panels scroll over it.
   Phones and tablets (< 1000 px): panels sit at the bottom, the map's focus is moved up (--map-shift-y).
   Laptops and larger: panels on the left, the map's focus is moved right (--map-shift-x), so the place a
   panel talks about is never under the panel. hero3d.js reads both values for the camera. */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.story-stage {
  --map-shift-x: 0;
  --map-shift-y: 0.18;
  grid-area: 1 / 1;
  align-self: start;
  position: sticky;
  top: var(--header-h);
  z-index: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 360px;
  overflow: hidden;
  background: #f4e4cf;
}
.story-stage[data-look="night"] { background: #0b1226; }
.story-stage[data-look="dusk"] { background: #0a1122; }
.story-stage[data-look="mono"] { background: #000; }
.hero-poster, .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-poster { object-fit: cover; transition: opacity 1.2s ease, transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.hero-canvas { opacity: 0; transition: opacity 1.2s ease; }
.story.is-live .hero-canvas { opacity: 1; }
.story.is-live .hero-poster { opacity: 0; }
.map-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.map-label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  will-change: transform;
}
/* fade in only: a label that gives way to another disappears at once, so labels never overlap */
.map-label.is-on { opacity: 1; transition: opacity 0.35s ease; }
.map-label-area { background: rgba(4, 44, 26, 0.84); color: #effff5; border: 1px solid rgba(141, 198, 63, 0.75); }
.map-label-tower { background: rgba(3, 42, 48, 0.84); color: #e6fffb; border: 1px solid rgba(62, 232, 214, 0.7); }
.map-label-place {
  padding: 1px 3px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.5);
}
.map-label-landmark { background: rgba(255, 255, 255, 0.86); color: #3b3327; font-weight: 500; border: 1px solid rgba(0, 0, 0, 0.08); }
[data-look="night"] .map-label-landmark, [data-look="dusk"] .map-label-landmark, [data-look="mono"] .map-label-landmark { background: rgba(12, 18, 34, 0.78); color: #f4ecdc; border-color: rgba(255, 255, 255, 0.22); }
[data-look="mono"] .map-label-area, [data-look="mono"] .map-label-tower { background: rgba(0, 0, 0, 0.8); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.map-credit {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 3;
  margin: 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  max-width: calc(100% - 12px);
  font-size: 0.66rem;
  line-height: 1.5;
}
.map-credit a { color: #0b4f3a; }
[data-look="night"] .map-credit, [data-look="dusk"] .map-credit, [data-look="mono"] .map-credit { background: rgba(0, 0, 0, 0.6); color: #ddd; }
[data-look="night"] .map-credit a, [data-look="dusk"] .map-credit a, [data-look="mono"] .map-credit a { color: #b4fff6; }

.story-steps { grid-area: 1 / 1; position: relative; z-index: 2; pointer-events: none; }
.story-step {
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 16px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
}
.story-step.is-first { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
/* Glass: the map shows through, blurred and darkened enough that every text colour on it keeps
   WCAG AA contrast even over the brightest part of the day map (measured by the contrast check). */
.story-step-card {
  position: relative;
  width: 100%;
  max-width: 36rem;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(5, 9, 18, 0.68);
  -webkit-backdrop-filter: blur(18px) brightness(0.4) saturate(1.3);
  backdrop-filter: blur(18px) brightness(0.4) saturate(1.3);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: auto;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .story-step-card { background: rgba(5, 9, 18, 0.9); }
}
.story-step-card h2 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.1rem); }
.story-step-card p { color: #d6dde8; }
.story-step-card .eyebrow { color: var(--link); }
.story-step-card .hero-call, .story-step-card .scroll-hint, .story .stats dt, .story .stats dd small { color: #cdd6e2; }
.story-intro h1 { max-width: 15ch; margin-bottom: 12px; font-size: clamp(1.9rem, 1.3rem + 3vw, 3.6rem); }
.story-intro .actions { margin-top: 18px; }
.story .stats { margin-top: 20px; }
.grad {
  background: linear-gradient(95deg, var(--brand-hi) 10%, var(--fibre) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { max-width: 40rem; margin-bottom: 0; color: #c3ccd8; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }
.hero-call { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }
.scroll-hint { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); }
.scroll-hint .i { width: 1em; height: 1em; color: var(--fibre); }
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.6);
}
.story-intro .eyebrow::before { display: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  max-width: 760px;
}
.stats > div {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 12, 24, 0.55);
}
.stats dt { font-size: 0.78rem; color: var(--muted); }
.stats dd { margin: 0; order: -1; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.stats dd small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.stats-card { align-self: center; }

.motion-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(4, 6, 13, 0.72);
  color: #e8edf3;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: #fff; }
.motion-toggle .i { width: 1em; height: 1em; }
.motion-toggle .i-play, .motion-toggle.is-paused .i-pause { display: none; }
.motion-toggle.is-paused .i-play { display: block; }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .story-stage { --map-shift-x: 0.18; --map-shift-y: 0; }
  .story-step {
    align-items: center;
    padding: 40px 32px 40px max(var(--gutter), calc((100vw - var(--max)) / 2));
  }
  .story-step-card { max-width: min(36rem, 44vw); padding: 28px; }
}
/* the map credit and the pause button stay clear of the panels */
@media (max-width: 999.98px) {
  .map-credit { top: 8px; right: auto; bottom: auto; left: 8px; max-width: calc(100% - 190px); }
}

/* ------------------------------------------------------------ page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 48px 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/img/fibre-lines.svg") 70% 100% / auto 100% no-repeat;
  opacity: 0.55;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(4, 6, 13, 0.7) 45%, rgba(4, 6, 13, 0.2) 100%);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 44rem; }
@media (min-width: 900px) {
  .page-hero { padding-block: 96px 72px; }
  .page-hero::before { background-position: 100% 100%; opacity: 0.8; }
}
.page-404 { min-height: 70vh; display: flex; align-items: center; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: 40px 72px; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: 20px; }
.more { margin: 28px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}

/* ------------------------------------------------------------ plans */
.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-bottom: 24px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}
.tab-list[hidden] { display: none; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 64px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #d9e0ea;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tab-top { display: inline-flex; align-items: center; gap: 8px; }
.tab-top .i { width: 1.15em; height: 1.15em; color: var(--fibre); }
.tab small { font-size: 0.78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.tab[aria-selected="true"] {
  color: #06120a;
  background: linear-gradient(135deg, #bdea7a, var(--brand) 55%, #79b52f);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px -12px rgba(141, 198, 63, 0.9);
}
.tab[aria-selected="true"] .tab-top .i, .tab[aria-selected="true"] small { color: rgba(6, 18, 10, 0.8); }
@media (max-width: 439px) {
  /* narrow phones: icon above the name so "Business" never touches the edge */
  .tab { min-height: 80px; padding: 8px 4px; }
  .tab-top { flex-direction: column; gap: 3px; }
}
@media (min-width: 768px) {
  .tab { min-height: 72px; font-size: 1.2rem; }
  .tab small { font-size: 0.85rem; }
}
.tab-panel + .tab-panel { margin-top: 48px; }
.tabs-on .tab-panel .plan-grid { align-items: stretch; }
@media (min-width: 1000px) and (min-height: 700px) {
  /* one screen from the strip down to the last card (checked at 1440x900, 2560x1440 and 3840x2160) */
  .tabs-on .tab-list { margin-bottom: 18px; }
  .tabs-on .panel-head { margin-bottom: 14px; }
  .tabs-on .plan-card { padding: 20px 22px; }
  .tabs-on .plan-card .plan-top { margin-bottom: 12px; }
  .tabs-on .plan-card .plan-speed { margin: 10px 0 14px; padding-bottom: 14px; }
  .tabs-on .plan-card .ticks { gap: 8px; margin-bottom: 18px; }
}
.tabs-on .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel:focus-visible { outline-offset: 8px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--text); }

.plan-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-hi), var(--fibre), transparent);
  opacity: 0.8;
}
.plan-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 232, 214, 0.14), transparent 70%);
  pointer-events: none;
}
.plan-airfiber::after { background: radial-gradient(circle, rgba(141, 198, 63, 0.16), transparent 70%); }
.plan-business::after { background: radial-gradient(circle, rgba(255, 181, 71, 0.13), transparent 70%); }
.plan-card:hover { border-color: rgba(62, 232, 214, 0.4); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(62, 232, 214, 0.35); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.plan-code { margin: 0; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.plan-price { margin: 0; font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-price .cur { margin-right: 2px; font-size: 0.55em; vertical-align: 0.55em; color: var(--brand-hi); }
.plan-price .per { margin-left: 6px; font-size: 0.34em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan-speed {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line-2);
  font-weight: 650;
  font-size: 1.05rem;
  color: #fff;
}
.plan-speed .i { color: var(--fibre); }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; color: #d3dae4; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { margin-top: 0.15em; width: 1.1em; height: 1.1em; color: var(--brand); }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-smart .chip { color: var(--brand-hi); }
.plan-smart .plan-price { margin-bottom: 20px; }
/* Panky-AI cards: the whole card opens the detail page (stretched heading link); the WhatsApp button stays its own link */
@media (min-width: 640px) { .plan-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .plan-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--fibre); outline-offset: -3px; }
.has-link { cursor: pointer; }
.has-link .plan-code { color: var(--text); font-size: 1rem; }
.has-link .btn { position: relative; z-index: 2; }
.card-more { display: inline-flex; align-items: center; gap: 0.4em; margin: -6px 0 16px; font-weight: 600; color: var(--link); }
.card-more .i { width: 1em; height: 1em; transition: transform 0.2s; }
.has-link:hover .card-more .i { transform: translateX(3px); }
.plan-ask { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); color: var(--text); }
/* detail pages */
.hero-price { margin: 18px 0 0; font-size: clamp(2.2rem, 1.9rem + 1.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.hero-price .cur { margin-right: 2px; font-size: 0.55em; vertical-align: 0.55em; color: var(--brand-hi); }
.hero-price .per { margin-left: 6px; font-size: 0.36em; font-weight: 600; letter-spacing: 0; color: #cdd6e2; }
.hero-price-ask { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; font-size: 1.05rem; }
@media (min-width: 980px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 820px) and (max-width: 979.98px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.convo { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.convo li { max-width: 34rem; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.convo b { display: block; margin-bottom: 4px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #cdd6e2; }
.convo p { margin: 0; }
.convo-panky { justify-self: end; border-color: rgba(141, 198, 63, 0.45) !important; background: rgba(141, 198, 63, 0.08) !important; }
.convo-panky b { color: var(--brand-hi); }
.footer-links .footer-sub a { min-height: 32px; padding-left: 14px; font-size: 0.9rem; color: #cdd6e2; }

.fine {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.fine .i { color: var(--fibre); margin-top: 0.1em; }

.plan-switch { display: grid; gap: 12px; }
@media (min-width: 720px) { .plan-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.switch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.switch-card:hover { color: #fff; border-color: rgba(62, 232, 214, 0.45); background: var(--panel-2); }
.switch-card > .i:first-child { width: 28px; height: 28px; color: var(--fibre); }
.switch-card > .i:last-child { margin-left: auto; color: var(--muted); }
.switch-card span { display: grid; }
.switch-card small { color: var(--muted); font-size: 0.82rem; }

/* ------------------------------------------------------------ cards */
.card-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid .card-wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.card > .i { width: 34px; height: 34px; margin-bottom: 14px; color: var(--fibre); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-glow {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(141, 198, 63, 0.1), transparent 55%),
    var(--panel);
}
.card-glow p:not(.eyebrow) { color: #d3dae4; font-size: 1.02rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
@media (min-width: 980px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chips li.chip-main { border-color: rgba(141, 198, 63, 0.7); background: rgba(141, 198, 63, 0.14); color: #fff; font-weight: 650; }
.chips li {
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  color: #dfe6ee;
}

.feature-list { list-style: none; display: grid; gap: 16px; margin: 24px 0 4px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li > .i {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--fibre);
}
.feature-list h3 { margin: 0 0 2px; font-size: 1rem; }
.feature-list p { margin: 0; color: var(--muted); }

.info-list { list-style: none; display: grid; gap: 12px; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.info-list .i { width: 24px; height: 24px; color: var(--fibre); }
.info-list p { margin: 0; color: #d3dae4; }

.info-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.info-card > .i { width: 26px; height: 26px; color: var(--brand); }
.info-card h3 { margin-bottom: 4px; font-size: 1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps { list-style: none; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.steps p { margin: 0; color: var(--muted); }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(141, 198, 63, 0.25), rgba(62, 232, 214, 0.2));
  border: 1px solid rgba(141, 198, 63, 0.5);
  font-weight: 700;
  color: var(--brand-hi);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(141, 198, 63, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(62, 232, 214, 0.16), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(141, 198, 63, 0.18), transparent 60%),
    #070c17;
}
.cta-band h2 { max-width: 26ch; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.3rem); }

/* ------------------------------------------------------------ coverage */
.cov-figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 11, 22, 0.7);
}
.cov-side { display: grid; gap: 24px; }
.areas-title { margin: 24px 0 4px; font-size: 1rem; color: var(--text); }
.outside { margin: 4px 0 0; color: #d3dae4; font-weight: 550; }
.cov-svg { width: 100%; height: auto; }
.cov-ring { fill: none; stroke: rgba(62, 232, 214, 0.16); stroke-dasharray: 3 7; }
.cov-link { fill: none; stroke: rgba(141, 198, 63, 0.55); stroke-width: 1.2; stroke-dasharray: 5 7; }
.cov-dot { fill: #d8f7a8; }
.cov-halo { fill: rgba(141, 198, 63, 0.18); }
.cov-label { fill: rgba(238, 243, 248, 0.55); font-size: 12px; letter-spacing: 0.12em; }
.cov-city { fill: rgba(238, 243, 248, 0.8); font-size: 15px; font-weight: 700; letter-spacing: 0.3em; }

/* ------------------------------------------------------------ contact */
.contact-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.contact-card h3 { margin: 16px 0 6px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.contact-card p, .contact-card address { margin: 0; color: #dfe6ee; }
.c-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(141, 198, 63, 0.22), rgba(62, 232, 214, 0.16));
  border: 1px solid rgba(141, 198, 63, 0.45);
  color: var(--brand-hi);
}
.c-wa { background: rgba(37, 211, 102, 0.16); border-color: rgba(37, 211, 102, 0.5); color: var(--wa); }
.big-link { font-size: 1.08rem; font-weight: 650; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary :is(h2, h3) { margin: 0; font-size: 1.04rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--fibre), var(--fibre)) center / 10px 2px no-repeat,
    linear-gradient(var(--fibre), var(--fibre)) center / 2px 10px no-repeat;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover :is(h2, h3) { color: #fff; }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a ol { padding-left: 1.3em; display: grid; gap: 8px; }
.faq-a p { margin: 0; }

/* ------------------------------------------------------------ prose / legal */
.prose { max-width: 46rem; }
.prose p, .prose li { color: #cfd7e2; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 6px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 1.4em; }
.legal > h2:first-of-type { margin-top: 1.2em; }
.legal a { overflow-wrap: anywhere; }

/* ------------------------------------------------------------ footer */
.site-footer {
  margin-top: 24px;
  padding: 56px 0 104px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.4), #03050b);
  font-size: 0.94rem;
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 0.7fr 0.7fr 1.2fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--muted); max-width: 34rem; }
.footer-h { margin-bottom: 12px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--brand-hi); }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.footer-contact .i { margin-top: 0.15em; color: var(--fibre); }
.footer-contact a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--brand-hi); }
.social { list-style: none; display: flex; gap: 10px; margin-top: 16px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text); display: inline-block; padding-block: 10px; }
/* >=900px: the fixed WhatsApp button (bottom 24px, 58px tall) covered the right end of the footer's last row
   (the "Reduce motion" button) at the end of every page. Keep the footer's last row above it: 24 + 58 + 22 px. */
@media (min-width: 900px) { .site-footer { padding-bottom: 104px; } }

/* ------------------------------------------------------------ WhatsApp button */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--wa);
  color: #032310;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.2s ease;
}
.fab:hover { color: #032310; transform: translateY(-2px); }
.fab .i { width: 30px; height: 30px; }
.fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  opacity: 0;
}
@media (max-width: 899.98px) {
  .fab { transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s; }
  .fab-hide .fab { opacity: 0; visibility: hidden; transform: translateY(16px); }
}
@media (min-width: 900px) {
  .fab { width: auto; padding: 0 22px 0 16px; right: 24px; bottom: 24px; }
  .fab .i { width: 26px; height: 26px; }
  .fab-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ------------------------------------------------------------ effects (fx-a / fx-b) */
.fx-sparkles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.fxb-rel { position: relative; }
.fxb-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-clip: content-box, border-box;
  mask-composite: exclude;
}
.fxb-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  background: conic-gradient(from 0deg, rgba(62, 232, 214, 0) 0turn, rgba(62, 232, 214, 0) 0.56turn, rgba(62, 232, 214, 0.85) 0.76turn, #d9f99d 0.87turn, #fff 0.895turn, rgba(217, 249, 157, 0) 0.95turn);
}
.fxb-ring.is-static { opacity: 0.55; }
.btn-primary > .fxb-ring .fxb-spin, .btn-wa > .fxb-ring .fxb-spin {
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0turn, rgba(255, 255, 255, 0) 0.6turn, rgba(255, 255, 255, 0.7) 0.8turn, #fff 0.88turn, rgba(255, 255, 255, 0) 0.95turn);
}

.motion-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}
.motion-btn:hover { border-color: rgba(62, 232, 214, 0.6); }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; }

/* ------------------------------------------------------------ optional black-and-white sample (?theme=bw) */
/* Jet black, white and greys; green stays only on call-to-action buttons (.btn-primary, .btn-wa, .fab). */
[data-theme="bw"] {
  --bg: #000;
  --bg-2: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.26);
  --text: #fff;
  --muted: #b3b3b3;
  --brand: #fff;
  --brand-hi: #fff;
  --fibre: #d4d4d4;
  --link: #fff;
}
[data-theme="bw"] body::before { background: url("/assets/img/stars.svg") 0 0 / 480px 480px repeat; opacity: 0.6; }
[data-theme="bw"] .site-header { background: rgba(0, 0, 0, 0.82); }
[data-theme="bw"] .btn-primary {
  color: #06120a;
  background: linear-gradient(135deg, #bdea7a, #8dc63f 55%, #79b52f);
  box-shadow: 0 0 0 1px rgba(179, 227, 108, 0.5) inset, 0 10px 30px -10px rgba(141, 198, 63, 0.75);
}
[data-theme="bw"] .grad { background: linear-gradient(95deg, #fff 10%, #9a9a9a 90%); -webkit-background-clip: text; background-clip: text; }
[data-theme="bw"] .tab[aria-selected="true"] { color: #000; background: #fff; border-color: #fff; box-shadow: 0 12px 30px -14px rgba(255, 255, 255, 0.6); }
[data-theme="bw"] .tab[aria-selected="true"] .tab-top .i, [data-theme="bw"] .tab[aria-selected="true"] small { color: #333; }
[data-theme="bw"] .plan-card::after, [data-theme="bw"] .plan-airfiber::after, [data-theme="bw"] .plan-business::after { background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%); }
[data-theme="bw"] .plan-card:hover { box-shadow: 0 30px 60px -30px rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.4); }
[data-theme="bw"] .cta-band { border-color: var(--line-2); background: radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, 0.08), transparent 60%), #0a0a0a; }
[data-theme="bw"] .card-glow { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.07), transparent 55%), var(--panel); }
[data-theme="bw"] .c-icon, [data-theme="bw"] .step-n { background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); color: #fff; }
[data-theme="bw"] .c-wa { color: #25d366; }
[data-theme="bw"] .chips li.chip-main { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
[data-theme="bw"] .story-step-card { background: rgba(10, 10, 10, 0.8); }
[data-theme="bw"] .fxb-spin { background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0turn, rgba(255, 255, 255, 0) 0.58turn, rgba(255, 255, 255, 0.6) 0.8turn, #fff 0.88turn, rgba(255, 255, 255, 0) 0.95turn); }
[data-theme="bw"] .page-hero::before { filter: grayscale(1); }
[data-theme="bw"] .cov-link { stroke: rgba(255, 255, 255, 0.5); }
[data-theme="bw"] .cov-dot { fill: #fff; }
[data-theme="bw"] .cov-halo { fill: rgba(255, 255, 255, 0.16); }
[data-theme="bw"] ::selection { background: rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .pulse-dot { animation: pulse 2.4s ease-out infinite; }
  .fab::after { animation: ring 3s ease-out 2s 3; }
  .cov-link { animation: flow 2.2s linear infinite; }
  .cov-halo { animation: glow 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .cov-d1 { animation-delay: 0.75s; }
  .cov-d2 { animation-delay: 1.5s; }
  .cov-d3 { animation-delay: 2.25s; }
  .reveal-pre { opacity: 0; transform: translateY(22px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(141, 198, 63, 0); }
}
@keyframes ring {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes glow { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

@media print {
  .site-header, .fab, .story-stage, .motion-toggle, .motion-btn { display: none !important; }
  body { background: #fff; color: #000; }
}
