/* North Idaho Home Networks — shared styles */
:root {
  --ink: #0b1b14;
  --pine: #143528;
  --paper: #fbfcfb;
  --mist: #eff3f0;
  --steel: #1f5c50;
  --led: #f4a825;
  --text: #2b3833;
  --muted: #5f6f68;
  --line: rgba(11,27,20,.14);
  --shadow-sm: 0 1px 3px rgba(11,27,20,.06);
  --shadow-md: 0 10px 24px -10px rgba(11,27,20,.18);
  --shadow-lg: 0 18px 40px -12px rgba(11,27,20,.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 19px;
}
h1, h2, h3 { font-family: 'Sora', sans-serif; color: var(--ink); line-height: 1.18; letter-spacing: -.012em; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top phone bar ---------- */
.phone-bar { background: var(--pine); color: #e8f0ec; font-size: 1rem; }
.phone-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; gap: 6px; }
.phone-bar a { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; display: inline-block; padding: 5px 4px; margin: -5px -4px; }
.phone-bar a:hover { text-decoration: underline; }
.ph-digits { font-weight: 600; font-size: .95em; opacity: 1; white-space: nowrap; }

/* ---------- Nav ---------- */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,252,251,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 1.02rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a[aria-current="page"] { color: var(--steel); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  background: var(--steel); color: #fff !important; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; text-decoration: none !important;
}
.nav-cta:hover { background: var(--ink); }

/* Hamburger toggle — hidden on desktop, shown on mobile when JS is active */
.nav-toggle { display: none; }
.nav-bars { display: block; position: relative; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .15s ease; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.nav-bars::before { top: -7px; }
.nav-bars::after { top: 7px; }
.site-nav.open .nav-bars { background: transparent; }
.site-nav.open .nav-bars::before { transform: translateY(7px) rotate(45deg); }
.site-nav.open .nav-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (dark) ---------- */
header.hero {
  background: linear-gradient(180deg, #0c2019 0%, #11291f 45%, #163429 78%, #1a3b30 100%);
  color: #dfe9e4; position: relative; overflow: hidden;
}
header.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(203,218,211,.08), transparent 62%),
    radial-gradient(640px 340px at 80% 12%, rgba(244,168,37,.08), transparent 70%),
    radial-gradient(560px 320px at 8% 90%, rgba(31,92,80,.38), transparent 72%);
}
header.hero::after {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: 55px; height: 130px;
  background: radial-gradient(55% 100% at 50% 100%, rgba(223,233,228,.11), transparent 72%);
  filter: blur(14px); pointer-events: none;
  animation: mist-drift 48s ease-in-out infinite alternate;
}
@keyframes mist-drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.ridge { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; display: block; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px;
  align-items: center; padding: 104px 0 150px;
}
.hero-inner.single { grid-template-columns: 1fr; padding: 72px 0 110px; max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--led); font-weight: 700; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--led); }
.hero p.lede { font-size: 1.25rem; max-width: 46ch; color: #c6d4cd; margin-bottom: 36px; }
.hero-inner.single p.lede { margin-bottom: 0; }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.btn {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.08rem;
  padding: 16px 32px; border-radius: 8px; text-decoration: none; display: inline-block;
  transition: transform .15s ease, background .15s ease;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--led); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(244,168,37,.55); }
.btn-amber:hover { background: #ffbe3d; box-shadow: 0 8px 22px -6px rgba(244,168,37,.65); }
.btn-ghost { border: 2px solid var(--steel); color: var(--steel); background: transparent; }
.btn-ghost:hover { background: var(--steel); color: #fff; }
.hero-call { color: #fff; font-size: 1.1rem; }
.hero-call a { color: var(--led); font-weight: 700; text-decoration: none; }
.hero-call a:hover { text-decoration: underline; }

/* Stat chips */
.stat-chips { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 14px 20px;
  border-top: 2px solid rgba(244,168,37,.55);
}
.chip b { display: block; font-family: 'Sora', sans-serif; font-size: 1.35rem; color: #fff; }
.chip span { font-size: 1rem; color: #a9bdb4; }

/* Coverage map animation */
.netmap { width: 100%; height: auto; display: block; }
.node { fill: var(--led); }
.node-ring { fill: none; stroke: var(--led); stroke-width: 1; opacity: .5;
  transform-origin: center; animation: pulse 3s ease-out infinite; }
.node-ring.d1 { animation-delay: .8s; } .node-ring.d2 { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .node-ring { animation: none; opacity: .25; } }

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
.trust span { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.trust b { color: var(--ink); }
.tick {
  color: var(--steel); font-weight: 800; font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%; background: var(--mist);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.sec-head { max-width: 700px; margin-bottom: 52px; }
.sec-head .eyebrow { color: var(--steel); }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.sec-head p { font-size: 1.15rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--steel);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { font-size: 1.3rem; margin: 20px 0 12px; }
.card p { font-size: 1.05rem; }
.card ul { margin: 14px 0 0 0; list-style: none; }
.card li { font-size: 1rem; padding-left: 26px; position: relative; margin-bottom: 8px; }
.card li::before { content: "•"; color: var(--led); font-weight: 800; position: absolute; left: 8px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(150deg, var(--pine), var(--steel));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.card .learn, .learn { display: inline-block; margin-top: 16px; padding: 10px 0; font-weight: 700; color: var(--steel); text-decoration: none; }
.card .learn:hover { text-decoration: underline; }

/* ---------- Dark band ---------- */
.dark-band { background: linear-gradient(180deg, var(--ink) 0%, #0e231b 100%); color: #dfe9e4; position: relative; overflow: hidden; }
.dark-band .sec-head .eyebrow { color: var(--led); }
.dark-band h2 { color: #fff; }
.dark-band p { color: #c6d4cd; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.dark-band .quote-pines { opacity: .07; }
.band-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 30px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-top: 2px solid rgba(244,168,37,.5);
}
.band-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.band-card p { font-size: 1.02rem; margin-bottom: 0; }

/* ---------- Mist band (senior-friendly etc.) ---------- */
.easy { background: linear-gradient(180deg, #f4f7f5 0%, var(--mist) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.easy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.easy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.easy p { font-size: 1.15rem; margin-bottom: 16px; }
.easy-list { list-style: none; margin-top: 8px; }
.easy-list li { padding-left: 36px; position: relative; margin-bottom: 16px; font-size: 1.1rem; }
.easy-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--steel); font-weight: 800; font-size: 1.2rem;
}
/* Keep the alternating zigzag on services #cameras while the heading leads in DOM order */
@media (min-width: 881px) { #cameras .easy-grid > div:first-child { order: 2; } }
.easy-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: var(--shadow-md); border-top: 3px solid var(--led); }
.easy-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.easy-card p { font-size: 1.05rem; margin-bottom: 0; }
.easy-card .big-phone { display: block; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--steel); text-decoration: none; margin: 18px 0 6px; }
.easy-card .big-phone:hover { color: var(--ink); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 54px; right: -16px; height: 2px;
  background: linear-gradient(90deg, var(--line), rgba(11,27,20,.04));
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 1.02rem; }
.step-num {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem;
  width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--led);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* ---------- Quote band ---------- */
.quote-band { background: var(--pine); color: #dfe9e4; position: relative; overflow: hidden; }
.quote-band blockquote { font-family: 'Sora', sans-serif; font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 600; color: #fff; max-width: 30ch; line-height: 1.45; position: relative; z-index: 2; }
.quote-band blockquote::before {
  content: "\201C"; display: block; font-size: 4.2rem; line-height: .55;
  color: var(--led); margin-bottom: 20px;
}
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: 1.02rem; color: #b3c7be; position: relative; z-index: 2; }
.quote-pines { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; opacity: .18; pointer-events: none; }

/* ---------- Closed-loop (families) ---------- */
.loop { background: linear-gradient(180deg, #f4f7f5 0%, var(--mist) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loop-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.loop-step { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--led); border-radius: 12px; padding: 26px 22px; box-shadow: var(--shadow-sm); }
.loop-step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.loop-step p { font-size: 1rem; }
.loop-num { font-family: 'Sora', sans-serif; font-weight: 800; width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--led); display: flex; align-items: center; justify-content: center; }
.loop-arrow { align-self: center; color: var(--led); font-size: 1.8rem; font-weight: 800; }
.loop-foot { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 1.05rem; }
@media (max-width: 880px) {
  .loop-steps { grid-template-columns: 1fr; }
  .loop-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Wayfinding ---------- */
.wayfind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wayfind a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--led); border-radius: 10px;
  padding: 16px 20px; text-decoration: none; color: var(--text);
  font-size: .98rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.wayfind a b { display: block; font-family: 'Sora', sans-serif; color: var(--ink); margin-bottom: 2px; }
.wayfind a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (max-width: 880px) { .wayfind { grid-template-columns: 1fr; } }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.tier:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tier.featured { border: 2px solid var(--steel); position: relative; box-shadow: var(--shadow-lg); }
.tier-cta { margin-top: 26px; text-align: center; font-size: 1rem; padding: 14px 20px; }
.tier-badge { position: absolute; top: -14px; left: 28px; background: var(--led); color: var(--ink); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.25rem; }
.tier .for { font-size: .95rem; color: var(--steel); font-weight: 600; margin: 4px 0 14px; }
.price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--ink); }
.price small { font-size: .85rem; font-weight: 600; color: var(--text); }
.tier ul { list-style: none; margin: 18px 0 0; flex: 1; }
.tier li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: .98rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--steel); font-weight: 800; }
.note-box { background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--led); border-radius: 10px; padding: 20px 24px; margin-top: 28px; font-size: .95rem; }
/* A light note-box sitting inside the dark band must keep dark, readable text */
.dark-band .note-box { color: var(--text); }
.dark-band .note-box b { color: var(--ink); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; position: relative; z-index: 2; }
.plan {
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { border-color: rgba(244,168,37,.55); transform: translateY(-3px); }
.plan.featured { position: relative; border: 2px solid var(--led); }
.plan .for { font-size: .92rem; color: var(--led); font-weight: 600; margin: 4px 0 2px; }
.plan h3 { color: #fff; font-size: 1.1rem; }
.plan .price { color: var(--led); font-size: 1.6rem; margin-top: 6px; }
.plan ul { list-style: none; margin-top: 14px; }
.plan li { padding-left: 24px; position: relative; margin-bottom: 8px; font-size: .95rem; color: #c6d4cd; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--led); font-weight: 800; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.addons table { width: 100%; border-collapse: collapse; min-width: 560px; }
.addons th, .addons td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.addons tr:last-child td { border-bottom: none; }
.addons tr:nth-child(odd) td { background: rgba(239,243,240,.55); }
.addons th { font-family: 'Sora', sans-serif; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.addons td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.addons details { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.addons details[open] { border-left: 4px solid var(--led); }
.addons details .table-scroll { border: none; border-radius: 0; box-shadow: none; }
.addons summary {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--ink); padding: 20px 24px; cursor: pointer;
}
.addons summary::marker { color: var(--steel); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info p { font-size: 1.15rem; margin-top: 16px; }
.contact-details { margin-top: 26px; font-size: 1.1rem; line-height: 2; }
.contact-details b { color: var(--ink); }
.contact-details a { color: var(--steel); font-weight: 700; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: var(--shadow-md); border-top: 3px solid var(--led); }
.field { margin-bottom: 22px; }
label { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--steel); outline-offset: 1px; }
.submit { width: 100%; }
.form-note { font-size: 1rem; margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #93a79e; padding: 40px 0; font-size: .98rem; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: #c6d4cd; text-decoration: none; }
footer a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
.hero :focus-visible, .dark-band :focus-visible, .quote-band :focus-visible, .phone-bar :focus-visible, footer :focus-visible { outline-color: var(--led); }

/* ---------- Skip link (keyboard/screen-reader) ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--led); color: var(--ink); font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq details[open] { border-left: 4px solid var(--led); }
.faq summary {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.08rem;
  color: var(--ink); padding: 16px 0; cursor: pointer;
}
.faq summary::marker { color: var(--steel); }
.faq details p { padding: 2px 0 18px; font-size: 1.05rem; }

@media (max-width: 880px) {
  body { font-size: 18px; }
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 110px; gap: 40px; }
  .cards, .cards.two, .steps, .band-grid, .tiers, .plan-grid { grid-template-columns: 1fr; }
  .easy-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 0; }
  .trust span { font-size: .95rem; }
  .step:not(:last-child)::after { display: none; }

  /* Phone-sized hero type so the CTA isn't shoved below the fold */
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.35rem); margin-bottom: 15px; }
  .hero p.lede { font-size: 1.02rem; margin-bottom: 24px; }

  /* Nav */
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; align-items: center; }
  .logo { font-size: 1.05rem; }

  /* JS-enhanced hamburger menu (the default experience) */
  .site-nav.nav-js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .site-nav.nav-js .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 10px; border-top: 1px solid var(--line); }
  .site-nav.nav-js.open .nav-links { display: flex; }
  .site-nav.nav-js .nav-links li { width: 100%; }
  .site-nav.nav-js .nav-links a { display: block; padding: 15px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .site-nav.nav-js .nav-links .nav-cta { text-align: center; background: var(--steel); color: #fff !important; border-radius: 10px; margin: 14px 0 2px; padding: 15px; border-bottom: 0; }

  /* No-JS fallback: keep links visible and wrapped (still usable) */
  .site-nav:not(.nav-js) .nav-links { width: 100%; justify-content: flex-start; gap: 2px 18px; flex-wrap: wrap; align-items: center; }
  .site-nav:not(.nav-js) .nav-links a { font-size: .95rem; padding: 10px 2px; display: inline-block; }
  .site-nav:not(.nav-js) .nav-cta { white-space: nowrap; padding: 10px 14px; font-size: .9rem; margin-left: auto; }
}

@media (max-width: 640px) {
  /* Phone bar: just the number, centered and tappable */
  .phone-bar .wrap span:first-child { display: none; }
  .phone-bar .wrap { justify-content: center; }

  /* Hero: full-width thumb-sized buttons, tidy chips */
  .btn-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn-row .btn { text-align: center; }
  .hero-call { text-align: center; }
  .hero p.lede { font-size: 1.15rem; }
  .stat-chips { gap: 10px; margin-top: 32px; }
  .chip { flex: 1 1 100%; display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; }
  .chip b { font-size: 1.15rem; }
  .netmap { max-width: 400px; margin: 0 auto; }

  section { padding: 56px 0; }
  .card, .tier, .easy-card, form { padding: 28px 22px; }
  .foot-inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Mid-range nav: wrap links to a second row instead of cramming ---------- */
@media (max-width: 1080px) and (min-width: 881px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 6px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 6px 24px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Persistent mobile click-to-call ---------- */
.call-bar { display: none; }
@media (max-width: 880px) {
  .call-bar {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--led); color: #3a2a05;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.08rem;
    letter-spacing: -.01em; text-decoration: none;
    padding: 15px 14px; padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px -6px rgba(11,27,20,.35);
  }
  .call-bar:active { background: #e59a1c; }
  body { padding-bottom: 62px; }
}
