/* BästaIPTVHD — cinema dark, one crimson action colour */
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --f-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --r: 16px; --r-lg: 22px; --wrap: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* always-dark surfaces (header, hero, footer, TV) */
  --night: #0B0D17; --night-2: #121628; --night-3: #1A1F35; --night-line: rgba(255,255,255,.09);
  --on-night: #C9CFDF; --on-night-head: #F5F6FA; --on-night-muted: #8E97B0;
  --accent: #E11D48; --accent-hover: #F43F5E; --accent-text: #FB7185; /* #FB7185 on --night 6.6:1, white on #E11D48 4.7:1 */
  --wa: #25D366;
  /* theme tokens: dark default */
  --bg: #0B0D17; --bg-2: #10131F; --surface: #151A2A; --surface-2: #1B2134; --border: rgba(255,255,255,.09);
  --text: #C9CFDF; --heading: #F5F6FA; --muted: #8E97B0; --link: #FB7185; --ok: #34D399;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.7);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F6F7FB; --bg-2: #EEF0F6; --surface: #FFFFFF; --surface-2: #F2F4F9; --border: #E1E4EE;
  --text: #3A4157; --heading: #0B0D17; --muted: #5D6680; --link: #BE123C; --ok: #047857;
  --shadow: 0 20px 50px -30px rgba(17,24,39,.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.7 var(--f-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--heading); }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--heading); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--heading); }
.ph { background: rgba(225,29,72,.14); color: var(--link); padding: 0 .3em; border-radius: 4px; font-size: .95em; }
.sec-night .ph, .page-head .ph, .hero .ph, .post-cta .ph { color: var(--accent-text); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.measure { max-width: 72ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 60; border-radius: 8px; }
.skip:focus { left: 16px; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .45em; font: 700 1.3rem/1 var(--f-display); color: #fff; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: #fff; }
.bug { font: 800 .7em/1 var(--f-display); background: var(--accent); color: #fff; padding: .34em .46em .3em; border-radius: 7px; letter-spacing: .03em; box-shadow: 0 6px 18px -6px rgba(225,29,72,.8); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .95em 1.5em; border-radius: 14px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font: 600 1.02rem/1 var(--f-display); text-decoration: none; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 12px 30px -12px rgba(225,29,72,.75); transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(225,29,72,.85); }
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.16); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.btn-line { background: transparent; color: var(--heading); border-color: var(--border); box-shadow: none; }
.btn-line:hover { background: var(--surface-2); color: var(--heading); box-shadow: none; }
.btn-sm { min-height: 44px; padding: .65em 1.1em; font-size: .95rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(11,13,23,.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--night-line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--on-night); text-decoration: none; font: 500 .98rem/1 var(--f-display); padding: 12px 12px; border-radius: 10px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.06); }
.theme { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--night-line); background: transparent; color: var(--on-night); cursor: pointer; margin: 0 6px; }
.theme:hover { color: #fff; background: rgba(255,255,255,.06); }

/* ---------- breadcrumbs ---------- */
.crumbs { background: var(--night); border-bottom: 1px solid var(--night-line); }
.crumbs ol { list-style: none; margin: 0 auto; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--on-night-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-night-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--on-night); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding: 72px 0 96px; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(225,29,72,.38), transparent 65%); }
.hero::after { width: 560px; height: 560px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(99,102,241,.22), transparent 65%); }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--on-night-head); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FB7185, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; color: var(--on-night); max-width: 40ch; margin-bottom: 1.8em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--on-night); }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips .icon { width: 18px; height: 18px; color: #34D399; stroke-width: 2.4; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); font: 600 .85rem/1 var(--f-display); color: var(--on-night-head); margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(225,29,72,.25); }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.hero .eyebrow, .sec-night .eyebrow, .page-head .eyebrow { color: var(--accent-text); }

/* ---------- the TV mockup (pure HTML/CSS, aria-hidden) ---------- */
.tv { position: relative; }
.tv-frame { border-radius: 20px; padding: 10px; background: linear-gradient(180deg, #232842, #10131F); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.tv-screen { border-radius: 12px; overflow: hidden; background: #0A0C16; display: grid; grid-template-columns: 52px 1fr; aspect-ratio: 16 / 10; }
.tv-side { background: #0E1120; border-right: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 16px; }
.tv-side span { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.12); }
.tv-side span:first-child { background: var(--accent); }
.tv-main { padding: 14px 16px; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; min-width: 0; }
.tv-bar { display: flex; justify-content: space-between; align-items: center; font: 600 .72rem/1 var(--f-display); color: #9AA3BC; }
.tv-bar b { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.tv-bar b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(225,29,72,.3); }
.tv-tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.tile { position: relative; border-radius: 9px; aspect-ratio: 16 / 10; overflow: hidden; padding: 8px; display: flex; flex-direction: column; justify-content: flex-end; font: 600 .7rem/1.15 var(--f-display); color: #fff; }
.tile small { display: block; font-weight: 500; opacity: .75; font-size: .62rem; margin-top: 2px; }
.tile.t1 { grid-row: span 2; aspect-ratio: auto; background: radial-gradient(120% 90% at 20% 110%, #FFB23F 0%, #E2564A 30%, #6B2E78 60%, #14224A 90%); }
.tile.t2 { background: linear-gradient(135deg, #1E3A8A, #0EA5E9); }
.tile.t3 { background: linear-gradient(135deg, #065F46, #22C55E); }
.tile.t4 { background: linear-gradient(135deg, #4C1D95, #A855F7); }
.tile.t5 { background: linear-gradient(135deg, #7C2D12, #F97316); }
.tile .live { position: absolute; top: 8px; left: 8px; background: var(--accent); border-radius: 4px; padding: 3px 5px; font-size: .55rem; letter-spacing: .06em; }
.tile .hd { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.45); border-radius: 4px; padding: 3px 5px; font-size: .55rem; }
.tv-epg { display: grid; gap: 6px; align-content: start; }
.epg-row { display: grid; grid-template-columns: 54px 1fr; gap: 6px; align-items: stretch; }
.epg-ch { border-radius: 6px; background: rgba(255,255,255,.06); font: 700 .6rem/1 var(--f-display); color: #C9CFDF; display: grid; place-items: center; height: 26px; }
.epg-progs { display: flex; gap: 4px; }
.epg-progs span { height: 26px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); }
.epg-progs .now { background: rgba(225,29,72,.22); border-color: rgba(225,29,72,.5); }
.tv-stand { width: 28%; height: 14px; margin: 0 auto; background: linear-gradient(180deg, #1A1F35, #0B0D17); border-radius: 0 0 12px 12px; }
.tv-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(21,26,42,.9); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); box-shadow: var(--shadow); color: #fff; font: 600 .9rem/1.2 var(--f-display); }
.tv-badge small { display: block; font: 500 .75rem/1.2 var(--f-body); color: var(--on-night-muted); }
.tv-badge .icon { color: #34D399; }
.tv-badge.b1 { left: -22px; bottom: 52px; }
.tv-badge.b2 { right: -14px; top: -18px; }
.tv-badge.b2 strong { color: #fff; font-size: 1.2rem; }

/* ---------- stats strip (only facts we can stand behind) ---------- */
.stats { background: var(--night); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.stats ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats li { text-align: center; color: var(--on-night-muted); font-size: .92rem; }
.stats b { display: block; font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--f-display); color: #fff; margin-bottom: 4px; letter-spacing: -0.02em; }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-tight { padding-top: 0; }
.sec-alt { background: var(--bg-2); }
.sec-night { background: var(--night); color: var(--on-night); }
.sec-night h2, .sec-night h3, .sec-night strong { color: var(--on-night-head); }
.sec-night a { color: var(--accent-text); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.1rem; color: var(--muted); }
.sec-night .sec-head p { color: var(--on-night-muted); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.cols p { margin: 0; }

/* cards + icon grids */
.cards, .feat, .devs { display: grid; gap: 16px; }
.feat { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.devs { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: rgba(225,29,72,.45); }
.card p { margin: 0; font-size: 1rem; }
.card h3 { margin-bottom: .4em; }
.card a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.card a.more::after { content: "→"; transition: transform .2s var(--ease); }
.card a.more:hover::after { transform: translateX(3px); }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: rgba(225,29,72,.12); color: var(--accent-text); border: 1px solid rgba(225,29,72,.28); }
:root[data-theme="light"] .ico { color: var(--accent); }
.ico .icon { width: 24px; height: 24px; }
.sec-night .card { background: var(--night-2); border-color: var(--night-line); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; font: 800 1.05rem/1 var(--f-display); margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(225,29,72,.8); }
.steps p { margin: 0; }

/* ---------- pricing cards ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px 22px; }
.price h3 { font-size: 1.12rem; margin: 0 0 4px; }
.price .sub { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.price .amount { font: 800 2.6rem/1 var(--f-display); color: var(--heading); letter-spacing: -0.03em; }
.price .amount small { font: 600 1rem/1 var(--f-display); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .total { color: var(--muted); font-size: .92rem; margin: 6px 0 16px; }
.p-bar { height: 6px; border-radius: 99px; background: var(--surface-2); margin: 0 0 18px; overflow: hidden; }
.p-bar i { display: block; height: 100%; width: calc(var(--m) / 12 * 100%); border-radius: 99px; background: linear-gradient(90deg, #E11D48, #F97316); }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: .96rem; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; margin-top: 4px; }
.price.best { border-color: rgba(225,29,72,.7); background: linear-gradient(180deg, rgba(225,29,72,.10), var(--surface) 42%); box-shadow: 0 30px 70px -40px rgba(225,29,72,.8); }
.price .badge { position: absolute; top: -13px; left: 22px; background: var(--accent); color: #fff; font: 700 .74rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; }
.price-note { margin-top: 22px; color: var(--muted); font-size: .95rem; text-align: center; }
/* legacy ruler kept for pages that still use it */
.ruler { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 28px 8px; }
.scale, .plan { display: grid; grid-template-columns: 160px 1fr 220px; gap: 20px; align-items: center; }
.scale { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.ticks { display: grid; grid-template-columns: repeat(12, 1fr); font-size: .78rem; color: var(--muted); }
.ticks span { border-right: 1px solid var(--border); padding-right: 5px; height: 18px; text-align: right; }
.scale-label { font: 700 .74rem/1 var(--f-display); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.plan { padding: 20px 0; border-bottom: 1px solid var(--border); }
.plan:last-child { border-bottom: 0; }
.plan-name { font: 600 1.15rem/1.2 var(--f-display); color: var(--heading); }
.plan-name small { display: block; font: 400 .9rem/1.4 var(--f-body); color: var(--muted); margin-top: 4px; }
.track { position: relative; height: 46px; border-radius: 10px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--border) calc(100% / 12 - 1px) calc(100% / 12)); }
.bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--m) / 12 * 100%); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; transform-origin: left; }
.bar span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); color: var(--heading); font: 700 1.05rem/1 var(--f-display); white-space: nowrap; }
.plan-best .bar { background: linear-gradient(90deg, #E11D48, #F97316); border: 0; }
.plan-best .bar span { left: 14px; color: #fff; }
.plan-buy { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.per { font: 700 1.05rem/1.2 var(--f-display); color: var(--heading); text-align: right; }
.per small { display: block; font: 400 .8rem/1.3 var(--f-body); color: var(--muted); }
.tag { display: inline-block; margin-top: 8px; font: 700 .72rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 6px 8px; border-radius: 6px; }
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; list-style: none; padding: 0; margin: 28px 0 0; }
.included li { padding-left: 28px; position: relative; }
.included li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border: solid var(--ok); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.ruler-note { font-size: .95rem; margin-top: 18px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .ruler.in .bar { animation: grow .7s var(--ease) both; }
  @keyframes grow { from { transform: scaleX(.1); } to { transform: scaleX(1); } }
}

/* ---------- faq ---------- */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq.center { margin-inline: auto; }
.faq h2 { margin-top: 1em; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: rgba(225,29,72,.45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font: 600 1.08rem/1.35 var(--f-display); color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--heading); font: 600 1.2rem/1 var(--f-display); }
.faq details[open] summary::after { content: "–"; background: var(--accent); color: #fff; }
.faq details > *:not(summary) { padding: 0 22px 20px; margin: 0; }
.updated { font-size: .9rem; color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); color: var(--heading); font: 600 .95rem/1.3 var(--f-display); }
tr:last-child td { border-bottom: 0; }
td:nth-child(2) { color: var(--heading); }

/* ---------- AI-ready answer blocks ---------- */
.kort { margin: 0 0 1.6em; padding: 20px 22px; border-radius: var(--r); background: linear-gradient(135deg, rgba(225,29,72,.10), rgba(249,115,22,.06)); border: 1px solid rgba(225,29,72,.35); }
.kort-title { display: flex; align-items: center; gap: 8px; font: 700 .8rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 10px; }
.kort p { margin: 0; color: var(--heading); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.facts div { padding: 16px 18px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.facts dt { font: 600 .8rem/1.2 var(--f-display); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--heading); font-weight: 600; }

/* ---------- cta band ---------- */
.band { position: relative; overflow: hidden; padding: 72px 0; background: radial-gradient(120% 140% at 0% 0%, #F43F5E 0%, #E11D48 35%, #9F1239 100%); isolation: isolate; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 100%, rgba(249,115,22,.5), transparent 60%); }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { margin: 0; max-width: 22ch; color: #fff; }
.band p { color: #fff; margin: 10px 0 0; opacity: .92; }
.band .btn { background: #fff; color: #9F1239; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.band .btn:hover { background: #FFF1F2; color: #881337; }

/* ---------- page head + prose ---------- */
.page-head { position: relative; overflow: hidden; background: var(--night); padding: 56px 0 60px; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -240px; border-radius: 50%; filter: blur(80px); background: radial-gradient(circle, rgba(225,29,72,.32), transparent 65%); }
.page-head h1 { color: var(--on-night-head); font-size: clamp(2.1rem, 4.8vw, 3.4rem); max-width: 22ch; }
.page-head p { color: var(--on-night); font-size: 1.15rem; max-width: 62ch; margin: 0; }
.page-head a { color: var(--accent-text); }
.prose { max-width: 72ch; padding: 56px 0 80px; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-text); }
.note { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; }
.post-cta { margin: 2em 0; padding: 26px 28px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); color: var(--on-night); }
.post-cta strong { display: block; color: #fff; font: 700 1.25rem/1.2 var(--f-display); margin-bottom: 8px; }
.post-cta a { color: var(--accent-text); font-weight: 700; }
.post-meta { color: var(--on-night-muted); font-size: .95rem; margin-top: 16px; }
.author { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; margin: 2.4em 0 0; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.author-pic { width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 800 1.2rem/1 var(--f-display); }
.author p { margin: 0; font-size: .98rem; }
.related { margin-top: 2.4em; }
.related ul { padding-left: 1.2em; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2em; padding-top: 28px; border-top: 1px solid var(--border); }
.pn a { display: block; text-decoration: none; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); color: var(--heading); font: 600 1rem/1.3 var(--f-display); }
.pn a:hover { border-color: rgba(225,29,72,.45); }
.pn a small { display: block; font: 500 .8rem/1 var(--f-body); color: var(--muted); margin-bottom: 8px; }
.pn .next { text-align: right; grid-column: 2; }
.toc { margin: 1.6em 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.toc-title { font: 700 .8rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; columns: 2 280px; column-gap: 40px; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 2em 1fr; margin: 0 0 9px; break-inside: avoid; font-size: .98rem; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--accent-text); font: 700 .85rem/1.7 var(--f-display); }
:root[data-theme="light"] .toc li::before { color: var(--accent); }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--link); }
.feature { margin: 1.8em 0; }
.feature img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); aspect-ratio: 1200 / 630; background: var(--night-2); border: 1px solid var(--border); }
.pay { list-style: none; padding: 0; margin: 1em 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { margin: 0; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--heading); font: 600 .9rem/1 var(--f-display); }

/* blog index */
.posts { list-style: none; margin: 0; padding: 56px 0 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.posts a { display: block; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; color: var(--heading); transition: border-color .2s var(--ease); }
.posts a:hover { border-color: rgba(225,29,72,.5); }
.posts h2 { font-size: 1.2rem; margin: 0 0 .5em; }
.posts p { margin: 0; color: var(--text); font-size: .98rem; }
.posts time { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }

/* ---------- footer ---------- */
.foot { background: #07080F; color: var(--on-night); padding: 64px 0 28px; font-size: .98rem; border-top: 1px solid var(--night-line); }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-note { max-width: 40ch; margin-top: 14px; color: var(--on-night-muted); }
.foot-contact { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 0; }
.foot-contact dt { color: #fff; font-weight: 700; }
.foot-contact dd { margin: 0; }
.foot-contact a { color: var(--accent-text); }
.foot .ph { background: rgba(251,113,133,.14); color: var(--accent-text); }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 44px; align-content: start; }
.foot-nav a { color: var(--on-night); text-decoration: none; padding: 6px 0; }
.foot-nav a:hover { color: #fff; }
.foot-legal { border-top: 1px solid var(--night-line); margin-top: 44px; padding-top: 22px; font-size: .85rem; color: var(--on-night-muted); }

/* ---------- floating whatsapp, sticky mobile cta, consent ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 35; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 36px -12px rgba(37,211,102,.7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.sticky-cta { display: none; }
.consent { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; font-size: .98rem; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .pricing { grid-template-columns: repeat(2, 1fr); } .nav a[href="/installera-iptv/"] { display: none; } }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .tv { max-width: 620px; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .scale { display: none; }
  .plan { grid-template-columns: 1fr auto; grid-template-areas: "name buy" "track track"; gap: 12px 16px; }
  .plan-name { grid-area: name; } .plan-buy { grid-area: buy; } .track { grid-area: track; }
  .nav a[href="/kontakt/"] { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.04rem; padding-bottom: 80px; }
  .nav a[href="/blogg/"], .nav-cta { display: none; }
  .hero { padding: 44px 0 64px; }
  .sec { padding: 68px 0; }
  .pricing { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .price.best { order: -1; margin-top: 10px; }  /* best value first on phones */
  .tv-badge.b1 { left: -6px; bottom: 30px; } .tv-badge.b2 { right: -4px; top: -14px; }
  .tv-screen { grid-template-columns: 36px 1fr; }
  .tv-main { padding: 10px; gap: 8px; }
  .epg-row:nth-child(n+3) { display: none; }
  .ruler { padding: 18px 16px 4px; }
  .plan { grid-template-columns: 1fr; grid-template-areas: "name" "track" "buy"; }
  .plan-buy { justify-content: space-between; } .per { text-align: left; }
  .pn { grid-template-columns: 1fr; } .pn .next { grid-column: 1; text-align: left; }
  .foot-nav { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .sticky-cta { display: flex; position: fixed; z-index: 35; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 54px; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: #fff; border-radius: 16px; font: 700 1.02rem/1 var(--f-display); text-decoration: none; box-shadow: 0 16px 36px -14px rgba(225,29,72,.9); }
  .sticky-cta span { font-weight: 500; font-size: .9rem; }
  .consent { bottom: 84px; }
}
