/* ================================================================
   Allan Lundenberg — AT&T Fiber Landing Page
   Palette: white base, deep navy #0A1F44, AT&T blue #00A8E0
   Type: Sora (display) + Manrope (body)
   ================================================================ */

:root {
  --navy: #0A1F44;
  --navy-deep: #061530;
  --blue: #00A8E0;
  --blue-dark: #0089b8;
  --blue-tint: #e6f7fd;
  --ink: #1c2a44;
  --muted: #5a6b8a;
  --line: #e3e9f2;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --gold: #ffb800;
  --shadow-card: 0 2px 4px rgba(10, 31, 68, 0.04), 0 12px 32px rgba(10, 31, 68, 0.08);
  --shadow-featured: 0 4px 8px rgba(0, 168, 224, 0.10), 0 24px 64px rgba(10, 31, 68, 0.18);
  --radius: 18px;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

html, body {
  /* no sideways swiping on phones — clip anything that pokes past the edge */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: var(--blue-dark); }
sup { font-size: 0.6em; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
h1, h2, h3, .plan-speed, .price {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
h2 em { font-style: normal; color: var(--blue); }

.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.kicker-light { color: #7fd6f2; }

.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-lede {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }

.btn-solid {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 168, 224, 0.35);
}
.btn-solid:hover { background: var(--navy); box-shadow: 0 8px 24px rgba(10, 31, 68, 0.3); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-white:hover { background: var(--blue); color: var(--white); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.header-nav { display: flex; gap: 1.6rem; }
.header-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--blue); }
.btn-header { padding: 0.6rem 1.15rem; font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 760px) {
  .header-nav { display: none; }
  .brand-sub { display: none; }
  .header-inner { gap: 0.75rem; }
  .brand { gap: 0.5rem; }
  .brand-logo { height: 38px; }
  .brand-text { white-space: nowrap; font-size: 0.9rem; }
  .btn-header { padding: 0.55rem 0.9rem; font-size: 0.8rem; min-height: 44px; white-space: nowrap; flex-shrink: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #10305f 100%);
  color: var(--white);
  padding: clamp(4.5rem, 3rem + 6vw, 8.5rem) 0 clamp(3.5rem, 3rem + 3vw, 6rem);
}
.hero-glow {
  position: absolute;
  top: -30%; right: -12%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(0, 168, 224, 0.28) 0%, transparent 62%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #9be0f7;
  background: rgba(0, 168, 224, 0.12);
  border: 1px solid rgba(0, 168, 224, 0.35);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 224, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(0, 168, 224, 0); }
}

.hero-headline {
  font-size: clamp(2.6rem, 1.6rem + 5.4vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-headline span { display: block; }
.hero-headline .accent {
  background: linear-gradient(92deg, #38c6f4, var(--blue) 55%, #7fd6f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: #b7c4dc;
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #8fa2c4;
  margin-bottom: 3rem;
}
.hero-trustline .sep { color: var(--blue); }

@media (max-width: 640px) {
  .hero-ctas .btn { width: 100%; }
  /* keep the three "no fee" points on one line */
  .hero-trustline { font-size: 0.78rem; gap: 0.3rem 0.5rem; flex-wrap: nowrap; white-space: nowrap; }
}

/* ---------- Why Fiber ---------- */
.why-fiber { background: var(--white); }
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 168, 224, 0.4);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(140deg, var(--blue), var(--navy));
  margin-bottom: 1.2rem;
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p { font-size: 0.95rem; color: var(--muted); }

/* ---------- NO-fees promise strip ---------- */
.no-strip {
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 168, 224, 0.25) 0%, transparent 50%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
  padding: clamp(2.75rem, 2.25rem + 2vw, 4.25rem) 0;
}
.no-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 3.5rem;
}
.no-strip-inner p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
}
.no-strip-inner strong { color: #38c6f4; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); }
.pricing .section-head { margin-inline: auto; text-align: center; }
.pricing .section-lede { margin-inline: auto; }

/* --- speed selector tabs --- */
.plan-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 6px;
  box-shadow: var(--shadow-card);
}
.plan-tab {
  --lift: 0px; /* active tab rises out of the bar */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  border: 0;
  background: transparent;
  border-radius: 15px;
  padding: 1rem 0.4rem calc(0.85rem + var(--lift));
  transform: translateY(calc(-1 * var(--lift)));
  font-family: var(--font-display);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.plan-tab:hover { background: var(--blue-tint); }
.pt-speed {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pt-unit {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
.pt-price {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.plan-tab.active {
  --lift: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.35);
}
.plan-tab-featured.active {
  background: var(--blue);
  box-shadow: 0 6px 18px rgba(0, 168, 224, 0.4);
}
.plan-tab.active .pt-price { color: #d6f4fd; }
.pt-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(255, 184, 0, 0.45);
}

/* --- the single detail panel below the tabs --- */
.plan-panels {
  max-width: 560px;
  margin: 2.4rem auto 0;
}
.plan-panels .plan-panel { display: none; }
.plan-panels .plan-panel.active {
  display: flex;
  animation: panel-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover { transform: translateY(-4px); }

.plan-featured {
  border: 2.5px solid var(--blue);
  box-shadow: var(--shadow-featured);
  padding: 2.6rem 2rem 2.2rem;
  z-index: 2;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(155deg, var(--blue), #38c6f4 40%, var(--navy)) border-box;
  border-color: transparent;
}
.plan-featured:hover { transform: translateY(-4px) scale(1.005); }

.plan-badges {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}
.badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
}
.badge-star {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.35);
}
.badge-reward {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.35);
}

.plan-head { margin-bottom: 1rem; }
.plan-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.plan-speed {
  font-size: clamp(2.6rem, 2.3rem + 1vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan-featured .plan-speed { font-size: clamp(3.1rem, 2.7rem + 1.4vw, 4.1rem); color: var(--blue-dark); }
.plan-speed span { font-size: 0.42em; font-weight: 700; color: var(--blue); }
.plan-speed-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.plan-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.25rem;
  min-height: 2.9em;
}

.plan-price {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  margin-bottom: 1.15rem;
}
.price { font-size: 2.35rem; font-weight: 800; }
.plan-featured .price { font-size: 2.8rem; }
.price span { font-size: 0.42em; font-weight: 700; color: var(--muted); }
.price-note { font-size: 0.85rem; color: var(--muted); }
.price-note strong { color: var(--blue-dark); }

.plan-list {
  list-style: none;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}
.plan-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.7rem;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.78em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 9px no-repeat,
    var(--blue);
}

.btn-featured-cta {
  font-size: 0.92rem;
  padding-inline: 1rem;
  box-shadow: 0 8px 22px rgba(0, 168, 224, 0.45);
}
.plan-nudge {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.pricing-fineprint {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .plan { padding: 2.4rem 1.6rem 2rem; }
  .plan-badges { white-space: normal; justify-content: center; width: max-content; max-width: 92%; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .plan-tabs { gap: 4px; padding: 5px; }
  .plan-tab { padding: 0.85rem 0.25rem calc(0.7rem + var(--lift)); }
}
@media (prefers-reduced-motion: reduce) {
  .plan-panel.active { animation: none; }
}

/* --- PC: no picking — all three plans visible side by side --- */
@media (min-width: 981px) {
  .plan-tabs { display: none; }
  .plan-panels {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    gap: 1.25rem;
    align-items: center;
    max-width: 960px;
    margin-top: 1.75rem;
  }
  .plan-panels .plan-panel { display: flex; animation: none; }
  .plan-featured { transform: scale(1.05); }
  .plan-featured:hover { transform: scale(1.05) translateY(-4px); }

  /* tighter cards at desktop reading distance */
  .plan { padding: 1.7rem 1.5rem; }
  .plan-featured { padding: 2.2rem 1.7rem 1.9rem; }
  .plan-speed { font-size: 2.5rem; }
  .plan-featured .plan-speed { font-size: 3.05rem; }
  .price { font-size: 2rem; }
  .plan-featured .price { font-size: 2.45rem; }
  .plan-tag { min-height: 0; font-size: 0.9rem; margin-bottom: 1rem; }
  .plan-list li { font-size: 0.87rem; padding: 0.34rem 0 0.34rem 1.6rem; }
  .plan-nudge { font-size: 0.8rem; }
}
/* the star badge lives on the tab flag on mobile, on the card on desktop */
@media (max-width: 980px) {
  .badge-star { display: none; }
}

/* ---------- Switch stories (testimonial marquee) ---------- */
.love { background: var(--white); padding-bottom: clamp(3rem, 2.5rem + 2vw, 5rem); }
.love .section-head { margin-inline: auto; text-align: center; margin-bottom: 2.25rem; }

.love-slider {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 760px;
  margin-inline: auto;
}
.love-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}
.love-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.love-card {
  flex: 0 0 100%;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.love-arrow {
  align-self: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.love-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.love-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.love-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.love-dot:hover { background: var(--muted); }
.love-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}
.love-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.7rem;
}
.love-card blockquote {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.love-card blockquote::before { content: "\201C"; color: var(--blue); font-weight: 800; }
.love-card blockquote::after { content: "\201D"; color: var(--blue); font-weight: 800; }
.love-card figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.love-card figcaption span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .love-card { padding: 1.8rem 1.4rem 1.6rem; }
  .love-arrow { width: 40px; height: 40px; }
  .love-slider { gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .love-track { transition: none; }
}

/* ---------- 55+ bundle callout ---------- */
.calc-55 {
  max-width: 640px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--blue-tint);
  border: 1px solid rgba(0, 168, 224, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.calc-55-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}
.calc-55-copy { font-size: 0.93rem; color: var(--ink); flex: 1; }
.calc-55-copy strong { color: var(--navy); }
.calc-55-fine { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }
.calc-55 .btn { flex-shrink: 0; font-size: 0.85rem; padding: 0.7rem 1.2rem; }
@media (max-width: 700px) {
  .calc-55 { flex-direction: column; text-align: center; }
  .calc-55 .btn { width: 100%; }
}

/* ---------- TV Callout ---------- */
.tv-callout { padding-top: 0; }
.tv-banner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(circle at 88% 15%, rgba(0, 168, 224, 0.35) 0%, transparent 45%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #123464);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  color: var(--white);
}
.tv-copy h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 0.8rem; }
.tv-copy p { color: #b7c4dc; font-size: 0.98rem; max-width: 56ch; }
.tv-copy strong { color: var(--white); }
.tv-cta { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.tv-cta-sub { font-size: 0.82rem; font-weight: 600; color: #8fa2c4; }

@media (max-width: 860px) {
  .tv-banner { grid-template-columns: 1fr; text-align: left; }
  .tv-cta { align-items: flex-start; }
}

/* ---------- Referral ---------- */
.referral { background: var(--white); }
.referral .section-head { margin-inline: auto; text-align: center; }

.steps {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}
/* the flow line: runs through all three number badges, dashes drift 1 -> 3 */
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16.66%;
  right: 16.66%;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 12px, rgba(0, 168, 224, 0.18) 12px 24px);
  animation: flow-dash 1.2s linear infinite;
}
@keyframes flow-dash {
  to { background-position: 24px 0; }
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  /* white ring lets the flow line pass "underneath" cleanly */
  box-shadow: 0 0 0 6px var(--white), 0 10px 22px rgba(0, 168, 224, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step:hover .step-num { transform: scale(1.12); }
.step-body {
  flex: 1;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover .step-body {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 168, 224, 0.4);
}
.step h3 { margin-bottom: 0.45rem; }
.step p { font-size: 0.93rem; color: var(--muted); }
.step p a { font-weight: 700; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 1.75rem; }
  /* all three steps fade up at the same moment on phones */
  .steps .reveal.d1, .steps .reveal.d2 { transition-delay: 0s; }
  /* vertical flow line down through the badges */
  .steps::before {
    top: 27px;
    bottom: 140px;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--blue) 0 12px, rgba(0, 168, 224, 0.18) 12px 24px);
    animation: flow-dash-v 1.2s linear infinite;
  }
}
@keyframes flow-dash-v {
  to { background-position: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps::before { animation: none; }
}

.referral-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}
.referral-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--blue-tint);
  border: 1px solid rgba(0, 168, 224, 0.3);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
}
.referral-trust svg { color: var(--blue-dark); flex-shrink: 0; }
@media (max-width: 640px) {
  .referral-trust {
    border-radius: 16px;
    align-items: flex-start;
    text-align: left;
    padding: 0.9rem 1.1rem;
  }
  .referral-trust svg { margin-top: 3px; }
}

/* ---------- From the rep ---------- */
.from-rep {
  background:
    radial-gradient(circle at 10% 90%, rgba(0, 168, 224, 0.16) 0%, transparent 45%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.rep-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: start;
}
.rep-quote blockquote { position: relative; }
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  line-height: 0.6;
  color: var(--blue);
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.rep-quote blockquote > p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2rem;
}
.rep-quote footer { display: flex; align-items: center; gap: 1rem; }
.sig-avatar {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), #1a6fa0);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 168, 224, 0.25);
}
.rep-quote cite {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.02rem;
}
.rep-quote footer span:not(.sig-avatar) { font-size: 0.82rem; color: #8fa2c4; }

.promise-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #9be0f7;
  margin-bottom: 1.6rem;
}
.promise-step {
  display: flex;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.promise-step:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.promise-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue);
  padding-top: 0.15rem;
}
.promise-step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.3rem; }
.promise-step p { font-size: 0.92rem; color: #b7c4dc; }

@media (max-width: 900px) {
  .rep-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq .section-head { margin-inline: auto; text-align: center; }
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-item summary:hover { color: var(--blue-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 2.5rem 1.3rem 0.25rem;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 68ch;
}
.faq-more {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}
.faq-more a { font-weight: 800; color: var(--blue-dark); text-decoration: none; }
.faq-more a:hover { text-decoration: underline; }

/* ---------- Availability / Lead form ---------- */
.availability { background: var(--bg-soft); }
.availability-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: start;
}
.availability-points {
  list-style: none;
  margin-top: 1.75rem;
}
.availability-points li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.availability-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 10px no-repeat,
    var(--navy);
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-card);
  border-top: 5px solid var(--blue);
}
.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.label-hint { font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem; /* ≥16px prevents iOS Safari zoom-on-focus */
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa8c2; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0, 168, 224, 0.18);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.2px solid var(--muted);
  border-bottom: 2.2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }

.form-alt {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.form-alt a { font-weight: 800; color: var(--blue-dark); text-decoration: none; }
.form-alt a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .availability-inner { grid-template-columns: 1fr; }
}

/* ---------- Final strip ---------- */
.final-strip {
  background: var(--blue);
  padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0;
}
.final-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.final-inner h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); }
@media (max-width: 640px) {
  .final-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .final-strip .btn {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 1rem 0.75rem;
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #8fa2c4;
  padding: 3.5rem 0 6.5rem; /* extra bottom padding clears mobile CTA bar */
  font-size: 0.88rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}
.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 0.9rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-role { font-weight: 600; color: #b7c4dc; }
.footer-loc { font-size: 0.82rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: var(--blue); }
.footer-legal { font-size: 0.75rem; line-height: 1.7; max-width: 90ch; margin-bottom: 2rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: #b7c4dc; font-weight: 600; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Sticky mobile CTA (Call | Text) ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0.75rem; right: 0.75rem;
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  gap: 0.5rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.mcb-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 1rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.4);
}
.mcb-call { background: var(--blue); color: var(--white); }
.mcb-call:active { background: var(--navy); }
.mcb-text { background: var(--navy); color: var(--white); }
.mcb-text:active { background: var(--blue); }
/* hidden while the hero's own call/text buttons are on screen */
.mobile-cta-bar.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 760px) {
  .mobile-cta-bar { display: flex; }
}
@media (min-width: 761px) {
  .site-footer { padding-bottom: 3.5rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }
.reveal.d5 { transition-delay: 0.6s; }
.reveal.d6 { transition-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Inner pages (privacy / thank-you) ---------- */
.page-simple { max-width: 760px; margin-inline: auto; padding: 3.5rem 0 5rem; }
.page-simple h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.9rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-simple .page-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 2.5rem; }
.page-simple h2 { font-size: 1.3rem; margin: 2.25rem 0 0.75rem; }
.page-simple p, .page-simple li { color: var(--ink); font-size: 0.98rem; }
.page-simple ul { padding-left: 1.4rem; margin: 0.6rem 0 1rem; }
.page-simple li { margin-bottom: 0.4rem; }

.thanks-hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 168, 224, 0.12) 0%, transparent 55%),
    var(--white);
}
.thanks-inner { max-width: 620px; }
.thanks-check {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(140deg, var(--blue), var(--navy));
  box-shadow: 0 12px 32px rgba(0, 168, 224, 0.35);
  animation: pop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.thanks-inner h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.thanks-inner > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.thanks-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-bottom: 2.5rem; }
.thanks-referral {
  background: var(--blue-tint);
  border: 1px solid rgba(0, 168, 224, 0.3);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  font-size: 0.95rem;
}
.thanks-referral strong { color: var(--navy); }
