/* =====================================================================
   IPTV STREAMS — SHARED DESIGN SYSTEM
   Single source of truth. Every page links /assets/styles.css.
   LIGHT THEME · WARM CORAL/AMBER ACCENT · SPACE GROTESK + INTER
   ===================================================================== */

/* ---- SELF-HOSTED FONTS (Space Grotesk + Inter, Latin subset) ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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 {
  /* ---- COLOR: warm light base, coral accent (fresh, NOT navy/teal) ---- */
  --bg:            #FFFBF6;   /* page background, warm cream-white */
  --bg-soft:       #FFF3EA;   /* tinted section backgrounds */
  --bg-deep:       #FFE9DD;   /* deeper warm tint for banners */
  --surface:       #FFFFFF;   /* cards, header, footer */
  --surface-2:     #FFF7F1;   /* nested surfaces */
  --ink:           #1B1410;   /* primary text, near-black warm */
  --ink-2:         #4A4039;   /* secondary text */
  --ink-3:         #897D70;   /* muted text / meta */
  --accent:        #FF5A36;   /* CORAL — primary accent */
  --accent-2:      #FF8A3D;   /* amber-orange, secondary accent / gradients */
  --accent-deep:   #D8391A;   /* hover / pressed */
  --accent-soft:   #FFE3D8;   /* accent tint backgrounds */
  --accent-tint:   #FFF1EA;   /* lightest accent tint */
  --success:       #2F8F5B;   /* guarantees, checkmarks context */
  --star:          #F5A623;   /* ratings */
  --border:        #ECE0D2;   /* hairline borders */
  --border-strong: #D8C5B0;   /* emphasized borders */
  --white:         #FFFFFF;

  /* ---- TYPOGRAPHY ---- */
  --font-display:  'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* ---- TYPE SCALE ---- */
  --fs-hero:  clamp(2rem, 5.2vw, 4rem);
  --fs-h2:    clamp(1.85rem, 3.4vw, 2.7rem);
  --fs-h3:    clamp(1.2rem, 1.7vw, 1.4rem);
  --fs-lead:  clamp(1.08rem, 1.4vw, 1.2rem);
  --fs-body:  1.0625rem;          /* 17px — comfortable, >=16 on mobile */
  --fs-sm:    .9rem;
  --fs-xs:    .78rem;

  /* ---- SPACING (8px base; 80px min section padding) ---- */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;  --s-7: 3rem;   --s-8: 5rem; --s-9: 7rem;

  /* ---- RADIUS ---- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* ---- SHADOW ---- */
  --sh-sm:     0 1px 2px rgba(27,20,16,.05), 0 1px 1px rgba(27,20,16,.03);
  --sh-md:     0 6px 22px rgba(27,20,16,.08);
  --sh-lg:     0 18px 50px rgba(27,20,16,.12);
  --sh-accent: 0 10px 28px rgba(255,90,54,.30);

  /* ---- LAYOUT ---- */
  --container: 1200px;
  --reading:   70ch;       /* 65-75 char body measure */
  --header-h:  72px;
  --radius-card: var(--r-lg);
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
}
p { color: var(--ink-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================ LAYOUT ============================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container--reading { max-width: var(--reading); }
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); }

.section__head { max-width: 760px; margin-bottom: var(--s-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint);
  padding: .4rem .8rem; border-radius: var(--r-pill); margin-bottom: var(--s-3);
}
.section__title { font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.section__sub { font-size: var(--fs-lead); color: var(--ink-2); max-width: 64ch; }
.section__head--center .section__sub { margin-inline: auto; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; min-height: 48px;            /* >=44px tap target */
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); box-shadow: var(--sh-sm); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--accent); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.08rem; min-height: 54px; }
.btn--sm { padding: .65rem 1.1rem; font-size: .9rem; min-height: 44px; }
.btn svg { width: 18px; height: 18px; }

/* ============================ BADGES / PILLS ============================ */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: .5rem .9rem; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.pill--accent { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-soft); }
.pill--success { background: #E8F5EE; color: var(--success); border-color: #C7E6D4; }
.pill svg { width: 16px; height: 16px; flex: none; }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }

/* ============================ CARDS ============================ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--s-4);
  background: linear-gradient(135deg, var(--accent-tint), var(--accent-soft));
  color: var(--accent-deep);
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.card__title a:hover { color: var(--accent); }
.card__text { font-size: .98rem; color: var(--ink-2); }
.card__meta { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--s-3); }

/* generic responsive grids */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

/* ============================ HEADER / NAV ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,251,246,.82); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; min-height: 44px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-accent);
}
.logo__mark svg { width: 20px; height: 20px; }
.logo b { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__link { font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: .4rem 0; position: relative; }
.nav__link::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--accent); transition: width .18s ease; }
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: .85rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; color: var(--ink); min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__toggle svg { width: 26px; height: 26px; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: var(--s-7); margin-top: var(--s-8); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer__brand .logo { margin-bottom: var(--s-3); }
.footer__tag { font-size: .92rem; color: var(--ink-3); max-width: 34ch; }
.footer__col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: var(--s-3); }
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a { font-size: .95rem; color: var(--ink-2); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--border); margin-top: var(--s-6); padding-top: var(--s-4); display:flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink-3); }
.footer__bottom a { color: var(--ink-3); }
.footer__bottom a:hover { color: var(--accent); }

/* ============================ HERO ============================ */
.hero { position: relative; padding-block: clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(60% 50% at 85% 0%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(45% 45% at 0% 20%, var(--accent-tint) 0%, transparent 55%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: var(--s-4); }
.hero__title { font-size: var(--fs-hero); margin-bottom: var(--s-4); overflow-wrap: break-word; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: var(--fs-lead); color: var(--ink-2); max-width: 52ch; margin-bottom: var(--s-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: var(--s-4); }
.hero__mini { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--fs-sm); color: var(--ink-3); }
.hero__mini span { display:inline-flex; align-items:center; gap:.4rem; }
.hero__mini svg { width:16px; height:16px; color: var(--success); }

.hero__media { position: relative; }
.hero__img {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  border: 6px solid #fff; aspect-ratio: 16/9; background: var(--surface-2);
}
.hero__img img { width:100%; height:100%; object-fit: cover; }
.hero__float {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: .9rem 1.1rem; box-shadow: var(--sh-lg); display:flex; align-items:center; gap:.7rem;
}
.hero__float .dot { width:10px; height:10px; border-radius:50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,143,91,.18); flex:none; }
.hero__float b { font-family: var(--font-display); display:block; font-size:.95rem; }
.hero__float small { color: var(--ink-3); font-size:.78rem; }
.hero__float2 {
  position:absolute; right:-14px; top:18px; background:var(--ink); color:#fff;
  border-radius: var(--r-lg); padding:.7rem .95rem; box-shadow: var(--sh-lg);
}
.hero__float2 b { font-family: var(--font-display); font-size:1.3rem; color:#fff; }
.hero__float2 small { color:#C9BFB2; font-size:.72rem; }

/* ============================ TRUST STRIP ============================ */
.trust-strip { border-block: 1px solid var(--border); background: var(--surface); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-4); padding-block: var(--s-5); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,3vw,2.2rem); color: var(--accent); line-height:1; }
.stat__label { font-size: var(--fs-sm); color: var(--ink-2); margin-top: .35rem; }

/* ============================ TESTIMONIALS ============================ */
.testi { display:flex; flex-direction:column; gap: var(--s-3); }
.testi__stars { color: var(--star); }
.testi__quote { font-size: 1.02rem; color: var(--ink); line-height:1.6; }
.testi__quote::before { content:"\201C"; color: var(--accent); font-family: var(--font-display); font-size: 2rem; line-height:0; vertical-align:-.3em; margin-right:.15rem; }
.testi__who { font-size: var(--fs-sm); color: var(--ink-3); margin-top: auto; font-weight:600; }

/* ============================ PRICING ============================ */
.pricing { }
#pricing-tabs {
  display: inline-flex; flex-wrap: wrap; gap: .35rem; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: .4rem; border-radius: var(--r-pill); margin-bottom: var(--s-6);
}
.conn-tab {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--ink-2); background: transparent;
  padding: .65rem 1.1rem; border-radius: var(--r-pill); min-height: 42px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.conn-tab:hover { color: var(--accent); }
.conn-tab.active { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.pricing__wrap { position: relative; }
.pricing__grid-group { display: none; }
.pricing__grid-group.active { display: block; }
#pricing-grid,
.pricing__cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch;
}
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem 1.4rem; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--popular { border: 2px solid var(--accent); box-shadow: var(--sh-accent); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing:.06em; text-transform: uppercase;
  padding: .32rem .8rem; border-radius: var(--r-pill); box-shadow: var(--sh-accent); white-space: nowrap;
}
.plan__duration { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 3vw, 2.6rem); color: var(--ink); line-height:1; margin-top: .4rem; }
.plan__price small { font-size:1rem; color: var(--ink-3); font-weight:600; }
.plan__per { font-size: var(--fs-sm); color: var(--ink-3); margin-top: .25rem; margin-bottom: var(--s-4); }
.plan__features { display: flex; flex-direction: column; gap: .55rem; margin-bottom: var(--s-5); flex: 1; }
.plan__features li { display:flex; gap:.5rem; font-size: .9rem; color: var(--ink-2); align-items: flex-start; }
.plan__features li svg { width:17px; height:17px; color: var(--success); flex:none; margin-top:.12rem; }
.plan__cta { margin-top: auto; }
.pricing__note { text-align:center; font-size: var(--fs-sm); color: var(--ink-3); margin-top: var(--s-5); }

/* ============================ TRIAL FORM ============================ */
.trial-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--sh-md);
}
.trial-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.trial-form__field { display:flex; flex-direction:column; gap:.4rem; }
.trial-form__field--full { grid-column: 1 / -1; }
.trial-form__label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.trial-form__input, .trial-form__select {
  width: 100%; padding: .85rem 1rem; min-height: 50px;
  background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  font-size: 1rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.trial-form__input:focus, .trial-form__select:focus { outline:none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.trial-form__submit { margin-top: var(--s-2); width: 100%; }
.trial-form__success { display:none; text-align:center; padding: var(--s-4); }
.trial-form__success.show { display:block; }
.trial-form__success svg { width:48px; height:48px; color: var(--success); margin: 0 auto var(--s-3); }
.trial-form__badges { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-top: var(--s-4); }

/* split layout for trial/contact pages */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }

/* ============================ COMPARISON TABLE ============================ */
.compare { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.compare__card { border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.25rem); border:1px solid var(--border); }
.compare__card--cable { background: var(--surface-2); }
.compare__card--iptv { background: linear-gradient(160deg, var(--accent-tint), #fff); border:2px solid var(--accent); box-shadow: var(--sh-accent); position:relative; }
.compare__tag { font-family: var(--font-display); font-weight:700; font-size: .8rem; text-transform: uppercase; letter-spacing:.08em; color: var(--ink-3); margin-bottom: .5rem; }
.compare__card--iptv .compare__tag { color: var(--accent); }
.compare__price { font-family: var(--font-display); font-weight:700; font-size: 2.6rem; color: var(--ink); line-height:1; margin-bottom: var(--s-4); }
.compare__price small { font-size:1rem; color: var(--ink-3); }
.compare__list { display:flex; flex-direction:column; gap:.7rem; }
.compare__list li { display:flex; gap:.55rem; font-size:.97rem; align-items:flex-start; }
.compare__list .no { color: var(--ink-3); }
.compare__list .yes svg { color: var(--success); }
.compare__list .no svg { color: #C0533B; }
.compare__list svg { width:18px; height:18px; flex:none; margin-top:.12rem; }

/* ============================ FAQ ============================ */
.faq { display:flex; flex-direction:column; gap: .8rem; max-width: 820px; }
.faq__item { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem; color: var(--ink); display:flex; justify-content:space-between; align-items:center; gap:1rem;
}
.faq__item summary::-webkit-details-marker { display:none; }
.faq__item summary::after { content:"+"; font-family: var(--font-display); font-size:1.4rem; color: var(--accent); transition: transform .2s ease; flex:none; }
.faq__item[open] summary::after { content:"\2212"; }
.faq__item[open] summary { color: var(--accent); }
.faq__answer { padding: 0 1.35rem 1.25rem; color: var(--ink-2); font-size: .98rem; line-height:1.65; }

/* ============================ CTA BANNER ============================ */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; padding: clamp(2.25rem, 5vw, 3.5rem); text-align:center; box-shadow: var(--sh-accent);
}
.cta-banner h2 { color:#fff; font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.cta-banner p { color: rgba(255,255,255,.92); font-size: var(--fs-lead); max-width: 52ch; margin: 0 auto var(--s-5); }
.cta-banner .btn--primary { background:#fff; color: var(--accent-deep); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-banner .btn--primary:hover { background: var(--ink); color:#fff; }
.cta-banner::after {
  content:""; position:absolute; width:340px; height:340px; right:-120px; top:-140px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); border-radius:50%;
}

/* ============================ BREADCRUMB ============================ */
.crumbs { font-size: var(--fs-sm); color: var(--ink-3); display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink-3); }

/* ============================ BLOG ============================ */
.post-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s-5); }
.post-card { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.post-card__media { aspect-ratio: 16/9; background: var(--bg-deep); overflow:hidden; }
.post-card__media img { width:100%; height:100%; object-fit:cover; }
.post-card__body { padding: 1.4rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.post-card__cat { font-family: var(--font-display); font-weight:600; font-size: var(--fs-xs); text-transform:uppercase; letter-spacing:.08em; color: var(--accent); }
.post-card__title { font-size: 1.18rem; line-height:1.25; }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { font-size:.92rem; color: var(--ink-2); }
.post-card__more { margin-top:auto; font-family: var(--font-display); font-weight:600; font-size:.9rem; color: var(--accent); }

.article { max-width: var(--reading); margin-inline:auto; }
.article__meta { display:flex; flex-wrap:wrap; gap:.4rem .9rem; align-items:center; font-size: var(--fs-sm); color: var(--ink-3); margin: var(--s-3) 0 var(--s-5); }
.article__body { font-size: 1.08rem; line-height:1.75; color: var(--ink); }
.article__body p { margin-bottom: var(--s-4); color: var(--ink); }
.article__body h2 { font-size: 1.6rem; margin: var(--s-6) 0 var(--s-3); }
.article__body h3 { font-size: 1.25rem; margin: var(--s-5) 0 var(--s-3); }
.article__body ul, .article__body ol { margin: 0 0 var(--s-4) 1.25rem; }
.article__body li { margin-bottom: .5rem; color: var(--ink-2); }
.article__byline { font-size: var(--fs-sm); color: var(--ink-3); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding: var(--s-3) 0; margin: var(--s-5) 0; }

/* ============================ LEGAL PROSE ============================ */
.legal { max-width: 820px; margin-inline:auto; }
.legal h2 { font-size:1.4rem; margin: var(--s-5) 0 var(--s-3); }
.legal h3 { font-size:1.15rem; margin: var(--s-4) 0 var(--s-2); }
.legal p { margin-bottom: var(--s-4); }
.legal ul { margin: 0 0 var(--s-4) 1.25rem; }
.legal li { margin-bottom:.4rem; list-style: disc; }

/* ============================ 404 ============================ */
.notfound { text-align:center; padding-block: var(--s-9); }
.notfound__code { font-family: var(--font-display); font-weight:700; font-size: clamp(5rem, 18vw, 10rem); line-height:1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.notfound__cta { display:flex; gap:.85rem; justify-content:center; flex-wrap:wrap; margin-top: var(--s-5); }

/* ============================ STICKY MOBILE CTA ============================ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); padding: .6rem 1rem;
  display: none; gap: .6rem; align-items:center;
}
.mobile-cta .btn { flex:1; }
.mobile-cta__mini { font-size: var(--fs-xs); color: var(--ink-3); line-height:1.2; }
body { /* room for mobile bar */ }

/* ============================ CHANNEL / DEVICE LISTS ============================ */
.chan-list { display:flex; flex-wrap:wrap; gap:.4rem; margin-top: var(--s-3); }
.chan-list li { font-size: .82rem; font-weight:600; color: var(--ink-2); background: var(--bg-soft); border:1px solid var(--border); padding:.3rem .6rem; border-radius: var(--r-sm); }

/* steps (setup guide) */
.steps { display:flex; flex-direction:column; gap: var(--s-3); counter-reset: step; }
.steps li { position:relative; padding-left: 3rem; font-size:.98rem; color: var(--ink-2); counter-increment: step; min-height:44px; display:flex; align-items:center; }
.steps li::before {
  content: counter(step); position:absolute; left:0; top:0;
  width: 36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff;
  font-family: var(--font-display); font-weight:700; font-size:.95rem;
  display:grid; place-items:center; box-shadow: var(--sh-accent);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--6 { grid-template-columns: repeat(3,1fr); }
  #pricing-grid, .pricing__cards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__media { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  /* ── Scrim behind menu ── */
  body.nav-open::before{
    content:''; position:fixed; inset:var(--header-h) 0 0 0;
    background:rgba(42,24,16,.5);
    -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
    z-index:998; pointer-events:none; opacity:0;
    transition:opacity .3s ease;
  }
  body.nav-open::before{ opacity:1; pointer-events:auto; }
  body.nav-open{ overflow:hidden; }
  /* Lift the sticky header's stacking context (which contains #nav-links) above the z-998 scrim,
     so the opaque dropdown paints OVER the scrim instead of being washed out under it.
     Stays below the z-1000 focus skip-link. Fixes the trapped-menu stacking bug. */
  body.nav-open .site-header{ z-index:999; }
  .nav__right.hide-cta .btn{ display:none; }

  /* ── Slide-down panel ── */
  .nav__links {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--surface);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0 .75rem;
    border-bottom: 3px solid var(--accent); box-shadow: 0 18px 40px -12px rgba(42,24,16,.28);
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .22s ease, visibility 0s linear .32s;
    z-index: 999; overflow: visible;
  }
  .nav__links.open {
    transform: translateY(0); opacity: 1; visibility: visible;
    transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .24s ease .03s, visibility 0s;
  }
  .nav__links li { border-bottom: 1px solid var(--border); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__link {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.15rem 1.5rem; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none;
    -webkit-tap-highlight-color: transparent; min-height: 52px;
    transition: background .15s ease, color .15s ease;
  }
  /* FULL RESET of desktop underline ::after, then chevron */
  .nav__link::after {
    content: '\203A'; position: static; left: auto; bottom: auto; height: auto; width: auto; background: transparent;
    font-size: 1.5rem; line-height: 1; font-weight: 400;
    color: var(--accent); opacity: .7; transform: translateX(-4px);
    transition: transform .18s ease, opacity .18s ease;
  }
  /* Kill desktop hover underline entirely on mobile */
  .nav__link:hover { color: var(--ink); }
  .nav__link:hover::after { width: auto; height: auto; background: transparent; opacity: .7; transform: translateX(-4px); }
  .nav__link:active { background: var(--accent-tint); color: var(--accent); }
  .nav__link:active::after { color: var(--accent); opacity: 1; transform: translateX(0); }
  .nav__toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: none; background: transparent; color: var(--ink); cursor: pointer; border-radius: 12px;
    transition: background .15s ease, color .15s ease;
  }
  .nav__toggle:active { background: var(--accent-tint); color: var(--accent); }
  .nav__toggle.is-open { color: var(--accent); }
  .nav__toggle svg { width: 24px; height: 24px; display: block; transition: transform .18s ease; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); }
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .trust-strip__inner { grid-template-columns: repeat(2,1fr); gap: var(--s-5); }
  .trial-form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --fs-body: 1rem; }
  .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; }
  #pricing-grid, .pricing__cards { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--s-7); }
  .btn { width: 100%; }
  .hero__cta, .notfound__cta { width:100%; }
  .hero__cta .btn, .notfound__cta .btn { width:100%; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .hero__float, .hero__float2 { display:none; }
  .cta-banner { text-align:left; }
  .cta-banner p { margin-inline:0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
