/* ═══════════════════════════════════════════════════════════════
   Public home page and signup flow (pages/onepage.php)
   Light, calm and mobile first. The other customer pages still use
   onepage-modern.css; this file only styles the home page.
   Class names and ids match what JS/onepage-modern.js renders.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #10223a;
  --navy-700: #1a3252;
  --ink: #0b1526;
  --text: #24324a;
  --muted: #5d6b82;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --brand: #1179c4;
  --brand-600: #0b66a8;
  --brand-50: #eaf4fc;
  --brand-100: #d3e8f8;
  --accent: #38c7f4;
  --ok: #138a4b;
  --ok-50: #e8f7ee;
  --warn: #b45309;
  --warn-50: #fff5e6;
  --error: #b91c1c;
  --error-50: #fdecec;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06);
  --shadow: 0 1px 2px rgba(10, 22, 40, .05), 0 8px 24px -8px rgba(10, 22, 40, .12);
  --shadow-lg: 0 2px 4px rgba(10, 22, 40, .04), 0 24px 48px -16px rgba(10, 22, 40, .28);
  --max: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[id] { scroll-margin-top: 84px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ─── Buttons ─────────────────────────────── */
.primary-btn, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.primary-btn { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(17, 121, 196, .6); }
.primary-btn:hover { background: var(--brand-600); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { background: var(--line-strong); color: #fff; box-shadow: none; cursor: not-allowed; }
.ghost-btn { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.ghost-btn:hover { border-color: var(--ink); }
.primary-btn.large, .ghost-btn.large { min-height: 52px; padding: 0 28px; font-size: 16px; }

.pill, .section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.section-tag { color: var(--brand); margin-bottom: 10px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }

/* ─── Announcement bar ────────────────────── */
.announcement-bar { background: var(--navy-950); color: #b9cbe2; font-size: 13px; font-weight: 500; position: relative; }
.announcement-bar [hidden] { display: none !important; }
/* Scrolling selling lines (no outage) */
.announcement-marquee { overflow: hidden; white-space: nowrap; padding: 9px 0; }
.announcement-track { display: flex; width: max-content; }
.announcement-group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; min-width: 100vw; }
.announcement-item { display: inline-flex; align-items: center; padding: 0 28px; }
.announcement-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 12px; box-shadow: 0 0 0 3px rgba(56,199,244,.18); flex-shrink: 0; }
.announcement-group + .announcement-group { display: none; }
/* Outage or maintenance notice */
.announcement-alert { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 9px 20px;
  color: #fff; text-decoration: none; font-weight: 600; text-align: center; }
.announcement-bar.is-outage { background: #b42318; }
.announcement-bar.is-maint { background: #5b21b6; }
.announcement-bar.is-power { background: #854d0e; }
.announcement-alert__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
.announcement-alert__link { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announcement-alert:hover .announcement-alert__link, .announcement-alert:focus-visible .announcement-alert__link { text-decoration-thickness: 2px; }
.announcement-alert:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
/* Admin editing: show every line, no movement */
body.is-admin-logged .announcement-marquee { white-space: normal; }
body.is-admin-logged .announcement-group { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100vw; gap: 6px 0; }
body.is-admin-logged .announcement-item { min-width: 120px; outline: 1px dashed rgba(255,255,255,.25); outline-offset: 2px; }

/* ─── Header ──────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 22, 40, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-shell { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 34px; width: auto; }
.brand-fallback { flex-direction: column; color: #fff; line-height: 1.1; }
.brand-fallback span { font-size: 12px; color: #9fb3cc; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  color: #c6d4e6; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.topbar .ghost-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.topbar .ghost-btn:hover { border-color: #fff; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 68px 0 0 0; z-index: 55;
  background: var(--navy-900); padding: 12px 20px 32px; overflow-y: auto;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #e6eef8; font-size: 18px; font-weight: 600; padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav a.mobile-nav-link--cta {
  margin-top: 20px; border: 0; border-radius: 999px; background: var(--brand);
  text-align: center; color: #fff; font-size: 16px;
}

/* ─── Hero ────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden; color: #d7e3f2;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(56, 199, 244, .22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(17, 121, 196, .28), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding: 64px 0 28px;
}
.hero-section::before {
  /* fine fibre lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 47px);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy .pill {
  color: #bfe9fb; background: rgba(56, 199, 244, .12); border: 1px solid rgba(56, 199, 244, .3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero-copy h1 {
  color: #fff; font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  margin-bottom: 20px; text-wrap: balance;
}
.hero-copy h1 .accent {
  background: linear-gradient(90deg, #7dd8fb, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 18px; color: #b6c6db; max-width: 540px; margin-bottom: 32px; }
.hero-mini-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.hero-mini-stats li { display: flex; flex-direction: column; padding-left: 14px; border-left: 2px solid rgba(56, 199, 244, .5); }
.hero-mini-stats strong { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hero-mini-stats span { font-size: 13px; color: #93a8c3; }

/* Coverage search card */
.search-panel {
  position: relative; background: #fff; color: var(--text);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.search-panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.search-panel > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.search-row {
  position: relative; display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.search-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.search-icon { width: 20px; height: 20px; color: var(--brand); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-row input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 0 8px 0 40px; font-size: 16px; color: var(--ink); min-height: 46px;
}
.search-row input::placeholder { color: #8a97ab; }
.search-row .primary-btn { min-height: 46px; }
.search-status { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1.4em; padding-left: 4px; }
.search-status.loading { color: var(--brand); }
.search-status.success { color: var(--ok); font-weight: 600; }
.search-status.warning { color: var(--warn); font-weight: 600; }
.search-status.error { color: var(--error); font-weight: 600; }

.benefit-list { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.benefit-list li {
  position: relative; padding-left: 30px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column;
}
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23138a4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.benefit-list strong { color: var(--ink); font-size: 15px; font-weight: 700; }

/* Network status strip */
.status-strip {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 44px;
  padding: 12px 16px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04); color: #c6d4e6; font-size: 14px; transition: background-color .15s, border-color .15s;
}
.status-strip:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.status-strip__text { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: baseline; overflow: hidden; }
.status-strip__text strong { color: #fff; white-space: nowrap; }
.status-strip__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #93a8c3; }
.status-strip__meta { display: flex; gap: 16px; white-space: nowrap; color: #93a8c3; }
.status-strip__link { color: #fff; font-weight: 600; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-chip.healthy { color: #4ade80; background: rgba(74, 222, 128, .12); }
.status-chip.healthy::before { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.4s infinite; }
.status-chip.warning { color: #fbbf24; background: rgba(251, 191, 36, .14); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ─── Sections ────────────────────────────── */
.packages-preview, .steps-section, .business-section, .contact-section { padding: 88px 0; }
.steps-section, .contact-section { background: var(--bg-soft); }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head h2, .business-section h2, .contact-section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.section-head p, .business-section p, .contact-section p { color: var(--muted); font-size: 17px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split > div:first-child { max-width: 620px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ─── Packages ────────────────────────────── */
.provider-summary {
  display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted);
  padding: 10px 14px; border-radius: var(--r); background: var(--bg-soft); max-width: 360px;
}
.provider-summary strong { color: var(--ink); }
.provider-summary.empty { color: var(--muted); }
.provider-cards.preview-only .provider-summary { display: none; }

.provider-selector-wrap { display: grid; gap: 20px; }
.provider-selector-row {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none;
}
.provider-selector-row::-webkit-scrollbar { display: none; }
.provider-selector {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; min-width: 132px; padding: 0 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.provider-selector:hover { border-color: var(--line-strong); }
.provider-selector.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); background: var(--brand-50); }
.provider-selector__logo-wrap { display: flex; align-items: center; justify-content: center; height: 28px; }
.provider-selector__logo-wrap img { max-height: 28px; max-width: 120px; object-fit: contain; }
.provider-selector-name { font-weight: 700; font-size: 14px; color: var(--ink); }

.provider-package-panel { display: grid; gap: 18px; }
.provider-package-panel__head { display: flex; align-items: center; gap: 14px; }
.provider-package-panel__head strong { color: var(--ink); font-size: 18px; }
.provider-package-panel__head .provider-pill { display: none; }
.muted-copy { color: var(--muted); font-size: 14px; }

.provider-pill { display: inline-flex; align-items: center; }
.provider-pill--logo .provider-selector__logo-wrap { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; height: 44px; }
.provider-pill--logo img { max-height: 26px; max-width: 120px; object-fit: contain; }
.provider-fallback-name { font-weight: 800; color: var(--ink); }

.package-slider-shell { display: grid; gap: 14px; }
.package-slider-nav { display: flex; align-items: center; justify-content: space-between; }
.package-slider-nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.package-slider-buttons { display: flex; gap: 8px; }
.package-slider-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); display: grid; place-items: center;
}
.package-slider-btn:hover { border-color: var(--ink); }
.package-slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: -4px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.package-slide {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 24px 22px 22px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.package-slide:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.package-slide__name { font-size: 14px; font-weight: 600; color: var(--muted); }
.package-slide .speed { display: grid; gap: 2px; }
.speed__down { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.speed__down b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.speed__label { font-size: 13px; color: var(--muted); margin-top: -2px; }
.speed__up {
  justify-self: start; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand-600);
  background: var(--brand-50); padding: 4px 10px; border-radius: 999px;
}
.package-slide .price {
  color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.price__cur { font-size: 18px; vertical-align: top; margin-right: 1px; position: relative; top: 3px; }
.price__cents { font-size: 16px; }
.package-slide .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.package-slide .install { font-size: 13px; color: var(--muted); }
.package-slide .choose-plan {
  margin-top: auto; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand); font-weight: 700; cursor: pointer; transition: background-color .15s, color .15s;
}
.package-slide .choose-plan:hover, .package-slide .choose-plan:focus-visible { background: var(--brand); color: #fff; }
.packages-footnote { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ─── Steps ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 15px;
}
.step-card strong { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.step-card span:last-child { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.steps-cta { margin-top: 32px; display: flex; justify-content: center; }

/* ─── Business ────────────────────────────── */
.business-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.business-intro p { margin-bottom: 24px; max-width: 520px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r);
  border: 1px solid var(--line); background: #fff;
}
.mini-card::before {
  content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: 8px;
}
.mini-card strong { color: var(--ink); font-size: 16px; }
.mini-card span { color: var(--muted); font-size: 14px; }

/* ─── Contact and help ────────────────────── */
.contact-top { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 32px; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-pill {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); min-width: 150px;
}
a.contact-pill[href]:hover { border-color: var(--brand); }
.contact-pill__label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-pill [data-edit-key] { color: var(--ink); font-weight: 700; }

.help-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.help-link {
  display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s;
}
.help-link strong { color: var(--ink); font-size: 16px; }
.help-link strong::after { content: " →"; color: var(--brand); }
.help-link span { color: var(--muted); font-size: 14px; }
.help-link:hover { border-color: var(--brand); box-shadow: var(--shadow); }

.contact-widget-wrap { margin-top: 14px; }
.support-launch-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px;
  border-radius: var(--r-lg); background: var(--navy-900); color: #b6c6db;
}
.support-launch-card .section-tag { color: var(--accent); }
.support-launch-card h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.support-launch-card p { color: #b6c6db; font-size: 15px; }
.support-launch-copy small { display: block; margin-top: 12px; font-size: 13px; color: #8ea3bf; }
.support-helpbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.support-chip {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #d7e3f2;
}
.support-open-btn { flex-shrink: 0; }

/* Support ticket pop-up */
body.support-modal-open { overflow: hidden; }
.support-widget-modal { display: none; position: fixed; inset: 0; z-index: 120; }
.support-widget-modal.open { display: grid; place-items: center; padding: 20px; }
.support-widget-backdrop { position: absolute; inset: 0; background: rgba(5, 13, 26, .6); }
.support-widget-dialog {
  position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg);
}
.support-widget-close, .flow-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2;
}
.support-widget-close:hover, .flow-close:hover { border-color: var(--ink); }
.support-widget-headline h3 { font-size: 22px; margin-bottom: 4px; }
.support-widget-headline p { color: var(--muted); margin-bottom: 16px; }

/* ─── Footer ──────────────────────────────── */
.site-footer { background: var(--navy-950); color: #93a8c3; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer-links a:hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ═══ Signup flow (pop-up) ═══════════════════ */
.flow-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.flow-modal.open { display: grid; place-items: center; padding: 24px; }
.flow-backdrop { position: absolute; inset: 0; background: rgba(5, 13, 26, .62); }
.flow-dialog {
  position: relative; display: grid; grid-template-columns: 290px 1fr;
  width: min(1120px, 100%); height: min(820px, calc(100vh - 48px));
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.flow-side { background: var(--navy-900); color: #b6c6db; padding: 28px 22px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.flow-side .pill { color: var(--accent); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.flow-side h3 { color: #fff; font-size: 20px; }
.flow-steps-indicator { display: grid; gap: 4px; }
.flow-step-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.flow-step-item span {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; border: 1.5px solid rgba(255, 255, 255, .22); color: #b6c6db;
}
.flow-step-item strong { display: block; color: #e6eef8; font-size: 14px; }
.flow-step-item small { display: block; font-size: 12px; color: #7f95b2; }
.flow-step-item.active { background: rgba(56, 199, 244, .1); }
.flow-step-item.active span { background: var(--accent); border-color: var(--accent); color: var(--navy-950); }
.flow-step-item.done span { background: var(--ok); border-color: var(--ok); color: #fff; font-size: 0; }
.flow-step-item.done span::after { content: "✓"; font-size: 14px; }
.selected-plan-bar {
  margin-top: auto; display: grid; gap: 4px; padding: 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: 13px;
}
.selected-plan-bar strong { color: #fff; font-size: 15px; }

.flow-main { overflow-y: auto; padding: 36px 40px 28px; }
.flow-step { display: none; }
.flow-step.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.flow-head { margin-bottom: 20px; padding-right: 40px; }
.flow-head .section-tag { margin-bottom: 6px; }
.flow-head h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.flow-head p { color: var(--muted); font-size: 15px; }
.flow-subhead { margin: 24px 0 10px; font-size: 16px; font-weight: 800; color: var(--ink); }

.modal-search { margin-bottom: 14px; }
.modal-search input { padding-left: 16px; }
#map { width: 100%; height: 380px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-soft); }
#map .map-unavailable { margin: 0; padding: 24px; color: var(--muted, #64748b); text-align: center; }

.step-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.step-actions.between { justify-content: space-between; }

.form-grid, .conditional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.conditional-grid { margin-top: 14px; }
.hidden-block { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .flow-main select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field select, .flow-main select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%235d6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field input::placeholder { color: #8a97ab; }
.field input:invalid:not(:placeholder-shown) { border-color: #f0a3a3; }
input[type="file"] { padding: 9px 10px; min-height: 48px; font-size: 14px; }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 14px; border-radius: 999px; border: 0;
  background: var(--brand-50); color: var(--brand-600); font-weight: 700; cursor: pointer;
}

/* Packages inside the flow (step 2) */
.provider-summary-block {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 16px;
  border-radius: var(--r); background: var(--ok-50); color: var(--ok); font-size: 14px;
}
.provider-summary-block strong { color: var(--ink); }
.provider-cards:not(.preview-only) { display: grid; gap: 16px; }
.provider-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.provider-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: var(--bg-soft) !important; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600;
}
.provider-card__body { display: grid; }
.plan-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.plan-row:last-child { border-bottom: 0; }
.plan-row strong { display: block; color: var(--ink); font-size: 15px; }
.plan-row small { color: var(--muted); font-size: 13px; }
.plan-row .price { color: var(--ink); font-weight: 800; font-size: 18px; }
.choose-plan {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand); font-weight: 700; cursor: pointer; font-size: 14px;
}
.choose-plan:hover { background: var(--brand); color: #fff; }

/* Once-off items (step 4) */
.addons-grid { display: grid; gap: 12px; }
.addon-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r);
  border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.addon-item:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.addon-item input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.addon-item input[type="checkbox"]:disabled { opacity: .8; }
.addon-copy { display: grid; gap: 4px; }
.addon-copy strong { color: var(--ink); font-size: 15px; }
.addon-price { color: var(--brand-600); margin-left: 6px; }
.addon-copy span { color: var(--muted); font-size: 14px; }
.addons-empty, .install-note { margin: 8px 0; color: var(--muted); font-size: 14px; }

/* Installation date (step 5) */
.install-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.install-day { display: grid; gap: 6px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-soft); }
.install-day strong { font-size: 14px; color: var(--ink); }
.install-slot {
  min-height: 40px; padding: 0 10px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
}
.install-slot:hover:not(:disabled) { border-color: var(--brand); }
.install-slot.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.install-slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* Payment and submit (step 6) */
.signup-summary dl { margin: 18px 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.signup-summary dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.signup-summary dl div:nth-child(odd) { background: var(--bg-soft); }
.signup-summary dl div:last-child { border-bottom: 0; }
.signup-summary dt { color: var(--muted); }
.signup-summary dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.terms-row { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.terms-row input { width: 20px; height: 20px; accent-color: var(--brand); flex-shrink: 0; }
.terms-row a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.submit-btn { min-width: 180px; }

#adminCoverageNotes { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-50); color: var(--warn); font-size: 13px; }

/* ─── Admin live text editor ──────────────── */
.inline-editor-toolbar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 20px; padding: 12px 14px 12px 20px; border-radius: 999px;
  background: var(--ink); color: #c6d4e6; box-shadow: var(--shadow-lg); font-size: 13px;
}
.inline-editor-toolbar strong { color: #fff; display: block; font-size: 14px; }
.inline-editor-actions { display: flex; gap: 8px; }
.inline-editor-toolbar .ghost-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); min-height: 38px; }
.inline-editor-toolbar .primary-btn { min-height: 38px; }
.is-admin-logged.edit-mode [data-edit-key] { outline: 1.5px dashed rgba(56, 199, 244, .8); outline-offset: 3px; border-radius: 4px; cursor: text; }
.is-admin-logged.edit-mode [data-edit-key]:focus { outline-style: solid; }

/* ═══ Responsive ═════════════════════════════ */
@media (max-width: 1100px) {
  .package-slider-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .help-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .nav-clientzone { display: none; }
  .hamburger { display: inline-flex; }
  .nav-shell { justify-content: space-between; }
  .hero-section { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-lead { margin-bottom: 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .business-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-top { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .status-strip__updated { display: none; }

  .flow-modal.open { padding: 0; }
  .flow-dialog { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .flow-side { padding: 14px 16px; gap: 10px; flex-direction: row; flex-wrap: wrap; align-items: center; overflow: visible; }
  .flow-side .pill, .flow-side h3 { display: none; }
  .flow-steps-indicator { display: flex; gap: 6px; width: 100%; padding-right: 48px; }
  .flow-step-item { flex: 1; padding: 0; flex-direction: column; gap: 6px; align-items: stretch; }
  .flow-step-item div { display: none; }
  .flow-step-item span { width: 100%; height: 6px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .16); font-size: 0; }
  .flow-step-item.active { background: transparent; }
  .flow-step-item.active span { background: var(--accent); }
  .flow-step-item.done span { background: var(--ok); }
  .flow-step-item.done span::after { content: none; }
  .selected-plan-bar { margin: 0; width: 100%; padding: 8px 12px; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px; }
  .selected-plan-bar strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .flow-close { top: 8px; right: 10px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
  .flow-main { padding: 22px 18px 18px; }
  .flow-head { padding-right: 0; }
  .flow-head h2 { font-size: 22px; }
  #map { height: 300px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .announcement-bar { font-size: 12px; }
  .announcement-item { padding: 0 20px; }
  .announcement-alert { padding: 8px 16px; }
  .nav-shell { min-height: 60px; gap: 10px; }
  .mobile-nav { inset: 60px 0 0 0; }
  .site-logo { height: 26px; }
  .nav-actions .primary-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hamburger { width: 40px; height: 40px; }
  .hero-section { padding: 28px 0 20px; }
  .hero-copy .pill { margin-bottom: 14px; font-size: 12px; }
  .hero-copy h1 { font-size: 34px; margin-bottom: 14px; }
  .hero-lead { font-size: 16px; }
  .hero-mini-stats { gap: 10px 22px; }
  .hero-mini-stats strong { font-size: 20px; }
  .search-panel { padding: 20px; border-radius: var(--r); }
  .search-panel h2 { font-size: 20px; }
  .search-row { flex-direction: column; border-radius: var(--r); padding: 6px; }
  .search-icon { top: 29px; }
  .search-row .primary-btn { width: 100%; border-radius: var(--r-sm); min-height: 50px; }
  .benefit-list { margin-top: 16px; padding-top: 16px; }
  .status-strip { margin-top: 24px; flex-wrap: wrap; gap: 8px 12px; }
  .status-strip__text { flex-basis: 100%; order: 3; flex-direction: column; gap: 2px; }
  .status-strip__text span { white-space: normal; }
  .status-strip__meta { margin-left: auto; }

  .packages-preview, .steps-section, .business-section, .contact-section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head.split { flex-direction: column; align-items: stretch; }
  .section-head p { font-size: 16px; }
  .provider-summary { max-width: none; }
  .provider-selector { min-width: 112px; height: 50px; padding: 0 14px; }
  .package-slider-track { grid-auto-columns: 78%; gap: 12px; margin-right: -16px; padding-right: 16px; scroll-padding-left: 4px; }
  .package-slider-buttons { display: none; }
  .speed__down b { font-size: 40px; }

  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 14px; padding: 16px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step-card strong { flex-basis: calc(100% - 50px); }
  .step-card span:last-child { margin-left: 50px; margin-top: -4px; font-size: 16px; flex-basis: calc(100% - 50px); }
  .steps-cta .primary-btn { width: 100%; }

  .mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mini-card { padding: 16px; }
  .business-intro .primary-btn { width: 100%; }
  .contact-pills { display: grid; grid-template-columns: 1fr; }
  .help-links { grid-template-columns: 1fr; gap: 10px; }
  .support-launch-card { flex-direction: column; align-items: stretch; padding: 22px; }
  .support-open-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .form-grid, .conditional-grid { grid-template-columns: 1fr; }
  .plan-row { grid-template-columns: 1fr auto; }
  .plan-row .choose-plan { grid-column: 1 / -1; width: 100%; }
  .signup-summary dl div { grid-template-columns: 110px 1fr; }
  .step-actions { position: sticky; bottom: -18px; background: #fff; margin: 20px -18px -18px; padding: 12px 18px 18px; }
  .step-actions .primary-btn { flex: 1; }
  .inline-editor-toolbar { left: 12px; right: 12px; transform: none; border-radius: var(--r); flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  /* No scrolling banner: show the first line only. */
  body:not(.is-admin-logged) .announcement-group { justify-content: center; min-width: 0; width: 100%; }
  body:not(.is-admin-logged) .announcement-item + .announcement-item { display: none; }
  body:not(.is-admin-logged) .announcement-item { white-space: normal; text-align: center; }
}

/* Chosen package in step 2 */
.plan-row.is-selected { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand); }
.choose-plan.is-selected { background: var(--brand); color: #fff; }
.provider-summary-block .provider-pill { display: none; }
.form-grid + .form-grid { margin-top: 14px; }

/* Page behind the signup pop-up stays still (matters most on phones) */
body.flow-open { overflow: hidden; }
.flow-dialog:focus { outline: none; }

/* Step 2 when the address has no coverage */
.no-coverage-help {
  display: grid; gap: 10px; padding: 22px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--bg-soft);
}
.no-coverage-help strong { color: var(--ink); font-size: 17px; }
.no-coverage-help p { color: var(--muted); font-size: 15px; }
.no-coverage-help__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* Home page when the prices could not load */
.packages-unavailable {
  display: grid; gap: 8px; justify-items: start; padding: 28px; border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong); background: var(--bg-soft);
}
.packages-unavailable strong { color: var(--ink); font-size: 18px; }
.packages-unavailable p { color: var(--muted); max-width: 620px; margin-bottom: 6px; }

@media (max-width: 640px) {
  .no-coverage-help__actions > * { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  /* The search card below says the same thing; keep the address box on the first screen. */
  .hero-lead { display: none; }
}
.provider-summary-block.is-empty { background: var(--warn-50); color: var(--warn); }

/* One sliding row with every network's packages (own network first) */
.provider-cards.preview-only { display: grid; gap: 18px; }
.provider-selector { gap: 10px; }
.provider-selector-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--bg-soft); color: var(--muted); font-size: 12px; font-weight: 700;
}
.provider-selector.active .provider-selector-count { background: var(--brand); color: #fff; }
.package-slider-track { scroll-behavior: smooth; }
.package-slider-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r-lg); }
.package-slide__network {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .06em;
}
.package-slide__badge {
  text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 700;
  color: var(--ok); background: var(--ok-50); padding: 2px 8px; border-radius: 999px;
}
.package-slide--own { border-color: var(--brand-100); }
.package-slide--first:not(:first-child) { margin-left: 14px; }
.package-slide--first:not(:first-child)::before {
  content: ""; position: absolute; left: -17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--line);
}
.package-slide__name { margin-top: -6px; }

/* Support ticket pop-up fills the screen on phones */
@media (max-width: 640px) {
  .support-widget-modal.open { padding: 0; }
  .support-widget-dialog { width: 100%; height: 100%; height: 100dvh; max-height: none; border-radius: 0; padding: 20px 14px 14px; }
  .support-widget-headline { padding-right: 48px; }
  .support-widget-headline h3 { font-size: 20px; }
  .support-widget-headline p { font-size: 15px; }
}
@media (max-width: 640px) {
  .provider-selector { min-width: 0; height: 46px; padding: 0 12px; gap: 8px; }
  .provider-selector__logo-wrap, .provider-selector__logo-wrap img { max-height: 22px; }
  .provider-selector__logo-wrap img { max-width: 92px; }
}

/* "Own network" label on the own network's tab, cards and sign-up step */
.own-network-label {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none;
  color: var(--ok); background: var(--ok-50); padding: 2px 8px; border-radius: 999px;
}
.provider-card__head .own-network-label { margin-right: 6px; }
/* No "stuck" hover colour after a tap on phones */
@media (hover: none) {
  .choose-plan:hover:not(.is-selected), .package-slide .choose-plan:hover { background: #fff; color: var(--brand); }
  .package-slide:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
  .package-slide--own:hover { border-color: var(--brand-100); }
}

/* ═══ Package slider v2: network blocks, logos on cards, side arrows, mouse drag ═══ */
.provider-selector-row { gap: 12px; padding: 6px; margin: -6px; }
.provider-selector {
  flex-direction: column; justify-content: center; gap: 8px;
  height: auto; min-height: 84px; min-width: 168px; padding: 14px 20px; border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.provider-selector:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.provider-selector.active { transform: none; }
/* PCs and tablets: every network fits on screen as a grid of blocks, nothing hidden off the side. */
@media (min-width: 641px) {
  .provider-selector-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; }
  .provider-selector { min-width: 0; min-height: 76px; padding: 12px 14px; }
  .provider-selector__logo-wrap img { max-width: 100%; }
}
.provider-selector__logo-wrap { height: 32px; }
.provider-selector__logo-wrap img { max-height: 32px; max-width: 140px; }
.provider-selector .own-network-label { font-size: 11px; }
.provider-selector[data-provider-select^="hitech"],
.provider-selector[data-provider-select="own"] { border-color: var(--brand-100); }
.provider-selector[data-provider-select^="hitech"].active,
.provider-selector[data-provider-select="own"].active { border-color: var(--brand); }

.package-slide__network { min-height: 30px; justify-content: space-between; }
.package-slide__logo { display: inline-flex; align-items: center; height: 26px; }
.package-slide__logo img { max-height: 26px; max-width: 120px; object-fit: contain; }
.package-slide__logo-text { font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; }

.package-slider-stage { position: relative; min-width: 0; }
.package-slide[hidden] { display: none !important; }
.package-slider-track { cursor: grab; scroll-behavior: auto; }
.package-slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.package-slider-track.is-dragging .package-slide { pointer-events: none; }
.package-slider-stage .package-slider-btn {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 48px; height: 48px; font-size: 26px; background: #fff; box-shadow: var(--shadow);
  transition: opacity .2s, transform .2s, border-color .15s;
}
.package-slider-btn--prev { left: -22px; }
.package-slider-btn--next { right: -22px; }
.package-slider-stage .package-slider-btn:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); border-color: var(--brand); color: var(--brand); }
.package-slider-stage .package-slider-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1290px) { .package-slider-btn--prev { left: 4px; } .package-slider-btn--next { right: 4px; } }
@media (max-width: 640px) {
  .provider-selector { min-width: 128px; min-height: 72px; padding: 10px 14px; gap: 6px; }
  .provider-selector__logo-wrap, .provider-selector__logo-wrap img { max-height: 26px; }
  .provider-selector__logo-wrap img { max-width: 104px; }
  .package-slider-stage .package-slider-btn { display: none; }
}

/* ═══ Motion: a little more life, never in the way ═══ */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes glowDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 4%) scale(1.08); } }
@keyframes fibreRun { from { transform: translateX(-30%) rotate(-24deg); } to { transform: translateX(130vw) rotate(-24deg); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes softPulse { 0%, 100% { box-shadow: 0 6px 16px -6px rgba(17, 121, 196, .6), 0 0 0 0 rgba(56, 199, 244, .45); } 60% { box-shadow: 0 6px 16px -6px rgba(17, 121, 196, .6), 0 0 0 10px rgba(56, 199, 244, 0); } }

@media (prefers-reduced-motion: no-preference) {
  body:not(.is-admin-logged) .announcement-group + .announcement-group { display: flex; }
  body:not(.is-admin-logged) .announcement-track { animation: announcementScroll var(--announcement-duration, 40s) linear infinite; }
  .announcement-marquee:hover .announcement-track { animation-play-state: paused; }
  .announcement-alert__dot { animation: alertPing 1.8s ease-out infinite; }
}
@media (prefers-reduced-motion: no-preference) {
  .package-slider-track.is-switching .package-slide:not([hidden]) { animation: packageSwap .38s cubic-bezier(.2,.7,.2,1) both; }
  .package-slider-track.is-switching .package-slide:nth-child(n) { animation-delay: 0s; }
}
@keyframes packageSwap { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes announcementScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes alertPing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero comes in on load */
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-search-panel { animation: floatIn .8s .18s cubic-bezier(.2, .7, .2, 1) both; }
  .status-strip { animation: rise .7s .36s both; }

  /* Slow moving light in the hero, and light pulses running along "fibres" */
  .hero-section::after {
    content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; pointer-events: none;
    background: radial-gradient(circle, rgba(56, 199, 244, .16), transparent 60%);
    animation: glowDrift 14s ease-in-out infinite;
  }
  .hero-fibres { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .hero-fibres span {
    position: absolute; left: 0; width: 220px; height: 2px; border-radius: 2px; opacity: .0;
    background: linear-gradient(90deg, transparent, rgba(125, 216, 251, .9), transparent);
    animation: fibreRun 7s linear infinite; animation-fill-mode: both;
  }
  .hero-fibres span { opacity: .75; }
  .hero-fibres span:nth-child(1) { top: 18%; animation-duration: 7s; }
  .hero-fibres span:nth-child(2) { top: 46%; animation-duration: 9s; animation-delay: 2.5s; }
  .hero-fibres span:nth-child(3) { top: 72%; animation-duration: 8s; animation-delay: 4.5s; }
  .hero-fibres span:nth-child(4) { top: 88%; animation-duration: 11s; animation-delay: 1s; width: 160px; }

  /* Main button glints, and the address button gently pulses until used */
  .primary-btn { position: relative; overflow: hidden; }
  .primary-btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: translateX(-120%) skewX(-20deg);
  }
  .primary-btn:hover::after { animation: shine .7s ease; }
  #checkCoverageBtn { animation: softPulse 2.6s 1.4s ease-out 3; }

  /* Sections and cards rise in as they scroll into view */
  .motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
  .motion .reveal.is-in { opacity: 1; transform: none; }

  /* Cards and links react to the pointer */
  .step-card, .mini-card, .help-link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .step-card:hover, .mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .help-link:hover { transform: translateY(-3px); }
  .step-num { transition: transform .3s ease; }
  .step-card:hover .step-num { transform: scale(1.12) rotate(-6deg); }
  .package-slide .speed__down b { display: inline-block; transition: transform .25s ease, color .25s ease; }
  .package-slide:hover .speed__down b { transform: scale(1.05); color: var(--brand); transform-origin: left bottom; }
}
@media (prefers-reduced-motion: no-preference) and (hover: none) {
  .step-card:hover, .mini-card:hover, .help-link:hover { transform: none; box-shadow: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Onyx and Iris: the same look as the NOC OS admin panel.
   Deep ink, hairline borders, one iris accent, Geist type.
   To use another brand colour, change --brand, --brand-600,
   --brand-50, --brand-100 and --accent here.
   ═══════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2');
}
:root {
  --navy-950: #09090b;
  --navy-900: #111114;
  --navy-800: #18181c;
  --navy-700: #27272d;
  --ink: #09090b;
  --text: #27272a;
  --muted: #71717a;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --brand: #5b4be6;
  --brand-600: #4a3bd1;
  --brand-50: #f1efff;
  --brand-100: #e2defd;
  --accent: #8b7cf6;
  --iris-glow: rgba(139, 124, 246, .22);
  --ok: #059669;
  --ok-50: #ecfdf5;
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 8px 24px -10px rgba(9, 9, 11, .14);
  --shadow-lg: 0 1px 2px rgba(9, 9, 11, .04), 0 28px 56px -18px rgba(9, 9, 11, .32);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
body { letter-spacing: -.006em; }
h1, h2, h3, h4 { letter-spacing: -.03em; }
.primary-btn { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(91, 75, 230, .7); }
.primary-btn:hover { background: var(--brand-600); }
.announcement-item::before { box-shadow: 0 0 0 3px var(--iris-glow); }
.hero-section {
  color: #d4d4d8;
  background:
    radial-gradient(820px 460px at 88% -12%, rgba(139, 124, 246, .26), transparent 62%),
    radial-gradient(640px 420px at -8% 108%, rgba(91, 75, 230, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero-section::before { background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .022) 46px 47px); }
.hero-copy .pill { color: #d9d4ff; background: rgba(139, 124, 246, .12); border-color: rgba(139, 124, 246, .32); }
.hero-copy h1 .accent { background: linear-gradient(90deg, #c4bbff, var(--accent)); -webkit-background-clip: text; background-clip: text; }
/* The title is three editable parts: keep a space between them. */
.hero-copy h1 > span + span::before { content: " "; }
.hero-lead, .flow-side, .support-launch-card, .support-launch-card p { color: #a1a1aa; }
.hero-mini-stats li { border-left-color: rgba(139, 124, 246, .55); }
.hero-mini-stats span, .status-strip__text span, .status-strip__meta, .site-footer { color: #8b8b94; }
.flow-backdrop { background: rgba(9, 9, 11, .66); backdrop-filter: blur(3px); }
.flow-step-item.active { background: rgba(139, 124, 246, .14); box-shadow: inset 2px 0 0 var(--accent); }
.flow-step-item small { color: #8b8b94; }
.flow-step-item.active span { color: #fff; }
.search-panel { border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 40px 80px -28px rgba(0, 0, 0, .6), 0 0 0 1px rgba(139, 124, 246, .08); }

/* ─── Coverage map on the home page ───────── */
.coverage-map-section { padding: 88px 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.coverage-map-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: stretch; margin-top: 36px; }
.coverage-map-frame {
  position: relative; min-height: 480px; border-radius: var(--r-lg); overflow: hidden;
  background: #eceef3; border: 1px solid var(--line); box-shadow: var(--shadow);
}
#coverageMap { position: absolute !important; inset: 0; width: 100%; height: 100%; } /* Google Maps sets position: relative inline */
.coverage-map-frame .map-unavailable { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.coverage-map-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}
.coverage-map-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .16); }
.coverage-panel {
  display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.coverage-panel h3 { font-size: 18px; }
.coverage-panel p { color: var(--muted); font-size: 14px; }
.coverage-legend { display: grid; gap: 6px; }
.coverage-legend button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; font-size: 14px; color: var(--text);
  transition: background-color .15s, border-color .15s, opacity .15s;
}
.coverage-legend button:hover { background: var(--bg-soft); border-color: var(--line); }
.coverage-legend button[aria-pressed="false"] { opacity: .45; }
.coverage-legend .swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.coverage-legend .swatch.live { background: repeating-linear-gradient(135deg, #a1a1aa 0 3px, #e4e4e7 3px 6px); }
.coverage-legend strong { font-weight: 600; color: var(--ink); }
.coverage-legend small { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.coverage-panel .search-row { margin: 0; }
.coverage-panel .primary-btn { width: 100%; }
.coverage-panel-note { font-size: 12px !important; }

/* Legend chips over the signup map (step 1) */
.map-legend-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.map-legend-chips span {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--text);
}
.map-legend-chips i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ─── Step 2: the coverage result ─────────── */
.coverage-result {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 16px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--ok-50), #fff 70%); border: 1px solid #a7f3d0;
}
.coverage-result__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ok); color: #fff; box-shadow: 0 8px 18px -8px rgba(5, 150, 105, .7);
}
.coverage-result__icon svg { width: 20px; height: 20px; }
.coverage-result strong { display: block; color: var(--ink); font-size: 16px; }
.coverage-result span:not(.coverage-result__icon) { display: block; color: var(--muted); font-size: 14px; }

/* ─── Step 6: what it costs ───────────────── */
.signup-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 16px; }
.signup-totals > div { padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.signup-totals > div.is-due { background: var(--brand-50); border-color: var(--brand-100); }
.signup-totals small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.signup-totals b { display: block; margin-top: 2px; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.signup-totals span { display: block; font-size: 12px; color: var(--muted); }
.contract-term { color: var(--brand-600) !important; font-weight: 600; }

@media (max-width: 960px) {
  .coverage-map-layout { grid-template-columns: 1fr; }
  .coverage-map-frame { min-height: 360px; }
  .coverage-map-section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .signup-totals > div { padding: 12px; }
  .signup-totals b { font-size: 20px; }
  .coverage-map-frame { min-height: 300px; }
}
.provider-summary-block.is-found { padding: 0; background: none; border: 0; }

/* Coverage panel address field: a plain input, the button sits below it */
.coverage-input input {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm, 10px);
  background: #fff; color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.coverage-input input::placeholder { color: #8a8a93; }
.coverage-input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
#coverageMapCheckBtn { width: 100%; }

/* Company name in the header and footer when no logo is uploaded */
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.topbar .brand-name, .site-footer .brand-name { color: #fff; }
.footer-brand .brand-name { display: block; margin-bottom: 14px; }

/* A home page section switched off under Settings, Company website, Home page text. */
main > section[hidden] { display: none !important; }
