/* IPTV Xtream (iptvxtream.org)
   Crisp, technical look: white and ink-navy, electric violet (#4f2fe0)
   with a teal signal accent (#18d4c4), squared corners, grid motif. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5fc;
  --surface: #ffffff;
  --ink: #120d2b;
  --ink-2: #1d1645;
  --text: #17142e;
  --text-soft: #4d4a66;
  --text-mute: #7a7794;
  --violet: #4f2fe0;
  --violet-dark: #3b1fc0;
  --violet-tint: #efebff;
  --teal: #18d4c4;
  --teal-dark: #0e9e92;
  --line: #e4e1f2;
  --ok: #0d8a5f;
  --ok-bg: #e6f7f0;
  --err: #c0262d;
  --err-bg: #fdeced;
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 0 rgba(18, 13, 43, 0.04), 0 10px 30px -18px rgba(18, 13, 43, 0.25);
  --shadow-up: 0 18px 40px -20px rgba(79, 47, 224, 0.45);
  --w: 1180px;
  --w-prose: 760px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Manrope", "Segoe UI", -apple-system, sans-serif; font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration: none; font-weight: 600; }
a:hover { color: var(--violet-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: "Sora", "Manrope", sans-serif; color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 0.55em; }
h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-soft); }
ul, ol { color: var(--text-soft); }
strong { color: var(--ink); }

.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--w-prose); }
.prose h2 { margin-top: 2.1em; padding-top: 0.2em; }
.prose h2:first-of-type { margin-top: 0.6em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--violet); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand-mark { flex-shrink: 0; display: flex; }
.brand-mark svg { display: block; height: 32px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.main-nav a { color: var(--text); font-weight: 600; font-size: 0.9rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--teal); text-decoration: none; }
.header-cta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.main-nav-cta { display: none; }

@media (max-width: 1040px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; margin: 0; border-top: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); overflow-y: auto; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .main-nav-cta { display: grid; gap: 10px; margin-top: 18px; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 0.93rem; padding: 11px 20px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-up); }
.btn-primary:hover { background: var(--violet-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 50px 0; }
.section-head { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-head.left { margin: 0 0 34px; text-align: left; }
.eyebrow { display: inline-block; font-family: "Sora", sans-serif; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; padding-left: 14px; position: relative; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--teal); }
.bg-quiet { background: var(--bg-alt); }
.bg-dark { background: var(--ink); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255, 255, 255, 0.72); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 66px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-copy p.lead { font-size: 1.13rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-media svg, .hero-media img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { max-width: 480px; } }
.hero-solo { text-align: center; }
.hero-solo .hero-grid { grid-template-columns: 1fr; justify-items: center; }
.hero-solo .hero-copy p.lead { margin: 0 auto; }
.hero-solo .hero-actions { justify-content: center; }

.hero-dark { background-color: var(--ink); background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 34px 34px; }
.hero-dark::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(79, 47, 224, 0.55), transparent 65%); pointer-events: none; }
.hero-dark h1 { color: #fff; }
.hero-dark h1 em { font-style: normal; color: var(--teal); }
.hero-dark .eyebrow { color: var(--teal); }
.hero-dark .hero-copy p.lead { color: rgba(255, 255, 255, 0.76); }
.hero-dark .btn-ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero-dark .btn-ghost-on-dark:hover { background: #fff; color: var(--ink); }
.hero-dark .hero-media svg { border-color: rgba(255, 255, 255, 0.14); }
.hero-aurora { display: none; }

.hero-trust-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-dark .hero-trust-inner { border-top-color: rgba(255, 255, 255, 0.12); }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.hero-dark .trust-item { color: rgba(255, 255, 255, 0.85); }
.trust-check { width: 14px; height: 14px; border: 2px solid var(--teal); border-radius: 2px; position: relative; }
.trust-check::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); }

/* Stats */
.stats-strip { background: var(--violet); padding: 30px 0; }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-item { display: flex; flex-direction: column; padding: 4px 22px; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.stat-item:last-child { border-right: 0; }
.stat-number { font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(1.6rem, 1.8vw + 1rem, 2.2rem); color: #fff; letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) { .stats-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } .stat-item { padding: 4px 12px; } .stat-item:nth-child(2) { border-right: 0; } .stat-number { font-size: 1.5rem; } }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.card:hover { border-color: #cfc8f5; box-shadow: var(--shadow); }
.card h3, .card .card-title { margin-bottom: 8px; }
.card .card-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.card p { margin: 0; font-size: 0.95rem; }
.card-accent { border-left: 4px solid var(--violet); }
.feature-icon { width: 40px; height: 40px; border-radius: var(--r); background: var(--ink); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.85rem; margin-bottom: 14px; }

/* Badges */
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; padding: 4px 9px; border-radius: 3px; background: var(--violet-tint); color: var(--violet); }
.badge-brand { background: var(--teal); color: var(--ink); }
.badge-success { background: var(--ok-bg); color: var(--ok); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 22px 24px; }
.plan-card.highlight { border: 2px solid var(--violet); box-shadow: var(--shadow-up); }
.plan-card .tag { position: absolute; top: -12px; right: 18px; }
.plan-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); }
.plan-price { font-family: "Sora", sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin: 4px 0 8px; }
.plan-permonth { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; font-weight: 600; color: var(--violet); margin-bottom: 14px; }
.plan-card ul { list-style: none; padding: 14px 0 0; margin: 0 0 22px; border-top: 1px dashed var(--line); font-size: 0.9rem; }
.plan-card li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.plan-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--teal); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.plan-card .btn { margin-top: auto; }
.plan-secondary-link { display: block; text-align: center; margin-top: 12px; font-size: 0.84rem; color: var(--text-mute); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: 0.93rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--violet-tint); color: var(--ink); font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.86rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; color: var(--ink); }

/* FAQ */
.faq-list { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 3px; background: var(--violet-tint); color: var(--violet); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; background: var(--violet); color: #fff; }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p:last-child { margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 17px; }
.step { position: relative; display: flex; gap: 18px; padding: 0 0 26px 30px; }
.step:last-child { padding-bottom: 0; }
.step .num { counter-increment: step; position: absolute; left: -19px; top: 0; width: 36px; height: 36px; border-radius: var(--r); background: var(--ink); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.9rem; }
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.step p { margin: 0; font-size: 0.95rem; }

/* Breadcrumbs */
.breadcrumbs { padding-top: 18px; font-size: 0.83rem; color: var(--text-mute); }
.breadcrumbs a { color: var(--text-mute); font-weight: 500; }
.breadcrumbs .sep { margin: 0 7px; }
.breadcrumbs + .hero, .breadcrumbs + section { padding-top: 34px; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--r-lg); padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 10px 40px; align-items: center; }
.cta-banner-glow { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.cta-banner h2 { position: relative; color: #fff; margin: 0; grid-column: 1; }
.cta-banner p { position: relative; color: rgba(255, 255, 255, 0.75); margin: 0; grid-column: 1; }
.cta-banner-actions { position: relative; grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.cta-banner-link { color: var(--teal); font-size: 0.92rem; }
.cta-banner-link:hover { color: #fff; }
@media (max-width: 820px) { .cta-banner { grid-template-columns: 1fr; padding: 40px 24px; } .cta-banner-actions { grid-column: 1; grid-row: auto; margin-top: 14px; } }

/* Forms */
.form-field { margin-bottom: 16px; }
label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(79, 47, 224, 0.15); }
textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.8rem; color: var(--text-mute); margin: 7px 0 0; }
.form-alert { display: none; padding: 13px 15px; border-radius: var(--r); font-size: 0.92rem; margin-bottom: 18px; }
.form-alert.success { background: var(--ok-bg); color: var(--ok); border: 1px solid #b6e6d3; }
.form-alert.error { background: var(--err-bg); color: var(--err); border: 1px solid #f4c4c7; }
.form-alert.visible { display: block; }
form.card { border-top: 4px solid var(--violet); padding: 28px; }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Callouts */
.alert { margin: 18px 0; padding: 16px 18px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line); font-size: 0.94rem; }
.alert p:last-child { margin: 0; }
.alert-brand { background: var(--violet-tint); border-color: #d7cffb; }
.alert-tip { background: #e8fbf9; border-color: #b4ece6; }
.answer-box { position: relative; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 20px 26px; margin: 0 0 26px; }
.answer-box::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; background: linear-gradient(var(--violet), var(--teal)); border-radius: 2px; }
.answer-box p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-about { grid-column: 1 / -1; } }
.footer-about p { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; max-width: 36ch; margin: 14px 0; }
.footer-trial { color: var(--teal); }
.footer-trial:hover { color: #fff; }
.footer-col-title { margin: 0 0 14px; color: #fff; font-family: "Sora", sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid li a { color: rgba(255, 255, 255, 0.72); font-weight: 500; font-size: 0.9rem; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; }
.footer-bottom a { color: var(--teal); }

/* Articles */
h2[id], h3[id] { scroll-margin-top: 90px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--text-mute); margin: 6px 0 24px; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin: 0 0 32px; background: #fff; }
.toc-title { font-family: "Sora", sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 26px; }
.toc li { margin-bottom: 7px; font-size: 0.93rem; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 0.96rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 3px; background: var(--violet); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.key-takeaways { list-style: none; padding: 0; margin: 0; }
.key-takeaways li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.key-takeaways li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 2px; background: var(--violet); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* App list */
.app-row { display: grid; grid-template-columns: 200px 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-row h3 { margin: 0; font-size: 1.05rem; }
.app-row .where { font-size: 0.82rem; color: var(--teal-dark); font-weight: 700; margin: 0 0 4px; }
.app-row p { margin: 0; }
@media (max-width: 640px) { .app-row { grid-template-columns: 1fr; } }

/* Marquee */
.marquee { overflow: hidden; position: relative; padding: 18px 0; background: var(--ink-2); }
.marquee-track { display: flex; width: max-content; gap: 34px; animation: marquee-scroll 40s linear infinite; }
.marquee-item { color: rgba(255, 255, 255, 0.82); font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.marquee-item::before { content: "/"; color: var(--teal); margin-right: 34px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Utilities */
.text-center { text-align: center; }
.small { font-size: 0.86rem; }
.muted { color: var(--text-mute); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 42px 0 40px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.75rem); }
  .container { padding: 0 16px; }
  .card, .plan-card, form.card { padding: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .breadcrumbs { display: none; }
}

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

/* Grid and flex children may shrink below their content's minimum width, so
   wide tables scroll inside .table-wrap instead of widening the page. */
.grid > *, .form-split > *, .split > *, .hero-grid > *, .footer-grid > *, .step > div { min-width: 0; }
h1, h2, h3, p, li, td, th, .answer-box { overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; word-break: break-word; }
