/* IPTVSmart design system — iptvsmart.co.uk
   1 Tokens  2 Base  3 Layout & utilities  4 Buttons & controls  5 Header/footer
   6 Hero  7 Home sections  8 Pricing  9 Devices/regions/FAQ  10 Documents  11 Motion */

/* ---------- 1. Tokens ---------- */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ink: #06070b;
  --navy: #0a0f1e;
  --navy-2: #0f1730;
  --char: #131722;
  --char-2: #1a1f2e;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --text: #eef1f7;
  --muted: #a7b0c2;
  --dim: #8a94a8;
  --red: #ff2d46;
  --red-soft: #ff6470;
  --red-btn: #e11d3a;
  --red-btn-2: #c1122d;
  --glow: rgba(255, 45, 70, .38);
  --blue-glow: rgba(64, 106, 255, .22);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --head-h: 68px;
  --display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(4.5rem, 9vw, 8.5rem);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); background: var(--ink); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--red-soft); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
img, svg, canvas { max-width: 100%; }
img { height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

/* Region + currency: both values are in the HTML; the root attributes decide which shows. */
html[data-currency="GBP"] .cur-eur, html[data-currency="EUR"] .cur-gbp { display: none; }
html[data-region="uk"] .rg-ie, html[data-region="ie"] .rg-uk { display: none; }
.px { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 3. Layout & utilities ---------- */
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: min(100%, 880px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.eyebrow { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft); margin: 0 0 1rem; display: flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.fine { font-size: .86rem; color: var(--dim); margin: 0; }
.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02)); border: 1px solid var(--line); border-radius: var(--radius); }
.chip { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: .25em .8em; }
.badge { display: inline-flex; align-items: center; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: .38em .85em; }
.badge-red { background: linear-gradient(135deg, var(--red-btn), var(--red-btn-2)); color: #fff; box-shadow: 0 6px 22px -6px var(--glow); }
.badge-line { border: 1px solid rgba(255, 100, 112, .55); color: #ffb3ba; }
.notice { border: 1px solid var(--line-2); border-left: 3px solid var(--red); background: rgba(255, 255, 255, .03); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--muted); }
.notice strong { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--text); text-decoration: none; }
.link-arrow .ico { transition: transform .3s var(--ease); color: var(--red-soft); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(5px); }
.link-quiet { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks .ico { color: var(--red-soft); margin-top: .22em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- 4. Buttons & controls ---------- */
.btn { --bh: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: var(--bh); padding: 0 1.35em; border-radius: 99px; border: 1px solid transparent; font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .25s; }
.btn:active { transform: scale(.975); }
.btn-primary { background: linear-gradient(135deg, var(--red-btn), var(--red-btn-2)); color: #fff; box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .045); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); color: #fff; transform: translateY(-2px); }
.btn-lg { --bh: 54px; font-size: 1rem; padding: 0 1.7em; }
.btn-sm { --bh: 40px; font-size: .88rem; padding: 0 1.1em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.cur-toggle { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.cur-btn { border: 0; background: none; border-radius: 99px; min-height: 34px; padding: 0 .85em; font-family: var(--display); font-size: .8rem; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.cur-btn span { opacity: .75; }
html[data-region="uk"] .cur-btn-uk, html[data-region="ie"] .cur-btn-ie { background: #fff; color: #0a0c12; }

.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { font-family: var(--display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 0; margin-bottom: .6rem; }
.seg-row { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-opt { position: relative; flex: 1 1 auto; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: .35em; min-height: 46px; padding: 0 1em; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: .92rem; color: var(--muted); white-space: nowrap; transition: all .25s var(--ease); }
.seg-opt span b { font-family: var(--display); font-size: 1.05rem; color: var(--text); }
.seg-opt input:checked + span { background: #fff; color: #0a0c12; border-color: #fff; box-shadow: 0 8px 26px -10px rgba(255, 255, 255, .5); }
.seg-opt input:checked + span b { color: #0a0c12; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--red-soft); outline-offset: 3px; }
.seg-opt:hover span { border-color: rgba(255, 255, 255, .4); }
.seg-mini .seg-row { display: inline-flex; flex-wrap: nowrap; padding: 3px; gap: 0; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.seg-btn { border: 0; background: none; border-radius: 99px; min-height: 38px; padding: 0 1.1em; font-family: var(--display); font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg-btn.is-on, html[data-region="uk"] .rg-btn-uk, html[data-region="ie"] .rg-btn-ie { background: #fff; color: #0a0c12; }

/* ---------- 5. Header / footer ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head-h); transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; view-transition-name: site-header; }
.site-header.is-stuck, .nav-open .site-header { background: rgba(6, 7, 11, .78); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 1.2rem; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); flex: none; }
.logo-word { font-family: var(--display); font-size: 1.22rem; letter-spacing: -.03em; line-height: 1; }
.logo-a { font-weight: 300; color: #cfd5e2; }
.logo-b { font-weight: 700; color: #fff; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.main-nav a { display: block; padding: .55rem .8rem; border-radius: 99px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; transition: color .2s, background-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); align-items: center; justify-content: center; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .in-header { display: none; }
  .main-nav { position: fixed; inset: var(--head-h) 0 0 0; margin: 0; padding: 1.2rem var(--gutter) 2rem; background: rgba(6, 7, 11, .97); overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-family: var(--display); font-size: 1.35rem; padding: .85rem 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: none; color: var(--red-soft); }
  .nav-extra { display: grid; gap: 1rem; justify-items: start; }
  .nav-extra .btn { width: 100%; }
}
@media (max-width: 420px) { .header-trial { display: none; } }

.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 60%); padding: clamp(3rem, 6vw, 5rem) 0 calc(2rem + env(safe-area-inset-bottom)); margin-top: var(--sec); }
.foot-top { display: grid; gap: 2.5rem; }
.foot-brand p { color: var(--muted); max-width: 34ch; margin: 1rem 0 1.2rem; }
.foot-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.foot-h { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: .9rem; font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: .95rem; display: inline-block; padding: .32rem 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .86rem; }
.foot-bottom p { margin-bottom: .6em; }
.foot-note a { color: var(--muted); }
@media (min-width: 700px) { .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 1fr 2.2fr; } .foot-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.mcta { position: fixed; inset: auto 0 0 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 10, 16, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .4s var(--ease); }
.mcta.is-on { transform: none; }
.mcta-in { display: flex; align-items: center; gap: .5rem; }
.mcta-text { margin-right: auto; display: grid; line-height: 1.15; }
.mcta-from { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.mcta-text strong { font-family: var(--display); font-size: 1.1rem; }
@media (min-width: 800px) { .mcta { display: none !important; } }

.consent { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: 12px; max-width: 520px; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: #10141f; border: 1px solid var(--line-2); box-shadow: 0 20px 60px -20px #000; font-size: .9rem; color: var(--muted); }
.consent p { margin-bottom: .8rem; }
.consent-btns { display: flex; gap: .5rem; justify-content: flex-end; }
@media (max-width: 799px) { .consent { bottom: 84px; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); padding: calc(var(--head-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem); display: flex; align-items: center; overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(60% 55% at 78% 38%, rgba(255, 45, 70, .2), transparent 70%),
  radial-gradient(55% 60% at 88% 70%, var(--blue-glow), transparent 70%),
  radial-gradient(80% 60% at 10% 0%, rgba(20, 32, 70, .8), transparent 70%),
  linear-gradient(180deg, var(--navy) 0%, var(--ink) 85%); }
.hero-beam { position: absolute; left: 46%; top: -30%; width: 46%; height: 150%; background: linear-gradient(100deg, transparent 30%, rgba(255, 70, 90, .13) 50%, transparent 70%); transform: rotate(14deg); filter: blur(24px); animation: beam 9s ease-in-out infinite alternate; }
.hero-grid-lines { position: absolute; inset: auto 0 0 0; height: 46%; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; pointer-events: none; transition: opacity 1.2s ease; }
.hero.is-3d .hero-canvas { opacity: 1; }
.hero-in { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { margin: 0 0 1.2rem; display: grid; gap: 1.1rem; }
.hero-kicker { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--red-soft); display: flex; align-items: center; gap: .7em; line-height: 1.4; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255, 45, 70, .18), 0 0 18px var(--red); flex: none; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; line-height: .98; letter-spacing: -.04em; }
.hero-title em { font-style: normal; display: block; background: linear-gradient(100deg, #fff 0%, #ffb9bf 38%, var(--red) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions.is-center { justify-content: center; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts .ico { color: var(--red-soft); }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; width: 30px; height: 48px; margin-left: -15px; display: none; }
.hero-scroll-line { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(var(--line-2), transparent); overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: drip 2.2s var(--ease) infinite; }

.hero-stage { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 16 / 12; --px: 0; --py: 0; }
.stage3d { position: absolute; inset: 0; perspective: 1100px; transform-style: preserve-3d; }
.tv { position: absolute; left: 6%; right: 6%; top: 14%; aspect-ratio: 16 / 9.4; transform: rotateY(calc(-16deg + var(--px) * 5deg)) rotateX(calc(5deg - var(--py) * 4deg)); transform-style: preserve-3d; transition: opacity .8s ease; animation: float-a 8s ease-in-out infinite; }
.hero.is-3d .tv { opacity: 0; }
.tv-screen { position: absolute; inset: 0; border-radius: 14px; padding: 5%; background: linear-gradient(135deg, #1b2445 0%, #0c1022 45%, #2a0d1b 100%); border: 2px solid #232838; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 90px -20px rgba(255, 45, 70, .45), 0 0 120px -10px rgba(70, 110, 255, .28); overflow: hidden; }
.tv-ui { display: grid; gap: 7%; height: 100%; grid-template-rows: auto 1fr auto; }
.tv-ui-top { display: flex; align-items: center; gap: 3%; }
.tv-dot { width: 3%; aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.tv-bar { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.w15 { width: 15%; } .w30 { width: 30%; } .w40 { width: 40%; } .w55 { width: 55%; }
.tv-ui-top .w15 { margin-left: auto; }
.tv-ui-hero { border-radius: 10px; background: linear-gradient(120deg, rgba(255, 45, 70, .55), rgba(255, 120, 90, .18) 55%, rgba(60, 90, 220, .35)); padding: 6% 5%; display: grid; align-content: end; gap: 8px; }
.tv-ui-hero .tv-bar { height: 9px; background: rgba(255, 255, 255, .78); }
.tv-ui-hero .w30 { background: rgba(255, 255, 255, .4); height: 6px; }
.tv-pill { width: 22%; height: 16px; border-radius: 99px; background: #fff; margin-top: 4px; }
.tv-ui-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3%; }
.tv-ui-row i { aspect-ratio: 16 / 10; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.tv-ui-row i.on { background: linear-gradient(135deg, var(--red), #7a1230); box-shadow: 0 0 0 2px #fff; }
.tv-sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .09) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 7s ease-in-out infinite; }
.tv-base { position: absolute; left: 12%; right: 12%; bottom: -9%; height: 5px; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--red), transparent); filter: blur(1px); opacity: .9; }
.float { position: absolute; padding: .8rem .95rem; border-radius: 14px; background: linear-gradient(180deg, rgba(28, 33, 50, .82), rgba(14, 17, 28, .72)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); font-size: .78rem; transform: translate3d(calc(var(--px) * var(--z) * -26px), calc(var(--py) * var(--z) * -20px), 0); will-change: transform; }
.float-h { display: flex; align-items: center; gap: .45rem; margin: 0 0 .55rem; font-family: var(--display); font-weight: 600; font-size: .78rem; color: #fff; }
.float-h .ico { color: var(--red-soft); width: 1.1em; height: 1.1em; }
.float-h span { margin-left: auto; color: var(--dim); font-weight: 500; padding-left: 1rem; }
.float-s { margin: .5rem 0 0; color: var(--muted); font-size: .74rem; }
.f-guide { --z: .9; left: -2%; top: 2%; width: min(46%, 230px); animation: float-b 9s ease-in-out infinite; }
.f-guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .32rem; }
.f-guide li { position: relative; display: flex; gap: .55rem; padding: .34rem .5rem; border-radius: 8px; color: var(--muted); overflow: hidden; }
.f-guide li b { font-variant-numeric: tabular-nums; color: var(--dim); font-weight: 600; }
.f-guide li.on { background: rgba(255, 255, 255, .08); color: #fff; }
.f-guide li.on b { color: var(--red-soft); }
.f-guide li i { position: absolute; left: 0; bottom: 0; height: 2px; width: 46%; background: var(--red); }
.f-conn { --z: 1.3; right: -3%; bottom: 3%; animation: float-a 7s ease-in-out infinite reverse; }
.f-conn-row { display: flex; gap: .4rem; }
.f-conn-row span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--dim); }
.f-conn-row span.on { background: rgba(255, 45, 70, .16); border-color: rgba(255, 100, 112, .6); color: #fff; box-shadow: 0 0 18px -4px var(--glow); }
.f-cur { --z: .6; right: 2%; top: 0; display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .5rem; border-radius: 99px; animation: float-b 10s ease-in-out infinite reverse; }
.f-cur-sym { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0a0c12; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.f-cur-t { font-weight: 700; color: #fff; }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
  .hero-stage { width: 100%; max-width: 620px; margin-right: -2%; }
  .hero-scroll { display: block; }
}
@media (max-width: 520px) { .float { font-size: .7rem; padding: .6rem .7rem; } .f-guide { width: 52%; } .f-conn-row span { width: 28px; height: 28px; } }

/* ---------- 7. Home sections ---------- */
.sec { position: relative; padding-block: var(--sec) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-center .eyebrow { justify-content: center; }
.sec-head.is-center .eyebrow::before { display: none; }
.sec-lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); }
.sec-more { margin: 2rem 0 0; }
.sec-more.is-center { text-align: center; }
.sec-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.sec-glow { position: absolute; inset: 10% 0 auto 0; height: 70%; z-index: -1; background: radial-gradient(50% 50% at 50% 40%, rgba(255, 45, 70, .13), transparent 70%), radial-gradient(40% 50% at 20% 60%, var(--blue-glow), transparent 70%); pointer-events: none; }

.intro-grid { display: grid; gap: 1.5rem; }
.statement { font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; background: linear-gradient(180deg, #fff 30%, #9aa3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stats dt { color: var(--muted); font-size: .92rem; margin-top: .6rem; max-width: 22ch; }
@media (min-width: 860px) { .intro-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: end; } .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats div { border-bottom: 0; border-left: 1px solid var(--line); padding-left: 1.5rem; } .stats div:first-child { border-left: 0; padding-left: 0; } }

.bento { display: grid; gap: 14px; }
.bento-card { position: relative; padding: clamp(1.4rem, 2.4vw, 2rem); overflow: hidden; }
.bento-card h3 { margin-bottom: .5rem; }
.bento-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.bento-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1.3rem; background: linear-gradient(135deg, rgba(255, 45, 70, .22), rgba(255, 45, 70, .04)); border: 1px solid rgba(255, 100, 112, .35); color: #ffc3c8; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento-card { grid-column: span 2; } .bento-card:nth-child(1), .bento-card:nth-child(5) { grid-column: span 3; } .bento-card:nth-child(2), .bento-card:nth-child(4) { grid-column: span 3; } .bento-card:nth-child(3), .bento-card:nth-child(6) { grid-column: span 3; } .bento-card:nth-child(1) { grid-column: span 4; } .bento-card:nth-child(2) { grid-column: span 2; } .bento-card:nth-child(5) { grid-column: span 2; } .bento-card:nth-child(6) { grid-column: span 4; } }

/* Cards that tilt in 3D and carry a pointer-following light. */
.tilt { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%; position: relative; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .08s linear, border-color .3s, box-shadow .3s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 60%); }
.tilt:hover::after { opacity: 1; }
@media (hover: hover) { .glass.tilt:hover { border-color: rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); } }

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; counter-reset: flow; }
.flow-step { position: relative; padding: 0 0 2.2rem 76px; }
.flow-step h3 { margin-bottom: .35rem; }
.flow-step p { color: var(--muted); margin: 0; font-size: .98rem; }
.flow-node { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--char); border: 1px solid var(--line-2); color: #fff; z-index: 1; }
.flow-step::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: 0; width: 2px; background: linear-gradient(var(--red) 0 40%, transparent 40%) 0 0 / 2px 14px repeat-y; opacity: .6; animation: signal-y 1.2s linear infinite; }
.flow-step:last-child::before { display: none; }
.flow-step:last-child .flow-node { background: linear-gradient(135deg, var(--red-btn), var(--red-btn-2)); border-color: transparent; box-shadow: 0 10px 34px -8px var(--glow); }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .flow-step { padding: 84px 0 0 0; }
  .flow-step::before { left: 54px; right: -2rem; top: 26px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--red) 0 40%, transparent 40%) 0 0 / 14px 2px repeat-x; animation-name: signal-x; }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step { position: relative; padding: 1.6rem 1.5rem 1.5rem; overflow: hidden; }
.step-n { display: block; font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; margin-bottom: 1.4rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 100, 112, .65); }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.tech { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tech-item { display: flex; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.tech-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--red-soft); }
.tech-item h3 { margin-bottom: .3rem; }
.tech-item p { color: var(--muted); margin: 0; }
@media (min-width: 860px) { .tech { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }

.final { position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 4rem); border-radius: 28px; }
.final .eyebrow { justify-content: center; }
.final .eyebrow::before { display: none; }
.final h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
.final .sec-lead { max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }
.final-glow, .trial-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 110%, rgba(255, 45, 70, .38), transparent 70%), radial-gradient(40% 60% at 85% 0%, var(--blue-glow), transparent 70%); }

/* ---------- 8. Pricing ---------- */
.calc { display: grid; gap: 18px; }
.calc-controls { display: grid; gap: 1.2rem; padding: 1.2rem; }
.seg-conn .seg-opt { flex: 1 1 calc(20% - 6px); min-width: 54px; }
@media (max-width: 560px) { .seg-conn .seg-opt span { flex-direction: column; gap: 0; font-size: .7rem; padding: .35rem .2rem; min-height: 54px; } }
@media (min-width: 860px) { .calc-controls { grid-template-columns: 1fr auto; align-items: end; padding: 1.3rem 1.5rem; } }

.plans { display: grid; gap: 16px; align-items: stretch; }
.plan { border-radius: 22px; padding: 1.5px; background: rgba(255, 255, 255, .15); cursor: pointer; }
.plan-in { position: relative; z-index: 1; height: 100%; padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; border-radius: 20.5px; background: linear-gradient(180deg, #121624, #0b0e17); }
.plan-glow { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s; background: conic-gradient(from var(--ang, 0deg), transparent 0 25%, var(--red) 40%, #ffb0b6 50%, var(--red) 60%, transparent 75% 100%); animation: spin 5s linear infinite paused; }
.plan:hover .plan-glow, .plan.is-selected .plan-glow, .plan-featured .plan-glow { opacity: 1; animation-play-state: running; }
.plan.is-selected { box-shadow: 0 30px 80px -30px var(--glow); border-color: transparent; }
.plan-featured { order: -1; }
.plan-featured .plan-in { background: radial-gradient(120% 70% at 50% 0%, rgba(255, 45, 70, .22), transparent 60%), linear-gradient(180deg, #171526, #0b0e17); }
.plan-badges { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 28px; margin-bottom: 1rem; }
.plan-pick { display: flex; align-items: center; gap: .7rem; cursor: pointer; margin-bottom: 1.1rem; }
.plan-pick input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--line-2); background: transparent; transition: border-color .2s, box-shadow .2s; }
.plan-pick input:checked { border-color: var(--red); box-shadow: inset 0 0 0 4px #0b0e17, inset 0 0 0 12px var(--red); }
.plan-name { font-family: var(--display); font-weight: 650; font-size: 1.2rem; letter-spacing: -.02em; }
.plan-name em { font-style: normal; color: var(--red-soft); font-size: .88rem; white-space: nowrap; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.3rem); line-height: 1; letter-spacing: -.045em; margin: 0; }
.plan-total-note { color: var(--dim); font-size: .86rem; margin: .45rem 0 1.1rem; }
.plan-monthly { margin: 0 0 .35rem; font-weight: 700; }
.plan-monthly .muted { font-weight: 500; font-size: .9rem; }
.plan-save { min-height: 1.5em; margin: 0 0 1.4rem; color: #ffb3ba; font-size: .9rem; font-weight: 600; }
.plan .btn { margin-top: auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan-featured { order: 0; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.035); z-index: 2; } }

.calc-summary { padding: 1.3rem; display: grid; gap: 1.2rem; }
.sum-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
.sum-grid dt { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); font-family: var(--display); font-weight: 600; margin-bottom: .2rem; }
.sum-grid dd { margin: 0; font-weight: 700; font-size: 1.02rem; }
.sum-total dd { font-family: var(--display); font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.1; }
.sum-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
@media (min-width: 860px) { .calc-summary { grid-template-columns: 1fr auto; align-items: center; padding: 1.5rem 1.8rem; } .sum-grid { grid-template-columns: repeat(4, auto); justify-content: start; gap: 2.4rem; } .calc-summary .fine { grid-column: 1 / -1; } }

.cmp-bar { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.cmp-table th, .cmp-table td { padding: 0; border-bottom: 1px solid var(--line); text-align: center; }
.cmp-table thead th { padding: 1rem .8rem; font-family: var(--display); font-size: .95rem; font-weight: 650; background: rgba(255, 255, 255, .03); }
.cmp-table tbody th { padding: .9rem 1rem; text-align: left; font-weight: 600; color: var(--muted); white-space: nowrap; position: sticky; left: 0; background: #0b0d14; }
.cmp-table thead th:first-child { text-align: left; padding-left: 1rem; position: sticky; left: 0; background: #0e1119; color: var(--dim); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.cmp-table tbody th b { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.th-bonus { display: block; font-size: .72rem; color: var(--red-soft); letter-spacing: .04em; margin-top: .15rem; }
.cmp-table .is-featured { background: rgba(255, 45, 70, .07); }
.cmp-cell { display: block; padding: .95rem .8rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: background-color .2s, color .2s; }
.cmp-cell:hover, .cmp-cell.is-selected { background: #fff; color: #0a0c12; }
.cmp-cell small { font-weight: 500; opacity: .7; font-size: .78em; }
.cmp-monthly, .cmp[data-mode="monthly"] .cmp-total { display: none; }
.cmp[data-mode="monthly"] .cmp-monthly { display: inline; }

.conn { display: grid; gap: 14px; align-items: stretch; }
.conn-card { padding: 1.5rem; }
.conn-card.is-live { border-color: rgba(255, 100, 112, .45); background: linear-gradient(180deg, rgba(255, 45, 70, .1), rgba(255, 255, 255, .02)); }
.conn-label { font-family: var(--display); font-weight: 650; font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
.conn-card p { color: var(--muted); font-size: .97rem; }
.conn-card .conn-key { color: var(--text); margin: 0; font-weight: 600; }
.scr-row { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.scr { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--dim); }
.scr.is-on { border-style: solid; border-color: rgba(255, 100, 112, .7); background: rgba(255, 45, 70, .16); color: #fff; box-shadow: 0 0 22px -6px var(--glow); animation: pulse 2.4s ease-in-out infinite; }
.scr.is-on:nth-child(2) { animation-delay: .4s; } .scr.is-on:nth-child(3) { animation-delay: .8s; }
.conn-vs { display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; }
.conn-foot { color: var(--muted); margin: .4rem 0 0; }
@media (min-width: 800px) { .conn { grid-template-columns: 1fr auto 1fr; } .conn-foot { grid-column: 1 / -1; max-width: 80ch; } }

/* ---------- 9. Devices / regions / FAQ / trial / articles ---------- */
.dev { display: grid; gap: 14px; }
.dev-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dev-tabs::-webkit-scrollbar { display: none; }
.dev-tab { display: flex; align-items: center; gap: .6rem; flex: none; min-height: 50px; padding: 0 1.1rem; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: .95rem; transition: all .25s var(--ease); }
.dev-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.dev-tab.is-on { background: #fff; color: #0a0c12; border-color: #fff; }
.dev-panels { padding: clamp(1.2rem, 3vw, 2.4rem); overflow: hidden; }
.dev-panel { display: grid; gap: 1.5rem; align-items: center; }
.js .dev-panel:not(.is-on) { display: none; }
.dev-panel + .dev-panel { margin-top: 2rem; }
.js .dev-panel + .dev-panel { margin-top: 0; }
.js .dev-panel.is-on { animation: panel-in .55s var(--ease) both; }
.dev-art { position: relative; border-radius: var(--radius); background: radial-gradient(70% 70% at 50% 40%, rgba(60, 90, 220, .2), transparent 70%), #0a0d16; border: 1px solid var(--line); padding: 1.5rem; }
.device-art { display: block; width: 100%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.dev-art-glow { position: absolute; left: 20%; right: 20%; bottom: 10%; height: 30%; background: var(--red); filter: blur(60px); opacity: .28; }
.a-body { fill: #181d2b; stroke: #3a4258; stroke-width: 1.5; }
.a-screen { fill: #0c1020; stroke: #2a3146; stroke-width: 1; }
.a-line { fill: none; stroke: #6b7590; stroke-width: 3; stroke-linecap: round; }
.a-accent { fill: var(--red); }
.a-accent-line { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.a-tile { fill: #1f2638; }
.a-tile-on { fill: #c1122d; stroke: #fff; stroke-width: 2; }
.dev-info h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.dev-info p { color: var(--muted); }
@media (min-width: 860px) { .dev { grid-template-columns: 250px 1fr; gap: 18px; } .dev-tabs { flex-direction: column; overflow: visible; } .dev-panel { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

.regions { display: grid; gap: 14px; justify-items: center; }
.region-card { width: 100%; padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; overflow: hidden; transition: opacity .4s, transform .5s var(--ease), border-color .4s; }
.region-sym { position: absolute; right: -.05em; top: -.3em; font-family: var(--display); font-weight: 700; font-size: 11rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); pointer-events: none; }
.region-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.region-card p { color: var(--muted); max-width: 44ch; }
.region-from { font-size: 1.05rem; }
.region-from strong { color: #fff; font-family: var(--display); font-size: 1.35rem; }
.city-row { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.city-row li { font-size: .82rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: .22em .8em; }
.region-links { display: grid; gap: .6rem; }
html[data-region="uk"] .region-uk, html[data-region="ie"] .region-ie { border-color: rgba(255, 100, 112, .55); background: linear-gradient(180deg, rgba(255, 45, 70, .12), rgba(255, 255, 255, .02)); }
html[data-region="uk"] .region-uk .region-sym, html[data-region="ie"] .region-ie .region-sym { -webkit-text-stroke-color: rgba(255, 100, 112, .55); }
@media (max-width: 799px) { html[data-region="uk"] .region-ie, html[data-region="ie"] .region-uk { display: none; } }
@media (min-width: 800px) { .regions { grid-template-columns: 1fr 1fr; } .regions > .seg { grid-column: 1 / -1; margin-bottom: .6rem; } html[data-region="uk"] .region-ie, html[data-region="ie"] .region-uk { opacity: .55; } }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: clamp(1.02rem, 1.5vw, 1.15rem); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq-item[open] summary .ico { transform: rotate(45deg); background: #fff; color: #0a0c12; }
.faq-item summary:hover { color: #fff; }
.faq-a { overflow: hidden; color: var(--muted); max-width: 70ch; }
.faq-a > :last-child { margin-bottom: 1.4rem; }

.trial { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 24px; }
.trial .h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: .6rem; }
.trial p { color: var(--muted); margin: 0; max-width: 56ch; }
.trial .eyebrow { margin-bottom: .8rem; }
.trial-actions { display: grid; gap: .8rem; justify-items: start; }
@media (min-width: 860px) { .trial { grid-template-columns: 1fr auto; } .trial-actions { justify-items: center; } }

.inline-cta { display: grid; gap: 1rem; padding: 1.3rem 1.4rem; align-items: center; }
.inline-cta .eyebrow { margin-bottom: .4rem; }
.inline-cta-t { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: #fff; }
.inline-cta-b { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 720px) { .inline-cta { grid-template-columns: 1fr auto; } }

.cards-articles { display: grid; gap: 14px; }
.card-article { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); overflow: hidden; }
.card-article-in { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; height: 100%; padding: 1.5rem; color: inherit; text-decoration: none; }
.card-article-img { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem .4rem; aspect-ratio: 16 / 9; object-fit: cover; }
.card-article h3 { margin: 0; font-size: 1.22rem; color: #fff; }
.card-article p { margin: 0; color: var(--muted); font-size: .95rem; }
.card-article .link-arrow { margin-top: auto; padding-top: .4rem; font-size: .92rem; }
.card-article:hover { border-color: rgba(255, 100, 112, .5); }
@media (min-width: 640px) { .cards-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-articles { grid-template-columns: repeat(3, 1fr); } }

.asearch-field { position: relative; }
.asearch-field .ico { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--dim); }
.asearch-field input { width: 100%; min-height: 58px; padding: 0 1.2rem 0 3.1rem; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 1.05rem; }
.asearch-field input::placeholder { color: var(--dim); }
.asearch-field input:focus { outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 4px rgba(255, 45, 70, .18); }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 .4rem; }
.chip-btn { min-height: 38px; padding: 0 1em; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-weight: 600; font-size: .88rem; }
.chip-btn.is-on { background: #fff; color: #0a0c12; border-color: #fff; }
.asearch-status { color: var(--dim); font-size: .88rem; margin: .6rem 0 1.2rem; }

.contact { display: grid; gap: 1.5rem; }
.contact-form { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; border-radius: 12px; border: 1px solid var(--line-2); background: #0c0f18; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 4px rgba(255, 45, 70, .18); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.5em; color: var(--muted); font-size: .95rem; }
.form-status.is-error { color: #ff9aa3; }
.contact-direct { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; color: var(--muted); }
.contact-direct li { display: flex; gap: .7rem; align-items: center; }
.contact-direct .ico { color: var(--red-soft); }
.reviews { display: grid; gap: 14px; }
.review { margin: 0; padding: 1.5rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.review figcaption { color: var(--dim); font-size: .9rem; }
@media (min-width: 800px) { .reviews { grid-template-columns: 1fr 1fr; } }
.facts { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; }

/* ---------- 10. Documents (pages, guides, legal) ---------- */
.doc-head { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--head-h) + clamp(2.2rem, 6vw, 4.5rem)) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.doc-head-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 85% 0%, rgba(255, 45, 70, .2), transparent 70%), radial-gradient(50% 90% at 10% 0%, rgba(24, 40, 90, .85), transparent 70%), var(--navy); }
.doc-head h1 { max-width: 22ch; font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 64ch; margin: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1.6rem 0 0; font-size: .88rem; color: var(--dim); }
.doc-meta-note { flex-basis: 100%; }
.doc-meta a { color: var(--muted); }
.crumbs ol { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .55rem; font-size: .86rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

.doc-grid { padding-top: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.prose { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.prose > * { width: min(100%, 46rem); margin-inline: auto; }
.prose > .embed, .doc-wide .prose > .wide { width: 100%; margin-block: 1.4rem 2.2rem; }
.has-toc .prose > * { margin-inline: 0; }
.has-toc .prose > .embed { width: 100%; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
.prose h3 { margin-top: 1.9rem; }
.prose > h2:first-child, .prose > .doc-img + h2 { margin-top: 0; }
.prose ul, .prose ol { margin: 0 auto 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--red-soft); font-weight: 700; }
.prose strong { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.prose > .table-scroll, .prose .table-wrap { margin-bottom: 1.6rem; }
.prose table th, .prose table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose table thead th { font-family: var(--display); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); background: rgba(255, 255, 255, .03); }
.prose table tr:last-child td { border-bottom: 0; }
.prose blockquote { margin-block: 0 1.4em; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--red); color: var(--muted); }
.prose .callout { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; background: rgba(255, 255, 255, .03); margin-bottom: 1.5rem; }
.prose .callout > :last-child { margin-bottom: 0; }
.prose .callout-key { border-color: rgba(255, 100, 112, .4); background: rgba(255, 45, 70, .06); }
.prose .callout h2, .prose .callout h3 { margin-top: 0; font-size: 1.1rem; }
.doc-img { border-radius: var(--radius); margin-bottom: 2rem; border: 1px solid var(--line); }
.link-inline { font-weight: 700; }
.toc-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; background: rgba(255, 255, 255, .025); }
.toc-box summary { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); cursor: pointer; }
.toc-box ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc-box a { display: block; padding: .32rem 0 .32rem .9rem; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.toc-box a:hover, .toc-box a.is-active { color: #fff; border-left-color: var(--red); }
@media (min-width: 1040px) { .has-toc .doc-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 4rem; } .toc { position: sticky; top: calc(var(--head-h) + 20px); align-self: start; max-height: calc(100vh - var(--head-h) - 40px); overflow-y: auto; } }
.doc-after { display: grid; gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); }
.related .h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.4rem; }
.nf .doc-head { min-height: 70svh; display: flex; align-items: center; border-bottom: 0; }
.nf .hero-actions { margin-top: 2rem; }

/* ---------- 11. Motion ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
@keyframes beam { from { transform: rotate(14deg) translateX(-6%); opacity: .7; } to { transform: rotate(10deg) translateX(8%); opacity: 1; } }
@keyframes float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
@keyframes sheen { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes drip { to { top: 110%; } }
@keyframes signal-x { to { background-position: 14px 0; } }
@keyframes signal-y { to { background-position: 0 14px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 22px -8px var(--glow); } 50% { box-shadow: 0 0 26px 0 var(--glow); } }
@keyframes panel-in { from { opacity: 0; transform: perspective(900px) rotateY(-8deg) translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) scale(1.01); } }

/* Scroll reveals: only gated once the observer is running (.io), so content is never hidden without JS. */
.io .reveal { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.io .reveal.in { opacity: 1; translate: 0 0; }

/* Depth on scroll, CSS-only where scroll-driven animation is supported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-glow { animation: drift linear both; animation-timeline: view(); }
    .region-sym { animation: drift-sm linear both; animation-timeline: view(); }
    .hero-copy { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .hero-stage { animation: hero-out-stage linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .doc-head-glow { animation: drift-sm linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  }
}
@keyframes drift { from { translate: 0 18%; } to { translate: 0 -18%; } }
@keyframes drift-sm { from { translate: 0 0; } to { translate: 0 60px; } }
@keyframes hero-out { to { opacity: .15; translate: 0 -60px; } }
@keyframes hero-out-stage { to { opacity: .3; translate: 0 -110px; scale: .94; } }

/* Page-to-page transitions (cross-document View Transitions; ignored where unsupported). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .io .reveal { opacity: 1; translate: none; }
  .tilt { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
