/* Round 9 (2026-10-22): simpler, more concrete homepage sections. Loaded last. */

/* ---------- Hero strip: four figures + device links ---------- */
.hb9 { margin-top: clamp(2.25rem, 4vw, 3.25rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.25rem; background: rgba(14, 14, 18, 0.82); backdrop-filter: blur(10px); overflow: hidden; }
@media (min-width: 1100px) { .hb9 { grid-template-columns: 1.15fr 1fr; } }
.hb9-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hb9-stats > div { padding: 1.15rem 1.25rem; display: flex; flex-direction: column-reverse; justify-content: center; gap: 0.2rem; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.hb9-stats dt { font-size: 0.875rem; color: var(--b-muted); }
.hb9-stats dd { margin: 0; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hb9-devices { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; }
.hb9-devices p { margin: 0; font-size: 0.875rem; color: var(--b-muted); }
.hb9-devices ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.hb9-devices a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 0.6rem; border-radius: 0.7rem; border: 1px solid rgba(255, 255, 255, 0.12); color: #f4f4f5; font-size: 0.92rem; font-weight: 600; text-align: center; transition: border-color 0.2s, background 0.2s; }
.hb9-devices a:hover { border-color: rgba(248, 113, 113, 0.55); background: rgba(220, 38, 38, 0.1); }
@media (max-width: 1099px) { .hb9-stats > div:last-child { border-right: 0; } .hb9-devices { border-top: 1px solid rgba(255, 255, 255, 0.08); } }
@media (max-width: 640px) {
  .hb9-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb9-stats > div:nth-child(2) { border-right: 0; }
  .hb9-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .hb9-devices ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Ticker ---------- */
.vt9 { background: #101014; border-block: 1px solid rgba(255, 255, 255, 0.08); }
.vt9 .value-ticker-track { gap: 0 !important; padding-block: 1rem !important; }
.vt9 .value-ticker-track li { display: inline-flex; align-items: baseline; gap: 0.4rem; white-space: nowrap; padding: 0 1.75rem; border-right: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.98rem; color: #c9c9d1; }
.vt9 .value-ticker-track li strong { color: #fff; font-weight: 750; }
.vt9 .value-ticker-track li::before { display: none !important; content: none !important; }

/* ---------- Comparison ---------- */
.cmp9-head { display: grid; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .cmp9-head { grid-template-columns: 1.1fr 1fr; } }
.cmp9-head > p { margin: 0; color: var(--b-soft); line-height: 1.65; }
.cmp9-switch { display: none; }
.cmp9-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cmp9-wrap { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 1.25rem; overflow: hidden; background: #0f0f13; }
.cmp9-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp9-table th, .cmp9-table td { padding: 1rem 1.15rem; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.98rem; line-height: 1.45; }
.cmp9-table tbody tr:last-child > * { border-bottom: 0; }
.cmp9-table thead th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; color: var(--b-muted); background: #121217; }
.cmp9-table .cmp9-feature { width: 24%; color: #fff; font-weight: 650; }
.cmp9-table td.cmp9-us, .cmp9-table th.cmp9-us { background: rgba(220, 38, 38, 0.09); }
.cmp9-table thead th.cmp9-us { background: var(--b-crimson); color: #fff; }
.cmp9-brand { display: inline-flex; align-items: center; gap: 0.45rem; }
.cmp9-brand svg { width: 1.15rem; height: 1.15rem; filter: brightness(10); }
.cmp9-table td.cmp9-us { color: #fff; font-weight: 600; }
.cmp9-table td.cmp9-us { display: table-cell; }
.cmp9-table td.cmp9-us svg { width: 1.05rem; height: 1.05rem; color: #4ade80; vertical-align: -0.15rem; margin-right: 0.45rem; }
.cmp9-table td.cmp9-sellers, .cmp9-table td.cmp9-cable { color: var(--b-muted); }
.cmp9-table tbody tr:hover > * { background-color: rgba(255, 255, 255, 0.025); }
.cmp9-table tbody tr:hover > td.cmp9-us { background: rgba(220, 38, 38, 0.14); }
.cmp9-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .cmp9-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.35rem; margin-bottom: 0.85rem; border-radius: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.1); background: #0f0f13; }
  .cmp9-switch label { display: grid; place-items: center; min-height: 44px; padding: 0 0.5rem; border-radius: 0.65rem; font-size: 0.92rem; font-weight: 650; color: var(--b-soft); text-align: center; cursor: pointer; }
  .cmp9-switch input:checked + label { background: var(--b-crimson); color: #fff; }
  .cmp9-switch input:focus-visible + label { outline: 2px solid var(--b-crimson-bright); outline-offset: 2px; }
  .cmp9:has(#cmp9-sellers:checked) .cmp9-cable, .cmp9:has(#cmp9-cable:checked) .cmp9-sellers { display: none; }
  .cmp9-table .cmp9-feature { width: 30%; font-size: 0.9rem; }
  .cmp9-table th, .cmp9-table td { padding: 0.85rem 0.75rem; font-size: 0.9rem; }
  .cmp9-table thead th { font-size: 0.72rem; letter-spacing: 0.06em; }
  .cmp9-table td.cmp9-us svg { display: block; margin: 0 0 0.25rem; }
}

/* ---------- Guarantee ---------- */
.g9-card { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.09); background: #111116; }
@media (min-width: 900px) { .g9-card { grid-template-columns: auto minmax(0, 1fr); } }
.g9-seal { width: clamp(9rem, 16vw, 12rem); aspect-ratio: 1; border-radius: 999px; display: grid; place-content: center; text-align: center; background: var(--b-crimson); color: #fff; box-shadow: 0 0 0 10px rgba(220, 38, 38, 0.12); }
.g9-seal strong { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.05em; }
.g9-seal span { display: block; max-width: 8rem; margin: 0.35rem auto 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; }
.g9-copy > p:not(.eyebrow) { margin: 1rem 0 0; color: var(--b-soft); line-height: 1.7; font-size: 1.05rem; max-width: 46rem; }
.g9-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.g9-facts li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.98rem; }
.g9-facts strong { color: #fff; }
.g9-facts span { color: var(--b-soft); }
@media (max-width: 560px) { .g9-facts li { grid-template-columns: 1fr; gap: 0.15rem; } }
.g9-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.g9-actions .button-primary { min-height: 52px; }

/* ---------- Cities ---------- */
.c9-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.09); }
.c9-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(100deg, rgba(10, 10, 15, 0.95) 30%, rgba(10, 10, 15, 0.7)), var(--c9-bg); background-size: cover; background-position: center; }
@media (min-width: 1100px) { .c9-card { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); } }
.c9-copy > p:not(.eyebrow) { color: var(--b-soft); line-height: 1.65; margin: 1rem 0 0; }
.c9-count { display: flex; align-items: baseline; gap: 0.5rem; font-size: 1rem; }
.c9-count strong { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; }
.c9-groups { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
@media (max-width: 760px) { .c9-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.c9-group h3 { margin: 0 0 0.6rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--b-crimson); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.c9-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.c9-group a { display: block; padding: 0.35rem 0; color: #d4d4d8; font-size: 0.98rem; font-weight: 600; }
.c9-group a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--b-crimson); }

/* ---------- News ---------- */
.nw9-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.nw9-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.nw9-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.25rem !important; }
@media (max-width: 1023px) { .nw9-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .nw9-grid { grid-template-columns: 1fr !important; } }
@media (min-width: 1024px) { .nw9-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } } /* fill10 cards span 2 of 6 */
.nw9-grid .news-card { height: 100%; }
.nw9-grid .news-card-link { height: 100%; display: flex; flex-direction: column; }
.nw9-grid .news-card-body { flex: 1; display: flex; flex-direction: column; }
.nw9-grid .news-card-body .text-link { margin-top: auto; }

/* ---------- French panel ---------- */
.fr9-card { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(26rem, 40vw, 32rem); display: flex; align-items: flex-end; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.09); }
.fr9-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fr9-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 15, 0.96) 15%, rgba(10, 10, 15, 0.55) 55%, rgba(10, 10, 15, 0.15)); }
@media (min-width: 1024px) { .fr9-card { align-items: center; } .fr9-card::after { background: linear-gradient(90deg, rgba(10, 10, 15, 0.96) 30%, rgba(10, 10, 15, 0.55) 60%, rgba(10, 10, 15, 0.1)); } }
.fr9-copy { max-width: 36rem; padding: clamp(1.5rem, 4vw, 3.25rem); }
.fr9-copy > p:not(.eyebrow) { margin: 1rem 0 0; color: #e4e4e7; line-height: 1.7; font-size: 1.05rem; }
.fr9-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.fr9-actions > * { min-height: 50px; }

/* ---------- Footer lead: brand and help, no stat tiles, no divider ---------- */
.footer5-lead { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .footer5-lead { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important; gap: clamp(2rem, 5vw, 4rem) !important; align-items: center !important; } }
.footer5-where svg { display: none; }
.footer5-where { padding-top: 0 !important; margin-top: 0.25rem !important; }
.site-footer-v3 .footer-directory-v3 { border-top: 0 !important; padding-top: clamp(1rem, 2vw, 1.5rem) !important; }
.footer5-help { background: #141419 !important; border-color: rgba(255, 255, 255, 0.1) !important; }
.footer5-help-actions { grid-template-columns: 1fr !important; }
@media (min-width: 560px) { .footer5-help-actions { grid-template-columns: 1fr 1fr !important; } }
.footer5-contact { margin: 1rem 0 0; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.footer5-contact a { color: #fff; }
.footer5-contact span { color: var(--b-muted); }
.footer5-contact { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; }
.footer5-contact a { overflow-wrap: anywhere; }
.hb9-stats dd { white-space: nowrap; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem); }
.hb9-stats > div { padding: 1.1rem 1rem; }
@media (min-width: 761px) { .cmp9-table td.cmp9-us svg { display: inline-block !important; } }

/* ---------- Fix pass 2026-10-23 ---------- */
/* Code samples scroll inside their box instead of widening the page on phones. */
.prose-content pre, .news-article-body pre, article pre { max-width: 100%; overflow-x: auto; white-space: pre; -webkit-overflow-scrolling: touch; }
.prose-content pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
/* Words break only when they cannot fit, not mid-word in chips and tables. Long URLs and emails still wrap. */
body { overflow-wrap: break-word; }
/* Wide tables in content scroll in place on narrow screens instead of splitting prices letter by letter. */
@media (max-width: 900px) {
  .prose-content table, .dpage-section table { display: block; max-width: 100%; overflow-x: auto; }
  .prose-content table th, .prose-content table td, .dpage-section table th, .dpage-section table td { min-width: 6.5rem; overflow-wrap: normal; word-break: normal; }
}
/* Marquee pause control (WCAG 2.2.2). */
.marquee-wrap { position: relative; }
.marquee-pause { position: absolute; right: 0.5rem; bottom: 0.5rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(10, 10, 15, 0.85); color: #fff; font: 600 0.875rem/1 inherit; cursor: pointer; }
.marquee-pause:focus-visible { outline: 2px solid #f87171; outline-offset: 2px; }
.is-paused .sports-track, .is-paused .value-ticker-track { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .marquee-pause { display: none; } }
/* Keyboard focus is never parked under the sticky header or the bottom bars (WCAG 2.4.11). */
html { scroll-padding-top: 7.5rem; scroll-padding-bottom: calc(var(--cbar-h, 0px) + var(--cookie-h, 0px) + 1.5rem); }
.dpage-hero-card .dpage-trial-cta { display: inline-flex; margin-top: 0.75rem; }

/* ---------- Design pass 2026-10-23 ---------- */
/* First visit: the cookie notice is the only bottom layer. The plan bar and help bubble wait until a choice is made. */
body:has(.cookie-consent) .conversion-bar.conversion-bar-v3,
body:has(.cookie-consent) .conversion-bar.conversion-bar-v3.is-shown { transform: translateY(110%) !important; visibility: hidden !important; }
body:has(.cookie-consent) .support-widget { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
body:has(.cookie-consent) .cookie-consent.cookie-consent-v3 { bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
/* Desktop: the notice sits bottom right, clear of the hero buttons on the left. */
@media (min-width: 641px) {
  body .cookie-consent.cookie-consent-v3, body.cbar-visible .cookie-consent.cookie-consent-v3 { left: auto !important; right: 16px !important; }
}
/* Phones: the help bubble appears once the visitor scrolls past the hero, so it never sits on the main button. */
@media (max-width: 640px) {
  body:not(.is-scrolled) .support-widget { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
  .top-banner-detail { display: none; }
}
/* Readable minimums on buyer-facing controls. */
.conversion-bar .conversion-bar-link, .conversion-bar .conversion-bar-whatsapp { font-size: 0.875rem !important; }
.top-banner-action { font-size: 0.8125rem !important; }
.support-trigger small { font-size: 0.8125rem !important; }
.footer5 h2, footer h2[id^="fg-"] { font-size: 0.875rem !important; }
.page5-matrix th { font-size: 0.875rem !important; }
/* Wide price tables: first column stays put, a hint and an edge fade show there is more. */
.page5-table-hint { margin: 0 0 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 900px) {
  .page5-matrix th:first-child, .page5-matrix td:first-child { position: sticky; left: 0; z-index: 1; background: #121216; }
  .page5-table-wrap.is-scrollable { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .page5-table-wrap.is-scrollable.is-scrolled-end { -webkit-mask-image: none; mask-image: none; }
}
/* Phones: a compact cookie notice. The title stays for screen readers. */
@media (max-width: 640px) {
  .cookie-consent.cookie-consent-v3 { padding: 0.8rem 0.9rem !important; gap: 0.45rem !important; }
  .cookie-consent-v3 #cookie-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cookie-consent-v3 .cookie-copy p { margin: 0 !important; }
  .cookie-consent-v3 .cookie-actions { gap: 0.4rem !important; }
  .cookie-consent-v3 .cookie-actions [data-cookie-toggle-prefs] { min-height: 32px !important; }
  .cookie-consent-v3 .cookie-actions button.cookie-button-primary, .cookie-consent-v3 .cookie-actions button.cookie-button-secondary { min-height: 44px !important; padding-block: 0.3rem !important; line-height: 1.2 !important; }
}
