/* ============================================================================
   DATONET — warm + credible design system
   Light-first, blue-dominant, single coral accent. Soft rounded geometry for
   warmth; precise alignment + honest tables for credibility.
   ========================================================================== */

/* ── Fonts ───────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Neuropol';
  src: url('../fonts/neuropol.otf') format('opentype');
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 800; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 800; font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Neuropol', 'Figtree', sans-serif;

  /* light theme */
  --bg:          #f4f7fb;
  --bg-wash:     #eaf1f9;
  --surface:     #ffffff;
  --surface-2:   #eef3fa;
  --ink:         #16212e;
  --ink-soft:    #51637a;
  --ink-faint:   #8a9bb0;
  --primary:     #2563b4;
  --primary-600: #1e529c;
  --primary-deep:#1a3a5c;
  --logo:        #868c96;   /* brand grey wordmark (boss's call); blue stays the accent */
  --primary-tint:#dce8f5;
  --accent:      #e07856;
  --accent-deep: #c25c3d;
  --accent-tint: #fbe6dd;
  --good:        #1f9d6b;
  --border:      #e2eaf3;
  --border-soft: #edf2f8;

  --shadow-sm: 0 1px 2px rgba(26,58,92,.06), 0 2px 8px rgba(26,58,92,.05);
  --shadow:    0 4px 14px rgba(26,58,92,.08), 0 12px 32px rgba(26,58,92,.07);
  --shadow-lg: 0 8px 24px rgba(26,58,92,.12), 0 24px 60px rgba(26,58,92,.12);
  --glow:      0 0 0 1px var(--primary-tint), 0 12px 40px rgba(37,99,180,.18);

  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

:root[data-theme="dark"] {
  --bg:          #0d1825;
  --bg-wash:     #0a131d;
  --surface:     #14202f;
  --surface-2:   #1b2a3c;
  --ink:         #e9eff6;
  --ink-soft:    #9fb2c7;
  --ink-faint:   #6b8099;
  --primary:     #57a0ec;
  --primary-600: #74b1f0;
  --primary-deep:#bdd8f5;
  --logo:        #aab2bd;
  --primary-tint:#1d324a;
  --accent:      #f0916f;
  --accent-deep: #f0916f;
  --accent-tint: #3a2018;
  --border:      #24364b;
  --border-soft: #1c2c3e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 6px 20px rgba(0,0,0,.45);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.55);
  --glow:      0 0 0 1px var(--primary-tint), 0 12px 40px rgba(87,160,236,.22);
}

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(15px, .5vw + 14px, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

/* ── Layout primitives ───────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding-block: clamp(28px, 4vw, 52px); }
.section-head { max-width: 640px; margin-bottom: clamp(20px, 3vw, 34px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 18px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; max-width: 56ch; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; padding: 13px 24px; border-radius: var(--r-pill);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37,99,180,.32); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,180,.4); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
/* Apply the (expensive) frosted blur only once scrolled — at the top, the
   perpetual hero animation would otherwise force it to re-rasterise every
   frame and peg a CPU core in Firefox. */
.site-header.scrolled {
  border-bottom-color: var(--border); box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.nav { display: flex; align-items: center; gap: 22px; height: 72px; transition: height .35s var(--ease); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--logo); }
/* DATONET wordmark = corrected raster artwork painted through a CSS mask, so the
   shape is bug-free (no font kerning) yet still follows --logo in light/dark. */
.logo {
  display: block; aspect-ratio: 866 / 106; background: currentColor;
  -webkit-mask: url(/assets/img/datonet-grey.png) center / contain no-repeat;
          mask: url(/assets/img/datonet-grey.png) center / contain no-repeat;
}
.brand .logo { width: 132px; color: var(--logo); transition: width .35s var(--ease); }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--primary); background: var(--primary-tint); }
.nav-tail { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-toggle { display: flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 3px; font-size: .82rem; font-weight: 700; }
.lang-toggle a { padding: 5px 11px; border-radius: var(--r-pill); color: var(--ink-faint); letter-spacing: .03em; }
.lang-toggle a.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-soft); transition: color .2s, background .2s, transform .2s; }
.icon-btn:hover { color: var(--primary); transform: translateY(-1px); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav-burger { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(30px, 5vw, 56px) clamp(28px, 4vw, 48px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(37,99,180,.18), transparent 70%),
    radial-gradient(48% 44% at 12% 8%, rgba(224,120,86,.14), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.03em; }
.hero h1 .hl { color: var(--primary); position: relative; }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* hero visual — a soft "signal" card stack */
.hero-art { position: relative; aspect-ratio: 1 / 1; }
/* network sphere (replaced the Wireless chart card, 2026-06-10) */
.hero-sphere { width: 100%; height: 100%; object-fit: contain; animation: sphere-drift 16s ease-in-out infinite alternate; }
@keyframes sphere-drift { from { transform: translateY(-8px) rotate(-1.2deg); } to { transform: translateY(10px) rotate(1.2deg); } }
:root[data-theme="dark"] .hero-sphere { filter: brightness(1.55) saturate(.85); }
@media (prefers-reduced-motion: reduce) { .hero-sphere { animation: none; } }
.signal-card {
  position: absolute; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-soft); overflow: hidden;
}
.signal-card.main { inset: 8% 0 8% 8%; display: grid; grid-template-rows: auto 1fr auto auto; padding: 26px; }
.signal-card.float {
  width: 46%; right: -6%; bottom: 4%; padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; border: none; animation: floaty 5s var(--ease) infinite;
  will-change: transform;   /* own compositor layer → bob doesn't repaint siblings */
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.signal-meter { display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.signal-meter span { flex: 1; background: var(--primary-tint); border-radius: 6px 6px 3px 3px; align-self: flex-end; }
.signal-meter span:nth-child(1){ height: 32%; } .signal-meter span:nth-child(2){ height: 54%; }
.signal-meter span:nth-child(3){ height: 71%; background: var(--primary); }
.signal-meter span:nth-child(4){ height: 100%; background: var(--accent); }
.signal-card .row { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--ink-faint); }
.signal-card .big { font-family: var(--font-display); font-size: 2.2rem; color: var(--primary-deep); letter-spacing: .02em; }
.signal-card.float .big { color: #fff; }
.signal-card.float .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
/* legend ties the bar colours to meaning: blue = today's Wireless, orange = NEXT-GEN */
.signal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); }
.signal-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.signal-legend .lg::before { content: ''; width: 9px; height: 9px; border-radius: 3px; }
.signal-legend .lg-now::before { background: var(--primary); }
.signal-legend .lg-next::before { background: var(--accent); }
.signal-legend .lg-next { color: var(--accent-deep); }
.signal-cap { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-deep); }

/* ── Trust strip ─────────────────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(22px, 3.5vw, 38px); }
.trust-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r);
  box-shadow: var(--shadow-sm); font-weight: 600; font-size: .95rem;
}
.trust-item svg { width: 24px; height: 24px; color: var(--primary); flex: none; }

/* ── NEXT-GEN band (home, between hero & packages) ───────────────────────── */
.nextgen-section { padding-top: clamp(10px, 2vw, 22px); padding-bottom: clamp(10px, 2vw, 22px); }
.nextgen-band {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 36px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 4vw, 38px);
  border-radius: var(--r-lg); text-decoration: none; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1c30, #11304f 55%, #0a1f3a);
  border: 1px solid rgba(64, 196, 255, .22); box-shadow: 0 14px 44px rgba(6, 28, 56, .28);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.nextgen-band::before {   /* cyan glow bleeding from the corner */
  content: ''; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0, 212, 255, .22), transparent 70%); pointer-events: none;
}
.nextgen-band:hover { transform: translateY(-3px); box-shadow: 0 20px 56px rgba(6, 28, 56, .36); border-color: rgba(64, 196, 255, .45); }
.nextgen-logo { height: clamp(44px, 6vw, 62px); width: auto; flex: none; position: relative; filter: brightness(1.12); }
.nextgen-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nextgen-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9fe9ff;
  background: rgba(0, 212, 255, .12); border: 1px solid rgba(64, 196, 255, .3); padding: 4px 11px; border-radius: var(--r-pill);
}
.nextgen-badge svg { width: 13px; height: 13px; }
.nextgen-tag { color: #cfe2f4; font-size: .98rem; line-height: 1.5; max-width: 62ch; }
.nextgen-cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; color: #aef0ff; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.nextgen-cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.nextgen-band:hover .nextgen-cta svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .nextgen-band { flex-wrap: wrap; gap: 16px; }
  .nextgen-cta { margin-left: 0; }
}

/* ── Network section / cards ─────────────────────────────────────────────── */
.network { scroll-margin-top: 90px; }
/* panels are self-delimiting — plain spacing, no divider line */
.network + .network { margin-top: clamp(22px, 3vw, 38px); }
.network-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
/* brand colour + logo scale are data-driven: each .network carries
   --net-brand / --net-brand-light / --net-logo-h (set inline from packages.json)
   so any onboarded reseller network is themed automatically. */
.network-logo { height: var(--net-logo-h, 30px); width: auto; max-width: 210px; object-fit: contain; opacity: .95; }
:root[data-theme="dark"] .network-logo { filter: brightness(0) invert(1); opacity: .85; }

/* ── Home: network summary cards (one per network — sells the network, not a
      cheapest-price line-up; details live on /pakkette) ─────────────────── */
/* two-column grid of BIG network blocks; flex so the orphan row centers */
.net-summary-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.net-summary {
  flex: 1 1 420px; max-width: calc(50% - 10px);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.net-summary:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--net-brand, var(--primary)); }
/* head row: logo left, price (+ optional badge) top-right — ALWAYS one line:
   the price never shrinks, the logo gives way (object-fit keeps its aspect) */
.ns-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ns-price-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; flex: none; }
.ns-logo { height: calc(var(--net-logo-h, 30px) * 1.1); width: auto; max-width: 190px; min-width: 0; flex: 0 1 auto; object-fit: contain; object-position: left center; }
:root[data-theme="dark"] .ns-logo { filter: brightness(0) invert(1); opacity: .85; }
/* summary = the network's Inleiding — server-capped at ~180 chars; clamp is the backstop */
.ns-tag {
  color: var(--ink-soft); font-size: .96rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ns-price { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.ns-from { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.ns-amt { font-family: var(--font-display); font-size: clamp(1.6rem, 2.3vw, 2rem); color: var(--ink); letter-spacing: .01em; }
.ns-to { font-size: .85rem; color: var(--ink-faint); }
.ns-feats { display: flex; flex-direction: column; gap: 7px; font-size: .86rem; color: var(--ink-soft); }
.ns-feats li { display: flex; align-items: center; gap: 9px; }
.ns-feats svg { width: 15px; height: 15px; flex: none; color: var(--net-brand, var(--primary)); }
.ns-badge {
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 9px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent-deep);
}
.ns-cta { margin-top: auto; padding-top: 6px; align-self: flex-end; display: flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 650; font-size: .95rem; }
@media (max-width: 760px) { .net-summary { max-width: 100%; } }   /* 2-col → stack */
.ns-cta svg { transition: transform .25s var(--ease); }
.net-summary:hover .ns-cta svg { transform: translateX(4px); }
:root[data-theme="dark"] .ns-cta { color: #8fbdf0; }
.network-tag { color: var(--ink-faint); font-size: .9rem; font-weight: 500; }
.badge-placeholder {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-tint); padding: 5px 11px; border-radius: var(--r-pill);
}

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ── Slider: one network's packages in a single horizontal row ───────────── */
.slider { position: relative; }
.card-row {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  /* generous top pad so the "Gewildste" flag (top:-11px) + hover-lift aren't
     clipped by the overflow container; bottom pad leaves room for scrollbar */
  padding: 22px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-tint) transparent;
}
.card-row > .pkg { flex: 1 0 240px; scroll-snap-align: start; }   /* grow to fill if few; min 240 + scroll if many */
.card-row::-webkit-scrollbar { height: 8px; }
.card-row::-webkit-scrollbar-thumb { background: var(--primary-tint); border-radius: var(--r-pill); }
.card-row::-webkit-scrollbar-track { background: transparent; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  /* solid brand fill — a surface-coloured arrow disappears against the white card edges it floats over */
  background: var(--primary); color: #fff;
  border: 2px solid var(--surface); border-radius: var(--r-pill);
  box-shadow: 0 6px 20px rgba(17, 38, 70, .35); z-index: 6;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.slider-arrow:hover {
  background: var(--primary-600);
  box-shadow: 0 10px 26px rgba(17, 38, 70, .42); transform: translateY(-50%) scale(1.08);
}
/* sit just INSIDE the slider edge so the page/container padding can't clip them */
.slider-arrow.prev { left: 6px; }
.slider-arrow.prev svg { transform: scaleX(-1); }
.slider-arrow.next { right: 6px; }
.slider-arrow[hidden] { display: none; }
@media (max-width: 640px) { .slider-arrow { display: none; } }   /* touch users swipe */
@media (prefers-reduced-motion: reduce) { .card-row { scroll-behavior: auto; } }

/* package card */
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-tint); }
.pkg-name { font-family: var(--font-display); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; color: var(--net-brand, var(--primary)); }
:root[data-theme="dark"] .pkg:not(.featured) .pkg-name { color: var(--net-brand-light, var(--primary)); }
.pkg-price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 2px; }
.pkg-price .cur { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.pkg-price .amt { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.pkg-period { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.pkg-sep { height: 1px; background: var(--border); margin: 18px 0; }
.pkg-specs { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.spec { display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.spec svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
/* up/down speed rows carry the network's own brand colour (kept inside the card) */
.spec--net svg { color: var(--net-brand, var(--primary)); }
.spec b { font-weight: 700; }
.spec .muted { color: var(--ink-soft); }

.superspeed {
  margin-top: 14px; padding: 13px 15px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent-tint), color-mix(in srgb, var(--accent-tint) 40%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.superspeed .ss-label { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; }
.superspeed .ss-label svg { width: 14px; height: 14px; flex: none; }
.superspeed .ss-val { margin-top: 5px; font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.superspeed .ss-val small { color: var(--ink-soft); font-weight: 500; }
/* NEXT-GEN "up to" box — same shape as super-speed but cyan, framed as upside not bonus */

.pkg .btn { margin-top: 20px; width: 100%; }

/* featured */
.pkg.featured {
  background: linear-gradient(160deg, var(--primary-deep), var(--primary) 130%);
  border-color: transparent; color: #fff; box-shadow: var(--glow); transform: translateY(-4px);
}
.pkg.featured:hover { transform: translateY(-10px); }
/* dark mode: --primary-deep is a light text token there, so set the featured
   card's gradient explicitly to keep it a bold dark card with readable text */
:root[data-theme="dark"] .pkg.featured { background: linear-gradient(160deg, #1d4e85, #2f74bd 130%); }
.pkg.featured .pkg-name { color: #cfe2fb; }
.pkg.featured .pkg-price .cur, .pkg.featured .pkg-price .amt { color: #fff; }
.pkg.featured .pkg-period { color: #b9cfe9; }
.pkg.featured .pkg-sep { background: rgba(255,255,255,.18); }
.pkg.featured .spec svg { color: #9ecbff; }
.pkg.featured .spec .muted { color: #c4d6ec; }
.pkg.featured .btn-primary { background: #fff; color: var(--primary-deep); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.pkg.featured .btn-primary:hover { background: #eaf2fd; }
.pkg-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(224,120,86,.45);
}
.pkg.featured .superspeed { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.pkg.featured .superspeed .ss-label { color: #ffd9c9; }
.pkg.featured .superspeed .ss-val { color: #fff; }
.pkg.featured .superspeed .ss-val small { color: #d8c4bb; }

/* network logo stacked ABOVE the centered package name */
.pkg-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; margin-bottom: 4px;
}
.pkg-net-logo { height: 30px; width: auto; max-width: 100%; object-fit: contain; opacity: .82; }
:root[data-theme="dark"] .pkg-net-logo { filter: brightness(0) invert(1); opacity: .75; }
.pkg.featured .pkg-net-logo { filter: brightness(0) invert(1); opacity: .95; }
.pkg-head .pkg-name { margin: 0; }

/* big Datonet logo on Tuis (home), shrinks into the header on scroll */
/* .compact (not .scrolled) drives the shrink — it toggles with hysteresis in
   app.js so parking the scroll on the boundary can't jitter the height */
[data-page="home"] .site-header:not(.compact) .nav { height: 128px; }
[data-page="home"] .site-header:not(.compact) .brand .logo { width: 320px; }

/* network filter bar on /pakkette */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 4vw, 42px); }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--border);
  font-weight: 600; font-size: .9rem; color: var(--ink-soft); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s, background .2s, box-shadow .2s, transform .15s;
}
.filter-chip:hover { border-color: var(--primary-tint); color: var(--ink); transform: translateY(-1px); }
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 5px 16px rgba(37,99,180,.3); }
.filter-chip img { height: 24px; width: auto; max-width: 130px; object-fit: contain; } /* per-net height set inline */
.filter-chip span { font-size: .82rem; font-weight: 600; }
.filter-chip.is-all { font-weight: 700; padding-inline: 18px; }
.filter-chip.active img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .filter-chip img { filter: brightness(0) invert(1); }
.network[hidden] { display: none; }

.contract-note {
  margin-top: 22px; text-align: center; font-weight: 700; color: var(--primary-deep);
  background: var(--primary-tint); padding: 12px; border-radius: var(--r); font-size: .96rem;
}

/* EVERY network renders as one big wash panel (uniform; ss-explainer idiom):
   heading + intro up top, cards inside, fine-print notice at the bottom. */
.network--panel {
  background: var(--bg-wash); border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); padding: clamp(20px, 4vw, 42px);
}
.network--panel .card-row { padding-inline: 2px; }
/* the description gets its own lighter sub-panel inside the wash block —
   full panel width (Daniel), so no ragged gap on the right */
.network-intro {
  margin: 0 0 14px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--shadow-sm);
  color: var(--ink-soft); font-size: 1rem; line-height: 1.65;
}
/* markdown-lite inside the info block — brand-dot bullets, dash sub-bullets */
.network-intro p + p, .network-intro ul + p, .network-intro p + ul { margin-top: 10px; }
.network-intro ul { list-style: none; padding-left: .15em; display: block; }
.network-intro li { position: relative; padding-left: 1.35em; margin-top: 5px; }
.network-intro li::before {
  content: ''; position: absolute; left: 2px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--net-brand, var(--primary));
}
.network-intro li ul { margin-top: 2px; }
.network-intro li li { font-size: .95em; color: var(--ink-soft); }
.network-intro li li::before {
  width: 8px; height: 2px; border-radius: 1px; top: .72em;
  background: color-mix(in srgb, var(--net-brand, var(--primary)) 55%, var(--border));
}
.network-intro strong { color: var(--ink); }

/* Explainer-module classes — the hardcoded Super Spoed module is retired
   (2026-06-11); these stay as CONTENT VOCABULARY for admin HTML pasted into
   the Kennisgewing field (see docs/content-blocks.md). Don't delete. */
.network-ss { margin-top: clamp(20px, 3vw, 32px); }
.network-ss-head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 12px 0 6px; }
.network-ss-head p { color: var(--ink-soft); max-width: 64ch; margin-bottom: 16px; }
.network-notice {
  margin-top: 20px; max-width: 90ch; color: var(--ink-faint); font-size: .8rem; line-height: 1.55;
  display: flex; gap: 8px; opacity: .78;
}
.network-notice svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
/* Kennisgewing panel — per-network notice, rendered prominently in the old
   explainer slot; holds md_lite prose or trusted-admin HTML */
.network-notice-lg { margin-top: clamp(20px, 3vw, 32px); color: var(--ink-soft); line-height: 1.6; }
.network-notice-lg > p { max-width: 76ch; }
.network-notice-lg p + p { margin-top: 10px; }

/* homepage custom block (Title + Text, spawned from the front-admin) */
.custom-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.custom-block-text { color: var(--ink-soft); line-height: 1.6; max-width: 76ch; }
.custom-block-text p + p { margin-top: 12px; }

/* ── Meet the team ───────────────────────────────────────────────────────── */
.team-section { padding-top: clamp(20px, 3vw, 36px); }
/* flex (not grid) so an incomplete last row centers instead of left-filling */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 24px); margin-top: 10px; }
.team-member {
  flex: 0 1 170px; min-width: 150px;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; flex: none; }
.team-avatar--initial {
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; letter-spacing: .02em;
  color: #fff; background: linear-gradient(150deg, var(--primary), var(--primary-deep));
}
.team-name { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.team-role { font-size: .85rem; color: var(--primary); font-weight: 600; margin-top: 3px; }
:root[data-theme="dark"] .team-role { color: #8fbdf0; }
.team-desc { font-size: .86rem; color: var(--ink-soft); margin-top: 9px; line-height: 1.5; max-width: 26ch; }

/* placeholder networks: dim slightly */
.network.is-placeholder .pkg { opacity: .94; }

/* ── Super Speed explainer ───────────────────────────────────────────────── */
.ss-explainer { background: var(--bg-wash); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); }
.ss-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.ss-tier { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.ss-tier-time { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); letter-spacing: .02em; }
.ss-tier-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.ss-tier ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.ss-tier li { display: flex; gap: 11px; font-size: .95rem; color: var(--ink-soft); }
.ss-tier li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.ss-disclaimer { margin-top: 22px; font-size: .86rem; color: var(--ink-faint); display: flex; gap: 9px; }
.ss-disclaimer svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }

/* ── /kontak: department blocks (reuse .dept hours/lines vocabulary) ─────── */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 30px; }
.dept-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.dept-card .dept-desc { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; margin: -6px 0 16px; }
.dept-card .hours { padding: 12px 14px; background: var(--bg-wash); border-radius: var(--r-sm); }
.dept-card .lines { margin-top: auto; }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy p + p { margin-top: 18px; color: var(--ink-soft); }
.about-copy p:first-of-type { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.about-card { background: linear-gradient(160deg, var(--primary-deep), var(--primary)); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.about-stat { display: flex; flex-direction: column; }
.about-stat + .about-stat { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.about-stat .n { font-family: var(--font-display); font-size: 2.2rem; }
.about-stat .l { color: #c2d6ed; font-size: .95rem; }

/* ── Contact / footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: clamp(56px, 8vw, 96px); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(44px, 6vw, 68px); }
.footer-brand .logo { width: 150px; color: var(--logo); margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); font-size: .96rem; max-width: 34ch; }
.footer-brand .loc { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-soft); font-size: .92rem; }
.footer-brand .loc svg { width: 17px; height: 17px; color: var(--primary); }

.dept h4 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.dept .hours { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: .9rem; }
.dept .hours .h { display: flex; justify-content: space-between; gap: 16px; }
.dept .hours .h .d { color: var(--ink-faint); }
.dept .hours .h .t { font-weight: 600; }
.dept .hours .h .t.closed { color: var(--accent-deep); }
.dept .lines { display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.dept .lines a { display: flex; align-items: center; gap: 10px; color: var(--ink); transition: color .2s; }
.dept .lines a:hover { color: var(--primary); }
.dept .lines svg { width: 16px; height: 16px; color: var(--ink-faint); flex: none; }
.dept .lines .na { color: var(--ink-faint); font-style: italic; display: flex; align-items: center; gap: 10px; }

.footer-bottom { border-top: 1px solid var(--border); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-faint); font-size: .86rem; }

/* ── Page hero (sub-pages) ───────────────────────────────────────────────── */
.page-hero { padding-block: clamp(28px, 4vw, 50px) clamp(16px, 2.5vw, 26px); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; max-width: 56ch; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.err { text-align: center; padding-block: clamp(60px, 12vw, 140px); }
.err .code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 9rem); color: var(--primary); line-height: 1; }
.err p { color: var(--ink-soft); margin: 12px 0 28px; }

/* ── Reveal ──────────────────────────────────────────────────────────────── */
/* Scroll-gated reveal RETIRED (2026-06-10): content below the fold stayed
   invisible until a scroll event, which read as "missing content" in demos.
   .reveal/.in classes remain in markup but are inert — everything paints. */
@media (prefers-reduced-motion: reduce) {
  .signal-card.float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; order: -1; aspect-ratio: 4/3; }
  .about-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .ss-tiers { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links, .nav-desktop-only { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 14px; gap: 4px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); }
  .trust { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-art { display: none; }       /* decorative only — drop on narrow screens */
  .hero h1 { font-size: clamp(1.95rem, 9vw, 2.6rem); }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ── About page prose (sections + bullets) ───────────────────────────────── */
.about-prose { max-width: 760px; }
.about-section { margin-bottom: clamp(30px, 5vw, 46px); }
.about-section h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em; }
.about-section p { margin-bottom: 14px; color: var(--ink-soft); }
.about-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.about-bullets li { display: flex; gap: 11px; color: var(--ink-soft); }
.about-bullets li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.about-footnote { font-weight: 600; color: var(--ink); margin-top: 4px; }
