/* NearFiber brand: pin-with-signal logo, Sora headings, DM Sans text, navy + teal (matches the Facebook kit). */
:root {
  --navy: #0b1f33;
  --navy-2: #13304c;
  --navy-line: #2f4a66;
  --on-navy: #b8c6d6;
  --on-navy-2: #dce5ef;
  --teal: #0f766e;
  --teal-ink: #0b5e57;
  --teal-bright: #2dd4bf;
  --teal-bright-ink: #19b8a4;
  --teal-wash: #e7f6f3;
  --gold: #ffd166;
  --gold-ink: #6b4a00;
  --ink: #0b1f33;
  --ink-2: #4a5a6b;
  --muted: #6b7b8c;
  --line: #dbe3ea;
  --soft: #f4f7f9;
  --paper: #ffffff;
  --bubble: #eef3f7;
  --error: #b42318;

  --display: "Sora", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 18px;
  --r-field: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid rgba(45, 212, 191, 0.7); outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 5.4vw, 3.5rem); letter-spacing: -0.035em; }
h2 { font-weight: 700; font-size: clamp(1.625rem, 3.6vw, 2.375rem); letter-spacing: -0.025em; }
h3 { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.center { text-align: center; }
.sub { margin-top: 12px; color: var(--ink-2); font-size: 1.125rem; max-width: 44em; }
.center.sub { margin-inline: auto; }
.kicker { margin-bottom: 8px; color: var(--teal); font: 700 0.8125rem var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.soft { background: var(--soft); }
main > section { padding-block: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tick { width: 20px; height: 20px; flex: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo .mark { width: 38px; height: 38px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.04em; color: var(--navy); line-height: 1; }
.wordmark span { color: var(--teal); }
.logo-dark .wordmark { color: #fff; }
.logo-dark .wordmark span { color: var(--teal-bright); }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.top-disclose { display: none; margin-left: auto; color: var(--muted); font-size: 0.875rem; }
.top-cta { margin-left: auto; }
@media (min-width: 760px) { .top-disclose { display: inline; } .top-cta { margin-left: 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--teal-bright);
  color: var(--navy);
  font: 700 1.0625rem/1.1 var(--display);
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--teal-bright-ink); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; white-space: nowrap; }
.btn-wide { width: 100%; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font: 700 0.875rem/1.1 var(--display);
  white-space: nowrap;
  cursor: pointer;
}
.btn-outline:hover { background: var(--teal-wash); }
.btn-xs { min-height: 38px; padding: 8px 14px; }

/* Hero */
main > .hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: 48px 64px; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--teal-bright); stroke-width: 2; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
  main > .hero { padding-block: 64px 80px; }
}
.hero-copy { min-width: 0; }
.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1.5px solid var(--navy-line);
  border-radius: 999px;
  color: var(--teal-bright);
  font: 700 0.8125rem var(--display);
  letter-spacing: 0.02em;
}
.hero h1 { color: #fff; }
.hero-sub { margin-top: 16px; max-width: 32em; color: var(--on-navy); font-size: clamp(1.0625rem, 2.2vw, 1.25rem); }
.hero-offer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-offer p { padding: 10px 16px; background: var(--navy-2); border: 1.5px solid var(--navy-line); border-radius: 12px; color: var(--on-navy-2); }
.hero-offer b { color: var(--teal-bright); font-family: var(--display); }
.hero-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.hero-brands { margin-top: 18px; color: var(--on-navy); font-size: 0.9375rem; }
@media (max-width: 979px) {
  .hero-offer, .hero-ticks, .hero-brands { display: none; }
  .hero-sub { font-size: 1.0625rem; }
}

/* Chat assistant */
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  scroll-margin-top: 12px;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.chat-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--navy); border-radius: 50%; }
.chat-avatar .mark { width: 28px; height: 28px; }
.chat-name { font: 700 1rem var(--display); }
.chat-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8125rem; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.chat-log { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 20px; background: #fbfcfd; }
@media (min-width: 980px) { .chat-log { height: 540px; overflow-y: auto; overscroll-behavior: contain; } }
.chat-noscript { padding: 16px 18px; color: var(--ink-2); }
.msg { display: flex; }
.msg .bubble { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.msg.bot .bubble { background: var(--bubble); border-top-left-radius: 6px; color: var(--ink); }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: var(--navy); border-top-right-radius: 6px; color: #fff; }
.msg.bot .bubble:has(.deal-card), .msg.bot .bubble:has(.isp-card), .msg.bot .bubble:has(.more-isps), .msg.bot .bubble:has(.btn) {
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
}
.typing .bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing .dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa9b8; animation: blink 1.1s infinite ease-in-out; }
.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.checking { display: inline-flex; align-items: center; gap: 10px; }
.checking::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.chips-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.chip {
  min-height: 44px;
  padding: 9px 16px;
  background: #fff;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-ink);
  font: 700 0.9375rem/1.2 var(--display);
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.chip:hover { background: var(--teal-wash); }

.chat-form { padding: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; }
.cf-row { display: flex; flex-wrap: wrap; gap: 0 10px; }
.cf-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; flex: 1 1 100%; }
.cf-field.grow { flex: 1 1 160px; }
.cf-field.zip { flex: 0 0 110px; }
.cf-field > span { font-weight: 700; font-size: 0.875rem; }
.cf-field em { color: var(--muted); font-style: normal; font-weight: 500; }
.chat-form input:not([type="checkbox"]):not([type="radio"]),
.chat-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c7d3de;
  border-radius: var(--r-field);
  font: inherit;
  font-size: 1.0625rem;
}
.chat-form textarea { min-height: 70px; resize: vertical; }
.chat-form input:focus, .chat-form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(45, 212, 191, 0.35); outline-offset: 0; }
.chat-form [aria-invalid="true"] { border-color: var(--error) !important; }
.cf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 14px; color: var(--ink-2); font-size: 0.75rem; line-height: 1.5; }
.cf-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }
.cf-trust { margin-top: 10px; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.cf-error { margin-top: 10px; color: var(--error); font-weight: 700; font-size: 0.9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Best-match deal inside the chat */
.deal-card { padding: 18px; background: #fff; border: 2px solid var(--teal); border-radius: 18px; box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14); }
.deal-tag { display: inline-block; padding: 3px 11px; background: var(--teal); border-radius: 999px; color: #fff; font: 700 0.75rem/1.5 var(--display); }
.deal-name { margin-top: 10px; font: 700 1.25rem/1.25 var(--display); letter-spacing: -0.01em; }
.deal-price { margin-top: 4px; color: var(--ink-2); }
.deal-price b { color: var(--ink); font: 800 2.25rem/1 var(--display); letter-spacing: -0.03em; }
.deal-save { display: inline-block; margin-top: 10px; padding: 6px 12px; background: var(--gold); border-radius: 10px; color: var(--navy); font: 700 0.9375rem var(--display); }
.deal-perks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.deal-perks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 0.9375rem; }
.deal-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%230f766e' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.deal-perks .perk-gift { color: var(--teal-ink); font-weight: 700; }
.deal-fine { margin: 12px 0 14px; color: var(--muted); font-size: 0.8125rem; }

.isp-card { padding: 6px 0 0; }
.isp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.isp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.isp-main { display: grid; gap: 4px; min-width: 0; }
.isp-name { font: 700 1rem var(--display); overflow-wrap: anywhere; }
.isp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.isp-speed { color: var(--ink-2); font-size: 0.875rem; }
.isp-source { margin-top: 8px; color: var(--muted); font-size: 0.75rem; }
.type-badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-weight: 700; font-size: 0.75rem; line-height: 1.6; white-space: nowrap; }
.type-badge.t-0 { background: var(--teal-wash); color: var(--teal-ink); }
.type-badge.t-1 { background: #e8eef6; color: #27486b; }
.type-badge.t-2 { background: #efeafb; color: #5a3d9a; }
.type-badge.t-3 { background: #eef1f4; color: var(--ink-2); }
.more-isps { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.more-isps summary { padding: 10px 0; color: var(--teal-ink); font: 700 0.9375rem var(--display); cursor: pointer; }
.more-isps[open] { padding-bottom: 14px; }

/* Plan picker inside the chat */
fieldset { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; font: 700 1.0625rem var(--display); }
.plans { display: grid; gap: 8px; }
.plan {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.plan input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }
.plan .speed { font: 700 1.0625rem var(--display); }
.plan .price { font: 700 1.0625rem var(--display); }
.plan .price small { color: var(--ink-2); font: 500 0.8125rem var(--text); }
.plan .perk, .plan .save { grid-column: 2 / -1; font-size: 0.8125rem; line-height: 1.4; }
.plan .perk { color: var(--ink-2); }
.plan .save { color: var(--teal); font-weight: 700; }
.plan.is-selected { background: var(--teal-wash); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.windows label { display: inline-flex; align-items: center; gap: 8px; margin: 0 14px 8px 0; font-weight: 500; font-size: 0.9375rem; }
.windows input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }

/* Deals */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.offer-badge {
  position: absolute;
  top: -14px;
  left: 18px;
  right: 18px;
  padding: 5px 12px;
  background: var(--gold);
  border-radius: 999px;
  color: var(--navy);
  font: 700 0.8125rem/1.3 var(--display);
  text-align: center;
}
.offer-prov { color: var(--ink-2); font-weight: 700; }
.offer-speed { font: 800 2.25rem/1.05 var(--display); letter-spacing: -0.03em; }
.offer-price { margin-top: 6px; color: var(--ink-2); }
.offer-price b { color: var(--ink); font: 800 1.625rem var(--display); }
.offer-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.offer-list li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.offer-card .btn { margin-top: auto; }
.table-notes { display: grid; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }

/* Why switch */
.benefits { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefits li { padding: 26px 24px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); }
.benefits li::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z' fill='%232dd4bf'/%3E%3C/svg%3E") no-repeat center / 24px;
}
.benefits h3 { margin-bottom: 6px; }
.benefits p { color: var(--ink-2); }

/* Comparison table */
.table-wrap { margin-top: 30px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font: 700 0.875rem var(--display); border-bottom: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font: 700 1.0625rem var(--display); }
.compare tr.is-pick > * { background: var(--teal-wash); }
.compare tr.is-pick th::after { content: "Best"; margin-left: 8px; padding: 2px 8px; background: var(--teal); border-radius: 999px; color: #fff; font-size: 0.6875rem; vertical-align: middle; }
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { border: 0; background: transparent; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { margin-bottom: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
  .compare tbody tr.is-pick { border-color: var(--teal); }
  .compare tbody th { padding: 14px 16px 6px; border: 0; }
  .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 16px; border: 0; text-align: right; }
  .compare td::before { content: attr(data-label); color: var(--muted); font-weight: 500; text-align: left; }
  .compare tbody tr > :last-child { padding-bottom: 14px; }
}

/* How it works */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { padding: 26px 24px; background: #fff; border-radius: var(--r-card); border: 1.5px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; background: var(--navy); border-radius: 50%; color: var(--teal-bright); font: 700 1.125rem var(--display); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 2px 20px; }
.faq summary { padding: 16px 0; font: 700 1.0625rem var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); }

/* Closing band */
main > .cta-band { background: var(--navy); text-align: center; padding-block: 64px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 12px auto 26px; max-width: 34em; color: var(--on-navy); font-size: 1.125rem; }
.cta-band .btn { min-width: min(300px, 100%); }

/* Policy pages */
.article { padding-block: 64px; }
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { margin: 36px 0 12px; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 10px; margin: 12px 0; padding-left: 1.25em; }
.dateline { margin-top: 10px; color: var(--muted); font-size: 0.875rem; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.page .prose { margin: 20px 0 0; }
.lede { margin-top: 12px; color: var(--ink-2); font-size: 1.1875rem; }
.page .btn { margin-top: 24px; }

/* Thank-you */
main.thanks { background: var(--soft); padding-block: 56px 80px; }
.thanks .wrap { max-width: 780px; }
.next { list-style: none; margin: 32px 0 24px; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); counter-increment: step; }
.next li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; background: var(--navy); border-radius: 50%; color: var(--teal-bright); font: 700 1.125rem var(--display); }
.next h3 { margin-bottom: 4px; }
.next p { color: var(--ink-2); }
.fine { margin-top: 10px; color: var(--muted); font-size: 0.875rem; }

/* Footer */
.foot { padding-block: 48px; background: var(--navy); color: var(--on-navy); font-size: 0.875rem; }
.foot-grid { display: grid; gap: 18px; }
.foot-brand p { margin-top: 6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.foot-nav a:hover { color: var(--teal-bright); }
.disclose { max-width: 62em; line-height: 1.6; }
.updated { color: #8fa3b8; }

/* Sticky button on phones */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--teal-bright);
  border-radius: 999px;
  color: var(--navy);
  font: 700 1.0625rem var(--display);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(11, 31, 51, 0.3);
}
.sticky-cta:hover { color: var(--navy); background: var(--teal-bright-ink); }
.sticky-cta[hidden] { display: none; }
@media (min-width: 980px) { .sticky-cta { display: none !important; } }

/* Phones */
@media (max-width: 600px) {
  main > section { padding-block: 52px; }
  main > .hero { padding-block: 28px 36px; }
  .hero-kicker { margin-bottom: 12px; }
  h1 { font-size: 2.125rem; }
  .wordmark { font-size: 1.3125rem; }
  .logo .mark { width: 32px; height: 32px; }
  .chat { border-radius: 18px; }
  .chat-log { padding: 14px 12px 16px; }
  .msg .bubble { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  .typing .dot, .checking::before { animation: none; }
  .btn, .chip { transition: none; }
}

/* ---------- Emotional sections ---------- */
.kicker.center { text-align: center; }
.gas-grid, .honey-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .gas-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
  .honey-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
}
.gas-copy .btn, .honeymoon .btn { margin-top: 24px; }

/* Gas station price signs */
.gas-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sign {
  position: relative;
  padding: 0 0 16px;
  background: #0d1117;
  border: 6px solid #2a3340;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(11, 31, 51, 0.25);
  overflow: hidden;
  text-align: center;
}
.sign::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 14px; height: 60px; background: #2a3340; transform: translateX(-50%); }
.sign-top { padding: 10px 8px; background: #fff; color: var(--navy); font: 800 0.8125rem var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.sign-new .sign-top { background: var(--teal-bright); }
.sign-row { display: grid; gap: 4px; padding: 16px 10px 8px; }
.sign-row span { color: #c9d4df; font: 700 0.75rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.sign-row b {
  font: 800 clamp(2.25rem, 7vw, 3.25rem)/1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sign-old .sign-row b { color: #ff5a4e; text-shadow: 0 0 18px rgba(255, 90, 78, 0.55); }
.sign-new .sign-row b { color: var(--teal-bright); text-shadow: 0 0 18px rgba(45, 212, 191, 0.6); }
.sign-foot { padding: 0 10px; color: #9fb0c1; font-size: 0.8125rem; }
.sign-new { transform: translateY(-14px); border-color: var(--teal); }

/* Promo price going up */
.bill-card { padding: 24px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.bill-label { margin-bottom: 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.bill-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bill-line span { color: var(--ink-2); }
.bill-line b { font: 800 1.5rem var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.bill-line b small { color: var(--muted); font: 500 0.875rem var(--text); }
.bill-line.up b { color: #c2410c; }
.bill-jump { display: inline-block; margin: 12px 0 4px; padding: 6px 12px; background: #fff1e8; border-radius: 10px; color: #c2410c; font: 700 0.9375rem var(--display); }
.bill-line.fiber { margin-top: 10px; padding: 14px 16px; background: var(--teal-wash); border: 0; border-radius: 12px; }
.bill-line.fiber span { color: var(--teal-ink); font-weight: 700; }
.bill-line.fiber b { color: var(--teal-ink); }

/* Construction */
.build-list { list-style: none; margin: 36px 0 32px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.build-list li { padding: 26px 24px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); }
.build-list svg { width: 52px; height: 52px; padding: 10px; margin-bottom: 14px; background: var(--navy); border-radius: 14px; color: var(--teal-bright); }
.build-list h3 { margin-bottom: 6px; }
.build-list p { color: var(--ink-2); }

/* Fiber vs cable */
.vs { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.vs-card { padding: 24px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); }
.vs-fiber { border: 2px solid var(--teal); }
.vs-art { display: block; width: 100%; height: 72px; margin-bottom: 14px; border-radius: 12px; background: var(--soft); }
.vs-fiber .vs-art { background: var(--navy); }
.vs-card h3 { margin-bottom: 6px; }
.vs-card p { color: var(--ink-2); }
.beam { stroke-dasharray: 60 240; animation: beam 1.4s linear infinite; }
@keyframes beam { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .beam { animation: none; stroke-dasharray: none; } }

/* Footer fine print */
.fineprint { max-width: 62em; color: #8fa3b8; font-size: 0.8125rem; line-height: 1.6; }

@media (max-width: 600px) {
  .gas-signs { gap: 10px; }
  .sign { border-width: 4px; }
  .sign-new { transform: translateY(-8px); }
  .bill-line b { font-size: 1.25rem; }
}

/* ---------- v6: search + side-by-side results + Text us ---------- */
.hero-grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.hero-copy { max-width: 820px; }
.hero-sub { margin-inline: auto; }
.hero-offer, .hero-ticks { justify-content: center; }
.search-wrap { position: relative; max-width: 860px; margin: 30px auto 0; scroll-margin-top: 12px; text-align: left; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.search-bar:focus-within { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.55), 0 18px 44px rgba(0, 0, 0, 0.3); }
.sb-street { position: relative; flex: 1 1 auto; min-width: 0; }
.sb-street svg { position: absolute; left: 0; top: 50%; width: 24px; height: 24px; color: var(--navy); transform: translateY(-50%); }
.search-bar input {
  width: 100%;
  min-height: 54px;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.0625rem var(--text);
  outline: none;
}
.sb-street input { padding-left: 34px; }
.sb-zip { flex: 0 0 104px; width: 104px !important; padding-left: 14px !important; border-left: 1.5px solid var(--line) !important; }
.search-bar input::placeholder { color: #718294; }
.search-bar .btn { flex: none; min-height: 58px; padding-inline: 30px; }
.search-bar input[aria-invalid="true"] { color: var(--error); }
.search-wrap > .form-error { margin-top: 12px; padding: 8px 14px; background: #fff; border-radius: 10px; color: var(--error); font-weight: 700; }
@media (max-width: 640px) {
  .search-bar { flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 22px; }
  .sb-street { flex: 1 1 100%; padding: 0 10px; border-bottom: 1.5px solid var(--line); }
  .sb-zip { flex: 1 1 0; width: auto !important; border-left: 0 !important; }
  .search-bar .btn { flex: 1 1 auto; min-height: 52px; padding-inline: 18px; }
}

/* Results panel */
.results { margin-top: 16px; padding: 22px; background: #fff; border-radius: 22px; color: var(--ink); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); text-align: left; }
.results:focus { outline: none; }
@media (max-width: 480px) { .results { padding: 16px 12px; border-radius: 18px; } }
.res-checking { display: flex; align-items: center; gap: 12px; padding: 8px 4px; font: 700 1.0625rem var(--display); }
.spinner { width: 20px; height: 20px; flex: none; border: 3px solid var(--line); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; }
.res-kicker { display: inline-block; margin-bottom: 8px; padding: 4px 12px; background: var(--teal-wash); border-radius: 999px; color: var(--teal-ink); font: 700 0.875rem var(--display); }
.res-title { font-size: clamp(1.375rem, 3.4vw, 1.75rem); }
.res-addr { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.link-btn { padding: 0; background: none; border: 0; color: var(--teal); font: 700 0.9375rem var(--text); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.bill-ask { margin: 18px 0 14px; padding: 14px 16px; background: var(--soft); border-radius: 14px; }
.bill-ask p { font-weight: 700; font-size: 0.9375rem; }
.bill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bill-chips .chip { min-height: 40px; padding: 7px 16px; }
.bill-chips .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.plan-card { position: relative; margin-top: 12px; padding: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; }
.plan-card.best { margin-top: 22px; padding-top: 26px; border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(15, 118, 110, 0.16); }
.pc-ribbon { position: absolute; top: -14px; left: 18px; padding: 4px 14px; background: var(--teal); border-radius: 999px; color: #fff; font: 700 0.8125rem/1.4 var(--display); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-name { font: 800 1.375rem/1.2 var(--display); letter-spacing: -0.02em; }
.plan-card.other .pc-name { font-size: 1.125rem; font-weight: 700; }
.pc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; color: var(--ink-2); font-size: 0.9375rem; }
.pc-gift { padding: 6px 12px; background: var(--gold); border-radius: 10px; color: var(--navy); font: 700 0.875rem var(--display); }
.pc-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 16px; }
.pc-tab { display: grid; gap: 2px; padding: 10px 8px; background: #fff; border: 1.5px solid #c7d3de; border-radius: 12px; color: var(--ink); text-align: center; cursor: pointer; }
.pc-tab:hover { border-color: var(--teal); }
.pc-tab[aria-checked="true"] { background: var(--teal-wash); border: 2px solid var(--teal); }
.pc-tab-speed { font: 700 1rem var(--display); }
.pc-tab-price { color: var(--ink-2); font-size: 0.8125rem; }
.pc-price { margin-top: 16px; color: var(--ink-2); }
.pc-price b { color: var(--ink); font: 800 2.75rem/1 var(--display); letter-spacing: -0.03em; }
.pc-save { display: inline-block; margin-top: 10px; padding: 6px 12px; background: var(--gold); border-radius: 10px; color: var(--navy); font: 700 0.9375rem var(--display); }
.pc-perks { list-style: none; margin: 14px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pc-perks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 0.9375rem; }
.pc-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%230f766e' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pc-order { font-size: 1.125rem; min-height: 58px; }
.pc-fine { margin-top: 8px; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.pc-later { display: block; margin: 10px auto 0; }
.plan-card.other .btn-outline { min-height: 42px; padding: 9px 18px; }
.res-sub { margin: 22px 0 0; color: var(--ink-2); font: 700 0.875rem var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.res-note { margin-top: 14px; color: var(--ink-2); }
.res-help { margin-top: 18px; color: var(--muted); font-size: 0.875rem; text-align: center; }

/* Small "text me" forms (only when someone isn't ordering now) */
.mini-form { margin-top: 14px; padding: 16px; background: var(--soft); border-radius: 14px; }
.mf-title { margin-bottom: 12px; font: 700 1.0625rem/1.35 var(--display); }
.mf-row { display: flex; flex-wrap: wrap; gap: 0 10px; }
.mf-field { display: flex; flex-direction: column; gap: 5px; flex: 1 1 180px; min-width: 0; margin-bottom: 12px; }
.mf-field > span { font-weight: 700; font-size: 0.875rem; }
.mini-form input:not([type="checkbox"]), .textus textarea, .textus input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c7d3de;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
}
.textus textarea { min-height: 80px; resize: vertical; }
.mini-form input:focus, .textus textarea:focus, .textus input:focus { border-color: var(--teal); outline: 3px solid rgba(45, 212, 191, 0.35); outline-offset: 0; }
.mini-form [aria-invalid="true"] { border-color: var(--error) !important; }
.mf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: var(--ink-2); font-size: 0.75rem; line-height: 1.5; }
.mf-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }
.mf-error { margin-top: 10px; color: var(--error); font-weight: 700; font-size: 0.9375rem; }
.mf-done { margin-top: 14px; padding: 16px; background: var(--teal-wash); border-radius: 14px; }
.mf-done strong { display: block; font: 700 1.125rem var(--display); }
.mf-done p { margin-top: 4px; color: var(--ink-2); }

/* Text us bubble */
.textus { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.textus-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 20px;
  background: var(--navy);
  border: 2px solid var(--teal-bright);
  border-radius: 999px;
  color: #fff;
  font: 700 1rem var(--display);
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.35);
  cursor: pointer;
}
.textus-btn svg { width: 22px; height: 22px; color: var(--teal-bright); }
.textus-panel { width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); overflow-y: auto; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 31, 51, 0.35); }
.tp-head { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.tp-name { font: 700 1rem var(--display); }
.tp-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8125rem; }
.tp-close { margin-left: auto; width: 36px; height: 36px; background: var(--soft); border: 0; border-radius: 50%; color: var(--ink); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.tp-body { padding: 16px; }
.tp-bubble { margin-bottom: 14px; padding: 11px 14px; background: var(--bubble); border-radius: 18px; border-top-left-radius: 6px; }
.tp-sms { margin-bottom: 14px; }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--navy); border-radius: 50%; }
.chat-avatar .mark { width: 26px; height: 26px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.textus .mf-row .mf-field { flex-basis: 140px; }

/* Sticky button on phones sits left of the Text us bubble */
@media (max-width: 979px) {
  .sticky-cta { right: 150px; left: 16px; }
}
@media (max-width: 420px) {
  .textus-btn span { display: none; }
  .textus-btn { padding: 12px 16px; }
  .sticky-cta { right: 90px; }
}

/* v6 fixes */
[hidden] { display: none !important; }
.textus-open .sticky-cta { display: none !important; }
.pc-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 480px) {
  .pc-tab { padding: 9px 4px; }
  .pc-tab-speed { font-size: 0.875rem; }
  .pc-tab-price { font-size: 0.75rem; }
  .bill-chips { gap: 6px; }
  .bill-chips .chip { min-height: 44px; padding: 6px 12px; font-size: 0.875rem; }
}
@media (max-width: 600px) { .textus-panel { max-height: calc(100vh - 96px); } }

/* v7: quick questions while we check, then the reveal */
.quiz-bar { height: 6px; margin-bottom: 16px; background: var(--line); border-radius: 999px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--teal); border-radius: inherit; transition: width 0.35s ease; }
.quiz-checking { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 10px 12px; background: var(--soft); border-radius: 12px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.quiz-checking .spinner { width: 18px; height: 18px; margin-top: 1px; border-width: 2.5px; }
.quiz-count { color: var(--teal-ink); font: 700 0.8125rem var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.quiz-q { margin-top: 4px; font-size: clamp(1.3125rem, 3.4vw, 1.625rem); line-height: 1.25; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.quiz-opt {
  min-height: 56px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #c7d3de;
  border-radius: 14px;
  color: var(--ink);
  font: 700 1rem/1.25 var(--display);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.quiz-opt:hover:not(:disabled) { background: var(--teal-wash); border-color: var(--teal); }
.quiz-opt:active:not(:disabled) { transform: scale(0.98); }
.quiz-opt:focus-visible { outline: 3px solid rgba(45, 212, 191, 0.6); outline-offset: 2px; }
.quiz-opt:disabled { cursor: default; opacity: 0.45; }
.quiz-opt.is-picked { background: var(--navy); border-color: var(--navy); color: #fff; opacity: 1; }
.quiz-react { margin-top: 14px; padding: 12px 14px; background: var(--teal-wash); border-left: 4px solid var(--teal); border-radius: 12px; color: var(--ink); font-weight: 600; line-height: 1.45; animation: rise 0.3s ease both; }
.quiz-skip { display: block; margin: 16px auto 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
@media (max-width: 480px) {
  .quiz-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quiz-opt { min-height: 54px; padding: 10px 8px; font-size: 0.9375rem; }
}

.work { padding: 6px 2px; }
.work-title { font: 800 1.375rem/1.25 var(--display); letter-spacing: -0.01em; }
.work-list { list-style: none; margin: 14px 0 4px; padding: 0; }
.work-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: #9aa9b8; font: 600 1.0625rem/1.3 var(--text); transition: color 0.2s ease; }
.work-list li::before { content: ""; flex: none; width: 22px; height: 22px; box-sizing: border-box; border: 2.5px solid var(--line); border-radius: 50%; }
.work-list li.is-active { color: var(--ink); }
.work-list li.is-active::before { border-top-color: var(--teal); animation: spin 0.8s linear infinite; }
.work-list li.is-done { color: var(--ink); }
.work-list li.is-done::before {
  border-color: var(--teal);
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px;
}

.save-banner { margin-top: 16px; padding: 16px 18px; background: var(--navy); border-radius: 16px; color: #fff; animation: pop 0.45s ease both; }
.save-banner:empty { display: none; }
.sb-big { color: var(--gold); font: 800 clamp(1.5rem, 4.6vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; }
.sb-small { margin-top: 6px; color: var(--on-navy); font-size: 0.9375rem; }
.pc-perks li.perk-hi { flex-basis: 100%; color: var(--ink); font-weight: 700; }
.res-head, .plan-card { animation: rise 0.4s ease both; }
.plan-card.best { animation-delay: 0.12s; }
.plan-card.other { animation-delay: 0.22s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.96); } 70% { opacity: 1; transform: scale(1.01); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .quiz-react, .save-banner, .res-head, .plan-card { animation: none; }
  .work-list li.is-active::before, .spinner { animation: none; }
  .quiz-bar span, .quiz-opt { transition: none; }
}
.quiz-checking.is-ready { background: var(--teal-wash); color: var(--teal-ink); font-weight: 700; }
.ready-dot { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.quiz-react + .quiz-count { margin-top: 14px; }
.quiz-react { margin: 0; }

/* Ranked providers with real links (replaces "Today's best fiber deals") */
.picks { display: grid; gap: 16px; margin-top: 32px; }
.pick {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
}
.pick-top { border: 2px solid var(--teal); box-shadow: 0 14px 34px rgba(15, 118, 110, 0.16); }
.pick-rank { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); color: var(--navy); font: 800 1.375rem/1 var(--display); }
.pick-top .pick-rank { background: var(--teal); color: #fff; }
.pick-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 800 0.875rem/1.3 var(--display); }
.pick:not(.pick-top) .pick-badge { background: var(--teal-wash); color: var(--teal-ink); }
.pick-name { margin-top: 8px; font: 800 1.5rem/1.15 var(--display); letter-spacing: -0.02em; }
.pick-price { margin-top: 6px; color: var(--ink-2); }
.pick-price b { color: var(--ink); font: 800 1.75rem var(--display); letter-spacing: -0.02em; }
.pick-perk { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--teal-ink); font-weight: 700; }
.pick-perk .tick { width: 18px; height: 18px; flex: none; }
.pick-list { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.9375rem; }
.pick-list li::before { content: "\2713"; margin-right: 6px; color: var(--teal); font-weight: 800; }
.pick-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.pick-actions .btn { min-width: 220px; }
@media (min-width: 860px) {
  .pick { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 24px 28px; }
  .pick-actions { grid-column: 3; flex-direction: column; align-items: stretch; margin-top: 0; text-align: center; }
}
@media (max-width: 520px) {
  .pick { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .pick-rank { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1.125rem; }
  .pick-actions { grid-column: 1; }
  .pick-actions .btn { width: 100%; min-width: 0; }
  .pick-actions .link-btn { margin: 0 auto; }
}

.prov-groups { display: grid; gap: 26px; margin-top: 34px; align-items: start; }
.prov-col { display: grid; gap: 26px; }
@media (min-width: 900px) { .prov-groups { grid-template-columns: 1.4fr 1fr; } }
.prov-group-title { margin-bottom: 10px; color: var(--ink-2); font: 700 0.875rem var(--display); letter-spacing: 0.02em; }
.prov-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.prov-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.prov-type { flex: none; min-width: 52px; padding: 3px 8px; border-radius: 999px; font: 700 0.75rem/1.3 var(--display); text-align: center; }
.prov-fiber { background: var(--teal-wash); color: var(--teal-ink); }
.prov-cable { background: #eef1f5; color: var(--ink-2); }
.prov-5g { background: #fff4e0; color: #8a5a00; }
.prov-name { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.prov-go { flex: none; min-height: 38px; padding: 7px 16px; font-size: 0.875rem; text-decoration: none; }
.pick-actions .btn { text-decoration: none; }

/* ---------- Chat assistant (pre-written answers) ---------- */
.bot { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bot-launch { display: inline-flex; align-items: center; gap: 9px; min-height: 54px; padding: 0 22px 0 18px; border: 2px solid var(--teal-bright); border-radius: 999px; background: var(--navy); color: #fff; font: 700 1rem var(--display); box-shadow: 0 12px 28px rgba(11, 31, 51, 0.35); cursor: pointer; }
.bot-launch svg { width: 22px; height: 22px; color: var(--teal-bright); }
.bot.is-open .bot-launch { display: none; }
.bot-teaser { display: flex; align-items: flex-start; gap: 2px; max-width: 270px; padding: 12px 6px 12px 16px; background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(11, 31, 51, 0.18); }
.bot-teaser-open { padding: 0; border: 0; background: none; color: var(--ink); font: 600 0.9375rem/1.4 var(--text); text-align: left; cursor: pointer; }
.bot-teaser-x { display: grid; place-items: center; width: 28px; height: 28px; flex: none; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.bot-teaser-x svg, .bot-x svg { width: 14px; height: 14px; }
.bot-panel { display: flex; flex-direction: column; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 31, 51, 0.35); }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.bot-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--navy); }
.bot-avatar .mark { width: 26px; height: 26px; }
.bot-name { font: 700 1rem var(--display); }
.bot-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8125rem; }
.bot-x { display: grid; place-items: center; width: 34px; height: 34px; flex: none; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.bot-log { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 16px; overflow-y: auto; overscroll-behavior: contain; background: #fbfcfd; }
.bot-msg { display: flex; }
.bot-msg.from-me { justify-content: flex-end; }
.bot-bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.bot-msg.from-bot .bot-bubble { background: var(--bubble); color: var(--ink); border-top-left-radius: 6px; }
.bot-msg.from-me .bot-bubble { background: var(--navy); color: #fff; border-top-right-radius: 6px; }
.bot-msg + .bot-msg.from-me, .bot-msg.from-me + .bot-msg.from-bot { margin-top: 6px; }
.bot-msg.typing .bot-bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
.bot-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa9b8; animation: blink 1.1s infinite ease-in-out; }
.bot-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.bot-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
.bot-go { min-height: 42px; margin-top: 2px; padding: 9px 18px; font-size: 0.9375rem; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bot-chip { min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--teal); border-radius: 999px; background: #fff; color: var(--teal-ink); font: 700 0.9375rem/1.25 var(--display); text-align: left; cursor: pointer; }
.bot-chip:hover { background: var(--teal-wash); }
.bot-log .mini-form { margin-top: 4px; background: #fff; border: 1.5px solid var(--line); }
.bot-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.bot-input input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 16px; border: 1.5px solid #c7d3de; border-radius: 999px; background: #fff; color: var(--ink); font-size: 1rem; outline: none; }
.bot-input input:focus { border-color: var(--teal); }
.bot-input button { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--teal); color: #fff; cursor: pointer; }
.bot-input button svg { width: 18px; height: 18px; }
.bot-open .sticky-cta { display: none !important; }
@media (max-width: 979px) { .sticky-cta { right: 210px; } }
@media (max-width: 600px) {
  .bot { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .bot-launch { width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .bot-launch span { display: none; }
  .bot.is-open { left: 0; right: 0; bottom: 0; align-items: stretch; }
  .bot.is-open .bot-teaser { display: none; }
  .bot-panel { width: 100%; height: min(86vh, 680px); border-radius: 22px 22px 0 0; }
  .bot-input { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  body.bot-open { overflow: hidden; }
  .sticky-cta { right: 86px; }
}
@media (prefers-reduced-motion: reduce) { .bot-msg.typing span { animation: none; } }

/* ---------- Header: language switch ---------- */
.top-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.top-right .top-cta { margin-left: 0; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.lang svg { width: 18px; height: 18px; margin: 0 4px 0 6px; }
.lang a { display: grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 8px; border-radius: 999px; color: var(--ink-2); font: 700 0.8125rem/1 var(--display); text-decoration: none; }
.lang a:hover { color: var(--navy); background: var(--soft); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
@media (max-width: 520px) {
  .top-right { gap: 8px; }
  .lang svg { display: none; }
  .lang a { min-width: 44px; min-height: 44px; padding: 0 6px; }
  .top-cta { padding-inline: 14px; font-size: 0.875rem; }
}
/* Phones: the search box sits right under the header and the sticky button covers scrolling, so the header keeps just the logo and EN/ES */
@media (max-width: 480px) { .top-cta { display: none; } }

/* ---------- Fiber alerts signup ---------- */
.alerts { padding-block: 44px; background: var(--navy); color: #fff; border-bottom: 1px solid var(--navy-line); }
.alerts-in { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .alerts-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; } }
.alerts h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.125rem); }
.alerts-copy p { margin-top: 8px; color: var(--on-navy); font-size: 1.0625rem; }
.alerts-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.alerts-form input:not([type="checkbox"]) { width: 100%; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); font: 500 1rem var(--text); }
.alerts-form input:focus { outline: 3px solid rgba(45, 212, 191, 0.6); outline-offset: 0; }
.alerts-form .btn { grid-column: 1 / -1; min-height: 52px; }
.alerts-fine { grid-column: 1 / -1; color: var(--on-navy); font-size: 0.8125rem; }
.alerts-fine a { color: #fff; }
.alerts-form .mf-error { grid-column: 1 / -1; margin: 0; color: #ffb4ab; }
.alerts-done { padding: 16px 18px; background: rgba(45, 212, 191, 0.14); border: 1.5px solid var(--teal-bright); border-radius: 14px; font-size: 1.0625rem; }
.alerts-done strong { color: var(--teal-bright); }
@media (max-width: 520px) { .alerts-form { grid-template-columns: 1fr; } }

/* ---------- Footer columns ---------- */
.foot { padding-block: 44px 110px; }
.foot-cols { display: grid; gap: 30px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; } }
.foot-col h2 { margin-bottom: 12px; color: #fff; font: 700 1rem var(--display); }
.foot-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.foot-col a { color: var(--on-navy); text-decoration: none; }
.foot-col a:hover { color: var(--teal-bright); text-decoration: underline; }
.foot-brand p { margin-top: 10px; color: var(--on-navy); max-width: 24em; }
.foot-zip { display: flex; margin-top: 16px; max-width: 260px; border-radius: 10px; overflow: hidden; background: #fff; }
.foot-zip input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 8px 12px; border: 0; color: var(--ink); font: 500 1rem var(--text); }
.foot-zip input:focus { outline: none; }
.foot-zip:focus-within { box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.6); }
.foot-zip button { display: grid; place-items: center; width: 48px; flex: none; border: 0; background: var(--teal-bright); color: var(--navy); cursor: pointer; }
.foot-zip button svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: 30px; }
.foot-bottom::before { content: ""; display: block; height: 1px; margin-bottom: 20px; background: var(--navy-line); }
.foot-bottom .fineprint { margin: 0; }

/* ---------- ZIP search ---------- */
.search-wrap > .search-bar { max-width: 600px; margin-inline: auto; }
.sb-field { position: relative; flex: 1 1 auto; min-width: 0; }
.sb-field svg { position: absolute; left: 0; top: 50%; width: 24px; height: 24px; color: var(--navy); transform: translateY(-50%); }
.sb-field input { padding-left: 34px; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .sb-field { flex: 1 1 100%; padding: 0 10px; border-bottom: 1.5px solid var(--line); }
}

/* ---------- Price comparison ---------- */
.level-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.level-label { color: var(--ink-2); font: 700 0.875rem var(--display); }
.level-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.level-chips .chip { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }
.level-chips .chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cmp { margin-top: 26px; }
.cmp-title { color: var(--ink-2); font: 700 0.875rem/1.4 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 18px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.cmp-row.is-best { background: #f3fbf9; border-color: var(--teal); }
.cmp-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 700 1.0625rem/1.25 var(--display); }
.cmp-tag { padding: 2px 8px; background: var(--soft); border-radius: 999px; color: var(--ink-2); font: 700 0.6875rem/1.5 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.cmp-tag.best-tag { background: var(--teal); color: #fff; }
.cmp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; color: var(--ink-2); font-size: 0.875rem; }
.cmp-price { color: var(--ink-2); font-size: 0.875rem; text-align: right; white-space: nowrap; }
.cmp-price b { color: var(--ink); font: 800 1.375rem/1 var(--display); letter-spacing: -0.02em; }
.cmp-from { margin-right: 4px; }
.cmp-plan { display: block; margin-top: 3px; color: var(--muted); font-size: 0.8125rem; }
.cmp-go { min-height: 44px; padding: 9px 18px; }
.cmp-row .mini-form { grid-column: 1 / -1; }
.cmp-note { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }
.res-browse { display: inline-block; margin-top: 12px; }
.type-badge.t-4 { background: #fdf3e3; color: #7a4b00; }
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
  .cmp-go { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Comparison cards (name bar, connection, speed, price, button) ---------- */
.cmp-list { gap: 12px; }
.cmp-row { display: block; padding: 0; overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.cmp-row.is-best { border: 2px solid var(--teal); background: #fff; }
.cmp-head { padding: 10px 16px; background: var(--navy); }
.cmp-row.is-best .cmp-head { background: var(--teal); }
.cmp-head .cmp-name { color: #fff; font: 700 1.0625rem/1.3 var(--display); }
.cmp-head .cmp-tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cmp-head .cmp-tag.best-tag { background: #fff; color: var(--teal-ink); }
.cmp-body { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr auto; align-items: center; gap: 12px 18px; padding: 14px 16px; }
.cmp-cell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cmp-k { color: var(--muted); font-size: 0.8125rem; }
.cmp-v { color: var(--ink); font-size: 0.9375rem; }
.cmp-v.type-badge { align-self: flex-start; }
.cmp-v b { font: 800 1.5rem/1 var(--display); letter-spacing: -0.02em; }
.cmp-price { text-align: left; white-space: normal; }
.cmp-plan { margin-top: 0; }
.cmp-go { min-height: 48px; padding: 10px 22px; font-size: 1rem; white-space: nowrap; }
.cmp-row .mini-form { margin: 0 16px 16px; }
@media (max-width: 640px) {
  .cmp-body { grid-template-columns: 1fr 1fr; padding: 12px 14px 14px; }
  .cmp-price { grid-column: 1 / -1; }
  .cmp-go { grid-column: 1 / -1; width: 100%; }
}
