/* ==========================================================================
   Storefront CSS — shared by every brand.
   Brand colours / fonts / radii arrive as CSS variables from brand.php
   (see layouts/app.blade.php :root block). No build step required.
   Values were measured from iptvgo-4k.live (desktop 1440px, mobile 390px).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--c-ink); background: var(--c-surface); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; color: var(--c-ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.icon { flex: none; }
.center { text-align: center; }
.mt-8 { margin-top: 32px; }
.muted { color: var(--c-ink-muted); font-size: 14px; }
.break { word-break: break-all; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--c-brand); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container-md { max-width: 1152px; }
.container-faq { max-width: 896px; }
.container-article { max-width: 768px; }
.guide .container-article { max-width: 896px; }
.container-prose { max-width: 896px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.section { padding: 64px 0; }
.section-lg { padding: 80px 0; }
.section-soft { background: var(--c-surface-soft); border-top: 1px solid var(--c-brand-border-soft); border-bottom: 1px solid var(--c-brand-border-soft); }
.section-flush { padding-top: 0; }
.section-tight { padding-top: 8px; }

.section-head { max-width: 768px; margin: 0 auto 40px; text-align: center; }
.section-head .pill { margin-bottom: 16px; }
.section-head h2, .h2-left { font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -0.025em; }
.section-head p { margin-top: 16px; color: var(--c-ink-muted); font-size: 16px; line-height: 24px; }
@media (min-width: 768px) { .section-head h2, .h2-left { font-size: 36px; line-height: 40px; } }
.h2-sm { font-size: 24px !important; line-height: 32px !important; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.h2-sm .icon { color: var(--c-brand-text); }
.lede { margin-top: 16px; color: var(--c-ink-muted); font-size: 16px; line-height: 24px; }
.lede a, .section-head a, .feature a, .info-cards a, .prose a { color: var(--c-brand-text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pills, chips, labels ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 14px; }
.pill-brand { background: var(--c-brand-soft); color: var(--c-brand-text); }
.pill-dark { background: color-mix(in srgb, var(--c-brand) 55%, transparent); border: 1px solid var(--c-brand-text); color: var(--c-highlight); }
.pill-soft { background: var(--c-brand-soft); color: var(--c-brand); font-size: 11px; letter-spacing: 0; text-transform: none; padding: 3px 10px; }
.label-caps { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-muted); margin: 18px 0 8px; }
.label-caps.brand { color: var(--c-brand-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--c-brand-border); border-radius: var(--r-chip); color: var(--c-ink-body); font-size: 12px; font-weight: 600; line-height: 16px; padding: 4px 10px; text-decoration: none; }
.chip-dark { background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 700; }
.chip-dark:hover { background: var(--c-brand-hover); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-brand-text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-button);
  font-size: 14px; line-height: 20px; font-weight: 800; padding: 14px 24px; text-decoration: none; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { font-size: 12px; line-height: 16px; padding: 8px 16px; border-radius: var(--r-chip); text-transform: uppercase; letter-spacing: .025em; }
.btn-xs { font-size: 12px; line-height: 16px; padding: 8px 14px; border-radius: var(--r-chip); text-transform: uppercase; letter-spacing: .025em; }
.btn-block { width: 100%; }
.btn-accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-accent:hover { background: var(--c-accent-hover); }
.btn-brand { background: var(--c-brand); color: #fff; }
.btn-brand:hover { background: var(--c-brand-hover); }
.btn-brand-outline { background: color-mix(in srgb, var(--c-brand-hover) 60%, transparent); border-color: color-mix(in srgb, var(--c-brand-text) 70%, #fff 0%); color: #fff; font-weight: 700; }
.btn-brand-outline:hover { background: var(--c-brand); }
.btn-outline-dark { background: transparent; border-color: #a855f7; color: #fff; font-weight: 700; padding: 12px 20px; }
.btn-outline-dark:hover { background: color-mix(in srgb, #a855f7 20%, transparent); }
.btn-dark-soft { background: color-mix(in srgb, var(--c-dark-border) 60%, transparent); border-color: var(--c-brand-text); color: #fff; font-weight: 700; }
.btn-dark-soft:hover { border-color: var(--c-accent); }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,.2); color: var(--c-on-dark); font-weight: 600; padding: 14px 20px; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-soft { background: color-mix(in srgb, var(--c-brand-soft) 60%, #fff); border-color: var(--c-brand-border); color: var(--c-brand-text); }
.btn-soft:hover { background: var(--c-brand-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { color: var(--c-brand-text); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; display: inline-block; }
.text-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-brand-border-soft); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
@media (min-width: 1024px) { .header-row { height: 60px; } }
.header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo img { height: 36px; width: auto; }
.market-pill { background: var(--c-brand-soft); color: var(--c-brand-text); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 3px 10px; white-space: nowrap; }
.main-nav { display: none; align-items: center; gap: 24px; }
.main-nav a { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-ink-body); text-decoration: none; }
.main-nav a:hover { color: var(--c-brand-text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.currency-select { appearance: auto; font-size: 12px; font-weight: 700; color: var(--c-ink); background: color-mix(in srgb, var(--c-surface-soft) 70%, transparent);
  border: 1px solid var(--c-brand-border); border-radius: var(--r-chip); padding: 6px 10px; }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--c-brand-border); background: #fff; border-radius: var(--r-chip); color: var(--c-ink); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--c-brand-border-soft); background: #fff; }
.mobile-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding-top: 12px; padding-bottom: 16px; }
.mobile-menu a { padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--c-ink-body); text-decoration: none; border-radius: var(--r-chip); }
.mobile-menu a:hover { background: var(--c-surface-soft); color: var(--c-brand-text); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .main-nav { display: flex; } .menu-toggle, .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { background: var(--c-dark); color: #fff; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.43fr 1fr; align-items: center; padding-top: 80px; padding-bottom: 80px; gap: 40px; } }
.hero h1 { color: #fff; font-size: 36px; line-height: 1.25; font-weight: 900; letter-spacing: -0.025em; margin-top: 20px; }
@media (min-width: 640px) { .hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 60px; } }
.hero h1 .hl { background: linear-gradient(90deg, var(--c-highlight), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 20px; color: var(--c-on-dark); font-size: 16px; line-height: 1.625; max-width: 672px; }
.hero-lede strong { color: #fff; }
@media (min-width: 640px) { .hero-lede { font-size: 18px; } }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--c-brand) 60%, transparent); }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats dt { color: var(--c-highlight); font-size: 20px; line-height: 28px; font-weight: 900; }
.hero-stats dd { margin: 0; color: var(--c-on-dark-muted); font-size: 12px; line-height: 16px; }
.hero-media { margin: 0; border-radius: var(--r-card); border: 1px solid color-mix(in srgb, var(--c-brand) 70%, transparent); background: var(--c-dark-card); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.hero-media-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 12px 0; }
.hero-media-stats div { display: flex; flex-direction: column; border-left: 1px solid color-mix(in srgb, var(--c-brand) 60%, transparent); }
.hero-media-stats div:first-child { border-left: 0; }
.hero-media-stats strong { color: var(--c-highlight); font-size: 14px; font-weight: 800; }
.hero-media-stats span { color: var(--c-on-dark-muted); font-size: 12px; }

/* ---------- Cards ---------- */
.card { border-radius: var(--r-card); background: #fff; border: 1px solid var(--c-brand-border); }
.card-soft { background: var(--c-surface-soft); border-color: var(--c-brand-border-soft); padding: 24px; }
.feature .feature-icon { color: var(--c-brand-text); }
.feature h3 { margin-top: 16px; font-size: 18px; line-height: 28px; font-weight: 800; }
.feature p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--c-ink-muted); }
.link-cards { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: 1fr; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--c-brand-border); background: color-mix(in srgb, var(--c-surface-soft) 60%, #fff); }
@media (min-width: 640px) { .link-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .link-cards { grid-template-columns: repeat(4, 1fr); } }
.link-card { display: block; background: #fff; border-radius: 12px; padding: 16px; text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,.08); transition: box-shadow .15s, transform .15s; }
.link-card:hover { box-shadow: 0 6px 16px rgba(91,33,182,.12); transform: translateY(-1px); }
.link-card strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; }
.link-card p { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--c-ink-faint); }

.category h3, .category h2 { margin-top: 16px; font-size: 18px; line-height: 28px; font-weight: 800; }
.check-list { display: grid; gap: 8px; margin-top: 12px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--c-ink-body); }
.check-list .icon { color: var(--c-brand-text); margin-top: 2px; }
.media-grid { margin-top: 32px; }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
.media-card { overflow: hidden; background: var(--c-surface-soft); border-color: var(--c-brand-border-soft); }
.media-card img { width: 100%; height: 256px; object-fit: cover; }
.media-body { padding: 24px; }
.media-body h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; line-height: 28px; font-weight: 800; }
.media-body h3 .icon { color: var(--c-brand-text); }
.media-body p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--c-ink-muted); }

/* ---------- Pricing ---------- */
.pricing-controls { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .pricing-controls { flex-direction: row; gap: 32px; } }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-brand-border); border-radius: var(--r-card); padding: 8px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.segmented button { border: 0; background: transparent; border-radius: var(--r-button); padding: 8px 16px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--c-ink-body); }
.segmented button:hover { background: var(--c-surface-soft); }
.segmented button[aria-pressed="true"] { background: var(--c-brand); color: #fff; }
.term-badge { margin-left: 6px; background: var(--c-accent); color: var(--c-accent-ink); border-radius: 4px; font-size: 10px; font-weight: 800; padding: 2px 6px; }
.segmented.screens { gap: 8px; flex-wrap: nowrap; }
.screens-label { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; font-size: 12px; font-weight: 700; color: var(--c-ink-body); }
.screens-label .icon { color: var(--c-brand-text); }
.segmented.screens button { width: 32px; height: 32px; padding: 0; border-radius: var(--r-chip); background: #f1f5f9; font-weight: 800; }
.segmented.screens button[aria-pressed="true"] { background: var(--c-accent); color: var(--c-accent-ink); }
.plan-grid { display: grid; gap: 24px; grid-template-columns: 1fr; max-width: 1216px; margin: 0 auto; }
@media (min-width: 1024px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; background: #fff; border: 1px solid var(--c-brand-border); border-radius: var(--r-card); padding: 28px; box-shadow: 0 1px 2px rgba(15,23,42,.05); display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; line-height: 28px; font-weight: 800; }
.plan-sub { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--c-ink-muted); min-height: 40px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.plan-price .amount { font-size: 36px; line-height: 40px; font-weight: 900; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--c-ink-faint); }
.plan .check-list { margin: 24px 0 32px; gap: 12px; }
.plan .check-list li { gap: 10px; }
.check-list-plain .icon { color: var(--c-brand-text); }
.plan .btn { margin-top: auto; padding: 14px 20px; border: 0; }
.plan-featured { background: var(--c-dark); border: 2px solid var(--c-accent); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.plan-featured h3, .plan-featured .plan-price .amount { color: #fff; }
.plan-featured .plan-sub { color: var(--c-on-dark-muted); }
.plan-featured .per { color: var(--c-on-dark-muted); }
.plan-featured .check-list li { color: var(--c-on-dark); }
.plan-featured .check-list .icon { color: var(--c-accent); }
.plan-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: var(--c-accent-ink); border-radius: 999px; font-size: 11px; line-height: 17.6px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; white-space: nowrap; }
@media (min-width: 1024px) { .plan-ribbon { left: 28px; transform: none; } }
.pricing-notes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-top: 32px; font-size: 12px; font-weight: 600; color: var(--c-ink-muted); text-align: center; }
.pricing-notes .icon { color: var(--c-brand-text); }
.pricing-notes .dot { color: var(--c-ink-faint); }
.price-flash { animation: priceflash .35s ease; }
@keyframes priceflash { from { opacity: .35; } to { opacity: 1; } }

/* ---------- Comparison ---------- */
.comparison-grid { display: grid; gap: 40px; }
.comparison-grid > * { min-width: 0; }   /* long words in a table must scroll inside .table-wrap, not widen the page */
@media (min-width: 1024px) { .comparison-grid { grid-template-columns: 1.43fr 1fr; align-items: start; } }
.comparison-grid .lede { margin-bottom: 24px; }
.table-wrap { border: 1px solid var(--c-brand-border); border-radius: var(--r-card); overflow-x: auto; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.table-wrap thead tr { background: var(--c-dark); }
.table-wrap th { text-align: left; color: #fff; font-weight: 700; padding: 12px 16px; }
.table-wrap th.hl { color: var(--c-highlight); }
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--c-brand-border-soft); color: var(--c-ink-muted); }
.table-wrap td:first-child { color: var(--c-ink); font-weight: 600; }
.table-wrap td.hl { color: var(--c-brand-text); font-weight: 700; }
.comparison-grid .text-link { margin-top: 24px; }
.trust-panel { padding: 24px; }
.trust-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 28px; font-weight: 800; }
.trust-panel h3 .icon { color: var(--c-brand-text); }
.trust-panel > p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--c-ink-muted); }
.guide-box { margin-top: 24px; border-radius: 12px; background: var(--c-dark); padding: 16px; }
.guide-box strong { color: var(--c-highlight); font-size: 14px; font-weight: 800; }
.guide-box p { color: var(--c-on-dark-muted); font-size: 12px; margin: 4px 0 12px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--c-brand-border); border-radius: var(--r-card); padding: 20px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; line-height: 24px; font-weight: 800; color: var(--c-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--c-brand-soft); color: var(--c-brand-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 14px; line-height: 1.625; color: var(--c-ink-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-dark); color: #fff; padding: 56px 0; }
.cta-grid { max-width: 1024px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .cta-grid { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { color: #fff; font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -0.025em; }
.cta-band p { margin-top: 12px; color: var(--c-on-dark-muted); font-size: 16px; line-height: 1.5; }
.cta-band strong { color: #fff; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) { .cta-buttons { flex-direction: column; align-items: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark); border-top: 4px solid var(--c-accent); }
.site-footer > .container { padding-top: 56px; padding-bottom: 56px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid color-mix(in srgb, #581c87 70%, transparent); }
.footer-links { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .footer-about { grid-column: span 4; } .footer-links { grid-column: span 8; } }
.footer-logo { height: 36px; width: auto; filter: brightness(1.1); }
.footer-pill { background: var(--c-accent); color: var(--c-accent-ink); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 3px 10px; }
.footer-about > p { margin-top: 23px; font-size: 14px; line-height: 20px; color: var(--c-on-dark); max-width: 380px; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.footer-email { margin-top: 12px !important; font-size: 12px !important; line-height: 16px !important; color: var(--c-on-dark-muted) !important; }
.footer-email a { text-decoration: none; }
.footer-col h2 { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-highlight); }
.footer-col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer-col li { font-size: 14px; line-height: 20px; }
.footer-col a { font-size: 14px; line-height: 20px; color: var(--c-on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--c-highlight); }
.footer-bottom { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; line-height: 16px; color: var(--c-on-dark-muted); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .footer-disclaimer { max-width: 576px; }
.footer-disclaimer { font-size: 12px; }

/* ---------- Inner pages ---------- */
.page-header { padding: 48px 0 40px; }
@media (min-width: 1024px) { .page-header { padding: 48px 0 48px; } }
.page-header-flush { padding-bottom: 0 !important; }
.page-header-flush .lede { margin-top: 12px; }
.page-header-center { text-align: center; }
.page-header-center .container > * { margin-left: auto; margin-right: auto; }
.page-header h1 { margin-top: 16px; font-size: 36px; line-height: 40px; font-weight: 900; letter-spacing: -0.025em; max-width: 832px; }
.page-header-left h1 { max-width: none; }
.page-header-left .pill + h1 { margin-top: 16px; }
.page-header h1:first-child { margin-top: 0; }
@media (min-width: 768px) { .page-header-center h1 { font-size: 48px; line-height: 1; } }
.page-header .lede { max-width: 832px; }
.page-header-left .lede { max-width: none; }
.info-cards { margin-top: 32px; }
.info-cards h2 { font-size: 18px; line-height: 28px; font-weight: 800; }
.info-cards p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--c-ink-muted); }

.link-rows { gap: 12px 16px; }
.link-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--c-brand-border); border-radius: 12px; text-decoration: none; background: #fff; }
.link-row:hover { border-color: var(--c-brand-text); }
.link-row .icon { color: var(--c-brand-text); margin-top: 2px; }
.link-row strong { display: block; font-size: 14px; font-weight: 800; }
.link-row small { display: block; font-size: 12px; color: var(--c-ink-faint); }

.article-cards { max-width: 1088px; margin: 0 auto; }
.grid-4.article-cards { max-width: none; }
.article-card { display: flex; flex-direction: column; text-decoration: none; border-color: var(--c-brand-border); transition: box-shadow .15s, border-color .15s; }
.article-card:hover { border-color: var(--c-brand-text); box-shadow: 0 8px 20px rgba(91,33,182,.1); }
.article-card h2, .article-card h3 { margin-top: 12px; font-size: 18px; line-height: 28px; font-weight: 800; }
.article-card p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--c-ink-muted); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--c-ink-faint); }
.meta-brand { color: var(--c-brand-text); }
.meta-inline { display: inline-flex; align-items: center; gap: 4px; }
.card-cta { margin-top: auto; padding-top: 20px; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-brand); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { min-width: 36px; text-align: center; padding: 6px 10px; border: 1px solid var(--c-brand-border); border-radius: var(--r-chip); text-decoration: none; font-weight: 700; font-size: 14px; }
.pagination a[aria-current="page"] { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

.split-page { padding-top: 56px; }
@media (min-width: 1024px) { .split-page { padding-top: 80px; } }
.split-page h1 { font-size: 36px; line-height: 40px; font-weight: 900; letter-spacing: -0.025em; }
.split-page .pill + h1 { margin-top: 16px; }
.split-grid { max-width: 1152px; display: grid; gap: 40px; }
.split-grid > * { min-width: 0; }
.phone-field input { min-width: 0; flex: 1; }
@media (min-width: 1024px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.split-grid .check-list { margin-top: 24px; }
.form-card { padding: 24px; box-shadow: 0 10px 25px -10px rgba(91,33,182,.18); }
@media (min-width: 640px) { .form-card { padding: 28px; } }
.form-card h2 { font-size: 20px; line-height: 28px; font-weight: 800; }
.form-card form { margin-top: 20px; display: grid; gap: 4px; }
.form-card label { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--c-ink-body); margin-top: 12px; display: block; }
.form-card label:first-child { margin-top: 0; }
.form-card input:not([type=checkbox]), .form-card select, .form-card textarea, .order-form input {
  width: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--c-brand-border); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 20px; color: var(--c-ink); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .order-form input:focus { outline: none; border-color: var(--c-brand-text); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.form-grid { grid-template-columns: 1fr; gap: 12px 16px !important; }
.form-grid label { margin-top: 0 !important; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 12px !important; color: var(--c-ink-muted) !important; }
.consent input { margin-top: 2px; }
.phone-field { display: flex; margin-top: 4px; }
.phone-field input { margin-top: 0 !important; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.phone-field .dial { display: flex; align-items: center; padding: 0 12px; font-size: 12px; line-height: 14px; font-weight: 800; color: var(--c-brand-text); background: var(--c-surface-soft); border: 1px solid var(--c-brand-border); border-left: 0; border-radius: 0 12px 12px 0; }
.channel-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.channel-buttons .btn { padding: 12px 8px; }
.channel-buttons-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-status { font-size: 13px; font-weight: 600; color: var(--c-brand-text); min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #bf000f; }
.form-status.is-ok { color: #3f6212; }
.contact-channels { display: grid; gap: 12px; margin-top: 28px; max-width: 420px; }
.contact-channel { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; border: 1px solid var(--c-brand-border); }
.contact-whatsapp { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.contact-telegram { background: var(--c-brand-soft); color: var(--c-brand-text); }
.contact-email { color: var(--c-ink-body); font-weight: 600; }

.packs { margin-top: 8px; }
.pack { position: relative; border: 1px solid var(--c-brand-border); border-radius: var(--r-card); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.pack-featured { background: var(--c-dark); border: 2px solid var(--c-accent); color: #fff; }
.pack-featured .label-caps { color: var(--c-on-dark-muted); }
.pack-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: var(--c-accent-ink); border-radius: 999px; font-size: 10px; font-weight: 800; padding: 3px 10px; letter-spacing: .05em; }
.pack .label-caps { margin-top: 0; }
.pack-price { font-size: 30px; line-height: 36px; font-weight: 900; }
.pack-tagline { font-size: 12px; color: var(--c-ink-faint); margin-top: 4px; }
.pack-featured .pack-tagline { color: var(--c-on-dark-muted); }
.pack .check-list { margin: 16px 0 24px; }
.pack .check-list li { font-size: 12px; line-height: 16px; }
.pack-featured .check-list li { color: var(--c-on-dark); }
.pack-featured .check-list .icon { color: var(--c-accent); }
.pack .btn { margin-top: auto; padding: 12px 16px; }
.matrix { display: grid; gap: 32px; margin-top: 40px; padding: 32px; }
@media (min-width: 1024px) { .matrix { grid-template-columns: 1fr 1fr; align-items: start; } }
.matrix p { font-size: 14px; line-height: 1.625; color: var(--c-ink-muted); }
.matrix td.hl, .matrix td:last-child { color: var(--c-brand-text); font-weight: 700; }

/* ---------- Articles ---------- */
.article { padding: 56px 0 72px; }
@media (min-width: 1024px) { .article { padding-top: 80px; } }
.article-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--c-brand-text); }
.article-topline a { text-decoration: underline; text-underline-offset: 2px; }
.article h1 { margin-top: 16px; font-size: 30px; line-height: 36px; font-weight: 900; letter-spacing: -0.025em; }
@media (min-width: 768px) { .article h1 { font-size: 36px; line-height: 40px; } }
.article-sections { margin-top: 32px; display: grid; gap: 24px; }
.article-section h2 { font-size: 20px; line-height: 28px; font-weight: 800; }
.step-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-brand-text); }
.step-label + h2 { margin-top: 4px; }
.prose { font-size: 14px; line-height: 1.625; color: var(--c-ink-body); }
.prose > * + * { margin-top: 12px; }
.article-section .prose { margin-top: 8px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-brand-border); padding: 8px 10px; text-align: left; }
.prose th { background: var(--c-brand-soft); }
.prose img { border-radius: 12px; }
.prose h3 { font-size: 16px; font-weight: 800; }
.container-prose.prose h1 { font-size: 36px; line-height: 40px; font-weight: 900; margin-bottom: 24px; }
.container-prose.prose p { margin: 0 0 24px; color: var(--c-ink-muted); }
.container-prose.prose * + * { margin-top: 0; }
.tips { padding: 24px; }
.tips h2 { font-size: 20px; line-height: 28px; font-weight: 800; }
.article-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; background: var(--c-dark); border-radius: var(--r-card); padding: 24px; }
.article-ctas .btn { padding: 12px 20px; }
.related { margin-top: 48px; }

/* ---------- Order dialog ---------- */
.order-dialog { width: min(512px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: var(--r-card); padding: 32px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); overflow-y: auto; }
.order-dialog::backdrop { background: rgba(15,23,42,.6); backdrop-filter: blur(2px); }
.dialog-close-form { position: absolute; top: 16px; right: 16px; }
.dialog-close { border: 0; background: transparent; color: var(--c-ink-muted); padding: 6px; border-radius: 8px; }
.dialog-close:hover { background: var(--c-surface-soft); }
.order-dialog h2 { margin-top: 16px; font-size: 24px; line-height: 32px; font-weight: 800; padding-right: 24px; }
.order-total { margin-top: 4px; font-size: 14px; color: var(--c-ink-muted); }
.order-total strong { color: var(--c-brand-text); font-weight: 800; }
.order-dialog .label-caps { color: var(--c-ink-body); margin-top: 20px; }
.device-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.device-grid button { height: 36px; border: 1px solid var(--c-brand-border); background: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; }
.device-grid button[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.order-form { margin-top: 16px; display: grid; }
.order-form label { font-size: 12px; font-weight: 700; color: var(--c-ink-body); margin-top: 12px; }
.order-form label:first-child { margin-top: 0; }
.order-form .form-status { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Pricing matrix heading rhythm (measured: pill→h2 12px, h2→p 12px, head→controls 32px) */
.pricing .section-head { margin-bottom: 32px; }
.pricing .section-head .pill { margin-bottom: 12px; }
.pricing .section-head p { margin-top: 12px; }
.content-blocks h2 { font-size: 22px; line-height: 30px; font-weight: 800; margin: 8px 0 12px; }
.content-blocks h2 ~ h2 { margin-top: 32px; }
.content-blocks ul, .content-blocks ol { margin: 0 0 24px; color: var(--c-ink-muted); }
.content-blocks li + li { margin-top: 6px; }

/* ==========================================================================
   Polish (2026-12-04): depth, motion and brand-true colours.
   Shared components; colour fixes are scoped to the new brands because the
   purple values above were measured from IPTVGO and belong to it.
   ========================================================================== */

/* Brand-true colours on the new brands (IPTVGO's purple leaked into teal/red/blue themes). */
body:not(.brand-iptvgo) .btn-outline-dark { border-color: color-mix(in srgb, var(--c-accent) 70%, transparent); }
body:not(.brand-iptvgo) .btn-outline-dark:hover { background: color-mix(in srgb, var(--c-accent) 18%, transparent); }
body:not(.brand-iptvgo) .footer-grid { border-bottom-color: color-mix(in srgb, var(--c-dark-border) 80%, transparent); }
body:not(.brand-iptvgo) .link-card:hover,
body:not(.brand-iptvgo) .article-card:hover { box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c-brand) 35%, transparent); }
body:not(.brand-iptvgo) .form-card { box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c-brand) 40%, transparent); }

/* Hero: ambient glow behind the copy and a lit frame around the picture. */
.hero { position: relative; isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--c-brand) 45%, transparent), transparent 70%),
    radial-gradient(45% 55% at 5% 100%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%),
    var(--c-dark); }
.hero-media { position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 0 0 1px color-mix(in srgb, var(--c-accent) 18%, transparent), 0 0 80px -10px color-mix(in srgb, var(--c-brand) 55%, transparent); }
@media (min-width: 1024px) { .hero-media { transform: perspective(1400px) rotateY(-6deg); transition: transform .4s ease; } .hero-media:hover { transform: perspective(1400px) rotateY(0); } }
.hero-stats dt { font-size: 24px; line-height: 32px; }
@media (max-width: 639px) {
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row > :first-child { grid-column: 1 / -1; }
  .hero .btn-row .btn { white-space: normal; text-align: center; padding: 14px 12px; }
}

/* Buttons: a little lift and a glow on the main action. */
.btn { transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-accent { box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--c-accent) 80%, transparent); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--c-accent) 90%, transparent); }

/* Section rhythm: bigger headings on wide screens. */
@media (min-width: 1024px) { .section { padding: 80px 0; } .section-head h2 { font-size: 40px; line-height: 46px; } }

/* Cards: icon tiles and gentle hover lift. */
.feature .feature-icon { box-sizing: content-box; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--c-brand-border); }
.feature, .category, .media-card, .faq-item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover, .category:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--c-brand) 45%, transparent); }
.media-card img { transition: transform .5s ease; }
.media-card:hover { box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--c-brand) 50%, transparent); }
.media-card:hover img { transform: scale(1.04); }
@media (max-width: 767px) { .media-card img { height: auto; aspect-ratio: 16 / 9; } }

/* Plans: the featured plan stands forward; the others react on hover. */
.plan { transition: transform .2s ease, box-shadow .2s ease; }
.plan:not(.plan-featured):hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--c-brand) 45%, transparent); }
@media (min-width: 1024px) { .plan-featured { transform: translateY(-12px); box-shadow: 0 28px 50px -20px rgba(0,0,0,.45), 0 0 0 4px color-mix(in srgb, var(--c-accent) 18%, transparent); } }

/* FAQ: clearer open state. */
.faq-item:hover { border-color: var(--c-brand-text); }
.faq-item[open] { border-color: var(--c-brand-text); box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--c-brand) 45%, transparent); }
.faq-item[open] .faq-plus { background: var(--c-brand); color: #fff; }

/* CTA band: glow and side-by-side buttons of equal width. */
.cta-band { position: relative; overflow: hidden;
  background:
    radial-gradient(50% 120% at 100% 0%, color-mix(in srgb, var(--c-brand) 50%, transparent), transparent 70%),
    radial-gradient(40% 100% at 0% 100%, color-mix(in srgb, var(--c-accent) 12%, transparent), transparent 70%),
    var(--c-dark); padding: 72px 0; }
@media (min-width: 768px) { .cta-band h2 { font-size: 36px; line-height: 42px; } }
@media (min-width: 768px) { .cta-buttons { flex-direction: column; align-items: stretch; min-width: 220px; } }
@media (max-width: 767px) { .cta-buttons { display: grid; grid-template-columns: 1fr 1fr; } .cta-buttons .btn { white-space: normal; text-align: center; } }

/* Article call-to-action box gets the same glow. */
.article-ctas { background:
    radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--c-brand) 45%, transparent), transparent 70%),
    var(--c-dark); }

/* Plan-length selector on phones: an even two-column grid instead of a ragged wrap. */
@media (max-width: 639px) {
  .segmented:not(.screens) { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .segmented:not(.screens) button { padding: 10px 8px; }
  .segmented:not(.screens) button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
