/* King IPTV — design system
   Palette: midnight navy base, royal gold accent, ivory text.
   Type: Bodoni Moda (display), Manrope (text). Self-hosted, latin subset. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --midnight: #070D1D;
  --navy: #0C1430;
  --navy-2: #131E40;
  --charcoal: #1A1F2C;
  --gold: #DDB65E;
  --gold-deep: #B88A33;
  --gold-soft: #F3DFA2;
  --ivory: #F1ECDF;
  --muted: #AAB2C5;
  --line: rgba(221, 182, 94, 0.22);
  --line-soft: rgba(241, 236, 223, 0.09);
  --wa: #25D366;
  --todo: #FFB4A8;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --text: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.85rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 6px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--midnight);
  background-image: radial-gradient(60rem 40rem at 85% -10%, rgba(40, 58, 120, 0.45), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ivory);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--text); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38em; line-height: 1.55; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: linear-gradient(180deg, var(--navy) 0%, rgba(12, 20, 48, 0.4) 100%); border-block: 1px solid var(--line-soft); }
.section__head { max-width: 40rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--muted); }

.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--midnight); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: 999px;
  font: 700 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep)); color: #1A1305; box-shadow: 0 0 0 0 rgba(221, 182, 94, 0); }
.btn--gold:hover { color: #1A1305; box-shadow: 0 0 28px rgba(221, 182, 94, 0.35); }
.btn--ghost { border-color: var(--line); color: var(--ivory); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--gold); color: #fff; }
.btn--wa { background: var(--wa); color: #06280F; }
.btn--wa:hover { color: #06280F; box-shadow: 0 0 24px rgba(37, 211, 102, 0.35); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 13, 29, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ivory); margin-right: auto; }
.brand img { width: 2.25rem; height: 2.25rem; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.01em; }
.brand__word span { font-family: var(--text); font-weight: 700; font-size: 0.78em; letter-spacing: 0.12em; color: var(--gold); margin-left: 0.2em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ivory); }
.nav a.btn--gold, .nav a.btn--gold:hover { color: #1A1305; }
.nav a[aria-current="page"] { color: var(--ivory); border-bottom-color: var(--gold); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { min-width: 2.6rem; min-height: 2.1rem; display: inline-grid; place-items: center; border-radius: 999px; font-weight: 700; font-size: 0.82rem; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; }
.lang a[aria-current="true"] { background: var(--gold); color: #1A1305; }
.lang a:not([aria-current="true"]):hover { color: var(--ivory); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); border-radius: 999px; min-height: 2.75rem; padding: 0 1rem; font: 700 0.95rem var(--text); cursor: pointer; white-space: nowrap; }

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav { position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; background: var(--midnight); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--gold-soft); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
  .no-js .nav { position: static; display: flex; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }
@media (max-width: 420px) { .site-header__inner { gap: 0.6rem; } .nav-toggle { width: 2.75rem; padding: 0; justify-content: center; } .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 350px) { .brand__word { font-size: 1.2rem; } .brand img { width: 1.9rem; height: 1.9rem; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem); }
.section--essentials { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 12em; }
.hero .lead { margin-bottom: 2rem; }
.hero__note { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); display: flex; gap: 0.5rem; align-items: baseline; }
.hero__note::before { content: ""; width: 0.45rem; height: 0.45rem; background: var(--gold); transform: rotate(45deg) translateY(-0.1rem); flex: none; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.crown-line { stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.6s cubic-bezier(.6,.05,.25,1) .2s forwards; }
.crown-glow { opacity: 0; animation: fade 1.2s ease 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 24rem; margin-inline: auto; width: 100%; }
}

/* ---------- essentials strip ---------- */
.essentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line); padding-top: 2.25rem; }
.essential svg { width: 2rem; height: 2rem; color: var(--gold); margin-bottom: 0.9rem; }
.essential p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .essentials { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; }
.why__item { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.why__item p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* ---------- devices ---------- */
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.device { background: var(--charcoal); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.5rem 1.1rem; text-align: center; }
.device svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--gold-soft); }
.device strong { display: block; font-size: 1rem; }
.device span { display: block; color: var(--muted); font-size: var(--step--1); margin-top: 0.25rem; }
.devices-note { margin-top: 1.5rem; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 960px) { .devices { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .devices { grid-template-columns: repeat(2, 1fr); } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; padding-top: 1rem; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--navy); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.9rem 1.5rem 1.5rem; }
.plan__length { display: flex; align-items: baseline; gap: 0.45rem; margin: 0 0 1.25rem; font-family: var(--text); font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan__length b { font-family: var(--display); font-size: 4.2rem; line-height: 0.9; font-weight: 500; color: var(--ivory); }
.plan__price { font-size: 2rem; font-weight: 700; line-height: 1.1; margin: 0; }
.plan__monthly { color: var(--muted); font-size: var(--step--1); margin: 0.35rem 0 1.4rem; }
.plan__monthly strong { color: var(--gold-soft); font-weight: 700; }
.plan ul { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 0.7rem; font-size: 0.95rem; color: var(--muted); }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.55rem; }
.plan li svg { width: 1.1rem; height: 1.1rem; color: var(--gold); margin-top: 0.22rem; }
.plan .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(180deg, #1C2752 0%, var(--navy) 60%); border: 1px solid var(--gold); box-shadow: 0 0 0 1px rgba(221, 182, 94, 0.25), 0 24px 60px rgba(221, 182, 94, 0.12); transform: translateY(-0.75rem); }
.plan--featured .plan__length b { color: var(--gold-soft); }
.plan__badge { position: absolute; top: 0; left: 1.5rem; transform: translateY(-50%); background: var(--gold); color: #1A1305; font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; }
.price-note { margin-top: 2rem; color: var(--muted); font-size: var(--step--1); max-width: 46rem; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } .plan--featured { transform: none; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--gold); }
.steps li::after { content: ""; position: absolute; top: 1.8rem; left: 3.2rem; right: -1rem; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.4rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0.7rem; }
.faq details > div { padding: 0 0 1.4rem; color: var(--muted); max-width: 42rem; }
.faq details > div p { margin: 0; }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; text-align: center; background: radial-gradient(40rem 22rem at 50% 0%, rgba(221, 182, 94, 0.16), transparent 70%), var(--navy); border-top: 1px solid var(--line); }
.final .lead { margin-inline: auto; }
.final .btn-row { justify-content: center; margin-top: 2rem; }
.final__mark { width: 4.5rem; margin: 0 auto 1.5rem; }

/* ---------- page header / breadcrumbs ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head + .section, .page-head + .wrap + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--step-3); max-width: 18em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--gold-deep); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ivory); }

/* ---------- pricing table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 36rem; }
.compare caption { text-align: left; padding: 1rem 1.25rem; color: var(--muted); font-size: var(--step--1); caption-side: bottom; border-top: 1px solid var(--line-soft); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; background: var(--navy); }
.compare tbody th { font-weight: 700; }
.compare td.num { font-variant-numeric: tabular-nums; }
.compare tr.is-featured { background: rgba(221, 182, 94, 0.07); }
.compare tr.is-featured th::after { content: attr(data-badge); display: inline-block; margin-left: 0.6rem; font-size: 0.75rem; color: #1A1305; background: var(--gold); border-radius: 999px; padding: 0.1rem 0.55rem; font-weight: 700; vertical-align: middle; }
.compare .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.92rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.ticks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.65rem; color: var(--muted); }
.ticks svg { width: 1.2rem; height: 1.2rem; color: var(--gold); margin-top: 0.22rem; }
.notice { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; background: rgba(221, 182, 94, 0.05); }
.notice h2, .notice h3 { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
ol.plain { margin: 0; padding-left: 1.3rem; color: var(--muted); display: grid; gap: 0.6rem; }
ol.plain li::marker { color: var(--gold); font-weight: 700; }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(120deg, var(--navy-2), var(--navy)); }
.callout h2 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.callout p { margin: 0; color: var(--muted); }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 1rem 2rem; margin: 0; }
dl.facts dt { font-weight: 700; color: var(--gold-soft); }
dl.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; gap: 0.25rem; } dl.facts dd { margin-bottom: 1rem; } }

/* ---------- prose (about / legal) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose p, .prose li { color: #D3D2CC; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ivory); }
.updated { color: var(--muted); font-size: var(--step--1); }
mark.todo { background: rgba(255, 180, 168, 0.12); color: var(--todo); border: 1px dashed rgba(255, 180, 168, 0.6); border-radius: 4px; padding: 0 0.3em; font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.5rem; background: var(--charcoal); margin-bottom: 1.25rem; }
.contact-card h2 { font-size: var(--step-1); font-family: var(--text); font-weight: 700; }
.contact-card .big { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; }
.form { display: grid; gap: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ivory); background: var(--midnight); border: 1px solid rgba(241, 236, 223, 0.22); border-radius: 10px; padding: 0.8rem 0.95rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221, 182, 94, 0.25); }
.field .hint { color: var(--muted); font-size: var(--step--1); margin: 0.35rem 0 0; }
.check { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5rem; margin: 0; font-weight: 600; }
.form-status[data-state="success"] { color: #8EE6A8; }
.form-status[data-state="error"] { color: var(--todo); }
.form button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-family: var(--text); font-size: 0.95rem; font-weight: 700; color: var(--gold-soft); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ivory); text-decoration: underline; }
.footer-grid p { color: var(--muted); max-width: 26rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: var(--step--1); display: grid; gap: 0.4rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #06280F; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.wa-float svg { width: 1.8rem; height: 1.8rem; }
.wa-float:hover { color: #06280F; transform: translateY(-2px); }

/* ---------- consent bar (only when analytics is configured) ---------- */
.consent { position: fixed; left: 1rem; right: 5.5rem; bottom: 1rem; z-index: 60; max-width: 34rem; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.2rem; font-size: 0.92rem; display: none; }
.consent.is-visible { display: block; }
.consent p { margin: 0 0 0.8rem; color: var(--muted); }
.consent .btn { min-height: 2.4rem; padding: 0.4rem 1rem; font-size: 0.9rem; }

/* ---------- language chooser (root) ---------- */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem var(--gutter); }
.chooser img { width: 5rem; margin: 0 auto 1.5rem; }
.chooser h1 { font-size: var(--step-3); }
.chooser p { color: var(--muted); }
.chooser .btn-row { justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .crown-line { stroke-dashoffset: 0; animation: none; }
  .crown-glow { opacity: 1; animation: none; }
}
@media print {
  .site-header, .site-footer, .wa-float, .consent { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--navy); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem 1.4rem; transition: border-color .2s; }
.post-card:hover, .post-card:focus-within { border-color: var(--gold); }
.post-card__title { text-wrap: pretty; font-size: var(--step-1); font-family: var(--display); font-weight: 600; line-height: 1.25; margin-bottom: 0.7rem; }
.post-card__title a { color: var(--ivory); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { color: var(--muted); margin-bottom: 1rem; }
.post-card .post-meta { margin-top: auto; margin-bottom: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; color: var(--muted); font-size: var(--step--1); }
.post-meta span + span::before, .post-meta time + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-right: 1.2rem; vertical-align: middle; transform: translateY(-1px); }
.post .page-head h1 { font-size: var(--step-3); max-width: 20em; }
.post-body { padding-bottom: 1rem; }
.post-body h2:first-of-type { margin-top: 2rem; }
.post-body ol { padding-left: 1.3rem; }
.post-body ol li::marker { color: var(--gold); font-weight: 700; }
.post-body .table-scroll { margin: 1.25rem 0; }
.post-body table.compare { min-width: 22rem; }
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sources h2 { font-size: var(--step-1); font-family: var(--text); font-weight: 700; margin-top: 0 !important; }
.sources li { font-size: 0.95rem; }
.post-cta { margin-block: 2.5rem 1rem; max-width: 52rem; }
.related { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.related li { border-left: 2px solid var(--gold); padding-left: 1rem; }
.related a { font-weight: 700; color: var(--ivory); text-decoration: none; display: block; margin-bottom: 0.3rem; }
.related a:hover { color: var(--gold-soft); text-decoration: underline; }
.related span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1100px) and (min-width: 961px) { .nav { gap: 1.1rem; } .header-cta { padding-inline: 1rem; } }
