@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f6f5fb;
  --paper-2: #ecebf6;
  --ink: #12121c;
  --ink-2: #4b4b5f;
  --line: #dddbea;
  --pine: #0c0d1d;
  --pine-2: #4338ca;
  --amber: #c4a6ff;
  --signal: #b92fd0;
  --surface: #fff;
  --invalid-bg: #fff7f4;
  --error-bg: #fdece6;
  --error-ink: #a3341c;
  --float-bg: rgba(255, 255, 255, 0.96);
  --field-line: #cfcce2;
  --picked-bg: #f4f1ff;
  --brand: linear-gradient(100deg, #1e8bff 0%, #6a4dff 48%, #d03cf0 100%);
  --radius: 6px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pine-2); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; }

.eyebrow { font: 600 0.78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--signal); margin-bottom: 0.9em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.small { font-size: 0.85rem; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8em 1.3em; border-radius: var(--radius);
  background: var(--pine); color: var(--paper); font-weight: 600; text-decoration: none;
  border: 2px solid var(--pine); transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-line { background: transparent; color: var(--pine); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-small { padding: 0.45em 0.9em; font-size: 0.9rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.menu a[aria-current='page'] { color: var(--signal); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); border-radius: var(--radius); padding: 6px 12px; font: 500 0.9rem var(--sans); color: var(--ink); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 20px 0; margin: 0; font-size: 0.85rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

/* Hero */
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 22px 20px 26px 0; border-right: 1px solid var(--line); }
.facts div + div { padding-left: 20px; }
.facts div:last-child { border-right: 0; }
.facts dt { font: 650 2.2rem/1 var(--serif); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 0.92rem; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--pine); color: #e6e4f5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--amber); }
.section-lede { color: var(--ink-2); max-width: 40em; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head-flag { display: flex; gap: 28px; align-items: flex-start; }
.more { margin-top: 28px; }

.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.byline { font-size: 0.9rem; color: var(--ink-2); }

.short-answer { border-left: 4px solid var(--amber); background: var(--surface); padding: 22px 26px; margin: 0 0 48px; border-radius: 0 var(--radius) var(--radius) 0; }
.short-answer .eyebrow { margin-bottom: 0.5em; }
.short-answer h2 { font-size: 1.35rem; }
.short-answer p:last-child { margin: 0; }

/* Countries */
.country-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.country { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.country:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.country-name { font: 650 1.1rem var(--serif); margin-top: 10px; }
.country-local { font-size: 0.85rem; color: var(--ink-2); }
.flag { width: 36px; height: 24px; border-radius: 3px; background: linear-gradient(90deg, var(--a) 0 32%, var(--b) 32% 46%, var(--a) 46%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.flag-lg { width: 72px; height: 48px; flex: none; margin-top: 10px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 650 3rem/1 var(--serif); color: var(--signal); margin-bottom: 18px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #262849; border: 1px solid #262849; margin-top: 40px; }
.features div { background: var(--pine); padding: 28px; }
.features p { margin: 0; color: #b9b6d8; }

/* Devices */
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.device { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); }
.device:hover { border-color: var(--ink); color: var(--ink); }
.device-name { font: 650 1.1rem var(--serif); }
.device-sum { color: var(--ink-2); font-size: 0.92rem; }
.device-time { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--pine-2); }
.device-plain { background: transparent; border-style: dashed; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-best { background: var(--pine); color: #e6e4f5; border-color: var(--pine); }
.plan-best h3, .plan-best .plan-price { color: #fff; }
.plan-best .btn { background: var(--amber); color: var(--pine); border-color: var(--amber); }
.plan-flag { position: absolute; top: -12px; left: 22px; background: var(--amber); color: var(--pine); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-price { font: 650 2.4rem/1 var(--serif); margin: 6px 0; }
.plan-per { font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.plan-note { font-size: 0.9rem; opacity: 0.8; flex: 1; }
.plan .btn { text-align: center; }
.plan-features { list-style: none; padding: 0; margin: 36px 0 0; columns: 2; column-gap: 40px; }
.plan-features li { padding: 7px 0 7px 26px; position: relative; break-inside: avoid; }
.plan-features li::before { content: ''; position: absolute; left: 0; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--pine-2); border-bottom: 2px solid var(--pine-2); transform: rotate(-45deg); }

/* Tables */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 8px 0 24px; }
.compare th, .compare td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 650 1rem var(--serif); border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; }
.compare td:nth-child(2) { background: rgba(160, 110, 255, 0.16); font-weight: 600; }
.compare.compact td:nth-child(2) { background: none; font-weight: 400; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 1.8rem var(--serif); color: var(--signal); }
.faq details[open] summary::after { content: '–'; }
.faq summary h3 { display: inline; font-size: 1.12rem; margin: 0; }
.faq .answer { padding: 0 40px 12px 0; color: var(--ink-2); }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }

/* Channels */
.channel-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.channel-group { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
.channel-group .num { font: 650 1rem var(--serif); color: var(--signal); grid-row: span 2; padding-top: 4px; }
.channel-group h2 { font-size: 1.35rem; margin-bottom: 6px; }
.channel-group p { margin: 0; color: var(--ink-2); }

/* Setup */
.needs, .tips { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.needs h2, .tips h2 { font-size: 1.15rem; }
.needs ul, .tips ul { margin: 0; padding-left: 1.2em; }
.tips { margin-top: 40px; background: var(--paper-2); }
.howto { list-style: none; padding: 0; margin: 0; counter-reset: h; }
.howto li { counter-increment: h; position: relative; padding: 0 0 30px 64px; border-left: 1px solid var(--line); margin-left: 20px; }
.howto li:last-child { border-left-color: transparent; }
.howto li::before { content: counter(h); position: absolute; left: -20px; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--amber); font: 650 1.1rem/40px var(--serif); text-align: center; }
.howto h2 { font-size: 1.3rem; margin-bottom: 6px; }

/* Guides */
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.guide:hover { border-color: var(--ink); color: var(--ink); }
.guide h2 { font-size: 1.3rem; }
.guide p { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.guide .link-arrow { color: var(--pine-2); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font: 600 1.1rem var(--serif); }

/* CTA + footer */
.cta-band { background: var(--signal); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn { background: var(--pine); border-color: var(--pine); }
.cta-band .btn:hover { background: #fff; color: var(--pine); border-color: #fff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }

.foot { background: var(--pine); color: #b9b6d8; padding: 64px 0 24px; font-size: 0.92rem; }
.foot a { color: #e6e4f5; text-decoration: none; }
.foot a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot h2 { font: 600 0.78rem var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #262849; margin-top: 48px; padding-top: 20px; }
.foot-base p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .features, .guide-list { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 12px; text-align: center; }
  .hero { padding-top: 40px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts dt { font-size: 1.7rem; }
  .split h2 { margin-bottom: 0; }
  .facts div:nth-child(2n) { border-right: 0; }
  .facts div:nth-child(2n + 1) { padding-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section { padding: 60px 0; }
  .country-grid, .plans, .features, .guide-list, .channel-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .plan-features { columns: 1; }
  .page-head-flag { flex-direction: column; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Header: language switcher; collapse the menu earlier now that it is longer */
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 20px; }
.langs a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 14px; color: var(--ink-2) !important; text-decoration: none; }
.langs a[aria-current='true'] { background: var(--pine); color: var(--amber) !important; }
.menu { gap: 22px; }
@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.2); }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .langs { align-self: flex-start; margin-top: 14px; border: 0; padding: 0; gap: 6px; }
  .menu .langs a { padding: 6px 10px; border: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; text-align: center; }
}


/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.88rem; }
.field input, .field select, .field textarea, .phone select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  padding: 0.72em 0.85em; border: 1px solid var(--field-line); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .phone select:focus { outline: none; border-color: var(--pine-2); box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.18); }
.was-validated :is(input, select, textarea):invalid { border-color: var(--signal); background: var(--invalid-bg); }
.phone { display: grid; grid-template-columns: 116px 1fr; }
.phone select { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; background: var(--paper); padding-right: 0.3em; }
.phone input { border-radius: 0 var(--radius) var(--radius) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--error-bg); color: var(--error-ink); font-size: 0.88rem; font-weight: 600; }
.fine { margin: 12px 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--ink-2); }
button.btn { cursor: pointer; font: inherit; font-weight: 600; }
.btn:disabled { opacity: 0.65; cursor: progress; }
.btn-block { display: block; width: 100%; text-align: center; padding: 0.95em; font-size: 1.02rem; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
.panel { margin: 0 0 16px; padding: 22px 24px 8px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.panel legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 0; font: 650 1.15rem var(--serif); }
.panel legend + * { clear: both; }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pine); color: var(--amber); font: 700 0.8rem var(--sans); }
.plan-pick, .pay-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.pick, .pay { position: relative; cursor: pointer; }
.pick input, .pay input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pick-body, .pay-body { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.pick-body span, .pay-body span { color: var(--ink-2); font-size: 0.85rem; }
.pick-body em { font-style: normal; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); }
.pay-body svg { width: 26px; height: 26px; margin-bottom: 4px; fill: none; stroke: var(--pine-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pick:hover .pick-body, .pay:hover .pay-body { border-color: #b2aecd; }
input:checked + .pick-body, input:checked + .pay-body { border-color: var(--pine-2); background: var(--picked-bg); box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.14); }
input:focus-visible + .pick-body, input:focus-visible + .pay-body { outline: 2px solid var(--pine-2); outline-offset: 2px; }
.note { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 18px; font-size: 0.85rem; color: var(--ink-2); }
.note svg, .summary-points svg, .trial-points svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.summary { position: sticky; top: 84px; padding: 26px; border-radius: 14px; background: var(--pine); color: #e6e4f5; }
.summary h3 { color: #fff; font-size: 1.25rem; }
.summary dl { margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #262849; }
.summary dt { color: #a4a1c6; }
.summary dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.summary .summary-total { align-items: baseline; border-bottom: 0; }
.summary-total dd { font: 650 1.9rem/1 var(--serif); color: var(--amber); }
.summary-points { list-style: none; margin: 0 0 20px; padding: 0; font-size: 0.88rem; }
.summary-points li { display: flex; gap: 9px; padding: 4px 0; }
.summary-points svg { color: var(--amber); }
.summary .btn { background: var(--amber); border-color: var(--amber); color: var(--pine); }
.summary .btn:hover { background: #fff; border-color: #fff; }
.summary .fine { color: #a4a1c6; }
.summary .fine a { color: #e6e4f5; }

/* Free trial */
.trial-card { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.trial-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.trial-copy > p { color: #b9b6d8; font-size: 1.1rem; max-width: 30em; }
.trial-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.trial-points li { display: flex; gap: 10px; }
.trial-points svg { color: var(--amber); }
.lead-form { padding: 28px; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.section-dark .lead-form .btn { background: var(--signal); border-color: var(--signal); color: #fff; }
.section-dark .lead-form .btn:hover { background: var(--pine); border-color: var(--pine); }
.trial-page { padding: 72px 0; }
.steps-compact li::before { font-size: 2.2rem; margin-bottom: 10px; }

/* Contact form */
.contact-form { margin-bottom: 32px; border: 1px solid var(--line); box-shadow: none; }
.contact-form h2 { font-size: 1.5rem; }

/* Confirmation dialog */
.lead-dialog { width: calc(100% - 32px); max-width: 420px; padding: 36px 30px 28px; border: 0; border-radius: 16px; text-align: center; color: var(--ink); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55); }
.lead-dialog[open] { animation: pop 0.22s ease-out; }
.lead-dialog::backdrop { background: rgba(8, 8, 22, 0.55); backdrop-filter: blur(3px); }
.lead-dialog h2 { font-size: 1.7rem; }
.lead-dialog p { color: var(--ink-2); font-size: 1.05rem; }
.lead-dialog form { margin-top: 20px; }
.dialog-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--pine); }
.dialog-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } }

@media (max-width: 1000px) {
  .checkout, .trial-card { grid-template-columns: 1fr; }
  .summary { position: static; }
  .plan-pick, .pay-pick { grid-template-columns: repeat(2, 1fr); }
  .float-catchup { left: 8px; }
  .float-devices { right: 8px; }
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .tv-screen { grid-template-columns: 1fr; }
  .rail { display: none; }
  .float { font-size: 0.7rem; padding: 8px 10px; }
  .float-catchup { bottom: -6px; }
  .float-devices { top: -10px; }
  .panel { padding: 18px 16px 4px; }
  .lead-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ---- IPTV Nordic brand --------------------------------------------------- */

/* Dark header so the white-and-neon logo reads */
.top { background: rgba(12, 13, 29, 0.96); border-bottom-color: #24264a; backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img, .foot-brand img { display: block; height: 46px; width: auto; }
.menu a:not(.btn) { color: #e6e4f5; }
.menu a:not(.btn):hover { color: #fff; }
.menu a[aria-current='page'] { color: var(--amber); }
.langs { border-color: #2c2e55; }
.langs a { color: #a4a1c6 !important; }
.langs a:hover { color: #fff !important; }
.langs a[aria-current='true'] { background: var(--brand); color: #fff !important; }
.top .btn { background: var(--brand); border-color: transparent; color: #fff; }
.top .btn:hover { filter: brightness(1.12); }
.menu-btn { color: #e6e4f5; border-color: #3a3c6a; }
@media (max-width: 1140px) {
  .menu { background: #0c0d1d; border-bottom-color: #24264a; }
  .menu a:not(.btn) { border-bottom-color: #24264a; }
  .menu .langs a { border-color: #2c2e55 !important; }
}
.foot-brand { margin: 0 0 16px; }

/* Primary buttons and accents use the logo gradient */
.btn { background: var(--brand); border-color: transparent; color: #fff; }
.btn:hover { background: var(--brand); border-color: transparent; color: #fff; filter: brightness(1.12); }
.btn-line, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-ghost:hover { background: var(--ink); color: #fff; filter: none; }
.plan-best .btn, .summary .btn, .section-dark .lead-form .btn { background: var(--brand); color: #fff; border-color: transparent; }
.summary .btn:hover { background: var(--brand); filter: brightness(1.12); }
.plan-flag { background: var(--brand); color: #fff; }
.cta-band { background: var(--brand); }
.cta-band .btn { background: #0c0d1d; border-color: #0c0d1d; }
.cta-band .btn:hover { background: #fff; color: #0c0d1d; border-color: #fff; filter: none; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.eyebrow { color: #7c3aed; }
.section-dark .eyebrow, .trial-copy .eyebrow { color: var(--amber); }
.step-num, .howto li::before, .dialog-icon, .float-icon { background: var(--brand); color: #fff; }
.dialog-icon svg, .float-icon svg { stroke: #fff; }
.compare td:nth-child(2) { background: rgba(124, 58, 237, 0.07); }
.steps li::before { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
a { color: #4f46e5; }
a:hover { color: var(--signal); }

/* Hero photo */
.stage { position: relative; padding: 26px 0 30px; }
.hero-img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 80px -36px rgba(40, 20, 120, 0.65); }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 13px; font-size: 0.78rem; line-height: 1.3; background: var(--float-bg); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -16px rgba(12, 13, 29, 0.5); }
.float small { display: block; color: var(--ink-2); }
.float-catchup { left: -22px; bottom: 6px; }
.float-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.float-icon svg { width: 17px; height: 17px; fill: none; stroke-width: 2; stroke-linecap: round; }
.float-devices { right: 22px; top: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
.dev-row { display: flex; gap: 4px; }
.dev-row i { font-style: normal; font-size: 0.66rem; font-weight: 600; padding: 2px 7px; border-radius: 10px; background: var(--paper-2); }

/* Connections switch (1–5 screens) */
.conn-picker { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 22px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.conn-label { margin: 0; display: flex; flex-direction: column; }
.conn-label span, .sub-label span { color: var(--ink-2); font-size: 0.85rem; font-weight: 400; }
.conn-options { display: flex; gap: 6px; }
.conn-options button { width: 46px; height: 42px; font: 700 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.conn-options button:hover { border-color: #a29bd0; }
.conn-options button[aria-pressed='true'] { background: var(--brand); color: #fff; border-color: transparent; }
.conn-options button:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.sub-label { margin: 0 0 8px; font-weight: 600; font-size: 0.9rem; }
.sub-label span { margin-left: 6px; }
.conn-pick { display: flex; gap: 8px; margin-bottom: 16px; }
.conn-pick label { position: relative; cursor: pointer; }
.conn-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.conn-pick span { display: grid; place-items: center; width: 48px; height: 44px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color 0.15s; }
.conn-pick input:checked + span { background: var(--brand); color: #fff; border-color: transparent; }
.conn-pick input:focus-visible + span { outline: 2px solid #4f46e5; outline-offset: 2px; }
.plan-price { transition: opacity 0.15s; }
.plan-features { columns: 3; }

@media (max-width: 1000px) {
  .float-catchup { left: 8px; }
  .float-devices { right: 8px; }
  .plan-features { columns: 2; }
}
@media (max-width: 720px) {
  .logo img { height: 38px; }
  .float { font-size: 0.7rem; padding: 8px 10px; }
  .float-catchup { bottom: 0; }
  .float-devices { top: 6px; }
  .conn-picker { padding: 12px 14px; }
  .conn-options button { width: 42px; }
  .plan-features { columns: 1; }
}

/* ---- Dark theme ------------------------------------------------------------
   Set on <html data-theme="dark"> by the head script (saved choice, or the
   device setting) and by the header button. */
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0b0c19;
  --paper-2: #10122a;
  --surface: #161833;
  --ink: #ecebf8;
  --ink-2: #a9a7c8;
  --line: #2a2c52;
  --pine: #1a1c40;
  --invalid-bg: rgba(185, 47, 208, 0.12);
  --error-bg: rgba(255, 90, 90, 0.12);
  --error-ink: #ff9d9d;
  --float-bg: rgba(22, 24, 51, 0.96);
  --field-line: #34366a;
  --picked-bg: rgba(106, 77, 255, 0.16);
}
:root[data-theme='dark'] main a:not(.btn):not(.country):not(.device):not(.guide):not(.contact-card) { color: #a5b4fc; }
:root[data-theme='dark'] main a:not(.btn):not(.country):not(.device):not(.guide):not(.contact-card):hover { color: #e9a6ff; }
:root[data-theme='dark'] .eyebrow { color: #b794ff; }
:root[data-theme='dark'] .btn-line:hover, :root[data-theme='dark'] .btn-ghost:hover { background: var(--ink); color: var(--paper); }
:root[data-theme='dark'] .plan-best { border-color: #6a4dff; }
:root[data-theme='dark'] .lead-dialog { background: var(--surface); color: var(--ink); }
:root[data-theme='dark'] .float { border-color: var(--line); }
:root[data-theme='dark'] .hero-img { box-shadow: 0 40px 90px -30px rgba(140, 80, 255, 0.45); }
:root[data-theme='dark'] .compare td:nth-child(2) { background: rgba(124, 58, 237, 0.14); }
:root[data-theme='dark'] .lead-form .btn-block, :root[data-theme='dark'] .contact-form .btn { color: #fff; }

/* Theme button in the header */
.top-inner { justify-content: flex-start; gap: 12px; }
.menu { margin-left: auto; }
.theme-btn { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #e6e4f5; background: transparent; border: 1px solid #3a3c6a; border-radius: 50%; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.theme-btn:hover { border-color: #8b7bff; background: rgba(139, 123, 255, 0.12); }
.theme-btn:focus-visible { outline: 2px solid #8b7bff; outline-offset: 2px; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-btn .i-moon { fill: currentColor; stroke: none; }
.theme-btn .i-sun { display: none; }
:root[data-theme='dark'] .theme-btn .i-moon { display: none; }
:root[data-theme='dark'] .theme-btn .i-sun { display: block; color: #ffd27a; }
@media (max-width: 1140px) {
  .theme-btn { margin-left: auto; }
}

/* Feature list inside each plan card */
.plan-note { flex: none; min-height: 2.9em; }
.plan-list { flex: 1; list-style: none; display: grid; gap: 7px; margin: 6px 0 22px; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 0.86rem; line-height: 1.35; }
.plan-list li { position: relative; padding-left: 22px; }
.plan-list li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: #6a4dff; }
.plan-best .plan-list { border-top-color: #2c2e58; }
.plan-best .plan-list li::before { color: var(--amber); }
