/* ==========================================================================
   LEGALIPTVPROVIDERS — v4 editorial design system
   Navy/charcoal frame, white and mist reading areas, gold + blue accents.
   Fonts: Source Serif 4 (display) and DM Sans (text), both SIL OFL, self-hosted.
   ========================================================================== */

@font-face { font-family: "Source Serif 4"; src: url(../fonts/sourceserif4-var.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-var.woff) format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
	--navy: #0B1A30;
	--navy-2: #132744;
	--navy-3: #1C355A;
	--charcoal: #1B222C;
	--paper: #FFFFFF;
	--mist: #F3F5F8;
	--mist-2: #E9EDF2;
	--line: #DDE3EA;
	--line-dark: rgba(255, 255, 255, .12);
	--ink: #0E1726;
	--text: #2E3A4B;
	--muted: #5A6878;
	--on-dark: #E7ECF3;
	--on-dark-muted: #A9B6C7;
	--blue: #1B5FD0;
	--blue-dark: #134AA6;
	--blue-soft: #E8F0FD;
	--gold: #C9962B;
	--gold-bright: #E2B04A;
	--gold-soft: #FBF3E2;
	--green: #1F7A4D;
	--green-soft: #E7F4ED;
	--red: #B3261E;
	--red-soft: #FCEDEC;
	--font-d: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-b: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--r: 10px;
	--r-sm: 6px;
	--shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 1px 3px rgba(14, 23, 38, .05);
	--shadow: 0 10px 30px -12px rgba(14, 23, 38, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--topbar-h: 36px;
	--bar-h: 72px;
	--header-h: calc(var(--topbar-h) + var(--bar-h));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: rgba(201, 150, 43, .28); color: var(--ink); }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); font-weight: 650; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.lip-main > * + * { margin-block-start: 0 !important; }
main#main { margin-top: 0 !important; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); clip: auto !important; clip-path: none; height: auto; width: auto; }
:where(a, button, summary, .wp-element-button):focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

.lip-container { width: min(1200px, 100% - clamp(32px, 6vw, 64px)); margin-inline: auto; }
.lip-ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* ---------- Type helpers ---------- */
.lip-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-b); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lip-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lip-small { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.lip-note { font-size: .9rem; color: var(--muted); }
.lip-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.lip-textlink:hover { text-decoration: underline; }
.lip-textlink .lip-ico { transition: transform .2s var(--ease); }
.lip-textlink:hover .lip-ico { transform: translateX(3px); }
.lip-textlink--light { color: var(--gold-bright); }
.lip-textlink--light:hover { color: #fff; }

/* ---------- Buttons ---------- */
.lip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-b); font-weight: 600; font-size: .97rem; line-height: 1; padding: 13px 20px; border-radius: var(--r-sm); text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.lip-btn .lip-ico { transition: transform .2s var(--ease); }
.lip-btn:hover .lip-ico:last-child { transform: translateX(3px); }
.lip-btn--primary { background: var(--navy); color: #fff !important; }
.lip-btn--primary:hover { background: var(--navy-3); }
.lip-btn--gold { background: var(--gold-bright); color: #1E1505 !important; }
.lip-btn--gold:hover { background: #ECC062; }
.lip-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.lip-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.lip-btn--lg { padding: 16px 24px; font-size: 1rem; }
.lip-btn--block { width: 100%; }
.wp-element-button, .wp-block-button__link { border-radius: var(--r-sm) !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--navy) !important; border: 1.5px solid var(--navy) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--navy) !important; color: #fff !important; }

/* ---------- Header ---------- */
.lip-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--on-dark); }
.admin-bar .lip-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lip-header { top: 46px; } }
.lip-topbar { background: #07121F; border-bottom: 1px solid var(--line-dark); font-size: .8rem; color: var(--on-dark-muted); }
.lip-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--topbar-h); }
.lip-topbar__note { margin: 0; display: flex; align-items: center; gap: 8px; }
.lip-topbar__note .lip-ico { color: #E0533F; }
.lip-topbar__link { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.lip-topbar__link:hover { color: var(--gold-bright); }
.lip-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--bar-h); }
.lip-header__logo { display: inline-flex; flex: none; }
.lip-header__logo img { height: 32px; width: auto; }
.lip-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.lip-nav { display: flex; align-items: center; gap: 22px; }
.lip-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lip-nav ul a { display: block; padding: 8px 11px; color: var(--on-dark); text-decoration: none; font-size: .93rem; font-weight: 500; border-radius: var(--r-sm); white-space: nowrap; }
.lip-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.lip-nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold-bright); border-radius: 0; }
.lip-nav__cta { padding: 11px 16px; font-size: .9rem; }
.lip-nav__contact { display: none; }
.lip-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: var(--r-sm); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.lip-burger span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.lip-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lip-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lip-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lip-contactlinks { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.lip-contactlinks a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.lip-contactlinks a:hover { color: var(--gold-bright); }
.lip-contactlinks--footer, .lip-contactlinks--menu { flex-direction: column; gap: 10px; }

@media (max-width: 1180px) {
	.lip-nav ul a { padding: 8px 8px; font-size: .9rem; }
}
@media (max-width: 1080px) {
	.lip-burger { display: inline-flex; }
	.lip-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 18px; padding: 20px clamp(16px, 5vw, 32px) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; border-top: 1px solid var(--line-dark); }
	.admin-bar .lip-nav { top: calc(var(--header-h) + 46px); }
	.lip-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.lip-nav ul { flex-direction: column; gap: 0; }
	.lip-nav ul a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
	.lip-nav__cta { align-self: flex-start; }
	.lip-nav__contact { display: block; color: var(--on-dark-muted); font-size: .95rem; }
	.lip-nav__contact > p { margin: 8px 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; }
}
@media (max-width: 720px) {
	:root { --topbar-h: 0px; --bar-h: 64px; }
	.lip-topbar { display: none; }
	.lip-header__logo img { height: 26px; }
}

/* ---------- Sections ---------- */
.lip-section { padding: clamp(64px, 8vw, 104px) 0; }
.lip-section--tight { padding: clamp(44px, 5vw, 64px) 0; }
.lip-section--mist { background: var(--mist); }
.lip-section--dark { background: var(--navy); color: var(--on-dark); }
.lip-section--dark h2, .lip-section--dark h3 { color: #fff; }
.lip-sechead { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.lip-sechead h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin: 0 0 14px; }
.lip-sechead p { margin: 0 0 10px; color: var(--muted); font-size: 1.06rem; }
.lip-sechead--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.lip-sechead--split h2 { margin: 0; }
.lip-sechead--split > p { margin: 0; }
.lip-sechead--onDark p { color: var(--on-dark-muted); }
.lip-sechead--onDark .lip-label { color: var(--gold-bright); }
.lip-subhead { font-size: 1.35rem; margin: clamp(40px, 5vw, 56px) 0 16px; }
@media (max-width: 860px) { .lip-sechead--split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.lip-hero { position: relative; isolation: isolate; background: var(--navy); color: var(--on-dark); padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); overflow: hidden; }
.lip-hero__media { position: absolute; inset: 0; z-index: -1; }
.lip-hero__media picture, .lip-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.lip-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 26, 48, .97) 0%, rgba(11, 26, 48, .9) 42%, rgba(11, 26, 48, .62) 100%), linear-gradient(0deg, rgba(11, 26, 48, .85), rgba(11, 26, 48, 0) 40%); }
.lip-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lip-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.lip-kicker__rule { width: 28px; height: 2px; background: currentColor; }
.lip-hero__title { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; color: #fff; margin: 0 0 22px; font-weight: 600; max-width: 15ch; }
.lip-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark); max-width: 58ch; margin: 0 0 32px; opacity: .92; }
.lip-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lip-hero__credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .55); }
.lip-hero__credit a { color: inherit; }

.lip-glance { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: var(--r); padding: 26px 26px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border-top: 4px solid var(--gold-bright); }
.lip-glance__eyebrow { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lip-glance__title { font-size: 1.25rem; margin: 6px 0 16px; }
.lip-glance ul { list-style: none; margin: 0; padding: 0; }
.lip-glance li + li { border-top: 1px solid var(--line); }
.lip-glance li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: inherit; }
.lip-glance li a:hover .lip-glance__svc { color: var(--blue); }
.lip-glance__svc { font-family: var(--font-d); font-weight: 650; font-size: 1.15rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1.25; }
.lip-glance__svc small { font-family: var(--font-b); font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.lip-glance__price { font-family: var(--font-d); font-size: 1.55rem; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lip-glance__price small { font-family: var(--font-b); font-size: .8rem; font-weight: 500; color: var(--muted); }
.lip-glance__foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.lip-glance__foot .lip-ico { color: var(--green); }
@media (max-width: 900px) {
	.lip-hero__grid { grid-template-columns: 1fr; }
	.lip-hero__title { max-width: 18ch; }
	.lip-hero__credit { position: static; margin: 28px auto 0; width: min(1200px, 100% - 32px); }
}

/* ---------- Intro band ---------- */
.lip-introband { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lip-introband__lead h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); margin: 0 0 16px; }
.lip-introband__lead p { color: var(--muted); }
.lip-principles { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.lip-principles li { counter-increment: p; padding: 22px 24px 4px 0; }
.lip-principles li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.lip-principles li::before { content: "0" counter(p); display: block; font-family: var(--font-d); font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.lip-principles h3 { font-size: 1.2rem; margin: 0 0 8px; }
.lip-principles p { margin: 0; font-size: .96rem; color: var(--muted); }
@media (max-width: 980px) {
	.lip-introband { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.lip-principles { grid-template-columns: 1fr; }
	.lip-principles li, .lip-principles li + li { padding: 18px 0; border-left: 0; }
	.lip-principles li + li { border-top: 1px solid var(--line); }
}

/* ---------- Featured providers ---------- */
.lip-provgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lip-prov { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease); }
.lip-prov::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--r) var(--r) 0 0; background: var(--navy); }
.lip-prov--tsn::before { background: #C8102E; }
.lip-prov--sportsnet::before { background: #1B5FD0; }
.lip-prov--dazn::before { background: #1B222C; }
.lip-prov:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lip-prov__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lip-prov__head h3 { font-size: 1.7rem; margin: 0; }
.lip-prov__head h3 a { color: var(--ink); text-decoration: none; }
.lip-prov__head h3 a::after { content: ""; position: absolute; inset: 0; }
.lip-prov__owner { font-size: .82rem; color: var(--muted); }
.lip-prov__best { margin: 0 0 12px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.lip-prov__best span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.lip-prov__sum { margin: 0 0 20px; font-size: .95rem; color: var(--muted); flex: 1; }
.lip-prov__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lip-prov__facts div { padding: 12px 18px 12px 0; }
.lip-prov__facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.lip-prov__facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.lip-prov__facts dd { margin: 2px 0 0; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.lip-prov__facts strong { font-family: var(--font-d); font-size: 1.2rem; }
.lip-prov__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.lip-alsocovered { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--paper); font-size: .93rem; color: var(--muted); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.lip-alsocovered p { margin: 0; }
@media (max-width: 980px) { .lip-provgrid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.lip-pricebar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 18px; margin-bottom: 28px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; }
.admin-bar .lip-pricebar { top: calc(var(--header-h) + 40px); }
.lip-pricebar__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lip-seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lip-seg button { appearance: none; border: 0; background: transparent; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.lip-seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lip-pricebar__tax { margin: 0 0 0 auto; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.lip-pricebar__tax .lip-ico { color: var(--gold); }
@media (max-width: 720px) { .lip-pricebar { position: static; } .lip-pricebar__tax { margin: 0; } }

.lip-pricegroups { display: grid; gap: 28px; }
.lip-pgroup { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; }
.lip-pgroup[hidden] { display: none; }
.lip-pgroup__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.lip-pgroup__head h3 { margin: 0; font-size: 1.6rem; }
.lip-pgroup__head h3 a { color: var(--ink); text-decoration: none; }
.lip-pgroup__head h3 a:hover { color: var(--blue); }
.lip-pgroup__owner { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.lip-verified { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; text-align: right; }
.lip-verified .lip-ico { color: var(--green); width: 1.4em; height: 1.4em; margin-top: 2px; }
.lip-verified span { text-align: left; }

.lip-ptable-wrap { overflow-x: auto; }
.lip-ptable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lip-ptable th, .lip-ptable td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lip-ptable thead th { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--mist); border-bottom: 1px solid var(--line); white-space: nowrap; }
.lip-ptable tbody tr:last-child > * { border-bottom: 0; }
.lip-ptable tbody th { font-weight: 650; color: var(--ink); white-space: nowrap; }
.lip-ptable tbody tr[hidden] { display: none; }
.lip-pgroup .lip-ptable th:first-child, .lip-pgroup .lip-ptable td:first-child { padding-left: 26px; }
.lip-ptable__price { font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lip-ptable__price small { font-family: var(--font-b); font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.lip-ptable__price em { display: block; font-family: var(--font-b); font-style: normal; font-size: .78rem; font-weight: 600; color: var(--gold); margin-top: 2px; }
.lip-ptable__price span { font-family: var(--font-b); font-size: .8rem; font-weight: 500; color: var(--muted); }
.lip-ptable__src { font-size: .85rem; }
.lip-chip { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: .7rem; font-weight: 600; color: var(--muted); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.lip-period { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.lip-period--month { background: var(--blue-soft); color: var(--blue-dark); }
.lip-period--year { background: var(--gold-soft); color: #7A5713; }

.lip-pgroup__details { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 0; border-top: 1px solid var(--line); background: #FAFBFC; }
.lip-pgroup__details > div { padding: 18px 26px; }
.lip-pgroup__details > div + div { border-left: 1px solid var(--line); }
.lip-pgroup__details h4 { font-family: var(--font-b); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.lip-pgroup__details p { margin: 0; font-size: .9rem; line-height: 1.55; }
.lip-devmini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lip-devmini li { font-size: .78rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.lip-devmini li.is-yes { color: var(--green); border-color: #BFE0CD; background: var(--green-soft); }
.lip-devmini li.is-some { color: #7A5713; border-color: #EBD7A8; background: var(--gold-soft); }
.lip-devmini li.is-yes::before { content: "✓ "; }
.lip-devmini li.is-some::before { content: "~ "; }
.lip-devmini li.is-unknown, .lip-devmini li.is-no { text-decoration: none; opacity: .75; }
.lip-pgroup__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 26px; border-top: 1px solid var(--line); }
.lip-fineprint { margin-top: 28px; font-size: .9rem; color: var(--muted); max-width: 900px; }

@media (max-width: 900px) {
	.lip-pgroup__details { grid-template-columns: 1fr; }
	.lip-pgroup__details > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
/* Price tables become stacked cards on small screens */
@media (max-width: 700px) {
	.lip-pgroup__head { flex-direction: column; padding: 18px; }
	.lip-verified { text-align: left; }
	.lip-pgroup .lip-ptable thead { display: none; }
	.lip-pgroup .lip-ptable, .lip-pgroup .lip-ptable tbody, .lip-pgroup .lip-ptable tr, .lip-pgroup .lip-ptable th, .lip-pgroup .lip-ptable td { display: block; width: 100%; }
	.lip-pgroup .lip-ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
	.lip-pgroup .lip-ptable tbody tr[hidden] { display: none; }
	.lip-pgroup .lip-ptable tr:last-child { border-bottom: 0; }
	.lip-pgroup .lip-ptable th, .lip-pgroup .lip-ptable td, .lip-pgroup .lip-ptable th:first-child, .lip-pgroup .lip-ptable td:first-child { padding: 0; border: 0; }
	.lip-pgroup .lip-ptable tbody th { grid-column: 1; white-space: normal; font-size: 1.05rem; }
	.lip-pgroup .lip-ptable .lip-ptable__price { grid-column: 2; grid-row: 1 / span 2; text-align: right; width: auto; }
	.lip-pgroup .lip-ptable td[data-label="Billing"] { grid-column: 1; }
	.lip-pgroup .lip-ptable td[data-label="Included"] { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); margin-top: 6px; }
	.lip-pgroup__details > div, .lip-pgroup__foot { padding: 16px 18px; }
	.lip-pgroup__foot .lip-btn { width: 100%; }
}

/* Generic tables in articles (provider pages, comparisons) stack on mobile */
@media (max-width: 700px) {
	.lip-prose .lip-ptable thead { display: none; }
	.lip-prose .lip-ptable, .lip-prose .lip-ptable tbody, .lip-prose .lip-ptable tr, .lip-prose .lip-ptable th, .lip-prose .lip-ptable td { display: block; width: 100%; }
	.lip-prose .lip-ptable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.lip-prose .lip-ptable th, .lip-prose .lip-ptable td { border: 0; padding: 3px 0; white-space: normal; }
	.lip-prose .lip-ptable td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-b); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
	.lip-devtable thead { display: none; }
	.lip-devtable, .lip-devtable tbody, .lip-devtable tr, .lip-devtable th, .lip-devtable td { display: block; width: 100%; }
	.lip-devtable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px; border-bottom: 1px solid var(--line); }
	.lip-devtable th, .lip-devtable td { border: 0 !important; padding: 0 !important; }
	.lip-devtable tbody th { grid-column: 1 / -1; font-size: 1.1rem; }
	.lip-devtable td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--muted); }
	.lip-devtable td.lip-ptable__src { grid-column: 1 / -1; }
}

/* Device badges */
.lip-dev { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.lip-dev.is-yes { background: var(--green-soft); color: var(--green); }
.lip-dev.is-some { background: var(--gold-soft); color: #7A5713; }
.lip-dev.is-no { background: var(--red-soft); color: var(--red); }
.lip-dev.is-unknown { background: var(--mist); color: var(--muted); }

/* ---------- Our calculation ---------- */
.lip-calc { border: 1px dashed #C9B37E; background: var(--gold-soft); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
.lip-calc__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0 10px; }
.lip-calc__head p, .lip-calc p { color: var(--text); max-width: 75ch; }
.lip-tagline { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7A5713; background: #F3E2BB; padding: 4px 10px; border-radius: 4px; }
.lip-calc__table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; background: var(--paper); border-radius: var(--r-sm); overflow: hidden; font-variant-numeric: tabular-nums; }
.lip-calc__table th, .lip-calc__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #EEE3C9; font-size: .95rem; }
.lip-calc__table thead th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lip-calc__foot { font-size: .92rem; margin: 12px 0 0; }
@media (max-width: 620px) {
	.lip-calc__table thead { display: none; }
	.lip-calc__table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid #EEE3C9; }
	.lip-calc__table th, .lip-calc__table td { border: 0; padding: 4px 14px; }
	.lip-calc__table tbody th { grid-column: 1 / -1; }
}

/* ---------- Sports matrix ---------- */
.lip-sporthead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.lip-sporthead .lip-sechead { margin: 0; }
.lip-sporthead__photo { margin: 0; }
.lip-sporthead__photo img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lip-sporthead__photo figcaption { margin-top: 8px; font-size: .72rem; color: var(--on-dark-muted); }
.lip-sporthead__photo figcaption a { color: inherit; }
.lip-matrix-wrap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: var(--r); background: var(--navy-2); }
.lip-matrix { width: 100%; border-collapse: collapse; min-width: 760px; }
.lip-matrix th, .lip-matrix td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); font-size: .92rem; line-height: 1.5; }
.lip-matrix thead th { font-family: var(--font-d); font-size: 1.2rem; font-weight: 650; color: #fff; background: rgba(0, 0, 0, .15); }
.lip-matrix thead th:first-child { font-family: var(--font-b); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); vertical-align: middle; }
.lip-matrix thead a { color: #fff; text-decoration: none; }
.lip-matrix thead a:hover { color: var(--gold-bright); }
.lip-matrix tbody th { color: #fff; font-weight: 650; width: 19%; }
.lip-matrix tbody th small { display: block; font-weight: 400; font-size: .78rem; color: var(--on-dark-muted); margin-top: 4px; }
.lip-matrix tbody tr:last-child > * { border-bottom: 0; }
.lip-matrix td { color: var(--on-dark); width: 27%; }
.lip-matrix td.is-none { color: rgba(231, 236, 243, .45); }
.lip-mark { display: inline-block; width: 1.2em; font-size: 1rem; }
.lip-matrix td.is-full .lip-mark, .lip-legend .is-full span { color: #5FD39A; }
.lip-matrix td.is-part .lip-mark, .lip-legend .is-part span { color: var(--gold-bright); }
.lip-matrix td.is-addon .lip-mark, .lip-legend .is-addon span { color: #8FB6FF; }
.lip-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; font-size: .85rem; color: var(--on-dark-muted); }
.lip-legend li:last-child { flex-basis: 100%; }
@media (max-width: 900px) { .lip-sporthead { grid-template-columns: 1fr; } .lip-sporthead__photo { max-width: 560px; } }
@media (max-width: 760px) {
	.lip-matrix { min-width: 0; }
	.lip-matrix thead { display: none; }
	.lip-matrix, .lip-matrix tbody, .lip-matrix tr, .lip-matrix th, .lip-matrix td { display: block; width: 100% !important; }
	.lip-matrix tr { padding: 16px 18px; border-bottom: 1px solid var(--line-dark); }
	.lip-matrix tbody tr:last-child { border-bottom: 0; }
	.lip-matrix th, .lip-matrix td { padding: 4px 0; border: 0; }
	.lip-matrix tbody th { font-family: var(--font-d); font-size: 1.15rem; margin-bottom: 6px; }
	.lip-matrix td::before { content: attr(data-label); display: inline-block; min-width: 92px; font-weight: 700; color: #fff; }
	.lip-matrix td { display: grid; grid-template-columns: 92px 1.2em 1fr; align-items: start; }
}

/* ---------- Devices ---------- */
.lip-devgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lip-devcard { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.lip-devcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist-2); }
.lip-devcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lip-devcard:hover .lip-devcard__img img { transform: scale(1.03); }
.lip-devcard figcaption { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.lip-devcard__type { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.lip-devcard h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.lip-devcard p { margin: 0 0 12px; font-size: .9rem; color: var(--muted); flex: 1; }
.lip-devcard small { font-size: .7rem; color: var(--muted); }
.lip-devcard small a { color: inherit; }
.lip-devtable { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
#devices .lip-ptable-wrap { border-radius: var(--r); }
@media (max-width: 1000px) { .lip-devgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lip-devgrid { grid-template-columns: 1fr; } }

/* ---------- IPTV Smarters Pro ---------- */
.lip-appx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lip-appx__media { margin: 0; background: radial-gradient(closest-side, #E8EEF7, transparent 75%); padding: 12px; }
.lip-appx__media img { width: 100%; height: auto; }
.lip-appx__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 16px; }
.lip-appx__facts { margin: 24px 0; border-top: 1px solid var(--line); }
.lip-appx__facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lip-appx__facts dt { font-weight: 650; color: var(--ink); font-size: .95rem; }
.lip-appx__facts dd { margin: 0; font-size: .95rem; color: var(--text); }
.lip-appx__warn { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--red-soft); border-left: 3px solid var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .93rem; }
.lip-appx__warn .lip-ico { color: var(--red); margin-top: 3px; }
@media (max-width: 900px) { .lip-appx { grid-template-columns: 1fr; } .lip-appx__facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Legal vs unlicensed ---------- */
#legal-or-not { background: var(--mist); }
.lip-intro { max-width: 720px; margin-bottom: 36px; }
.lip-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 14px; }
.lip-intro p { color: var(--muted); }
.lip-compare2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lip-compare2__col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; border-top: 4px solid var(--green); }
.lip-compare2__col.is-bad { border-top-color: var(--red); }
.lip-compare2__col h3 { font-size: 1.3rem; margin: 0 0 14px; }
.lip-compare2__col ul { list-style: none; margin: 0; padding: 0; }
.lip-compare2__col li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.lip-compare2__col li:last-child { border-bottom: 0; }
.lip-compare2__col .lip-ico { margin-top: 4px; color: var(--green); }
.lip-compare2__col.is-bad .lip-ico { color: var(--red); }
.lip-more { margin: 24px 0 0; font-weight: 600; }
@media (max-width: 760px) { .lip-compare2 { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.lip-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lip-guide { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.lip-guide:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.lip-guide strong { font-family: var(--font-d); font-size: 1.25rem; font-weight: 650; color: var(--ink); line-height: 1.25; }
.lip-guide:hover strong { color: var(--blue); }
.lip-guide__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.lip-guide__desc { font-size: .93rem; color: var(--muted); }
.lip-guide--feature { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px 40px; align-items: center; background: var(--navy); border-color: var(--navy); color: var(--on-dark); padding: 32px 34px; }
.lip-guide--feature strong { font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: #fff; grid-column: 1; grid-row: 2; }
.lip-guide--feature .lip-guide__tag { color: var(--gold-bright); grid-column: 1; grid-row: 1; }
.lip-guide--feature .lip-guide__desc { color: var(--on-dark-muted); grid-column: 2; grid-row: 1 / span 2; font-size: 1rem; }
.lip-guide__more { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; gap: 8px; align-items: center; color: var(--gold-bright); font-weight: 600; white-space: nowrap; }
.lip-guide--feature:hover { border-color: var(--navy-3); background: var(--navy-2); }
.lip-guide--feature:hover strong { color: #fff; }
@media (max-width: 980px) {
	.lip-guides { grid-template-columns: 1fr 1fr; }
	.lip-guide--feature { grid-column: span 2; grid-template-columns: 1fr; }
	.lip-guide--feature > * { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 600px) { .lip-guides { grid-template-columns: 1fr; } .lip-guide--feature { grid-column: span 1; } }

/* ---------- Split layout, FAQ, contact ---------- */
.lip-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.lip-split__intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 12px; }
.lip-split__intro p { color: var(--muted); }
@media (max-width: 860px) { .lip-split { grid-template-columns: 1fr; } }
#faq.lip-section--alt { background: var(--paper); }
.lip-faq { border-top: 2px solid var(--ink); }
.lip-faq details { border-bottom: 1px solid var(--line); }
.lip-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--font-d); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.lip-faq summary::-webkit-details-marker { display: none; }
.lip-faq summary:hover { color: var(--blue); }
.lip-faq__plus { position: relative; flex: none; width: 14px; height: 14px; }
.lip-faq__plus::before, .lip-faq__plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--gold); transition: transform .25s var(--ease); }
.lip-faq__plus::after { transform: rotate(90deg); }
.lip-faq details[open] .lip-faq__plus::after { transform: rotate(0deg); }
.lip-faq details p { margin: 0 0 20px; color: var(--text); max-width: 70ch; }

#contact { background: var(--mist); border-top: 1px solid var(--line); }
.lip-contactbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.lip-contactbox > p { margin: 0 0 14px; }
.lip-contactbox__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.lip-contactbox__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lip-contactbox__list .lip-ico { color: var(--gold); }

/* ---------- Footer ---------- */
.lip-footer { background: var(--charcoal); color: var(--on-dark-muted); padding: clamp(56px, 6vw, 80px) 0 0; font-size: .93rem; }
.lip-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.lip-footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.lip-footer__brand p { margin: 0 0 14px; max-width: 36ch; }
.lip-footer__checked { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--on-dark); }
.lip-footer__checked .lip-ico { color: #5FD39A; }
.lip-footer h3 { font-family: var(--font-b); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); margin: 6px 0 16px; }
.lip-footer ul { list-style: none; margin: 0; padding: 0; }
.lip-footer li { margin-bottom: 9px; }
.lip-footer a { color: var(--on-dark); text-decoration: none; }
.lip-footer a:hover { color: #fff; text-decoration: underline; }
.lip-footer__contact p { margin: 14px 0 0; }
.lip-footer__contact p a { color: var(--gold-bright); }
.lip-footer__bottom { border-top: 1px solid var(--line-dark); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: .8rem; }
.lip-footer__bottom p { margin: 0; }
.lip-footer__bottom p:last-child { max-width: 760px; }
.lip-footer__bottom a { text-decoration: underline; }
@media (max-width: 1000px) { .lip-footer__grid { grid-template-columns: 1fr 1fr 1fr; } .lip-footer__brand { grid-column: 1 / -1; } .lip-footer__contact { grid-column: 1 / -1; } }
@media (max-width: 560px) { .lip-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Interior pages ---------- */
.lip-page { background: var(--paper); }
.lip-pagehero { background: var(--navy); color: var(--on-dark); padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 60px); margin-top: 0 !important; margin-bottom: 0 !important; max-width: none !important; position: relative; }
.lip-pagehero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-bright) 0 80px, transparent 80px); }
.lip-crumbs { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.lip-crumbs a { color: var(--on-dark); text-decoration: none; }
.lip-crumbs a:hover { color: var(--gold-bright); }
.lip-crumbs span:last-child { color: var(--gold-bright); font-weight: 600; }
.lip-pagehero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 600; max-width: 22ch; }
.lip-pagehero__dek { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark); max-width: 62ch; margin: 0 0 20px; opacity: .9; }
.lip-pagehero__meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--on-dark-muted); margin: 0; }
.lip-pagehero__meta .lip-ico { color: #5FD39A; }

.lip-prose { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.lip-prose > * { margin-block-start: 0; margin-block-end: 0; }
.lip-prose > * + * { margin-block-start: 1.2em; }
.lip-prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-block-start: 2em !important; margin-bottom: .2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.lip-prose h3 { font-size: 1.25rem; margin-block-start: 1.6em !important; }
.lip-prose > h2:first-child, .lip-prose > p:first-child { margin-block-start: 0 !important; }
.lip-prose .has-large-font-size { font-family: var(--font-d); font-size: clamp(1.2rem, 1.8vw, 1.4rem) !important; line-height: 1.5; color: var(--ink); }
.lip-prose ul, .lip-prose ol { padding-left: 1.3em; }
.lip-prose li { margin-bottom: .45em; }
.lip-prose li::marker { color: var(--gold); }
.lip-prose .lip-ptable-wrap, .lip-prose > .lip-ptable { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lip-prose .lip-ptable-wrap { overflow-x: auto; }
.lip-prose .lip-section { padding: clamp(36px, 4vw, 56px) 0; }
.lip-prose .lip-section .lip-container { width: 100%; }
.lip-prose .alignfull { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; max-width: 100vw !important; width: 100vw; }
.lip-prose .alignfull.has-surface-background-color { padding-left: clamp(16px, 5vw, 48px); padding-right: clamp(16px, 5vw, 48px); }

.lip-card { background: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: var(--r); height: 100%; color: var(--text); box-shadow: var(--shadow-sm); }
.lip-card h3 { color: var(--ink); }
.lip-notice.is-warning { background: var(--gold-soft) !important; border-color: #EBD7A8 !important; border-left: 4px solid var(--gold) !important; }
.lip-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--green-soft); color: var(--green); }
.lip-checklist { list-style: none; padding-left: 0 !important; }
.lip-checklist li { position: relative; padding-left: 28px; }
.lip-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.lip-redflags li::before { content: "✕"; color: var(--red); }
.has-muted-color { color: var(--muted) !important; }

.lip-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 24px 40px; align-items: center; background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); }
.lip-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 8px !important; }
.lip-cta p { margin: 0; color: var(--on-dark-muted); }
.lip-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .lip-cta { grid-template-columns: 1fr; } }

/* ---------- Provider guide pages ---------- */
.lip-pguide--provider { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.lip-pguide__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.admin-bar .lip-pguide__aside { top: calc(var(--header-h) + 52px); }
.lip-pguide__main { grid-column: 1; grid-row: 1; max-width: 760px; }
.lip-pguide__main > * { margin-block: 0; }
.lip-pguide__main > * + * { margin-block-start: 1.1em; }
.lip-pguide__main > h2 { margin-block-start: 2em; }
.lip-pguide__main > h2:first-child { margin-block-start: 0; }
.lip-ataglance { border: 1px solid var(--line); border-top: 4px solid var(--gold-bright); border-radius: var(--r); padding: 20px 22px 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.lip-ataglance__eyebrow { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lip-ataglance dl { margin: 0 0 16px; }
.lip-ataglance dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.lip-ataglance dt { color: var(--muted); }
.lip-ataglance dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.lip-ataglance dd strong { font-family: var(--font-d); font-size: 1.15rem; }
.lip-ataglance__fine { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }
.lip-toc { background: var(--mist); border-radius: var(--r); padding: 18px 22px; font-size: .9rem; }
.lip-toc p { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lip-toc ol { margin: 0; padding-left: 1.2em; }
.lip-toc li { margin: 4px 0; }
.lip-toc a { text-decoration: none; color: var(--text); }
.lip-toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 980px) {
	.lip-pguide--provider { grid-template-columns: 1fr; }
	.lip-pguide__aside { position: static; grid-column: 1; grid-row: 1; }
	.lip-pguide__main { grid-row: 2; }
	.lip-toc { display: none; }
}

.lip-pguide__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 14px 18px; background: var(--mist); border-radius: var(--r-sm); font-size: .88rem; color: var(--muted); }
.lip-pguide__meta strong { color: var(--ink); }
.lip-pgroup__note { font-size: .9rem; color: var(--muted); }
.lip-coverage { list-style: none; padding: 0 !important; margin: 0; border-top: 1px solid var(--line); }
.lip-coverage li { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.lip-coverage li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lip-coverage li.is-part::before { background: var(--gold); }
.lip-coverage li.is-addon::before { background: var(--blue); }
.lip-coverage strong { color: var(--ink); }
.lip-coverage span { color: var(--text); font-size: .95rem; }
@media (max-width: 600px) { .lip-coverage li { grid-template-columns: 1fr; gap: 2px; } }
.lip-devlist { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.lip-devlist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
@media (max-width: 560px) { .lip-devlist { grid-template-columns: 1fr; } }
.lip-callout { background: var(--mist); border-left: 4px solid var(--navy); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; }
.lip-callout h3 { font-family: var(--font-b); font-size: .78rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px !important; }
.lip-callout p { margin: 0 0 16px; }
.lip-callout p:last-child { margin: 0; }
.lip-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lip-proscons > div { border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--r); padding: 18px 22px; }
.lip-proscons > div.is-bad { border-top-color: var(--red); }
.lip-proscons h3 { font-size: 1.1rem; margin: 0 0 10px !important; }
.lip-proscons ul { margin: 0; padding-left: 1.1em; }
.lip-proscons li { font-size: .95rem; }
.lip-proscons .is-good li::marker { color: var(--green); }
.lip-proscons .is-bad li::marker { color: var(--red); }
@media (max-width: 640px) { .lip-proscons { grid-template-columns: 1fr; } }
.lip-subscribe { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: 26px 28px; margin-block-start: 2.4em !important; }
.lip-subscribe h2 { color: #fff; margin: 0 0 6px !important; font-size: 1.5rem; }
.lip-subscribe p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; font-size: .95rem; }
.lip-sources { padding-left: 1.2em; font-size: .95rem; }
.lip-pguide__next { padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.lip-pguide .lip-calc { margin-top: 1em; }

/* ---------- Reveal (subtle) ---------- */
.lip-js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.lip-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lip-js .reveal { opacity: 1; transform: none; transition: none; }
	* { transition-duration: 0s !important; }
}

/* ---------- Print ---------- */
@media print {
	.lip-header, .lip-footer, .lip-pricebar, .lip-hero__media, .lip-toc { display: none !important; }
	.lip-hero, .lip-section--dark, .lip-pagehero { background: #fff !important; color: #000 !important; }
	.lip-hero__title, .lip-pagehero__title, .lip-section--dark h2 { color: #000 !important; }
}
.lip-pgroup__empty { margin: 0; padding: 18px 26px; font-size: .92rem; color: var(--muted); background: var(--mist); }
.lip-pgroup table[hidden] { display: none; }

/* ---------- Contact page ---------- */
.lip-contactpage > * + * { margin-top: 1.1em; }
.lip-contactpage > h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.lip-contactcards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lip-ccard { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); background: var(--paper); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.lip-ccard:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.lip-ccard__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); margin-bottom: 8px; }
.lip-ccard__icon .lip-ico { width: 20px; height: 20px; }
.lip-ccard__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.lip-ccard strong { font-family: var(--font-d); font-size: 1.25rem; color: var(--ink); word-break: break-word; }
.lip-ccard__hint { font-size: .88rem; color: var(--muted); }
@media (max-width: 620px) { .lip-contactcards2 { grid-template-columns: 1fr; } }
.lip-appx__media { background: #010101; border-radius: 14px; padding: clamp(14px, 2.5vw, 28px); box-shadow: 0 30px 60px -30px rgba(14, 23, 38, .45); }
@media (min-width: 701px) {
	.lip-pgroup .lip-ptable { table-layout: fixed; }
	.lip-pgroup .lip-ptable thead th:nth-child(1) { width: 22%; }
	.lip-pgroup .lip-ptable thead th:nth-child(2) { width: 17%; }
	.lip-pgroup .lip-ptable thead th:nth-child(3) { width: 12%; }
	.lip-pgroup .lip-ptable tbody th { white-space: normal; }
}
#faq.lip-section--alt { background: var(--mist); }
#contact { background: var(--paper); }
.lip-card .lip-tag { align-self: flex-start; }
