:root {
	/* Nocturne — accent, ramps and ground. Overridden by the Customizer. */
	--brand: #9184d9;
	--brand-600: #968ae0;
	--brand-700: #b5abfc;
	--brand-50: #2b2741;
	--brand-100: #423a6a;
	--brand-200: #5d5294;
	--accent: #9184d9;
	--accent-50: #2b2741;
	--warn: #b5abfc;

	/* Ground + neutral ramp (dark) */
	--ink-dark: #161826;
	--ink-900: #e9e9ed;
	--ink-800: #e4e7f5;
	--ink-700: #cfd3e5;
	--ink-600: #b2b6ca;
	--ink-500: #9397ab;
	--ink-400: #75798c;
	--ink-300: #595d6c;
	--ink-200: #3f424d;
	--ink-100: #292b31;
	--ink-50: #232532;
	--white: #232532;

	--text: #e9e9ed;
	--text-muted: #9397ab;
	--border: #3f424d;
	--surface: #161826;
	--surface-alt: #232532;

	/* Shape */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 14px;
	--radius-xl: 14px;
	--radius-full: 8px;

	/* Elevation — a hairline edge plus ambient darkness */
	--shadow-sm: 0 0 0 1px #3f424d;
	--shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0, 0, 0, 0.55);
	--shadow-lg: 0 0 0 1px #9397ab, 0 16px 40px rgba(0, 0, 0, 0.65);
	--shadow-brand: 0 0 0 1px #9184d9;

	/* Layout */
	--container: 1200px;
	--gutter: 24px;
	--section-y: clamp(64px, 8vw, 112px);

	/* Type */
	--font-display: 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--surface);
	color: var(--text);
	font: 400 17px/1.65 var(--font-body);
	overflow-x: hidden;
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; color: var(--text); letter-spacing: -0.02em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; }
h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }

h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
h4 { font-size: 19px; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--brand-700); text-decoration: underline; }

ul, ol { padding-left: 1.25em; }

blockquote {
	margin: 2rem 0;
	padding: 20px 24px;
	border-left: 3px solid var(--brand);
	background: var(--brand-50);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-family: var(--font-display);
	font-size: 21px;
	line-height: 1.5;
	color: var(--ink-800);
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: 12px; font: 500 14px/1.4 var(--font-body); color: var(--text-muted); font-style: normal; }

code, kbd, pre { font-family: 'SF Mono', ui-monospace, Menlo, monospace; font-size: 0.92em; }
code { background: var(--ink-100); padding: 2px 6px; border-radius: var(--radius-sm); }
pre { background: var(--ink-100); color: var(--text); padding: 20px; border-radius: var(--radius-md); overflow-x: auto; }
pre code { background: none; color: inherit; padding: 0; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; background: var(--ink-100); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* ---------- Layout ---------- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink-dark); color: var(--text); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { margin-bottom: 14px; }
.section-intro { color: var(--text-muted); font-size: 18px; margin: 0; }
.section--dark .section-intro { color: var(--ink-300); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font: 600 13px/1.2 var(--font-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--brand-600);
}
.section--dark .eyebrow { color: var(--brand-200); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	font: 700 16px/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
	min-height: 48px;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--primary:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.btn--primary:active { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--ink-300); }
.btn--outline:hover { background: var(--ink-100); color: var(--text); }
.btn--ghost { background: var(--white); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--ink-50); color: var(--text); }
.btn--light { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--light:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.btn--onDark { background: transparent; color: var(--text); border-color: var(--border); }
.btn--onDark:hover { background: var(--border); color: var(--text); }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .iptv-icon { width: 18px; height: 18px; }

/* ---------- Badges / tags ---------- */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: var(--radius-full);
	font: 600 12px/1.3 var(--font-body);
	letter-spacing: 0.02em;
}
.badge--brand { background: var(--brand-50); color: var(--brand-700); }
.badge--accent { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-700); }
.badge--solid { background: transparent; border: 1px solid var(--brand); color: var(--brand); }
.badge--discount { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-700); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Header ---------- */

.site-header {
	position: relative;
	z-index: 60;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.has-sticky-header .site-header { position: sticky; top: 0; }
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.site-branding { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.site-branding img { max-height: 44px; width: auto; }
.site-title {
	margin: 0;
	font: 500 22px/1.2 var(--font-display);
	letter-spacing: -0.02em;
}
.site-title a { color: var(--ink-900); }
.site-title a:hover { color: var(--brand-600); text-decoration: none; }
.site-description { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }

.primary-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-full);
	font: 600 15px/1.2 var(--font-body);
	color: var(--ink-700);
}
.primary-nav a:hover { background: var(--ink-100); color: var(--ink-900); text-decoration: none; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--brand-600); background: var(--brand-50); }

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 210px;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-note { margin: 0; font: 500 13px/1.3 var(--font-body); color: var(--text-muted); display: flex; align-items: center; gap: 7px; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--ink-800);
	cursor: pointer;
}
.nav-toggle .iptv-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .iptv-icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .iptv-icon--close { display: block; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px);
	background: var(--white);
}
.hero::before,
.hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.hero::before {
	width: 640px; height: 640px;
	top: -280px; right: -180px;
	background: radial-gradient(circle at center, rgba(145, 132, 217, 0.2), rgba(145, 132, 217, 0) 68%);
}
.hero::after {
	width: 420px; height: 420px;
	bottom: -220px; left: -140px;
	background: radial-gradient(circle at center, rgba(145, 132, 217, 0.12), rgba(145, 132, 217, 0) 70%);
}
.hero > .container { position: relative; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title { margin-bottom: 20px; }
.hero-lede { font-size: 19px; color: var(--ink-600); max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font: 600 14px/1.3 var(--font-body); color: var(--ink-600); }
.hero-trust .iptv-icon { width: 18px; height: 18px; color: var(--accent); }

.hero-visual {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--ink-dark);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual--empty {
	display: grid;
	place-items: center;
	color: var(--ink-400);
	font: 600 14px/1.4 var(--font-body);
	text-align: center;
	padding: 24px;
}
.hero-visual--empty .iptv-icon { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--brand); }

.hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	margin-top: clamp(40px, 5vw, 64px);
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.hero-stats > div { background: var(--white); padding: 22px 24px; }
.hero-stat-value { display: block; font: 500 30px/1.1 var(--font-display); color: var(--ink-900); }
.hero-stat-label { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }

/* ---------- Cards ---------- */

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--ink-300); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 16px; margin: 0; }

.icon-badge {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: var(--radius-md);
	background: var(--brand-50);
	color: var(--brand-600);
}
.section--dark .icon-badge { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--brand-700); }

.media-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--ink-800);
	min-height: 260px;
	display: flex;
	align-items: flex-end;
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.media-card:hover { box-shadow: var(--shadow-lg); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(22, 24, 38, 0.92) 0%, rgba(22, 24, 38, 0.35) 55%, rgba(22, 24, 38, 0.05) 100%);
}
.media-card__body { position: relative; z-index: 1; padding: 24px; color: var(--text); }
.media-card__body h3 { color: var(--text); margin-bottom: 6px; }
.media-card__body p { color: var(--ink-600); font-size: 15px; margin: 0; }
.media-card--empty { display: grid; place-items: center; color: var(--ink-400); font: 600 13px/1.4 var(--font-body); }
.media-card--tall { min-height: 340px; }

/* ---------- Pricing ---------- */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	position: relative;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	transition: box-shadow 150ms ease, border-color 150ms ease;
}
.plan:hover { box-shadow: var(--shadow-md); }
.plan--featured {
	border-color: var(--brand-200);
	box-shadow: var(--shadow-lg);
	background: var(--white);
}
.plan--featured::before {
	content: '';
	position: absolute; inset: -1px;
	border-radius: inherit;
	border: 2px solid var(--brand);
	pointer-events: none;
}
.plan__badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.plan__name { margin: 0; font: 700 18px/1.3 var(--font-body); letter-spacing: -0.01em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.plan__amount { font: 500 42px/1 var(--font-display); letter-spacing: -0.03em; }
.plan__period { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.plan__old { font-size: 15px; color: var(--ink-400); text-decoration: line-through; }
.plan__features { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 11px; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-700); line-height: 1.45; }
.plan__features .iptv-icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.plan__cta { margin-top: auto; }
.plan__note { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.pricing-footnote { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--text-muted); }

/* ---------- Comparison table ---------- */

.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--white);
	-webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--ink-50); font: 700 14px/1.3 var(--font-body); color: var(--ink-800); white-space: nowrap; }
.compare-table tbody th,
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--ink-800); background: none; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--ink-50); }
.compare-table .is-yes { color: var(--accent); }
.compare-table .is-no { color: var(--ink-300); }
.table-hint { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step {
	position: relative;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.step__num { border: 1px solid var(--border);
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-bottom: 18px;
	border-radius: var(--radius-full);
	background: transparent;
	color: var(--brand);
	font: 600 16px/1 var(--font-body);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }
.step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 46px; right: -13px;
	width: 10px; height: 10px;
	border-top: 2px solid var(--ink-300);
	border-right: 2px solid var(--ink-300);
	transform: rotate(45deg);
}

/* ---------- Devices ---------- */

.device-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.device {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 24px 14px;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: box-shadow 150ms ease, border-color 150ms ease;
}
.device:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.device .iptv-icon { width: 30px; height: 30px; color: var(--brand-600); }
.device strong { font: 700 15px/1.3 var(--font-body); }
.device span { font-size: 13px; color: var(--text-muted); }

/* ---------- Reviews ---------- */

.review {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.stars { display: flex; gap: 3px; color: var(--warn); }
.stars .iptv-icon { width: 17px; height: 17px; }
.stars .is-off { color: var(--ink-200); }
.review blockquote {
	margin: 0; padding: 0; border: 0; background: none; border-radius: 0;
	font: 400 17px/1.6 var(--font-body); color: var(--ink-700);
}
.review__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--ink-100); flex: none; }
.review__avatar--empty { display: grid; place-items: center; font: 700 15px/1 var(--font-body); color: var(--ink-500); }
.review__name { font: 700 15px/1.2 var(--font-body); }
.review__date { font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item.is-open { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 22px;
	background: none;
	border: 0;
	font: 700 17px/1.45 var(--font-body);
	color: var(--ink-900);
	text-align: left;
	cursor: pointer;
}
.faq-q:hover { color: var(--brand-600); }
.faq-q .iptv-icon { flex: none; width: 20px; height: 20px; color: var(--ink-400); transition: transform 200ms ease; }
.faq-item.is-open .faq-q .iptv-icon { transform: rotate(180deg); color: var(--brand-600); }
.faq-a { overflow: hidden; height: 0; transition: height 220ms ease; }
.faq-a__inner { padding: 0 22px 22px; color: var(--ink-600); font-size: 16px; }

/* ---------- Final CTA ---------- */

.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta::before {
	content: '';
	position: absolute;
	width: 760px; height: 760px;
	top: -420px; left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle at center, rgba(145, 132, 217, 0.3), rgba(145, 132, 217, 0) 65%);
	pointer-events: none;
}
.final-cta > .container { position: relative; max-width: 760px; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.final-cta p { color: var(--ink-300); font-size: 19px; margin-bottom: 30px; }
.final-cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-dark); color: var(--ink-300); padding-block: clamp(52px, 6vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px 32px; }
.footer-brand .site-title a { color: var(--text); }
.footer-about { margin: 16px 0 20px; font-size: 15px; color: var(--ink-400); max-width: 36ch; }
.footer-heading { margin: 0 0 16px; font: 700 14px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--ink-300); font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--text); text-decoration: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-400); }
.footer-contact .iptv-icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand-200); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--radius-full);
	background: color-mix(in srgb, var(--text) 8%, transparent);
	color: var(--text);
	font: 700 13px/1 var(--font-body);
	transition: background-color 150ms ease;
}
.footer-social a:hover { background: color-mix(in srgb, var(--text) 15%, transparent); text-decoration: none; }
.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin-top: 44px; padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 14px; color: var(--ink-400);
}
.footer-links--legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links--legal a { font-size: 14px; }
.site-footer .widget { margin-bottom: 24px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: clamp(48px, 6vw, 76px) clamp(32px, 4vw, 48px); background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.page-hero__inner { max-width: 780px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 18px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--text-muted); }
.breadcrumbs li::after { content: '/'; margin-left: 8px; color: var(--ink-300); }
.breadcrumbs li:last-child::after { content: ''; }

/* ---------- Entry content (pages, posts, legal) ---------- */

.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink-700); }
.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1000px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 2.2em; font-size: clamp(26px, 2.6vw, 32px); color: var(--ink-900); }
.entry-content h3 { margin-top: 1.8em; font-size: 21px; color: var(--ink-900); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--brand); }
.entry-content img, .entry-content figure { border-radius: var(--radius-md); }
.entry-content figure { margin: 2rem auto; }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color: var(--text-muted); text-align: center; }
.entry-content table { display: block; overflow-x: auto; }

.notice-box {
	max-width: 760px;
	margin: 2rem auto;
	padding: 20px 24px;
	border: 1px solid var(--brand-200);
	background: var(--brand-50);
	border-radius: var(--radius-lg);
	font-size: 16px;
	color: var(--ink-800);
}
.notice-box strong { color: var(--brand-700); }

.toc {
	max-width: 760px;
	margin: 0 auto 2.5rem;
	padding: 22px 26px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--ink-50);
}
.toc h2 { margin: 0 0 12px; font: 700 14px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-600); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 16px; }

/* ---------- Blog ---------- */

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.no-sidebar .blog-layout { grid-template-columns: minmax(0, 1fr); }

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: box-shadow 150ms ease, transform 150ms ease, border-color 150ms ease;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--ink-300); }
.post-card:hover .post-card__title a { color: var(--brand-600); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.post-card:hover .card-media img { transform: scale(1.03); }
.card-media--empty { display: grid; place-items: center; color: var(--ink-400); font: 600 13px/1.4 var(--font-body); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__title { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.35; }
.post-card__title a { color: var(--ink-900); }
.post-card__title a:hover { text-decoration: none; }
.post-card__excerpt { margin: 0; color: var(--text-muted); font-size: 15px; }
.post-card__more { margin-top: auto; font: 700 15px/1 var(--font-body); display: inline-flex; align-items: center; gap: 8px; }
.post-card__more .iptv-icon { width: 17px; height: 17px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--text-muted); margin: 0; }
.post-meta a { color: var(--brand-600); font-weight: 600; }
.post-meta .sep { color: var(--ink-300); }
.post-meta .iptv-icon { width: 15px; height: 15px; vertical-align: -2px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden; margin-bottom: 40px; }
.featured-post .card-media { aspect-ratio: auto; min-height: 320px; height: 100%; }
.featured-post .post-card__body { padding: clamp(24px, 3vw, 40px); justify-content: center; gap: 14px; }
.featured-post .post-card__title { font-size: clamp(24px, 2.6vw, 32px); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.featured-post .post-card__excerpt { font-size: 17px; }

.iptv-pagination { margin-top: 48px; }
.iptv-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.iptv-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	background: var(--white);
	color: var(--ink-700);
	font: 600 15px/1 var(--font-body);
}
.iptv-pagination .page-numbers:hover { background: var(--ink-50); text-decoration: none; }
.iptv-pagination .page-numbers.current { background: color-mix(in srgb, var(--brand) 16%, transparent); border-color: var(--brand); color: var(--brand); }

/* ---------- Single post ---------- */

.reading-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 3px; z-index: 100;
	background: transparent;
}
.reading-progress span { display: block; height: 100%; width: 0; background: var(--brand); transition: width 90ms linear; }

.single-hero { padding-block: clamp(40px, 5vw, 64px) 0; }
.single-hero__inner { max-width: 800px; margin-inline: auto; text-align: center; }
.single-hero h1 { margin: 14px 0 18px; }
.single-hero .post-meta { justify-content: center; }
.single-featured { max-width: 1000px; margin: clamp(32px, 4vw, 48px) auto 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.single-featured img { width: 100%; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 760px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.share__label { font: 700 14px/1.2 var(--font-body); color: var(--ink-600); margin-right: 4px; }

.author-box {
	display: flex; gap: 20px; align-items: flex-start;
	max-width: 760px; margin: 40px auto 0; padding: 26px;
	border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--ink-50);
}
.author-box img { border-radius: 50%; flex: none; }
.author-box h2 { margin: 0 0 6px; font: 700 18px/1.3 var(--font-body); }
.author-box p { margin: 0; font-size: 15px; color: var(--text-muted); }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 48px auto 0; }
.post-nav a {
	display: block; padding: 22px 24px;
	border: 1px solid var(--border); border-radius: var(--radius-lg);
	background: var(--white); color: var(--ink-900);
	transition: box-shadow 150ms ease;
}
.post-nav a:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.post-nav span { display: block; font: 600 13px/1.2 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.post-nav strong { font: 700 17px/1.4 var(--font-body); }
.post-nav .is-next { text-align: right; }

.comments-area { max-width: 760px; margin: 56px auto 0; }
.comments-area .comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.comments-area .comment-list ol.children { list-style: none; padding-left: 28px; margin-top: 20px; display: grid; gap: 20px; }
.comments-area .comment-body { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.comments-area .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.comments-area .comment-author img { border-radius: 50%; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font: 600 14px/1.3 var(--font-body); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.search-field, input[type="search"], input[type="text"], input[type="email"], textarea, select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-md);
	background: var(--white);
	font: 400 16px/1.5 var(--font-body);
	color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); outline: none; }

/* ---------- Sidebar / widgets ---------- */

.sidebar { display: grid; gap: 24px; position: sticky; top: 100px; }
.widget { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.widget-title { margin: 0 0 16px; font: 700 15px/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-600); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget li { font-size: 15px; }
.widget a { color: var(--ink-700); }
.widget a:hover { color: var(--brand-600); text-decoration: none; }
.widget .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .tagcloud a {
	padding: 6px 13px; border: 1px solid var(--border); border-radius: var(--radius-full);
	font-size: 13px !important; background: var(--ink-50);
}

.search-form { display: flex; gap: 8px; }
.search-form .search-submit { flex: none; }

/* ---------- Search / 404 ---------- */

.empty-state { max-width: 640px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 6vw, 72px); }
.empty-state .iptv-icon { width: 48px; height: 48px; margin: 0 auto 20px; color: var(--brand); }
.empty-state h1 { font-size: clamp(30px, 4vw, 44px); }
.empty-state .search-form { max-width: 440px; margin: 28px auto 0; }
.error-code { font: 500 clamp(72px, 12vw, 132px)/1 var(--font-display); color: var(--brand-100); margin: 0 0 -10px; }

/* ---------- Back to top ---------- */

.back-to-top {
	position: fixed;
	right: 24px; bottom: 24px;
	z-index: 70;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	background: var(--white);
	color: var(--ink-800);
	box-shadow: var(--shadow-md);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.step:not(:last-child)::after { display: none; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.blog-layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 900px) {
	.header-actions .btn { display: none; }
	.header-note { display: none; }
	.nav-toggle { display: flex; }
	.primary-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		display: none;
		padding: 12px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
		max-height: calc(100vh - 76px);
		overflow-y: auto;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.primary-nav a { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-md); }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0;
	}
	.mobile-cta { display: flex; margin-top: 16px; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-visual { order: -1; }
	.grid--3, .grid--4, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.featured-post { grid-template-columns: minmax(0, 1fr); }
	.featured-post .card-media { min-height: 220px; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	:root { --gutter: 18px; }
	.grid--2, .grid--3, .grid--4, .pricing-grid, .steps, .post-grid { grid-template-columns: minmax(0, 1fr); }
	.device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav .is-next { text-align: left; }
	.hero-actions .btn { width: 100%; }
	.entry-content { font-size: 17px; }
	.author-box { flex-direction: column; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
	.site-header, .site-footer, .back-to-top, .reading-progress, .share, .post-nav, .sidebar { display: none !important; }
	body { font-size: 12pt; background: #ffffff; color: #161826; }
	.section, .section--alt, .section--dark, .page-hero, .card, .plan, .widget, .post-card, .table-scroll, .faq-item {
		background: #ffffff !important;
		color: #161826 !important;
		box-shadow: none !important;
	}
	h1, h2, h3, h4, .entry-content, .post-meta { color: #161826 !important; }
	a { color: #292b31 !important; text-decoration: underline; }
}

/* ---------- Full width / page-builder template ---------- */

.daerom-full-width { display: block; }
.daerom-full-width > * { max-width: none; }

/* Elementor: let its sections span the viewport while keeping theme colors. */
.elementor-page .site-content { padding: 0; }
.elementor-widget-container h1, .elementor-widget-container h2 { font-family: var(--font-display); }
