/* mySDAtv · A "Broadcast" · components */

/* ---------- icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0.65rem 1.35rem; border-radius: var(--r-pill);
  font-weight: 800; font-size: var(--fs-sm); letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background-color var(--dur), border-color var(--dur), box-shadow var(--dur), color var(--dur);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px -8px var(--glow-gold); }
.btn--gold:hover { background: var(--gold-hover); color: var(--on-gold); box-shadow: 0 14px 36px -8px rgba(255, 210, 31, 0.5); }
.btn--ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); border-color: rgba(124, 198, 234, 0.6); }
.btn--light { background: var(--text); color: var(--on-gold); }
.btn--light:hover { background: #fff; color: var(--on-gold); }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; }
.btn--lg { min-height: 56px; padding: 0.85rem 1.75rem; font-size: var(--fs-md); }
.btn--xl { min-height: 64px; padding: 1rem 2.4rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; transform: none; box-shadow: none;
  background: rgba(255, 255, 255, 0.04); color: var(--muted); border-color: var(--line-strong); border-style: dashed;
}
.btn .icon { width: 18px; height: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-weight: 800; font-size: var(--fs-sm); color: var(--sky); text-decoration: none; white-space: nowrap;
}
.text-link:hover { color: var(--text); }
.text-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- pills, badges, chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 30px; padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(5, 10, 26, 0.7);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
  white-space: nowrap;
}
.pill--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-glow); animation: live-pulse 1.8s ease-in-out infinite; }
.pill--stock { background: rgba(5, 10, 26, 0.85); border-color: rgba(255, 255, 255, 0.28); }
.pill--stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.pill--gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.badge-dvr {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 7px;
  border-radius: var(--r-xs); background: rgba(5, 10, 26, 0.88); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: 0.12em; line-height: 1.3;
}
.badge-dvr::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px 1px var(--red-glow); }
.badge-radio { background: rgba(5, 10, 26, 0.88); }
.badge-radio::before { background: var(--sky); box-shadow: 0 0 6px 1px var(--glow-sky); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3rem 0.75rem; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--text);
}
.chip strong { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(to bottom, rgba(5, 10, 26, 0.72), rgba(5, 10, 26, 0));
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(5, 10, 26, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: var(--r-sm); }
.brand img { width: auto; height: 42px; filter: drop-shadow(0 4px 14px rgba(10, 143, 216, 0.35)); }
.site-nav { display: none; margin-inline: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--muted);
  text-decoration: none; white-space: nowrap; transition: color var(--dur), background-color var(--dur);
}
.site-nav__list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav__list a[aria-current="page"] { color: var(--text); }
.site-nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gold); box-shadow: 0 0 12px var(--glow-gold);
}
.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.cart-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0.3rem 0.8rem 0.3rem 0.7rem;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05);
  color: var(--text); text-decoration: none; font-weight: 800; font-size: var(--fs-sm);
  transition: background-color var(--dur), border-color var(--dur);
}
.cart-pill:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); border-color: rgba(124, 198, 234, 0.6); }
.cart-pill__count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--surface-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums;
}
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: background-color var(--dur); }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .site-nav + .header-actions { margin-left: 0; }
  .nav-toggle { display: none; }
}
@media (min-width: 1280px) {
  .site-nav__list { gap: var(--s-1); }
  .site-nav__list a { font-size: 0.9375rem; }
}

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
  overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(10, 143, 216, 0.22), rgba(10, 143, 216, 0) 70%),
    rgba(5, 10, 26, 0.98);
  padding: var(--s-5) var(--gutter) calc(var(--actionbar-h) + var(--s-7));
}
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none;
}
.mobile-menu__list a .icon { color: var(--muted); }
.mobile-menu__list a[aria-current="page"] { color: var(--gold); }
.mobile-menu__list a[aria-current="page"] .icon { color: var(--gold); }
.mobile-menu__list--minor a { font-size: var(--fs-md); font-weight: 700; color: var(--muted); }
.mobile-menu__actions { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.mobile-menu__contact { margin-top: var(--s-6); display: grid; gap: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
.mobile-menu__contact a { color: var(--text); font-weight: 700; text-decoration: none; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* ---------- hero (home) and page stages ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: var(--s-8);
  background: var(--bg);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 26, 0.96) 0%, rgba(5, 10, 26, 0.82) 30%, rgba(5, 10, 26, 0.25) 62%, rgba(5, 10, 26, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 26, 0) 32%),
    linear-gradient(180deg, rgba(5, 10, 26, 0.65) 0%, rgba(5, 10, 26, 0) 22%);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 120vw); aspect-ratio: 1; left: -18%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(10, 143, 216, 0.34), rgba(11, 78, 162, 0.16) 55%, rgba(5, 10, 26, 0) 100%);
}
.hero__content { position: relative; display: grid; gap: var(--s-5); justify-items: start; max-width: 780px; }
.hero__content h1 { max-width: 15ch; }
.hero__lede { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); color: #D3DBF0; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); font-size: var(--fs-sm); font-weight: 700; }
.hero__meta li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--glow-sky); }
.hero__scroll {
  position: absolute; left: 50%; bottom: var(--s-5); transform: translateX(-50%);
  display: none; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--line-strong);
}
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sky); animation: scroll-cue 1.8s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }
@media (min-width: 768px) and (min-height: 700px) { .hero__scroll { display: block; } }
@media (max-width: 767px) {
  .hero { align-items: end; }
  .hero__media img { object-position: 60% 30%; }
  .hero__scrim {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 26, 0.92) 42%, rgba(5, 10, 26, 0.35) 75%, rgba(5, 10, 26, 0.6) 100%);
  }
  .hero__glow { left: -40%; top: 70%; }
}

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(55% 80% at 85% 0%, rgba(10, 143, 216, 0.3), rgba(10, 143, 216, 0) 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(11, 78, 162, 0.35), rgba(11, 78, 162, 0) 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.stage__media { position: absolute; inset: 0; z-index: -2; opacity: 0.55; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; }
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 10, 26, 0.95) 0%, rgba(5, 10, 26, 0.6) 55%, rgba(5, 10, 26, 0.3) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 26, 0) 50%);
}
.stage::after {
  /* orbit ring echoing the logo */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12%; top: -40%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(124, 198, 234, 0.22);
  box-shadow: 0 0 80px -10px rgba(10, 143, 216, 0.35) inset, 0 0 60px -20px rgba(124, 198, 234, 0.4);
}
.stage__content { display: grid; gap: var(--s-4); justify-items: start; }
.stage__content > * { max-width: 820px; }
.stage--tall { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.stage--tall .stage__content { gap: var(--s-5); }
.stage__lede { font-size: var(--fs-lg); color: #D3DBF0; max-width: 60ch; }

/* ---------- device marquee ---------- */
.devices { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.devices__inner { display: flex; align-items: center; gap: var(--s-5); padding-block: var(--s-4); }
.devices__label { flex: none; margin: 0; }
@media (max-width: 899px) { .devices__inner { flex-direction: column; align-items: stretch; gap: var(--s-3); } }
.marquee__toggle {
  flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface-1); color: var(--muted);
}
.marquee__toggle:hover { color: var(--text); border-color: rgba(124, 198, 234, 0.6); }
.marquee__toggle[aria-pressed="true"] { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
@media (max-width: 899px) { .marquee__toggle { position: absolute; top: var(--s-3); right: var(--gutter); width: 32px; height: 32px; } .devices__inner { position: relative; } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; gap: var(--s-3); padding-right: var(--s-3); }
.device {
  display: inline-flex; align-items: center; gap: var(--s-3); padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-1);
  font-weight: 700; font-size: var(--fs-sm); white-space: nowrap;
}
.device__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(124, 198, 234, 0.35), rgba(10, 143, 216, 0.12)); color: var(--sky); }
.device__icon svg { width: 18px; height: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; width: auto; }
  .marquee__list { flex-wrap: wrap; flex: 1 1 auto; padding-right: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-5) var(--s-4); background: var(--surface-1); }
@media (min-width: 768px) { .stat { padding: var(--s-6) var(--s-5); } }
.stat__num { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }

/* ---------- rails ---------- */
.rail + .rail { margin-top: var(--s-6); }
.rail__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.rail__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-3); min-width: 0; }
.rail__title h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; }
.rail__count { color: var(--muted); font-size: var(--fs-sm); font-weight: 700; }
.rail__tools { display: flex; align-items: center; gap: var(--s-3); }
.rail__nav { display: none; gap: var(--s-2); }
@media (min-width: 768px) { .rail__nav { display: flex; } }
.rail__arrow {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  transition: background-color var(--dur), border-color var(--dur), opacity var(--dur);
}
.rail__arrow:hover:not(:disabled) { background: var(--surface-3); border-color: rgba(124, 198, 234, 0.6); }
.rail__arrow:disabled { opacity: 0.3; cursor: default; }
.rail__viewport { margin-inline: calc(-1 * var(--gutter)); }
.rail__track {
  display: flex; gap: var(--s-4); padding: var(--s-3) var(--gutter) var(--s-5);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 auto; scroll-snap-align: start; }

/* ---------- channel cards ---------- */
.ch {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3); height: 100%;
  padding: 10px 10px var(--s-4); border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur), background-color var(--dur);
}
.ch:hover, .ch:focus-visible { color: var(--text); transform: translateY(-6px); background: var(--surface-2); border-color: transparent; box-shadow: var(--shadow-lift); }
.ch:focus-visible { outline-offset: 4px; }
.ch__tile { position: relative; display: grid; place-items: center; aspect-ratio: 225 / 160; border-radius: 10px; background: var(--tile); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(5, 10, 26, 0.06); }
.ch__tile img { width: 100%; height: 100%; object-fit: contain; }
.ch__badge { position: absolute; top: 8px; left: 8px; }
.ch__play {
  position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 20px -4px rgba(5, 10, 26, 0.6);
  opacity: 0; transform: scale(0.8); transition: opacity var(--dur), transform var(--dur) var(--ease);
}
.ch__play svg { width: 14px; height: 14px; margin-left: 2px; }
.ch:hover .ch__play, .ch:focus-visible .ch__play { opacity: 1; transform: scale(1); }
.ch__body { display: grid; gap: 2px; padding-inline: 4px; }
.ch__name { font-weight: 800; font-size: 0.9375rem; line-height: 1.3; }
.ch__meta { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.rail .ch { width: clamp(168px, 44vw, 214px); }

.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: var(--s-3); }
@media (min-width: 768px) { .channel-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s-4); } }
.channel-grid > li { min-width: 0; }

/* ---------- generic cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.card--pad { padding: clamp(1.25rem, 3vw, 2rem); }
.card--glow { background: radial-gradient(90% 120% at 100% 0%, rgba(10, 143, 216, 0.22), rgba(10, 143, 216, 0) 60%), var(--surface-1); border-color: rgba(124, 198, 234, 0.2); }
.card--lift { transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.card--lift:hover, .card--lift:focus-within { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lift); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(140deg, rgba(10, 143, 216, 0.3), rgba(11, 78, 162, 0.2)); border: 1px solid rgba(124, 198, 234, 0.25); color: var(--sky); margin-bottom: var(--s-4); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--fs-xl); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link { color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__link:focus-visible { box-shadow: none; outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- product cards ---------- */
.product { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.product:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lift); }
.product__media { position: relative; aspect-ratio: 500 / 463; background: #EEF0F3; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(12, 21, 48, 0.55), rgba(12, 21, 48, 0)); pointer-events: none; }
.product__stock { position: absolute; bottom: var(--s-3); left: var(--s-3); z-index: 1; }
.product__body { display: flex; flex-direction: column; gap: var(--s-3); flex: 1; padding: var(--s-5); }
.product__kicker { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.product__name { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.product__price { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.product__price small { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.product__desc { color: var(--muted); font-size: var(--fs-sm); }
.product__desc ul { display: grid; gap: 6px; margin-top: var(--s-2); }
.product__desc li { position: relative; padding-left: 18px; }
.product__desc li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--sky); }
.product__note { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: auto; padding-top: var(--s-2); }
.product--feature { border-radius: var(--r-xl); }
.product--feature .product__name { font-size: var(--fs-2xl); }
.product--feature .product__price { font-size: var(--fs-3xl); }
@media (min-width: 900px) { .product--feature .product__body { padding: var(--s-6); gap: var(--s-4); } }

/* ---------- filter bar (watch, support) ---------- */
.filterbar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(5, 10, 26, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.filterbar__inner { display: grid; gap: var(--s-3); padding-block: var(--s-3); }
@media (min-width: 1024px) { .filterbar__inner { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); align-items: center; gap: var(--s-5); } }
.tabs { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; } }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0.35rem 0.95rem;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-size: var(--fs-sm); font-weight: 700; color: var(--muted); white-space: nowrap; text-decoration: none;
  transition: color var(--dur), background-color var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.tab:hover { color: var(--text); border-color: rgba(124, 198, 234, 0.6); }
.tab[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--on-gold); box-shadow: 0 0 24px -6px var(--glow-sky); }
.tab__count { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: var(--fs-2xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.tab[aria-pressed="true"] .tab__count { background: rgba(5, 10, 26, 0.1); }

.search { display: grid; gap: var(--s-2); }
.search__field {
  display: flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-2) 0 var(--s-4);
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface-1);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.search__field:focus-within { border-color: var(--sky); box-shadow: var(--ring); }
.search__field > .icon { color: var(--muted); }
.search__field input { flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--text); font-size: var(--fs-md); }
.search__field input::placeholder { color: var(--muted); opacity: 1; }
.search__field input:focus, .search__field input:focus-visible { outline: none; box-shadow: none; }
.search__field input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }
.result-count { color: var(--muted); font-size: var(--fs-sm); font-weight: 700; min-height: 1.5em; }
.result-count strong { color: var(--text); }

.empty-state { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-7) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.empty-state strong { color: var(--text); font-size: var(--fs-lg); }

/* ---------- accordion (FAQ) ---------- */
.faq-list { display: grid; gap: var(--s-3); }
.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-1); transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur); }
.faq:hover { border-color: var(--line-strong); }
.faq[open] { background: var(--surface-2); border-color: rgba(124, 198, 234, 0.35); box-shadow: 0 0 40px -18px var(--glow-azure); }
.faq summary {
  display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none; border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -2px; }
.faq__num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(124, 198, 234, 0.1); border: 1px solid rgba(124, 198, 234, 0.25); color: var(--sky); font-size: var(--fs-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.faq__q { flex: 1; font-size: var(--fs-md); font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
@media (min-width: 768px) { .faq__q { font-size: var(--fs-lg); } }
.faq__chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform var(--dur) var(--ease), background-color var(--dur); }
.faq__chev svg { width: 16px; height: 16px; }
.faq[open] .faq__chev { transform: rotate(180deg); background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.faq__a { padding: 0 var(--s-5) var(--s-5) calc(var(--s-5) + 34px + var(--s-4)); color: #C9D2E8; max-width: calc(var(--measure) + 120px); }
@media (max-width: 599px) { .faq__a { padding-left: var(--s-5); } .faq summary { padding-inline: var(--s-4); gap: var(--s-3); } }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: var(--s-3); }
.faq__a h4 { margin: var(--s-4) 0 var(--s-2); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--muted); }
.faq__a .inline-list { display: flex; flex-wrap: wrap; gap: 6px; }
.faq__a .inline-list li { padding: 2px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: var(--fs-sm); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: 1 / -1; } }
@media (min-width: 640px) { .form-grid--3 { grid-template-columns: 2fr 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); min-width: 0; }
.field label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--gold); margin-left: 2px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem var(--s-4); border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: var(--fs-md);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--sky); box-shadow: var(--ring); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #7F8AA8; opacity: 1; }
.form-status { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-weight: 700; }
.form-status--ok { background: rgba(124, 198, 234, 0.1); border: 1px solid rgba(124, 198, 234, 0.4); color: var(--text); }
.form-status--error { background: rgba(237, 28, 36, 0.12); border: 1px solid rgba(237, 28, 36, 0.5); color: var(--text); }
.form-status svg { flex: none; width: 22px; height: 22px; color: var(--sky); }

/* ---------- donate / support strips ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(1.75rem, 5vw, 4rem);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 210, 31, 0.2), rgba(255, 210, 31, 0) 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(10, 143, 216, 0.38), rgba(10, 143, 216, 0) 65%),
    linear-gradient(135deg, #0B1A44, #0A1330 60%, #071027);
  border: 1px solid rgba(124, 198, 234, 0.2);
}
.band::after {
  content: ""; position: absolute; z-index: -1; right: -120px; bottom: -220px; width: 520px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 210, 31, 0.25); box-shadow: 0 0 120px -30px rgba(255, 210, 31, 0.35) inset;
}
.band__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .band__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 960px) { .band__actions { justify-content: flex-end; } }

.info-tiles { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact-line { display: grid; gap: 2px; padding-block: var(--s-3); border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; padding-top: 0; }
.contact-line__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-line a, .contact-line__value { font-size: var(--fs-lg); font-weight: 800; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--gold); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 10% 0%, rgba(11, 78, 162, 0.25), rgba(11, 78, 162, 0) 70%), var(--bg-2);
  padding-block: var(--s-8) var(--s-6);
}
.site-footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1.6fr 1.4fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__tagline { margin-top: var(--s-4); color: var(--muted); max-width: 34ch; }
.site-footer h2 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-4); }
.site-footer__links li + li { margin-top: var(--s-2); }
.site-footer__links a { color: var(--text); font-weight: 600; text-decoration: none; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links a[aria-current="page"] { color: var(--gold); }
.site-footer__contact { display: grid; gap: var(--s-3); color: var(--muted); font-size: var(--fs-sm); }
.site-footer__contact a { color: var(--text); font-weight: 700; text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm);
}
@media (min-width: 768px) { .site-footer { padding-bottom: calc(var(--s-6) + 72px); } }

/* ---------- mobile action bar and desktop watch pill ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  height: calc(var(--actionbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(5, 10, 26, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line-strong);
}
.action-bar a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.action-bar a svg { width: 22px; height: 22px; }
.action-bar a:hover, .action-bar a[aria-current="page"] { color: var(--text); }
.action-bar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; border-radius: 0 0 2px 2px; background: var(--gold); box-shadow: 0 0 12px var(--glow-gold); }
.action-bar a[aria-current="page"] svg { color: var(--gold); }
.action-bar a:focus-visible { outline-offset: -4px; }
body { padding-bottom: calc(var(--actionbar-h) + env(safe-area-inset-bottom, 0px)); }
.watch-pill { display: none; }
@media (min-width: 768px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
  .watch-pill {
    position: fixed; right: var(--s-6); bottom: var(--s-6); z-index: 90; display: inline-flex;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 40px -6px var(--glow-gold);
  }
  .watch-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.3); animation: live-pulse 1.8s ease-in-out infinite; }
}
