/* Precious Broadband — Signal Blue
   Modern navy + electric blue, gradient highlights, generous type & spacing.
*/

:root {
  --c-primary: #0A1F44;        /* deep navy */
  --c-primary-700: #061434;
  --c-primary-900: #030B1E;
  --c-accent: #2563EB;         /* electric blue */
  --c-accent-600: #1D4ED8;
  --c-accent-400: #3B82F6;
  --c-cyan: #06B6D4;           /* used in gradients */
  --c-bg: #FFFFFF;
  --c-surface: #F8FAFC;        /* cool off-white */
  --c-muted: #EEF4FF;
  --c-muted-2: #DCE6F8;
  --c-border: #E2E8F0;
  --c-border-strong: #CBD5E1;
  --c-text: #0F172A;
  --c-text-muted: #475569;
  --c-danger: #DC2626;
  --c-warn: #D97706;
  --c-success: #059669;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 8px 24px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 60px rgba(10,31,68,.12), 0 6px 18px rgba(10,31,68,.06);
  --shadow-glow: 0 18px 50px -12px rgba(37,99,235,.45);

  --maxw: 1200px;
  --t: cubic-bezier(.4,.2,.2,1);

  --grad-text: linear-gradient(120deg, #2563EB 0%, #06B6D4 50%, #3B82F6 100%);
  --grad-brand: linear-gradient(135deg, #0A1F44 0%, #2563EB 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, ui-sans-serif, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--c-accent); text-decoration: none; transition: color .15s var(--t); }
a:hover { color: var(--c-accent-600); }

h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; color: var(--c-primary); font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; }
.muted { color: var(--c-text-muted); }
.small { font-size: .875rem; }
.lede  { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--c-text-muted); max-width: 60ch; line-height: 1.55; }
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-muted);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
  border: 1px solid var(--c-muted-2);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-muted { background: var(--c-surface); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lede { margin: 0 auto; }

.skip {
  position: absolute; left: -1000px; top: 0;
  background: var(--c-primary); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s var(--t), background .15s var(--t), color .15s var(--t), border-color .15s var(--t), box-shadow .15s var(--t);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-accent { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn-accent:hover { background: var(--c-accent-600); color: #fff; box-shadow: 0 22px 60px -10px rgba(29,78,216,.55); }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-700); color: #fff; }

.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn-outline:hover { background: var(--c-muted); border-color: var(--c-accent); color: var(--c-accent); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-ghost { background: transparent; color: var(--c-text); border-color: transparent; }
.btn-ghost:hover { background: var(--c-muted); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-primary); }
.brand:hover { color: var(--c-primary); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-brand);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  box-shadow: 0 6px 18px -6px rgba(37,99,235,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
/* Full-lockup logo — uses background-image with zoom-in so the
   whitespace baked into the source PNG is cropped visually. */
.brand-logo {
  display: inline-block;
  /* 3:2 aspect (matches the source PNG) so nothing is clipped. */
  width: 180px; height: 60px;
  background-image: url('../img/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* Icon-only mark used in dark footer */
.brand-mark-img {
  display: inline-block;
  width: 54px; height: 36px;
  background-image: url('../img/favicon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.brand-on-dark .brand-name { color: #fff; }
.brand-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.brand-name strong { font-weight: 800; }
.pill { display: inline-block; font-size: .68rem; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-muted); color: var(--c-accent); margin-left: 8px; vertical-align: middle; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pill-admin { background: #FEF3C7; color: #92400E; }

.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a {
  color: var(--c-text); text-decoration: none; font-weight: 500; font-size: .92rem;
  position: relative; padding: 6px 0;
  transition: color .15s var(--t);
}
.site-nav a:hover { color: var(--c-accent); }
.site-nav a.active { color: var(--c-accent); font-weight: 600; }
.site-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--c-accent); border-radius: 2px;
}
.site-nav .btn { font-size: .85rem; padding: 10px 18px; }
.site-nav a.btn-accent, .site-nav a.btn-accent:hover { color: #fff; }
.site-nav .btn::after, .site-nav .nav-portal::after { content: none !important; }
.nav-portal { color: var(--c-text-muted) !important; border-left: 1px solid var(--c-border); padding-left: 26px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-primary); margin: 5px 0; transition: transform .2s var(--t), opacity .2s var(--t); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    flex-direction: column; gap: 0; align-items: stretch;
    padding: 8px 24px 24px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--c-muted); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-portal { border-left: none; padding-left: 0; }
}

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-bg);
  padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 11vw, 160px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 380px at 85% 20%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(600px 320px at 10% 90%, rgba(6,182,212,.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, #000 35%, transparent 75%);
  pointer-events: none;
  opacity: .7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin-top: 12px; }
.hero .lede { margin-bottom: 32px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  font-size: .8rem; padding: 7px 14px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text-muted); border-radius: var(--r-pill); font-weight: 500;
}

.hero-card {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--c-text-muted); margin-bottom: 16px; font-weight: 500; }
.hero-card-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(37,99,235,.6); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.5);} 70% { box-shadow: 0 0 0 12px rgba(37,99,235,0);} 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0);} }
.speed-mini { display: grid; gap: 14px; }
.speed-mini-value { display: flex; align-items: baseline; gap: 10px; }
.speed-mini-value .num {
  font-size: clamp(2.8rem, 7vw, 4.2rem); font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em; line-height: 1;
}
.speed-mini-value .unit { font-size: 1rem; color: var(--c-text-muted); font-weight: 600; }
.speed-mini-meta { color: var(--c-text-muted); font-size: .9rem; min-height: 22px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Strip / value props ---- */
.strip { background: var(--c-primary); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 320px at 50% 0%, rgba(37,99,235,.35), transparent 65%);
  pointer-events: none;
}
.strip .wrap { position: relative; z-index: 1; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.strip h3 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; }
.strip p { margin: 0; color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 880px) { .strip-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px 28px;
  position: relative; transition: transform .2s var(--t), box-shadow .2s var(--t), border-color .2s var(--t);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-muted-2); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--c-muted); color: var(--c-accent);
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---- Plan cards ---- */
.plan-grid { display: grid; grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; gap: 24px; }
@media (min-width: 720px) { .plan-grid.multi { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: none; } }
.plan-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 36px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card-feature {
  position: relative;
  border: 1px solid var(--c-muted-2);
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  box-shadow: var(--shadow-lg);
}
.plan-card-feature::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: var(--r-lg);
  background: var(--grad-text);
  opacity: 0; transition: opacity .25s var(--t);
}
.plan-card-feature:hover::before { opacity: 1; }
.plan-card header h2, .plan-card header h3 { margin: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .price { font-size: 3rem; font-weight: 800; color: var(--c-primary); letter-spacing: -0.04em; line-height: 1; }
.plan-price .per { color: var(--c-text-muted); font-weight: 500; }
.plan-setup { margin: -6px 0 0; color: var(--c-text-muted); font-size: .9rem; }
.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-features li {
  position: relative; padding-left: 30px; color: var(--c-text); font-size: .95rem;
}
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-muted); display: inline-block;
}
.plan-features li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 10px; height: 5px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}
.plan-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Why grid ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; transition: transform .2s var(--t), box-shadow .2s var(--t), border-color .2s var(--t); }
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-muted-2); }
.why-card h3 { margin-bottom: 6px; }
.why-card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { text-align: left; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 18px 22px; transition: border-color .15s var(--t), box-shadow .15s var(--t);
}
.faq details[open], .faq details:hover { border-color: var(--c-muted-2); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--c-primary); list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--c-accent); transition: transform .25s var(--t); font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--grad-brand); color: #fff; padding: 64px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 320px at 80% 50%, rgba(6,182,212,.3), transparent 60%);
  pointer-events: none;
}
.cta-banner .wrap { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-banner p { margin: 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---- Page heads ---- */
.page-head {
  background: var(--c-surface); padding: clamp(64px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 95% 0%, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head .lede { margin: 0; }

/* ---- Coverage / speed test page ---- */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 880px) { .coverage-grid { grid-template-columns: 1fr; } }
.tool-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--t); }
.tool-card:hover { box-shadow: var(--shadow-md); }
.tool-card header { margin-bottom: 22px; }
.tool-card header h2 { margin: 0 0 6px; }
.speed-display { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin: 18px 0; }
.speed-readout { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 16px; text-align: center; }
.readout-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 6px; font-weight: 600; }
.readout-value {
  font-size: 1.65rem; font-weight: 800; color: var(--c-primary); letter-spacing: -0.025em;
}
.readout-value .unit { font-size: .8rem; color: var(--c-text-muted); font-weight: 500; margin-left: 4px; }
.speed-progress { height: 6px; background: var(--c-muted); border-radius: var(--r-pill); overflow: hidden; margin: 18px 0; }
.speed-progress .bar { height: 100%; width: 0; background: var(--grad-text); transition: width .25s var(--t); }
.speed-state { color: var(--c-text-muted); margin: 0 0 16px; font-size: .9rem; min-height: 22px; }

.coverage-form { display: grid; gap: 14px; margin-top: 14px; }
.coverage-result {
  margin-top: 20px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-surface);
}
.coverage-result.ok { border-color: #BFDBFE; background: #EFF6FF; }
.coverage-result.unknown { border-color: #FDE68A; background: #FFFBEB; }
.coverage-result.unavail { border-color: #FCA5A5; background: #FEF2F2; }
.coverage-result h3 { margin: 0 0 8px; }
.coverage-speeds { display: flex; gap: 14px; margin: 10px 0; }
.coverage-speeds div { background: #fff; border-radius: var(--r-md); padding: 10px 16px; border: 1px solid var(--c-border); }
.coverage-speeds strong { font-size: 1.5rem; color: var(--c-primary); display: block; font-weight: 800; letter-spacing: -0.02em; }

.notes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.notes-grid h3 { margin-bottom: 6px; }
.notes-grid p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 880px) { .notes-grid { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: .88rem; color: var(--c-primary); }
.form-grid input, .form-grid textarea, .form-grid select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff;
  color: var(--c-text); transition: border-color .15s var(--t), box-shadow .15s var(--t);
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.form-grid input[disabled] { background: var(--c-surface); color: var(--c-text-muted); }
.form-grid label.check { flex-direction: row; align-items: center; gap: 10px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.search-form { display: flex; gap: 10px; margin: 0 0 22px; }
.search-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--r-md); }

/* ---- Alerts ---- */
.alert { padding: 16px 20px; border-radius: var(--r-md); margin-bottom: 20px; border: 1px solid var(--c-border); }
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-error   { background: #FEF2F2; border-color: #FCA5A5; color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert ul { margin: 6px 0 0 18px; padding: 0; }

/* ---- Tables ---- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.data-table th { background: var(--c-surface); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--c-surface); }

.status { display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; text-transform: capitalize; letter-spacing: .01em; }
.status-active, .status-open, .status-available { background: #DBEAFE; color: #1E40AF; }
.status-suspended, .status-awaiting_customer, .status-planned { background: #FEF3C7; color: #92400E; }
.status-closed, .status-cancelled, .status-unavailable { background: #F1F5F9; color: #475569; }

/* ---- Footer ---- */
.site-footer { background: var(--c-primary-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; margin-top: 80px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 380px at 80% 0%, rgba(37,99,235,.22), transparent 60%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.55); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .92rem; transition: color .15s var(--t); }
.link-list a:hover { color: var(--c-accent-400); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  background: var(--c-primary-900); color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
/* HTML5 [hidden] attribute beaten by display:flex above — restore. */
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: .9rem; color: rgba(255,255,255,.85); }
.cookie-banner a { color: var(--c-accent-400); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-banner .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---- Modal ---- */
.modal { width: min(560px, 95vw); padding: 0; border: none; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(3,11,30,.55); backdrop-filter: blur(4px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--c-border); }
.modal-head h2 { margin: 0; font-size: 1.25rem; }
.modal-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--c-text-muted); }
.modal-body { padding: 22px 26px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--c-border); }

/* =============================================================
   OUR JOURNEY — story-style page
   ============================================================= */
.story-mark { width: 280px; opacity: .95; }

.story-section { padding: clamp(80px, 11vw, 130px) 0; }
.story-section + .story-section { border-top: 1px solid var(--c-border); }
.story-section-alt { background: var(--c-surface); }
.story-section-alt + .story-section { border-top: none; }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; max-width: 1080px; margin: 0 auto;
}
.story-copy .story-chapter {
  display: inline-block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 6px; border-bottom: 2px solid var(--c-accent);
}
.story-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05;
  letter-spacing: -0.035em; margin: 0 0 22px;
}
.story-copy p {
  font-size: 1.05rem; line-height: 1.65; color: var(--c-text);
  margin: 0 0 1em; max-width: 50ch;
}

.story-visual { display: flex; justify-content: center; align-items: center; }
.story-illus { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.story-illus-caption {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-text-muted); font-weight: 600; margin: 0;
}

/* "Broken" signal illustration — Chapter 1 */
.story-illus-broken { padding: 30px; }
.story-illus-broken .signal-illus { height: 140px; }
.signal-illus .signal-bar.dim { opacity: .4; filter: grayscale(.4); animation: none; }
.signal-illus .signal-bar.very-dim { opacity: .15; background: #94a3b8; box-shadow: none; filter: grayscale(1); animation: none; }

/* "Now" signal illustration — Chapter 4 (full strength, animated by base) */
.story-illus-now { padding: 30px; }
.story-illus-now .signal-illus { height: 160px; }

/* Speech bubble illustration — Chapter 2 */
.story-illus-bubbles {
  position: relative; width: 100%; max-width: 380px; min-height: 320px;
}
.story-illus-bubbles .bubble {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 18px; padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  font-size: .98rem; color: var(--c-primary); font-weight: 500;
  margin-bottom: 14px; width: fit-content; max-width: 100%;
  transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.story-illus-bubbles .bubble:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.story-illus-bubbles .bubble:nth-child(1) { margin-left: 0;    border-bottom-left-radius: 4px; }
.story-illus-bubbles .bubble:nth-child(2) { margin-left: 64px; border-bottom-right-radius: 4px; }
.story-illus-bubbles .bubble:nth-child(3) { margin-left: 12px; border-bottom-left-radius: 4px; }
.story-illus-bubbles .bubble:nth-child(4) {
  margin-left: 80px; border-bottom-right-radius: 4px;
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
  box-shadow: 0 12px 28px -10px rgba(37,99,235,.5);
}

/* Vs illustration — Chapter 3 */
.story-illus-vs { display: flex; align-items: center; gap: 18px; }
.vs-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 22px 18px; text-align: center; min-width: 140px;
  box-shadow: var(--shadow-sm);
}
.vs-card .vs-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }
.vs-card .vs-label { font-weight: 700; color: var(--c-primary); margin-bottom: 4px; font-size: .95rem; }
.vs-card .vs-sub { font-size: .82rem; color: var(--c-text-muted); }
.vs-card-bad { opacity: .6; transform: rotate(-2deg); filter: grayscale(.4); }
.vs-card-good {
  border-color: var(--c-muted-2); transform: rotate(2deg);
  background: linear-gradient(180deg, #fff 0%, #EFF6FF 100%);
  box-shadow: var(--shadow-md);
}
.vs-divider {
  font-weight: 800; color: var(--c-text-muted);
  font-size: .85rem; text-transform: uppercase; letter-spacing: .14em;
}

/* Pull quote band */
.pull-quote-band {
  background: var(--c-primary); color: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.pull-quote-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 320px at 50% 50%, rgba(37,99,235,.3), transparent 65%);
  pointer-events: none;
}
.pull-quote {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto; padding: 0 24px; text-align: center;
}
.pull-quote .quote-mark {
  display: block; font-size: 5rem; line-height: .6; color: var(--c-accent-400);
  margin-bottom: 8px; font-family: Georgia, serif;
}
.pull-quote p {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 18px; color: #fff;
}
.pull-quote footer { font-size: .9rem; color: rgba(255,255,255,.65); font-style: italic; }

/* Sign-off CTA band */
.signoff-band {
  background: var(--grad-brand); color: #fff;
  padding: clamp(72px, 9vw, 110px) 0;
  position: relative; overflow: hidden;
}
.signoff-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 380px at 80% 50%, rgba(6,182,212,.28), transparent 60%);
  pointer-events: none;
}
.signoff-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.signoff-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 14px 0 14px; }
.signoff-band .lede { color: rgba(255,255,255,.78); margin: 0 auto 28px; max-width: 50ch; }
.signoff-band .cta-row { justify-content: center; }

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; grid-template-areas: "v" "c"; }
  .story-visual { grid-area: v; }
  .story-copy { grid-area: c; }
  .story-illus-bubbles { min-height: auto; }
}

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.about-grid .bullet { padding-left: 18px; }
.about-grid .bullet li { margin-bottom: 8px; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px;
  position: sticky; top: 96px; box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-top: 0; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.bullet { list-style: disc; padding-left: 20px; margin: 0 0 16px; }

/* ---- Prose pages (legal — legacy, used by older content if any) ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 40px 0 12px; font-size: 1.4rem; }
.prose code { background: var(--c-muted); padding: 2px 8px; border-radius: 6px; font-size: .9em; color: var(--c-accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* =============================================================
   LEGAL PAGES — Terms / Privacy / Cookies / Router policy
   ============================================================= */
.legal-meta { margin-top: 18px; color: rgba(255,255,255,.65); font-size: .85rem; }

/* Plain-English summary band, sits between hero and content */
.legal-summary-band { background: var(--c-surface); padding: 28px 0; border-bottom: 1px solid var(--c-border); }
.legal-summary-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
  border: 1px solid var(--c-muted-2); border-radius: var(--r-lg);
  padding: 24px 28px; box-shadow: var(--shadow-sm);
  max-width: 980px; margin: 0 auto;
}
.legal-summary-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.legal-summary-icon svg { width: 24px; height: 24px; }
.legal-summary-card h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-text-muted); margin: 4px 0 8px; font-weight: 700; }
.legal-summary-card p { margin: 0; color: var(--c-text); line-height: 1.55; }
.legal-summary-card strong { color: var(--c-primary); }

/* TOC sidebar + content split */
.section-legal { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.legal-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 56px;
  max-width: 1080px; margin: 0 auto; align-items: start;
}
@media (max-width: 880px) { .legal-grid { grid-template-columns: 1fr; gap: 32px; } }

.legal-toc {
  position: sticky; top: 96px;
  background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 22px;
}
.legal-toc-head {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); font-weight: 700; margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none; padding: 0; margin: 0; counter-reset: legal-toc;
  display: grid; gap: 6px;
}
.legal-toc ol li { font-size: .9rem; line-height: 1.4; }
.legal-toc ol a {
  display: block; padding: 6px 10px; border-radius: 6px;
  color: var(--c-text); text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .15s var(--t), color .15s var(--t), border-color .15s var(--t);
}
.legal-toc ol a:hover {
  background: #fff; color: var(--c-accent); border-left-color: var(--c-accent);
}
.legal-toc-foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--c-border); }
@media (max-width: 880px) {
  .legal-toc { position: static; top: auto; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; gap: 4px; }
}

/* Article content */
.legal-content { font-size: 1rem; line-height: 1.7; color: var(--c-text); max-width: 720px; }
.legal-content h2 {
  font-size: 1.4rem; margin: 44px 0 14px; padding-top: 6px;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;  /* account for sticky header when anchor-jumping */
}
.legal-content h2:first-of-type { margin-top: 8px; }
.legal-content p { margin: 0 0 1em; }
.legal-content a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-content a:hover { text-decoration-thickness: 2px; }
.legal-content code {
  background: var(--c-muted); padding: 2px 8px; border-radius: 5px;
  font-size: .9em; color: var(--c-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-callout {
  background: var(--c-muted); border-left: 3px solid var(--c-accent);
  padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .95rem; color: var(--c-primary); margin: 0 0 28px;
}

.legal-list {
  list-style: none; padding: 0; margin: 12px 0 1em;
  display: grid; gap: 10px;
}
.legal-list li {
  position: relative; padding-left: 26px;
}
.legal-list li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent);
}
ol.legal-list { counter-reset: ll; }
ol.legal-list li { padding-left: 32px; }
ol.legal-list li::before {
  counter-increment: ll;
  content: counter(ll);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-muted); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; top: 4px; left: 0;
}

.legal-table {
  width: 100%; border-collapse: collapse; margin: 14px 0 22px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; font-size: .92rem;
}
.legal-table th, .legal-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.legal-table th {
  background: var(--c-surface); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-text-muted); font-weight: 700;
}
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: none; }

/* Bottom CTA band */
.legal-cta-band {
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  padding: clamp(40px, 5vw, 60px) 0;
}
.legal-cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto;
}
.legal-cta-inner h2 { font-size: 1.4rem; margin: 0 0 6px; }
.legal-cta-inner p { margin: 0; max-width: 50ch; }

/* ---- Included grid (plans page) ---- */
.incl-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.incl { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 26px; transition: transform .2s var(--t), box-shadow .2s var(--t); }
.incl:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.incl h3 { margin-bottom: 6px; }
.incl p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 880px) { .incl-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Portal & Admin layouts ---- */
.layout-portal, .layout-admin { background: var(--c-surface); min-height: 100vh; display: flex; flex-direction: column; }
.portal-header, .admin-header { background: #fff; border-bottom: 1px solid var(--c-border); }
.portal-header .wrap, .admin-header .wrap { display: flex; align-items: center; padding: 18px 28px; gap: 28px; }
.portal-nav, .admin-nav { display: flex; gap: 22px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.portal-nav a, .admin-nav a { color: var(--c-text); text-decoration: none; font-weight: 500; font-size: .92rem; transition: color .15s var(--t); }
.portal-nav a:hover, .admin-nav a:hover { color: var(--c-accent); }
.portal-nav .logout { color: var(--c-text-muted); }
.admin-nav .who { color: var(--c-text-muted); font-size: .85rem; margin-left: 12px; }

.portal-main, .admin-main { padding: 40px 0 72px; flex: 1; }
.portal-footer, .admin-footer { padding: 18px 0; border-top: 1px solid var(--c-border); background: #fff; color: var(--c-text-muted); font-size: .85rem; }
.portal-footer .wrap, .admin-footer .wrap { display: flex; justify-content: space-between; }

.auth-card {
  max-width: 440px; margin: 80px auto;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }

.portal-greeting { margin-bottom: 28px; }
.portal-greeting.between { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.dash-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.dash-card h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-text-muted); margin: 0 0 10px; font-weight: 600; }
.dash-card .big { font-size: 1.8rem; font-weight: 800; color: var(--c-primary); margin: 0 0 4px; letter-spacing: -0.025em; }
.dash-card-feature { background: linear-gradient(135deg, #fff 0%, #f0f6ff 100%); border-color: var(--c-muted-2); }
@media (max-width: 880px) { .dash-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 0; }
.kv dt { color: var(--c-text-muted); font-size: .85rem; }
.kv dd { margin: 0; font-weight: 500; }
.dash-section { background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--c-border); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.gdpr-note { padding: 12px 0; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .profile-grid { grid-template-columns: 1fr; } }
.card-form { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card-form h2 { font-size: 1.05rem; margin-top: 0; }

.empty-card { background: #fff; border: 1px dashed var(--c-border-strong); border-radius: var(--r-lg); padding: 44px; text-align: center; }
.back-link { font-size: .85rem; }
.back-link a { color: var(--c-text-muted); text-decoration: none; }
.back-link a:hover { color: var(--c-accent); }

.thread { display: grid; gap: 14px; margin-bottom: 22px; }
.msg { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 18px 22px; }
.msg-admin { background: #EFF6FF; border-color: #BFDBFE; }
.msg header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: .85rem; color: var(--c-text-muted); }
.msg-body { white-space: pre-wrap; }

/* ---- Admin specifics ---- */
.admin-page-head { margin-bottom: 28px; }
.admin-page-head.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 32px; }
.stat {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--c-text);
  transition: transform .2s var(--t), box-shadow .2s var(--t), border-color .2s var(--t);
  box-shadow: var(--shadow-sm);
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c-muted-2); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--c-primary); line-height: 1; letter-spacing: -0.03em; }
.stat-label { color: var(--c-text-muted); font-size: .85rem; font-weight: 500; }
@media (max-width: 980px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
@media (max-width: 980px) { .admin-split { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); margin: 0 0 22px; }
.tabs a {
  padding: 10px 18px; text-decoration: none; color: var(--c-text-muted); font-weight: 500; font-size: .9rem;
  border-bottom: 2px solid transparent;
  transition: color .15s var(--t), border-color .15s var(--t);
}
.tabs a.active, .tabs a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px; background: var(--c-muted); border-radius: var(--r-md); margin: 18px 0; }
.creds code { font-size: 1.1rem; }

button.link-danger, button.link-success, button.link-muted {
  background: none; border: 0; cursor: pointer; padding: 0; font: inherit; text-decoration: underline;
}
button.link-danger { color: var(--c-danger); }
button.link-success { color: var(--c-success); }
button.link-muted { color: var(--c-text-muted); }

/* =============================================================
   HOMEPAGE — photo-style hero, floating feature strip,
   pricing block, easy-setup steps, why-choose icon grid.
   ============================================================= */

/* ---- Photo-style hero ---- */
.hero.hero-photo {
  padding: 0;
  position: relative;
  background: var(--c-primary-900);
  overflow: hidden;
}
.hero.hero-photo::before, .hero.hero-photo::after { content: none; }
.hero-photo-bg {
  position: absolute; inset: 0;
  background:
    /* ambient color blobs to fake "room behind router" */
    radial-gradient(900px 460px at 78% 35%, rgba(125,180,255,.16), transparent 60%),
    radial-gradient(560px 380px at 95% 80%, rgba(34,140,180,.18), transparent 65%),
    linear-gradient(120deg, #061434 0%, #0A1F44 45%, #0F2A5C 100%);
}
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 30%, transparent 80%);
  opacity: .9;
}
.hero-photo-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,11,30,.85) 0%, rgba(3,11,30,.65) 35%, rgba(3,11,30,.2) 65%, rgba(3,11,30,0) 100%);
}

.hero-photo-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 11vw, 140px);
}

.hero-photo-copy h1 {
  color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04;
  letter-spacing: -0.04em; margin-bottom: 18px;
}
.hero-photo-copy h1 .hl { color: var(--c-accent-400); }
.lede.lede-on-dark { color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 52ch; }

.hero-features { list-style: none; padding: 0; margin: 0 0 32px; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-features li {
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.hero-features li svg { width: 28px; height: 28px; color: var(--c-accent-400); flex-shrink: 0; }
.hero-features li > div { display: flex; flex-direction: column; line-height: 1.25; }
.hero-features li strong { font-weight: 700; font-size: .95rem; }
.hero-features li span { color: rgba(255,255,255,.7); font-size: .85rem; }

.hero-photo-copy .cta-row .btn svg { width: 18px; height: 18px; }
.hero-photo-copy .btn-outline-light svg { color: var(--c-accent-400); }

/* ---- Hero side: router + circular price badge ---- */
.hero-photo-side {
  position: relative; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.hero-router {
  width: min(420px, 90%);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
}
.hero-router .router-svg { width: 100%; height: auto; }

.price-badge {
  position: absolute; top: 8px; right: -8px;
  width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3B82F6 0%, #1D4ED8 60%, #1E40AF 100%);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px -12px rgba(37,99,235,.7), inset 0 1px 0 rgba(255,255,255,.25);
  text-align: center; padding: 14px;
  border: 3px solid rgba(255,255,255,.95);
}
.price-badge .badge-eyebrow { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.price-badge .badge-price { font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin: 4px 0 0; }
.price-badge .badge-per { font-size: .8rem; opacity: .9; margin-bottom: 8px; }
.price-badge .badge-foot { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; line-height: 1.2; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.35); }

@media (max-width: 980px) {
  .hero-photo-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-features { gap: 24px; }
  .price-badge { right: 0; top: -10px; width: 140px; height: 140px; }
  .price-badge .badge-price { font-size: 2.2rem; }
}

/* ---- Floating feature strip overlapping the hero ---- */
.feature-strip-wrap { margin-top: clamp(-72px, -7vw, -56px); position: relative; z-index: 2; }
.feature-strip {
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 8px;
}
.feature-strip-item {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid var(--c-border);
}
.feature-strip-item:last-child { border-right: none; }
.fs-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--c-muted); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fs-icon svg { width: 28px; height: 28px; }
.feature-strip-item h3 { margin: 0 0 2px; font-size: 1rem; }
.feature-strip-item p { margin: 0; color: var(--c-text-muted); font-size: .85rem; line-height: 1.4; }

@media (max-width: 980px) {
  .feature-strip { grid-template-columns: 1fr 1fr; padding: 0; }
  .feature-strip-item { border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
  .feature-strip-item:nth-child(2n) { border-right: none; }
  .feature-strip-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; }
}

/* ---- Pricing 3-col block ---- */
.eyebrow.eyebrow-tight { font-size: .68rem; padding: 5px 12px; margin-bottom: 14px; }
.section-pricing { padding-top: clamp(72px, 8vw, 100px); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 32px; align-items: stretch; }
.pricing-copy h2 { margin: 0 0 16px; }
.pricing-copy .muted { margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding-left: 36px; font-weight: 500; color: var(--c-text);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--c-muted);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 10px; height: 5px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

.pricing-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 36px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
  text-align: center;
}
.pricing-card-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.pricing-card-price .big { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; color: var(--c-primary); letter-spacing: -0.04em; line-height: 1; }
.pricing-card-price .per { color: var(--c-text-muted); font-weight: 500; font-size: 1.1rem; }
.pricing-card-sub { margin: 0; color: var(--c-text); font-weight: 600; padding-bottom: 16px; border-bottom: 1px dashed var(--c-border); }
.pricing-card-row { padding: 8px 0; color: var(--c-text); font-weight: 500; }
.pricing-card-note {
  display: flex; align-items: flex-start; gap: 8px; text-align: left;
  background: var(--c-muted); padding: 12px 14px; border-radius: var(--r-md);
  color: var(--c-text-muted); font-size: .85rem; margin: 0;
}
.pricing-card-note svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn svg { width: 18px; height: 18px; }

.pricing-aside {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid var(--c-muted-2); border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.pa-head { display: flex; align-items: flex-start; gap: 14px; }
.pa-head h3 { margin: 0 0 2px; font-size: 1.05rem; }
.pa-head p { margin: 0; color: var(--c-text-muted); font-size: .9rem; }
.pa-router {
  background: rgba(255,255,255,.6);
  border-radius: var(--r-md);
  padding: 18px; flex: 1;
  display: flex; align-items: center; justify-content: center;
}
.pa-router .router-svg { width: 100%; max-width: 240px; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- 3-step section with light blue background ---- */
.section-steps-bg {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFF 100%);
  border-top: 1px solid var(--c-muted-2);
  border-bottom: 1px solid var(--c-muted-2);
}
.steps-line {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  position: relative;
}
.steps-line::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 56px;
  border-top: 2px dashed var(--c-muted-2);
  z-index: 0;
}
.step-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 28px;
  display: flex; align-items: flex-start; gap: 18px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(37,99,235,.5);
}
.step-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-muted); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-card-icon svg { width: 30px; height: 30px; }
.step-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--c-text-muted); font-size: .9rem; }

@media (max-width: 880px) {
  .steps-line { grid-template-columns: 1fr; }
  .steps-line::before { display: none; }
}

/* ---- Why choose icon grid ---- */
.why-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-icon-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 32px 24px; text-align: center;
  transition: transform .2s var(--t), box-shadow .2s var(--t), border-color .2s var(--t);
}
.why-icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-muted-2); }
.wic-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-muted); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.wic-icon svg { width: 30px; height: 30px; }
.why-icon-card h3 { margin: 0 0 8px; }
.why-icon-card p { margin: 0; color: var(--c-text-muted); font-size: .9rem; }

@media (max-width: 980px) { .why-icon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-icon-grid { grid-template-columns: 1fr; } }

/* ---- Talk-to-a-person strip (between CTA banner and footer) ---- */
.talk-strip {
  padding: clamp(56px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border-top: 1px solid var(--c-muted-2);
}
.talk-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.talk-copy h2 { margin: 8px 0 14px; }
.talk-copy .muted { font-size: 1.05rem; max-width: 50ch; }
.talk-meta {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; gap: 32px; flex-wrap: wrap;
}
.talk-meta li {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 16px; border-left: 3px solid var(--c-accent);
}
.talk-meta strong { color: var(--c-primary); font-weight: 700; font-size: .95rem; }
.talk-meta span { color: var(--c-text-muted); font-size: .85rem; }

.talk-card {
  background: #fff; border: 1px solid var(--c-muted-2); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 8px; text-align: center;
}
.talk-eyebrow {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); font-weight: 600;
}
.talk-phone {
  display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800;
  color: var(--c-primary); text-decoration: none; letter-spacing: -0.02em;
  margin: 4px 0 18px; line-height: 1;
  transition: color .15s var(--t);
}
.talk-phone:hover { color: var(--c-accent); }
.talk-or { margin: 0; color: var(--c-text-muted); font-size: .85rem; }
.talk-email {
  display: block; color: var(--c-accent); text-decoration: none; font-weight: 600;
  margin: 0 0 18px; word-break: break-all;
}
.talk-email:hover { text-decoration: underline; }
.talk-card .btn { margin-top: 4px; }

@media (max-width: 880px) {
  .talk-grid { grid-template-columns: 1fr; gap: 32px; }
  .talk-meta { gap: 24px; }
}

/* No need for the big footer top-margin now that the strip bridges to it. */
.site-footer { margin-top: 0; }

/* =============================================================
   PLANS PAGE
   ============================================================= */
.hero-photo-short .hero-photo-grid {
  padding: clamp(60px, 7vw, 90px) 0 clamp(72px, 9vw, 110px);
}
.hero-photo-grid-tight { gap: 36px; align-items: center; }
.eyebrow.eyebrow-on-dark {
  background: rgba(255,255,255,.08); color: var(--c-accent-400);
  border-color: rgba(255,255,255,.12);
}
.price-badge.price-badge-static {
  position: static;
  margin: 0 auto;
  width: 200px; height: 200px;
}
.price-badge.price-badge-static .badge-price { font-size: 3.2rem; }

/* ---- Featured plan card + cost aside ---- */
.section-plan { padding-top: clamp(56px, 7vw, 88px); }
.plan-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 980px) { .plan-detail-grid { grid-template-columns: 1fr; } }

.plan-feature-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 36px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 28px;
  position: relative; overflow: hidden;
}
.plan-feature-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-text);
}
.plan-feature-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--c-border);
}
.plan-feature-head h2 { margin: 8px 0 4px; }
.plan-feature-head .muted { margin: 0; }
.plan-feature-price { display: flex; align-items: baseline; gap: 4px; }
.plan-feature-price .big { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: var(--c-primary); letter-spacing: -0.04em; line-height: 1; }
.plan-feature-price .per { color: var(--c-text-muted); font-weight: 500; }

.plan-feature-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.plan-feature-body h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); margin: 0 0 14px; font-weight: 600; }
.plan-feature-body em { font-style: italic; color: var(--c-text-muted); }
@media (max-width: 720px) { .plan-feature-body { grid-template-columns: 1fr; gap: 24px; } }

/* Cross-list (what's NOT included) */
.x-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.x-list li {
  position: relative; padding-left: 30px; color: var(--c-text-muted); font-size: .95rem;
}
.x-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #F1F5F9;
}
.x-list li::after {
  content: ""; position: absolute; left: 8px; top: 11px;
  width: 6px; height: 1px;
  background: var(--c-text-muted); transform: rotate(0);
  box-shadow: 6px 0 0 var(--c-text-muted);
}

.plan-feature-foot {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px dashed var(--c-border);
}
.plan-feature-foot .btn svg { width: 18px; height: 18px; }

/* Cost-breakdown aside */
.plan-detail-aside {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border: 1px solid var(--c-muted-2); border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.plan-detail-aside h3 { font-size: 1.1rem; margin: 0 0 16px; }
.plan-detail-aside h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); margin: 0 0 6px; font-weight: 600; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cost-table th { text-align: left; font-weight: 500; color: var(--c-text-muted); padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.cost-table td { text-align: right; font-weight: 600; color: var(--c-primary); padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.cost-table tr:last-child th, .cost-table tr:last-child td { border-bottom: none; }
.cost-table tr.cost-total th, .cost-table tr.cost-total td {
  font-size: 1.1rem; font-weight: 800; color: var(--c-primary); padding: 14px 0;
  border-top: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary);
}
.plan-detail-aside hr { border: none; border-top: 1px solid var(--c-border); margin: 20px 0; }

/* ---- Comparison table ---- */
.compare-table-wrap {
  overflow-x: auto;
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%; border-collapse: collapse;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--c-border);
  font-size: .95rem;
}
.compare-table thead th {
  background: var(--c-surface); color: var(--c-text-muted);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.compare-table thead th.col-us {
  background: var(--c-primary); color: #fff;
  position: relative;
}
.compare-table thead th.col-us::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-text);
}
.compare-table tbody th { color: var(--c-text-muted); font-weight: 500; width: 28%; }
.compare-table tbody td { color: var(--c-text); }
.compare-table tbody td:nth-child(2) { background: rgba(239,246,255,.55); color: var(--c-primary); font-weight: 500; }
.compare-table tbody td:nth-child(2) strong { color: var(--c-accent); font-weight: 700; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* =============================================================
   COVERAGE PAGE
   ============================================================= */
.hero-photo-side-illus { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.signal-illus {
  display: flex; align-items: flex-end; gap: 12px;
  height: 180px;
}
.signal-illus .signal-bar {
  display: block; width: 28px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--c-accent-400) 0%, var(--c-accent-600) 100%);
  box-shadow: 0 8px 24px -6px rgba(37,99,235,.55);
  animation: signal-grow 2.4s ease-in-out infinite;
}
.signal-illus .signal-bar:nth-child(1) { height: 22%; animation-delay: 0s;    opacity: .55; }
.signal-illus .signal-bar:nth-child(2) { height: 40%; animation-delay: .15s;  opacity: .7; }
.signal-illus .signal-bar:nth-child(3) { height: 60%; animation-delay: .3s;   opacity: .8; }
.signal-illus .signal-bar:nth-child(4) { height: 80%; animation-delay: .45s;  opacity: .9; }
.signal-illus .signal-bar:nth-child(5) { height: 100%; animation-delay: .6s; }
@keyframes signal-grow {
  0%, 100% { transform: scaleY(.92); opacity: .8; }
  50%      { transform: scaleY(1.04); opacity: 1; }
}

.hero-jumps {
  display: flex; gap: 18px; margin-top: 12px;
}
.hero-jumps a {
  color: rgba(255,255,255,.7); font-weight: 500; font-size: .9rem;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent;
}
.hero-jumps a:hover { color: var(--c-accent-400); border-bottom-color: var(--c-accent-400); }

/* ---- Tool cards v2 (numbered, richer) ---- */
.section-tools { padding-top: clamp(56px, 7vw, 88px); }
.tool-card-v2 { padding: 32px; }
.tool-card-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--c-border);
}
.tool-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(37,99,235,.5);
}
.tool-card-head h2 { margin: 0 0 4px; font-size: 1.3rem; }
.tool-card-head p { margin: 0; }
.tool-foot { margin-top: 14px; }
.external-link { display: inline-flex; align-items: center; gap: 6px; }
.external-link svg { width: 14px; height: 14px; }

.speed-readout-feature {
  background: linear-gradient(180deg, #fff 0%, #EFF6FF 100%);
  border-color: var(--c-muted-2);
}

/* ---- Speed bands (reference grid) ---- */
.speed-bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.speed-band {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.speed-band:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.speed-band.band-feature {
  border: 1px solid var(--c-muted-2);
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
  position: relative;
}
.speed-band.band-feature::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  background: var(--grad-text); border-radius: 0 0 4px 4px;
}
.band-meter { height: 6px; background: var(--c-muted); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 16px; }
.band-meter-fill { height: 100%; background: var(--grad-text); border-radius: var(--r-pill); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.band-mbps { font-size: 1.2rem; font-weight: 800; color: var(--c-primary); letter-spacing: -0.025em; }
.band-tag {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-text-muted);
}
.band-tag.tag-blue { background: var(--c-accent); color: #fff; }
.speed-band p { margin: 0; color: var(--c-text-muted); font-size: .92rem; }

@media (max-width: 980px) { .speed-bands { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .speed-bands { grid-template-columns: 1fr; } }

/* ---- Notes grid v2 (with icons) ---- */
.notes-grid-3 { grid-template-columns: repeat(3, 1fr); }
.note-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.note-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.note-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--c-muted); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.note-icon svg { width: 24px; height: 24px; }
.note-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.note-card p { margin: 0; color: var(--c-text-muted); font-size: .95rem; }
@media (max-width: 880px) { .notes-grid-3 { grid-template-columns: 1fr; } }

/* ---- Setup-assessment form (chip-style radio / checkbox rows) ---- */
.setup-form fieldset.chip-field {
  border: none; padding: 0; margin: 0;
}
.chip-field legend {
  font-weight: 600; color: var(--c-primary); font-size: .92rem;
  margin: 0 0 10px; padding: 0;
}
.chip-field legend .small { font-weight: 400; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row label {
  position: relative;
  display: inline-flex; align-items: center; cursor: pointer;
  font-weight: 500; font-size: .9rem; color: var(--c-primary);
}
.chip-row label input {
  position: absolute; opacity: 0; pointer-events: none;
}
.chip-row label span {
  display: inline-block;
  padding: 9px 14px; border: 1px solid var(--c-border);
  border-radius: var(--r-pill); background: #fff;
  transition: border-color .15s var(--t), background .15s var(--t), color .15s var(--t), box-shadow .15s var(--t);
}
.chip-row label:hover span { border-color: var(--c-accent); color: var(--c-accent); }
.chip-row label input:checked + span {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
  box-shadow: 0 6px 16px -6px rgba(37,99,235,.5);
}
.chip-row label input:focus-visible + span {
  outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px;
}

.setup-divider { border: none; border-top: 1px dashed var(--c-border); margin: 8px 0; }

.speed-bands-note { text-align: center; margin-top: 24px; }

/* ---- Setup-grid: form + "what happens next" aside ---- */
.setup-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .setup-grid { grid-template-columns: 1fr; } }

.setup-form-card { padding: 36px; }
.setup-form-card .tool-card-head { gap: 0; padding-bottom: 22px; margin-bottom: 22px; }

.setup-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.setup-aside-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
  border: 1px solid var(--c-muted-2); border-radius: var(--r-lg);
  padding: 28px;
}
.setup-aside-card h3 { margin: 0 0 14px; font-size: 1.1rem; }
.setup-aside-card-quiet { background: #fff; }
.setup-aside-card-quiet h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); margin: 0 0 8px; font-weight: 600; }
.setup-aside-card-quiet p { font-size: .9rem; }
.setup-aside-card-quiet .btn { width: 100%; }
.setup-aside-card-quiet .btn svg { width: 14px; height: 14px; }

.numbered-list {
  list-style: none; padding: 0; margin: 0; counter-reset: setupstep;
  display: grid; gap: 16px;
}
.numbered-list li {
  position: relative; padding-left: 40px; counter-increment: setupstep;
  color: var(--c-text); font-size: .95rem; line-height: 1.5;
}
.numbered-list li::before {
  content: counter(setupstep);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,.5);
}
.numbered-list li strong { color: var(--c-primary); }

/* Turnstile widget slot — keeps the captcha cleanly aligned in form grids */
.turnstile-slot { display: flex; justify-content: flex-start; min-height: 0; }
.turnstile-slot:empty { display: none; }
.turnstile-slot .cf-turnstile { margin: 4px 0; }

/* =============================================================
   ROADMAP page
   ============================================================= */
.section-roadmap { padding-top: clamp(56px, 7vw, 88px); }
.roadmap-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .roadmap-grid { grid-template-columns: 1fr; } }

.roadmap-col {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.roadmap-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.roadmap-col-feature {
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  border-color: var(--c-muted-2);
  position: relative; overflow: hidden;
}
.roadmap-col-feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-text);
}
.roadmap-col-head { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px dashed var(--c-border); }
.roadmap-col-head h2 { font-size: 1.4rem; margin: 14px 0 6px; }
.roadmap-col-head p { margin: 0; font-size: .9rem; }

.roadmap-pill {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.roadmap-pill-now   { background: #DBEAFE; color: #1E40AF; }
.roadmap-pill-soon  { background: var(--c-accent); color: #fff; box-shadow: 0 6px 14px -4px rgba(37,99,235,.4); }
.roadmap-pill-later { background: #F1F5F9; color: var(--c-text-muted); }

.roadmap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.roadmap-list li {
  position: relative; padding-left: 28px;
}
.roadmap-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-muted); border: 2px solid var(--c-accent);
}
.roadmap-col:not(.roadmap-col-feature) .roadmap-list li::before {
  border-color: var(--c-border-strong);
  background: #fff;
}
.roadmap-col-feature .roadmap-list li::before {
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.roadmap-list strong { display: block; color: var(--c-primary); font-weight: 700; margin-bottom: 4px; font-size: .98rem; }
.roadmap-list span { color: var(--c-text-muted); font-size: .9rem; line-height: 1.55; display: block; }
.roadmap-list em { color: var(--c-accent); font-style: italic; }

/* Right-align the setup form's submit so it doesn't span the full card width */
.setup-submit { display: flex; justify-content: flex-end; margin-top: 4px; }
.setup-submit .btn svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .setup-submit { justify-content: stretch; } .setup-submit .btn { width: 100%; } }

