/* ============================================================
   CAZNET — sq-widget.css
   Service Qualification widget (on NBN page) + results page
   ============================================================ */

/* ── Widget section (on NBN page) ─────────────────────────── */
.sq-section {
  padding-top: 48px;
  padding-bottom: 8px;
}

/* Tighten the gap between the widget and the next section.
   Default `section` padding is 64px top — we collapse it after the widget. */
.sq-section + section {
  padding-top: 24px;
}

.sq-widget {
  background: linear-gradient(180deg, #F4FBFE 0%, var(--cyan-pale) 100%);
  border: 1.5px solid rgba(41, 171, 226, 0.45);
  border-radius: 14px;
  padding: 24px 28px 20px;
  position: relative;
  box-shadow: 0 6px 20px rgba(41, 171, 226, 0.08);
}

.sq-widget-head {
  max-width: 720px;
  margin-bottom: 16px;
}

.sq-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(41, 171, 226, 0.3);
  margin-bottom: 10px;
}

.sq-heading {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.sq-subheading {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}

/* ── Form row ──────────────────────────────────────────────── */
.sq-input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
}

.sq-input-wrap {
  flex: 1 1 380px;
  min-width: 0;
  position: relative;
}

.sq-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--cyan-dark);
  pointer-events: none;
}

.sq-input-wrap input[type="text"] {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  font-size: 16px;
  font-family: inherit;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid #d6e8ef;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.sq-input-wrap input[type="text"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.15);
}

.sq-input-wrap input[type="text"]::placeholder {
  color: var(--text-light);
}

.sq-submit {
  height: 52px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  border-radius: 10px;
  background: var(--cyan);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(41, 171, 226, 0.28);
}

.sq-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}

.sq-submit:hover {
  background: var(--cyan-dark);
  box-shadow: 0 8px 22px rgba(30, 143, 189, 0.45);
}

.sq-submit:hover svg { transform: translateX(3px); }
.sq-submit:active { transform: translateY(1px); }
.sq-submit:disabled { background: var(--text-muted); cursor: not-allowed; box-shadow: none; }

.sq-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  max-height: 340px;
  overflow-y: auto;
  z-index: 50;
}

.sq-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
}

.sq-suggestion:last-child { border-bottom: none; }
.sq-suggestion:hover,
.sq-suggestion.active {
  background: var(--cyan-pale);
  color: var(--cyan-dark);
}

.sq-status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-light);
}

/* Collapse when empty so it doesn't reserve a blank row between the
   form and whatever follows it (trust line, etc.). */
.sq-status:empty {
  margin-top: 0;
}

.sq-status.error { color: #c53030; }

/* Trust line — small reassurance bullets under the form (home page).
   Each item gets a cyan tick so the eye reads them as positives. */
.sq-trust-line {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-light);
}

.sq-trust-line li {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.sq-trust-line li::before {
  content: '✓';
  color: var(--cyan-dark);
  font-weight: 700;
  margin-right: 6px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .sq-trust-line { gap: 4px 14px; font-size: 12.5px; }
}

/* ── Compact variant (used on the results page) ───────────
   Strips the heavy gradient/border so a "check another address"
   prompt isn't competing with the actual results below it. */
.sq-section--compact {
  padding-top: 20px;
  padding-bottom: 8px;
}

.sq-widget--compact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: none;
}

.sq-widget--compact .sq-compact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.sq-widget--compact .sq-input-row {
  gap: 8px;
}

.sq-widget--compact .sq-input-wrap input[type="text"] {
  height: 40px;
  font-size: 14px;
  padding: 0 14px 0 38px;
}

.sq-widget--compact .sq-input-icon {
  width: 16px;
  height: 16px;
  left: 14px;
}

.sq-widget--compact .sq-submit {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: none;
}

.sq-widget--compact .sq-submit svg {
  width: 14px;
  height: 14px;
}

.sq-widget--compact .sq-status {
  margin-top: 6px;
  font-size: 12px;
  min-height: 0;
}

@media (max-width: 640px) {
  .sq-widget--compact { padding: 12px 14px; }
  .sq-widget--compact .sq-input-row { flex-direction: column; gap: 8px; }
  .sq-widget--compact .sq-submit { width: 100%; justify-content: center; }
}

/* ── Mobile widget ───────────────────────────────────────── */
@media (max-width: 768px) {
  .sq-widget { padding: 20px 22px 18px; }
  .sq-heading { font-size: 22px; }
  .sq-subheading { font-size: 14px; }
}

@media (max-width: 640px) {
  .sq-widget { padding: 18px 18px 16px; border-radius: 12px; }
  .sq-widget-head { margin-bottom: 14px; }
  .sq-heading { font-size: 20px; }
  .sq-subheading { font-size: 13.5px; }
  .sq-input-row { flex-direction: column; gap: 10px; }
  /* Override the desktop flex-basis — in column layout it would become the
     vertical size, making the wrap 380px tall and pushing the icon out of place. */
  .sq-input-wrap { flex: 0 0 auto; width: 100%; }
  .sq-submit { flex: 0 0 auto; width: 100%; justify-content: center; height: 48px; }
  .sq-input-wrap input[type="text"] { height: 48px; font-size: 16px; }
}

/* ============================================================
   Results page
   ============================================================ */

.sq-results {
  padding-top: 28px;
  padding-bottom: 48px;
}

/* The site-wide `section { padding: 64px 0 }` rule applies to nested sections
   too. Reset it for wrapper-style sections that don't manage their own padding.
   `.sq-fttp-enhancement` and `.sq-final-cta` keep their own padding (they're
   visual components with backgrounds and borders, not layout wrappers). */
#sq-results-root section.sq-plans,
#sq-results-root section.sq-checklist {
  padding: 0;
}

/* ── Hero: confirmation + address + tech ────────────────────── */
.sq-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px 32px;
  background: #fff;
  border: 1.5px solid #16a34a;
  border-left-width: 6px;
  border-radius: var(--radius-lg);
}

.sq-hero-tick {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.sq-hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 4px;
}

.sq-hero-address {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 4px;
  line-height: 1.25;
}

.sq-hero-tech {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

.sq-hero-tech strong { color: var(--charcoal); font-weight: 600; }

/* ── New-development charge notice ──────────────────────────
   Amber/orange notice surfaced when NBN flags this address as
   a new development ($300 pass-through fee). Used on both the
   full SQ results page and the FTTP-upgrade check page. */
.sq-charge-notice {
  margin-top: 16px;
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-left: 6px solid #d97706;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: flex-start;
}

.sq-charge-notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #d97706;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.sq-charge-notice-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 8px;
  line-height: 1.3;
}

.sq-charge-notice-body p {
  margin: 0 0 8px;
  font-size: 15px;
  color: #422006;
  line-height: 1.55;
}

.sq-charge-notice-body p:last-child { margin-bottom: 0; }

.sq-charge-notice-body strong { color: #78350f; }

.sq-charge-notice-meta {
  font-size: 13.5px !important;
  color: #92400e !important;
}

@media (max-width: 640px) {
  .sq-charge-notice {
    grid-template-columns: 1fr;
    padding: 18px 20px;
    gap: 10px;
  }
  .sq-charge-notice-icon { width: 32px; height: 32px; font-size: 18px; }
  .sq-charge-notice-body h3 { font-size: 16.5px; }
  .sq-charge-notice-body p { font-size: 14.5px; }
}

/* ── FTTP upgrade banner ────────────────────────────────────── */
.sq-fttp-banner {
  background: linear-gradient(135deg, #29ABE2, #1E8FBD);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.sq-fttp-banner .sq-fttp-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
}

.sq-fttp-banner h3 {
  font-size: 19px;
  margin: 0 0 6px;
  color: #fff;
}

.sq-fttp-banner p {
  font-size: 15px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.sq-fttp-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.sq-fttp-banner.is-already {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* ── Plans section ──────────────────────────────────────────── */
.sq-plans {
  margin-top: 28px;
}

.sq-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 8px;
}

.sq-section-title em {
  font-style: normal;
  color: var(--cyan-dark);
}

.sq-section-sub {
  font-size: 15px;
  color: var(--text-body);
  margin: 0 0 28px;
  line-height: 1.55;
}

/* Tabs */
.sq-plans-tabs {
  display: flex;
  gap: 4px;
  margin: 16px 0 18px;
  padding: 4px;
  background: var(--off-white);
  border-radius: 10px;
  width: fit-content;
}

.sq-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sq-tab:hover { color: var(--charcoal); }

.sq-tab.is-active {
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.sq-plans-panel[hidden] { display: none; }

/* Tier sections — Available now / Available with free FTTP upgrade */
.sq-plans-tier {
  margin-top: 24px;
}

.sq-plans-tier:first-child {
  margin-top: 12px;
}

.sq-tier-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 4px;
}

.sq-tier-sub {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 16px;
  line-height: 1.5;
}

.sq-plans-tier--upgrade .sq-tier-label {
  color: var(--cyan-dark);
}

.sq-plans-tier--upgrade .sq-plan-card--upgrade {
  border-color: var(--cyan);
  background: linear-gradient(180deg, #F4FBFE 0%, #fff 80px);
}

.sq-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Tier tag at top of each card */
.sq-plan-tier-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sq-plan-card--business .sq-plan-tier-tag {
  background: var(--charcoal);
  color: #fff;
}

.sq-plan-card--standard .sq-plan-tier-tag {
  background: var(--cyan-pale);
  color: var(--cyan-dark);
}

/* Plan category name from the API */
.sq-plan-category {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.sq-plan-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.sq-plan-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 28, 46, 0.08);
}

.sq-plan-card.is-popular {
  border-color: var(--cyan);
  border-width: 2px;
  background: linear-gradient(180deg, var(--cyan-pale) 0%, #fff 80px);
}

.sq-plan-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--cyan);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.sq-plan-speed {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 4px;
}

.sq-plan-speed .num {
  font-size: 52px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.sq-plan-speed-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-bottom: 6px;
}

.sq-plan-speed .unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.sq-plan-speed .upload {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 2px;
}

/* Price block — sits between speed and CTA. Replaces the old tick-list. */
.sq-plan-price {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 14px 0 16px;
}

.sq-plan-price-amount {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.sq-plan-price-amount .dollar {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 4px;
  margin-right: 2px;
}

.sq-plan-price-amount .amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.sq-plan-price-period {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-light);
}

.sq-plan-price-period span {
  color: var(--text-light);
}

/* Free-upgrade / NTD badge — small inline tag at the top of the card. */
.sq-plan-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--cyan-pale);
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid rgba(41, 171, 226, 0.3);
}

.sq-plan-audience {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 10px;
}

.sq-plan-use {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.sq-plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  color: var(--cyan-dark);
  border: 1.5px solid var(--cyan);
  transition: background 0.15s, color 0.15s;
  margin-top: auto;
}

.sq-plan-cta:hover {
  background: var(--cyan);
  color: #fff;
}

.sq-plan-card.is-popular .sq-plan-cta {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 6px 16px rgba(41, 171, 226, 0.35);
}

.sq-plan-card.is-popular .sq-plan-cta:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

/* ── Primary CTA (right after hero) ─────────────────────────── */
.sq-primary-cta {
  margin-top: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sq-primary-cta-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.sq-primary-cta-text span {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.sq-primary-cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.sq-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  background: var(--cyan);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(41, 171, 226, 0.35);
  transition: background 0.15s, box-shadow 0.15s;
}

.sq-btn-primary:hover {
  background: var(--cyan-dark);
  box-shadow: 0 8px 22px rgba(30, 143, 189, 0.45);
}

.sq-btn-secondary {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
}

.sq-btn-secondary:hover { color: var(--cyan-dark); }

/* ── FTTP enhancement banner (ABOVE plans — primary conversion lever) ── */
.sq-fttp-enhancement {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 14px 38px rgba(41, 171, 226, 0.35);
  position: relative;
  overflow: hidden;
}

/* Subtle star/sparkle pattern in the background for visual interest */
.sq-fttp-enhancement::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.sq-fttp-enhancement .sq-fttp-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sq-fttp-content {
  position: relative;
  z-index: 1;
}

.sq-fttp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sq-fttp-enhancement h3.sq-fttp-headline {
  font-size: 44px;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.sq-fttp-enhancement .sq-fttp-lead {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
}

.sq-fttp-enhancement p {
  margin: 0 0 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.sq-fttp-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}

.sq-fttp-link:hover { border-bottom-color: #fff; }

/* ── NTD upgrade banner (FTTP visitors wanting 2000/500) ────── */
.sq-ntd-banner {
  margin-top: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
}

.sq-ntd-banner .sq-ntd-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--cyan-pale);
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.sq-ntd-banner h3 {
  font-size: 16px;
  color: var(--charcoal);
  margin: 0 0 6px;
  line-height: 1.35;
}

.sq-ntd-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ── Final CTA ──────────────────────────────────────────────── */
.sq-final-cta {
  margin-top: 28px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.sq-final-cta h2 {
  font-size: 26px;
  color: #fff;
  margin: 0 0 10px;
}

.sq-final-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.sq-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.sq-final-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.sq-final-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Connection checklist ───────────────────────────────────── */
.sq-checklist {
  margin-top: 28px;
}

.sq-checklist .sq-section-title {
  margin-bottom: 16px;
}

.sq-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.sq-checklist-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.sq-checklist-item--good { border-left-color: #16a34a; }
.sq-checklist-item--warn { border-left-color: #d97706; }
.sq-checklist-item--info { border-left-color: var(--cyan); }

.sq-checklist-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  flex-shrink: 0;
}

.sq-checklist-item--good .sq-checklist-icon { background: #16a34a; }
.sq-checklist-item--warn .sq-checklist-icon { background: #d97706; }
.sq-checklist-item--info .sq-checklist-icon { background: var(--cyan); }

.sq-checklist-body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.sq-checklist-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

.sq-checklist-link {
  color: var(--cyan-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sq-checklist-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .sq-checklist-item { padding: 16px 18px; gap: 12px; grid-template-columns: 28px 1fr; }
  .sq-checklist-icon { width: 26px; height: 26px; font-size: 14px; }
}

/* Loading + error states */
.sq-loading,
.sq-error {
  margin-top: 32px;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.sq-loading p,
.sq-error p {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
}

.sq-error h3 {
  font-size: 20px;
  color: var(--charcoal);
  margin: 0 0 8px;
}

.sq-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: sq-spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes sq-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .sq-hero {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 12px;
    text-align: left;
  }
  .sq-hero-tick { width: 44px; height: 44px; font-size: 24px; }
  .sq-hero-address { font-size: 19px; }

  .sq-primary-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
    gap: 14px;
  }
  .sq-primary-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .sq-btn-primary {
    justify-content: center;
    width: 100%;
  }
  .sq-btn-secondary { text-align: center; }

  .sq-fttp-enhancement {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 14px;
  }
  .sq-fttp-enhancement h3.sq-fttp-headline { font-size: 32px; }
  .sq-fttp-enhancement .sq-fttp-lead { font-size: 16px; }

  .sq-section-title { font-size: 22px; }
  .sq-plan-card { padding: 20px 20px 18px; }
  .sq-plan-speed .num { font-size: 44px; }
  .sq-plan-price-amount .amount { font-size: 26px; }

  .sq-final-cta { padding: 32px 22px; }
  .sq-final-cta h2 { font-size: 22px; }
}

/* ============================================================
   FTTP eligibility check (on /internet/fttp-upgrade/)
   Inline result panel that replaces the navigate-to-plans behavior.
   ============================================================ */

#sq-fttp-result { margin-top: 18px; }

.sq-fttp-check {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.sq-fttp-check-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.sq-fttp-check--eligible,
.sq-fttp-check--already { border-left: 6px solid #16a34a; }
.sq-fttp-check--eligible .sq-fttp-check-icon,
.sq-fttp-check--already .sq-fttp-check-icon { background: #16a34a; }

.sq-fttp-check--ineligible { border-left: 6px solid #dc2626; }
.sq-fttp-check--ineligible .sq-fttp-check-icon { background: #dc2626; }

.sq-fttp-check--pending,
.sq-fttp-check--error { border-left: 6px solid #d97706; }
.sq-fttp-check--pending .sq-fttp-check-icon,
.sq-fttp-check--error .sq-fttp-check-icon { background: #d97706; }

.sq-fttp-check-body h3 {
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--charcoal);
}

.sq-fttp-check-address {
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 10px;
  font-weight: 500;
}

.sq-fttp-check-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.sq-fttp-check-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sq-fttp-check--loading {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 28px 24px;
}

.sq-fttp-check--loading p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-body);
}

@media (max-width: 640px) {
  .sq-fttp-check {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .sq-fttp-check-icon { width: 44px; height: 44px; font-size: 22px; }
  .sq-fttp-check-body h3 { font-size: 17px; }
}
