﻿/**
 * IPTV-Restream.org — Global Design System (Phase 1)
 * Scoped to avoid breaking legacy theme pages.
 */

/* -------------------------------------------------------------------------- */
/* Tokens                                                                     */
/* -------------------------------------------------------------------------- */
:root {
  --ds-primary: #E50914;
  --ds-primary-hover: #C40812;
  --ds-primary-soft: rgba(229, 9, 20, 0.1);
  --ds-navy: #0F172A;
  --ds-navy-soft: #1E293B;
  --ds-white: #FFFFFF;
  --ds-bg: #F8FAFC;
  --ds-text: #0F172A;
  --ds-text-secondary: #64748B;
  --ds-border: #E2E8F0;
  --ds-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --ds-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --ds-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-xl: 24px;
  --ds-container: 1140px;
  --ds-header-h: 72px;
  --ds-topbar-h: 40px;
  --ds-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ds-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ds-focus: 0 0 0 3px rgba(229, 9, 20, 0.35);
}

/* -------------------------------------------------------------------------- */
/* Base (light-touch; does not restyle legacy content blocks)                 */
/* -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--ds-font);
  color: var(--ds-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ds-container {
  width: 100%;
  max-width: var(--ds-container);
  margin-inline: auto;
  padding-inline: 20px;
}

.ds-section {
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
}

.ds-heading-xl {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ds-navy);
  margin: 0;
}

.ds-heading-lg {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ds-navy);
  margin: 0;
}

.ds-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ds-text-secondary);
  margin: 0;
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--ds-radius-sm);
  font-family: var(--ds-font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ds-ease), color 0.2s var(--ds-ease),
    border-color 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease),
    transform 0.2s var(--ds-ease);
}

.ds-btn:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.ds-btn-primary {
  background: var(--ds-primary);
  color: var(--ds-white) !important;
  border-color: var(--ds-primary);
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.25);
}

.ds-btn-primary:hover,
.ds-btn-primary:focus {
  background: var(--ds-primary-hover);
  border-color: var(--ds-primary-hover);
  color: var(--ds-white) !important;
  transform: translateY(-1px);
}

.ds-btn-secondary {
  background: var(--ds-white);
  color: var(--ds-navy) !important;
  border-color: var(--ds-border);
}

.ds-btn-secondary:hover,
.ds-btn-secondary:focus {
  border-color: var(--ds-navy);
  color: var(--ds-navy) !important;
  background: var(--ds-bg);
}

.ds-btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.ds-card {
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
}

/* -------------------------------------------------------------------------- */
/* Site Header                                                                */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--ds-white);
  font-family: var(--ds-font);
}

.site-topbar {
  background: var(--ds-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--ds-topbar-h);
  flex-wrap: wrap;
  padding-block: 0.35rem;
}

.site-topbar__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-topbar__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s var(--ds-ease);
}

.site-topbar__links li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.site-topbar__links a:hover,
.site-topbar__links a:focus {
  color: var(--ds-white);
}

.site-topbar__links a:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
  border-radius: 4px;
}

.site-topbar__meta {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav {
  background: var(--ds-white);
  border-bottom: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-sm);
  transition: box-shadow 0.25s var(--ds-ease);
}

.site-header.is-scrolled .site-nav {
  box-shadow: var(--ds-shadow-md);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--ds-header-h);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  background: #0B1220;
  border-radius: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.site-logo:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-logo img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 168px;
  object-fit: contain;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links > li {
  position: relative;
}

.site-nav__links > li > a,
.site-nav__dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ds-navy);
  text-decoration: none;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.2s var(--ds-ease), background-color 0.2s var(--ds-ease);
}

.site-nav__links > li > a:hover,
.site-nav__links > li > a:focus,
.site-nav__dropdown-toggle:hover,
.site-nav__dropdown-toggle:focus {
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
}

.site-nav__links > li > a:focus-visible,
.site-nav__dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-nav__links > li > a[aria-current="page"] {
  color: var(--ds-primary);
}

.site-nav__links > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--ds-primary);
  border-radius: 2px;
}

.site-nav__chevron-svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s var(--ds-ease);
}

.site-nav__dropdown.is-open .site-nav__chevron-svg,
.site-nav__dropdown-toggle[aria-expanded="true"] .site-nav__chevron-svg {
  transform: rotate(180deg);
}

.site-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 248px;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ds-ease), transform 0.2s var(--ds-ease),
    visibility 0.2s var(--ds-ease);
  z-index: 20;
}

.site-nav__dropdown:hover .site-nav__dropdown-menu,
.site-nav__dropdown:focus-within .site-nav__dropdown-menu,
.site-nav__dropdown.is-open .site-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ds-navy);
  text-decoration: none;
  border-radius: 6px;
}

.site-nav__dropdown-menu a:hover,
.site-nav__dropdown-menu a:focus {
  background: var(--ds-bg);
  color: var(--ds-primary);
}

.site-nav__dropdown-menu a:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: var(--ds-white);
  color: var(--ds-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav__toggle:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-nav__toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ds-ease);
}

.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ds-ease), top 0.25s var(--ds-ease);
}

.site-nav__toggle-bars::before {
  top: -6px;
}

.site-nav__toggle-bars::after {
  top: 6px;
}

.site-header.is-menu-open .site-nav__toggle-bars {
  background: transparent;
}

.site-header.is-menu-open .site-nav__toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-menu-open .site-nav__toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile panel */
.site-mobile {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.site-mobile.is-open {
  pointer-events: auto;
  visibility: visible;
}

.site-mobile__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s var(--ds-ease);
}

.site-mobile.is-open .site-mobile__backdrop {
  opacity: 1;
}

.site-mobile__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 360px);
  height: 100%;
  background: var(--ds-white);
  box-shadow: var(--ds-shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ds-ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-mobile.is-open .site-mobile__panel {
  transform: translateX(0);
}

.site-mobile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ds-border);
}

.site-mobile__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  background: var(--ds-white);
  color: var(--ds-navy);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.site-mobile__close:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-mobile__nav {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-mobile__nav a,
.site-mobile__nav button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ds-navy);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: var(--ds-radius-sm);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.site-mobile__nav button .site-nav__chevron-svg {
  margin-left: auto;
}

.site-mobile__sub a {
  gap: 0.55rem;
}

.site-mobile__nav a:hover,
.site-mobile__nav a:focus,
.site-mobile__nav button:hover,
.site-mobile__nav button:focus {
  background: var(--ds-bg);
  color: var(--ds-primary);
}

.site-mobile__nav a:focus-visible,
.site-mobile__nav button:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-mobile__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0.75rem;
  display: none;
}

.site-mobile__sub.is-open {
  display: block;
}

.site-mobile__sub a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ds-text-secondary);
  min-height: 44px;
}

.site-mobile__cta {
  margin-top: auto;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--ds-border);
}

.site-mobile__cta .ds-btn {
  width: 100%;
}

body.site-menu-locked {
  overflow: hidden;
}

@media (min-width: 992px) {
  .site-nav__links,
  .site-nav__actions {
    display: flex;
  }

  .site-nav__toggle {
    display: none;
  }

  .site-mobile {
    display: none;
  }
}

@media (max-width: 575px) {
  .site-topbar__meta {
    display: none;
  }

  .site-logo img {
    height: 38px;
    max-width: 160px;
  }
}

/* -------------------------------------------------------------------------- */
/* Homepage Hero                                                              */
/* -------------------------------------------------------------------------- */
.site-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(229, 9, 20, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(15, 23, 42, 0.06), transparent 50%),
    linear-gradient(180deg, var(--ds-bg) 0%, var(--ds-white) 100%);
  overflow: hidden;
  font-family: var(--ds-font);
}

.site-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.site-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-radius: 999px;
}

.site-hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.site-hero__title {
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ds-navy);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.site-hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  color: var(--ds-text-secondary);
  margin: 0 0 1.75rem;
  max-width: 38rem;
}

.site-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.site-hero__trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

.site-hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ds-navy);
}

.site-hero__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
}

.site-hero__trust-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual composition — CSS mock dashboard (no third-party logos) */
.site-hero__visual {
  position: relative;
  min-height: 280px;
}

.site-hero__visual-frame {
  position: relative;
  z-index: 1;
  background: var(--ds-navy);
  border-radius: var(--ds-radius-xl);
  padding: 1rem;
  box-shadow: var(--ds-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-hero__window {
  background: #111827;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
}

.site-hero__window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.site-hero__dot:nth-child(1) { background: #ef4444; }
.site-hero__dot:nth-child(2) { background: #f59e0b; }
.site-hero__dot:nth-child(3) { background: #22c55e; }

.site-hero__window-label {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.site-hero__window-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 220px;
}

.site-hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.site-hero__side-item {
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.site-hero__side-item.is-active {
  background: var(--ds-primary);
}

.site-hero__main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-hero__player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--ds-radius-md);
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.35), transparent 55%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}

.site-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: var(--ds-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-hero__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-primary);
  animation: site-hero-pulse 1.6s ease-in-out infinite;
}

@keyframes site-hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.site-hero__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.site-hero__channel {
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.site-hero__channel:nth-child(1) {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.35), rgba(255, 255, 255, 0.06));
}

.site-hero__float {
  position: absolute;
  z-index: 2;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-md);
  padding: 0.75rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ds-navy);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-hero__float--plans {
  top: 8%;
  right: -4%;
}

.site-hero__float--m3u {
  bottom: 12%;
  left: -4%;
}

.site-hero__float-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-size: 0.7rem;
  font-weight: 800;
}

.site-hero__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.22), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 576px) {
  .site-hero__trust {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-hero__trust li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
    min-height: 100%;
  }
}

@media (min-width: 992px) {
  .site-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
  }

  .site-hero__visual {
    min-height: 360px;
  }
}

@media (max-width: 991px) {
  .site-hero__float--plans {
    right: 0;
    top: 0;
  }

  .site-hero__float--m3u {
    left: 0;
    bottom: 0;
  }
}

@media (max-width: 479px) {
  .site-hero__float {
    display: none;
  }

  .site-hero__window-body {
    grid-template-columns: 1fr;
  }

  .site-hero__sidebar {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-hero__side-item {
    flex: 1;
    height: 10px;
  }
}

/* ========================================================================== */
/* Phase 2 — Homepage sections                                                */
/* ========================================================================== */

.ds-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.ds-section-head .ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border: 1px solid rgba(229, 9, 20, 0.18);
  border-radius: 999px;
}

.ds-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ds-navy);
  margin: 0 0 0.75rem;
}

.ds-section-head p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.ds-section-alt {
  background: var(--ds-bg);
}

.ds-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  flex-shrink: 0;
}

.ds-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Features */
.site-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.site-feature {
  height: 100%;
  padding: 1.5rem 1.35rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease),
    border-color 0.2s var(--ds-ease);
}

.site-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--ds-shadow-md);
  border-color: rgba(229, 9, 20, 0.22);
}

.site-feature h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ds-navy);
  margin: 1rem 0 0.5rem;
}

.site-feature p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ds-text-secondary);
}

@media (min-width: 576px) {
  .site-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .site-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing */
.site-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.site-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.4rem 1.5rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-xl);
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease);
}

.site-price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ds-shadow-md);
}

.site-price-card.is-featured {
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 16px 40px rgba(229, 9, 20, 0.12);
}

.site-price-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ds-white);
  background: var(--ds-primary);
  border-radius: 999px;
}

.site-price-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ds-navy);
  margin: 0 0 0.35rem;
}

.site-price-card__cx {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ds-primary);
  margin: 0 0 1rem;
}

.site-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin: 0 0 1.25rem;
  color: var(--ds-navy);
}

.site-price-card__price strong {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-price-card__price span {
  font-size: 1.125rem;
  font-weight: 700;
}

.site-price-card__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.site-price-card__list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--ds-text-secondary);
  border-bottom: 1px solid var(--ds-border);
}

.site-price-card__list li:last-child {
  border-bottom: 0;
}

.site-price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ds-primary);
  box-shadow: 0 0 0 3px var(--ds-primary-soft);
}

.site-price-card .ds-btn {
  width: 100%;
}

.site-pricing__note {
  margin: 1.75rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.site-pricing__note a {
  color: var(--ds-primary);
  font-weight: 600;
  text-decoration: none;
}

.site-pricing__note a:hover,
.site-pricing__note a:focus {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .site-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .site-pricing__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Trial CTA */
.site-trial {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(229, 9, 20, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(135deg, #0F172A 0%, #1E293B 55%, #7F0A12 100%);
  color: var(--ds-white);
  border-radius: 0;
}

.site-trial__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.site-trial__eyebrow {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.site-trial h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--ds-white);
}

.site-trial__lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
}

.site-trial__meta {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.site-trial__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.site-trial__meta li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #f87171;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
}

.site-trial .ds-btn-primary {
  background: var(--ds-white);
  color: var(--ds-navy) !important;
  border-color: var(--ds-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.site-trial .ds-btn-primary:hover,
.site-trial .ds-btn-primary:focus {
  background: #fee2e2;
  border-color: #fee2e2;
  color: var(--ds-navy) !important;
}

.site-trial__panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ds-radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.site-trial__panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-white);
}

.site-trial__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.site-trial__stat {
  padding: 1rem;
  border-radius: var(--ds-radius-md);
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-trial__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ds-white);
  margin-bottom: 0.2rem;
}

.site-trial__stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 900px) {
  .site-trial__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

/* Operators section */
.site-operators__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.site-operators__copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ds-navy);
  margin: 0 0 0.85rem;
}

.site-operators__copy > p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.site-operators__points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.site-operators__points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
}

.site-operators__points h3 {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ds-navy);
}

.site-operators__points p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ds-text-secondary);
}

.site-operators__visual {
  position: relative;
  min-height: 260px;
}

.site-operators__frame {
  background: var(--ds-navy);
  border-radius: var(--ds-radius-xl);
  padding: 1.25rem;
  box-shadow: var(--ds-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-operators__rack {
  display: grid;
  gap: 0.65rem;
}

.site-operators__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ds-radius-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-operators__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-operators__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

@media (min-width: 900px) {
  .site-operators__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

/* Audience / reseller cards */
.site-audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.site-audience-card {
  height: 100%;
  padding: 1.6rem 1.4rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
}

.site-audience-card h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ds-navy);
}

.site-audience-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ds-text-secondary);
}

@media (min-width: 768px) {
  .site-audience__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Channels */
.site-channels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.site-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease),
    border-color 0.2s var(--ds-ease);
}

.site-channel:hover,
.site-channel:focus {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
  border-color: rgba(229, 9, 20, 0.25);
  color: inherit;
  text-decoration: none;
}

.site-channel:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

.site-channel h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-navy);
}

.site-channel p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ds-text-secondary);
}

.site-channels__actions {
  margin-top: 1.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-channels__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .site-channels__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ */
.site-faq {
  max-width: 48rem;
  margin: 0 auto;
}

.site-faq__item {
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--ds-shadow-sm);
}

.site-faq__item:last-child {
  margin-bottom: 0;
}

.site-faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--ds-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ds-navy);
  cursor: pointer;
}

.site-faq__button:focus-visible {
  outline: none;
  box-shadow: inset var(--ds-focus);
}

.site-faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
}

.site-faq__icon::before,
.site-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ds-ease), opacity 0.2s var(--ds-ease);
}

.site-faq__icon::before {
  width: 12px;
  height: 2px;
  top: 13px;
  left: 8px;
}

.site-faq__icon::after {
  width: 2px;
  height: 12px;
  top: 8px;
  left: 13px;
}

.site-faq__button[aria-expanded="true"] .site-faq__icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.site-faq__panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
}

.site-faq__panel.is-open {
  display: block;
}

.site-faq__panel p {
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.9575rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

/* Footer polish (shared) */
.site-footer {
  font-family: var(--ds-font);
  background: var(--ds-navy);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--ds-white);
}

.site-footer a:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
  border-radius: 4px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer__brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 18rem;
}

.site-footer__contact {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ds-white);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-feature:hover,
  .site-price-card:hover,
  .site-channel:hover {
    transform: none;
  }
}


.site-faq__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* ========================================================================== */
/* Phase 3 — Inner page shell                                                 */
/* ========================================================================== */

.page-shell-hero {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(229, 9, 20, 0.08), transparent 55%),
    linear-gradient(180deg, var(--ds-bg) 0%, var(--ds-white) 100%);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ds-border);
  font-family: var(--ds-font);
}

.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--ds-text-secondary);
}

.page-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #94a3b8;
}

.page-breadcrumb a {
  color: var(--ds-text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
  color: var(--ds-primary);
}

.page-breadcrumb a:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
  border-radius: 4px;
}

.page-breadcrumb [aria-current="page"] {
  color: var(--ds-navy);
  font-weight: 600;
}

.page-shell-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border: 1px solid rgba(229, 9, 20, 0.18);
  border-radius: 999px;
}

.page-shell-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ds-navy);
  max-width: 18ch;
}

.page-shell-hero__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.page-shell-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.page-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--ds-font);
}

.page-section--alt {
  background: var(--ds-bg);
}

.page-prose {
  max-width: 48rem;
}

.page-prose h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ds-navy);
}

.page-prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ds-navy);
}

.page-prose p,
.page-prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ds-text-secondary);
}

.page-prose p {
  margin: 0 0 1rem;
}

.page-prose ul,
.page-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.page-prose a {
  color: var(--ds-primary);
  font-weight: 600;
  text-decoration: none;
}

.page-prose a:hover,
.page-prose a:focus {
  text-decoration: underline;
}

.page-box {
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  padding: 1.35rem 1.35rem;
  margin-bottom: 1rem;
}

.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .page-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-cta-band {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(229, 9, 20, 0.28), transparent 55%),
    linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #7F0A12 100%);
  color: var(--ds-white);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--ds-font);
}

.page-cta-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--ds-white);
}

.page-cta-band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  line-height: 1.65;
}

.page-cta-band .ds-btn-primary {
  background: var(--ds-white);
  color: var(--ds-navy) !important;
  border-color: var(--ds-white);
}

.page-cta-band .ds-btn-primary:hover,
.page-cta-band .ds-btn-primary:focus {
  background: #fee2e2;
  border-color: #fee2e2;
  color: var(--ds-navy) !important;
}

.page-cta-band .ds-btn-secondary {
  background: transparent;
  color: var(--ds-white) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.page-cta-band .ds-btn-secondary:hover,
.page-cta-band .ds-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ds-white) !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.page-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-white);
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.9375rem;
}

.page-table th,
.page-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-text-secondary);
}

.page-table th {
  background: var(--ds-bg);
  color: var(--ds-navy);
  font-weight: 700;
}

.page-table tr:last-child td {
  border-bottom: 0;
}

.page-notice {
  padding: 0.9rem 1rem;
  border-radius: var(--ds-radius-md);
  border: 1px solid rgba(229, 9, 20, 0.2);
  background: var(--ds-primary-soft);
  color: var(--ds-navy);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.page-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ds-navy);
  margin-bottom: 0.35rem;
}

.page-form .field {
  margin-bottom: 1rem;
}

.page-form input,
.page-form select,
.page-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  font-family: var(--ds-font);
  font-size: 1rem;
  color: var(--ds-navy);
  background: var(--ds-white);
}

.page-form textarea {
  min-height: 140px;
  resize: vertical;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus {
  outline: none;
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: var(--ds-focus);
}

.page-form-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ds-text-secondary);
  line-height: 1.55;
}

/* Logo presentation — dark brand chip until transparent asset exists */
.site-logo {
  background: #0B1220;
  border-radius: 10px;
  padding: 6px 10px;
}

.site-logo img {
  height: 40px;
  max-width: 170px;
}

.site-mobile__head .site-logo img {
  height: 36px;
  max-width: 150px;
}

@media (max-width: 575px) {
  .site-logo img {
    height: 34px;
    max-width: 140px;
  }
}

/* Pricing page 5-up */
.site-pricing__grid--5 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .site-pricing__grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .site-pricing__grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .site-pricing__grid--5 .site-price-card {
    padding: 1.5rem 1.1rem 1.25rem;
  }
  .site-pricing__grid--5 .site-price-card__price strong {
    font-size: 2rem;
  }
}

/* Legacy guide card compatibility */
.server-card,
.spec-box,
.about-card,
.plan-highlight,
.seo-card,
.faq-box {
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  padding: 1.35rem;
  height: 100%;
  font-family: var(--ds-font);
}

.server-card h3,
.about-card h3,
.plan-highlight h3,
.seo-card h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ds-navy);
}

.server-card p,
.about-card p,
.plan-highlight p,
.seo-card p,
.spec-box p,
.spec-box li {
  color: var(--ds-text-secondary);
  line-height: 1.6;
}

.server-card .icon,
.about-card .icon,
.plan-highlight .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
}

.server-card .icon i,
.about-card .icon i,
.plan-highlight .icon i {
  font-size: 1.35rem;
  color: var(--ds-primary);
}

.spec-badge,
.policy-badge,
.badge-red {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  border: 1px solid rgba(229, 9, 20, 0.18);
  font-size: 0.75rem;
  font-weight: 600;
}

.bg-light {
  background: var(--ds-bg) !important;
}

/* ========================================================================== */
/* Phase 4 — Typography, TOC, related links, accessibility polish             */
/* ========================================================================== */

.site-body {
  font-size: 17px;
  line-height: 1.65;
}

.site-topbar {
  font-size: 0.875rem;
}

.site-nav__links > li > a,
.site-nav__dropdown-toggle {
  font-size: 1rem;
}

.site-nav__dropdown-menu a {
  font-size: 0.9375rem;
}

.site-feature p,
.site-price-card__list li,
.site-audience-card p,
.site-channel p,
.site-faq__panel p,
.page-prose p,
.page-prose li,
.page-box p,
.page-box li {
  font-size: 1rem;
  line-height: 1.7;
}

.site-price-card__cx,
.site-footer__links,
.site-footer__contact,
.page-breadcrumb {
  font-size: 0.9375rem;
}

.site-footer__links a,
.site-footer__contact a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.ds-btn {
  font-size: 1rem;
  min-height: 50px;
}

.ds-btn-sm {
  min-height: 44px;
  font-size: 0.9375rem;
}

.page-shell-hero__lead {
  font-size: 1.125rem;
}

.page-toc {
  margin: 0.5rem auto 0;
  padding-bottom: 1.25rem;
}

.page-toc:not([hidden]) {
  display: block;
}

.page-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ds-text-secondary);
}

.page-toc ol {
  list-style: none;
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  display: grid;
  gap: 0.45rem;
}

.page-toc a {
  color: var(--ds-navy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}

.page-toc a:hover,
.page-toc a:focus {
  color: var(--ds-primary);
}

.page-toc a:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
  border-radius: 4px;
}

.page-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.page-related__card {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.9rem 1.1rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
  color: var(--ds-navy);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.2s var(--ds-ease), transform 0.2s var(--ds-ease);
}

.page-related__card:hover,
.page-related__card:focus {
  border-color: rgba(229, 9, 20, 0.35);
  color: var(--ds-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.page-related__card:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus);
}

@media (min-width: 640px) {
  .page-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .page-related__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
  }
}

.site-logo--footer {
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.site-footer__logo img {
  height: 42px;
  max-width: 170px;
}

/* Skip link for keyboard users */
.site-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ds-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.site-skip:focus {
  left: 0;
}

/* Order / activation steps */
.page-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
}

.page-step__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.page-step__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  color: var(--ds-navy);
}

.page-step__body p,
.page-step__body li {
  color: var(--ds-text-secondary);
  font-size: 0.9875rem;
  line-height: 1.6;
}

.page-step__body p:last-child {
  margin-bottom: 0;
}

.page-step__body ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.15rem;
}

/* Contact form alerts + honeypot */
.page-alert {
  padding: 0.9rem 1rem;
  border-radius: var(--ds-radius-md);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.page-alert--success {
  background: #e8f7ef;
  border: 1px solid #b7e4c7;
  color: #146c43;
}

.page-alert--error {
  background: #fdebec;
  border: 1px solid #f5c2c7;
  color: #842029;
}

.page-alert--info {
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  color: var(--ds-navy);
}

.page-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-form .field input:disabled,
.page-form .field select:disabled,
.page-form .field textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: var(--ds-bg);
}

@media (max-width: 575px) {
  .page-step {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .page-shell-hero__actions {
    flex-wrap: wrap;
  }

  .page-shell-hero__actions .ds-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ========================================================================== */
/* Phase 6 — Icons, hero dashboard, enterprise card, footer, back-to-top      */
/* ========================================================================== */

.ds-svg-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

.ds-svg-icon--sm {
  width: 14px;
  height: 14px;
}

.site-nav__links > li > a .ds-svg-icon,
.site-nav__dropdown-toggle .ds-svg-icon:not(.site-nav__chevron-svg),
.site-nav__dropdown-menu a .ds-svg-icon,
.site-mobile__nav .ds-svg-icon:not(.site-nav__chevron-svg) {
  width: 15px;
  height: 15px;
  color: currentColor;
  opacity: 0.9;
}

.site-topbar .ds-svg-icon {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .site-topbar__email {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .site-topbar__meta {
    display: none !important;
  }

  .site-topbar__inner {
    justify-content: center;
  }
}

/* Logo polish overrides */
.site-logo {
  background: #0B1220;
  border-radius: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.site-logo img {
  height: 38px;
  max-width: 168px;
}

.site-logo--footer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  padding: 8px 12px;
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.site-logo--footer img {
  height: 40px;
  max-width: 170px;
}

.site-mobile__head .site-logo img {
  height: 34px;
  max-width: 148px;
}

/* Hero dashboard redesign */
.site-hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dash {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #0F172A 0%, #1E293B 55%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(229, 9, 20, 0.08);
}

.hero-dash__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-dash__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.hero-dash__mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

.hero-dash__status {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.hero-dash__body {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 250px;
}

.hero-dash__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 0.65rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.hero-dash__nav span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-dash__nav span.is-active {
  background: var(--ds-primary);
}

.hero-dash__main {
  padding: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.hero-dash__player {
  position: relative;
  min-height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(229, 9, 20, 0.35), transparent 45%),
    linear-gradient(135deg, #1e293b, #0f172a 60%, #334155);
}

.hero-dash__player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
}

.hero-dash__live {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ds-primary);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.hero-dash__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.hero-dash__player-title {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-dash__waveform {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 2.4rem;
  height: 28px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0 3px,
    transparent 3px 8px
  );
  opacity: 0.55;
}

.hero-dash__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.hero-dash__metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.hero-dash__metric span {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

.hero-dash__metric strong {
  display: block;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.hero-dash__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-dash__bar i {
  display: block;
  height: 100%;
  background: var(--ds-primary);
  border-radius: inherit;
}

.hero-dash__bar--ok i {
  background: #22c55e;
}

.hero-dash__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.hero-dash__ch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 0.45rem 0.4rem;
}

.hero-dash__ch span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(229, 9, 20, 0.85);
  flex-shrink: 0;
}

.hero-float {
  position: absolute;
  z-index: 3;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: 14px;
  box-shadow: var(--ds-shadow-md);
  padding: 0.75rem 0.9rem;
  max-width: 180px;
}

.hero-float strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--ds-navy);
  margin-bottom: 0.15rem;
}

.hero-float span {
  display: block;
  font-size: 0.75rem;
  color: var(--ds-text-secondary);
  line-height: 1.35;
}

.hero-float--live {
  top: 8%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-float__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ds-primary);
  box-shadow: 0 0 0 4px var(--ds-primary-soft);
  flex-shrink: 0;
}

.hero-float--usage {
  right: 0;
  top: 18%;
}

.hero-float--access {
  left: 4%;
  bottom: 8%;
}

.hero-float__meter {
  margin-top: 0.45rem;
  height: 5px;
  border-radius: 999px;
  background: var(--ds-bg);
  overflow: hidden;
}

.hero-float__meter i {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--ds-primary), #fb7185);
  border-radius: inherit;
}

@media (max-width: 991px) {
  .site-hero__visual {
    min-height: 0;
    margin-top: 0.5rem;
  }

  .hero-float--live,
  .hero-float--usage {
    display: none;
  }

  .hero-float--access {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }

  .hero-dash {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dash,
  .hero-float {
    transition: none;
  }
}

/* Hide legacy empty hero chrome if present */
.site-hero__visual-frame,
.site-hero__window,
.site-hero__float {
  /* retained for safety; new markup uses hero-dash */
}

/* Enterprise pricing card */
.site-enterprise-card {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #fff7f7 48%, #f8fafc 100%);
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: var(--ds-radius-xl);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.site-enterprise-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ds-primary);
}

.site-enterprise-card__intro h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--ds-navy);
}

.site-enterprise-card__cx {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-primary);
}

.site-enterprise-card__intro p:last-child {
  margin: 0;
  color: var(--ds-text-secondary);
  font-size: 0.9875rem;
  line-height: 1.6;
}

.site-enterprise-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-enterprise-card__features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: var(--ds-text-secondary);
  line-height: 1.5;
}

.site-enterprise-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ds-primary);
  box-shadow: 0 0 0 3px var(--ds-primary-soft);
}

.site-enterprise-card__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
}

.site-enterprise-card__cta .site-price-card__price {
  margin: 0;
}

.site-enterprise-card__cta .site-price-card__price strong {
  font-size: clamp(2.25rem, 5vw, 3rem);
}

.site-enterprise-card__cta .ds-btn {
  min-width: 180px;
}

.site-enterprise-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ds-primary);
  text-decoration: none;
}

.site-enterprise-card__link:hover,
.site-enterprise-card__link:focus {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .site-enterprise-card {
    grid-template-columns: 1.1fr 1.2fr 0.9fr;
    align-items: center;
    padding: 1.75rem 1.85rem;
  }
}

/* Pricing typography refinement */
.site-price-card__name {
  font-size: 1.2rem;
}

.site-price-card__cx {
  font-size: 0.95rem;
}

.site-price-card__list li {
  font-size: 0.975rem;
  padding: 0.55rem 0 0.55rem 1.5rem;
}

/* Security section */
.site-security {
  background: var(--ds-bg);
}

.site-security__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.site-security__card {
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease);
}

.site-security__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
}

.site-security__card h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.0625rem;
  color: var(--ds-navy);
}

.site-security__card p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.site-security__card a {
  color: var(--ds-primary);
  font-weight: 600;
  text-decoration: none;
}

.site-security__card a:hover,
.site-security__card a:focus {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .site-security__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .site-security__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-security__card:hover {
    transform: none;
  }
}

/* Footer Phase 6 */
.site-footer__contact li,
.site-footer__links a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-footer__contact .ds-svg-icon,
.site-footer__links .ds-svg-icon {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__wa {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer__bottom-note {
  margin: 0;
}

.site-footer__brand p {
  max-width: 22rem;
}

/* Back to top */
.site-back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1200;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ds-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ds-ease), transform 0.2s var(--ds-ease), visibility 0.2s;
}

.site-back-top .ds-svg-icon {
  width: 18px;
  height: 18px;
}

.site-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-back-top:hover,
.site-back-top:focus {
  background: var(--ds-primary-hover);
}

.site-back-top:focus-visible {
  outline: none;
  box-shadow: var(--ds-focus), 0 10px 24px rgba(229, 9, 20, 0.35);
}

@media (max-width: 575px) {
  .site-back-top {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-back-top {
    transition: none;
  }
}

/* Hide legacy theme scroll-top if still present without styles */
.scroll-top {
  display: none !important;
}

/* ========================================================================== */
/* Phase 7 — Final typography, spacing, contrast, readability                 */
/* ========================================================================== */

.site-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ds-text);
}

.site-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: #475569;
}

.site-hero__trust li {
  font-size: 0.9375rem;
}

.ds-section-head p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #475569;
}

.site-feature p,
.site-audience-card p,
.site-channel p,
.site-security__card p {
  font-size: 0.9875rem;
  line-height: 1.65;
  color: #475569;
}

.site-price-card__list li,
.site-enterprise-card__features li {
  font-size: 0.9875rem;
  line-height: 1.55;
  color: #475569;
}

.site-price-card__cx,
.site-enterprise-card__cx {
  font-size: 0.9875rem;
}

.site-faq__panel p,
.site-faq__button {
  font-size: 1rem;
  line-height: 1.65;
}

.site-faq__panel p {
  color: #475569;
}

.site-footer__brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__links a,
.site-footer__contact li,
.site-footer__contact a {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.site-footer h3 {
  color: #fff;
  opacity: 1;
}

.site-mobile__nav a,
.site-mobile__nav button {
  font-size: 1.02rem;
}

.page-prose p,
.page-prose li,
.page-box p,
.page-box li,
.page-shell-hero__lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475569;
}

.page-related__card {
  font-size: 0.9875rem;
}

/* Slightly tighter homepage section rhythm without looking sparse */
.site-body .ds-section + .ds-section,
.site-body .site-security {
  scroll-margin-top: 5.5rem;
}

.site-security__card {
  padding: 1.25rem 1.15rem;
}

.site-security__card h3 {
  font-size: 1.05rem;
}

.site-pricing__note {
  font-size: 0.9875rem;
}

/* Guide content readability */
.tg-page-content p,
.tg-page-content li,
.setup-card p,
.fix-box p,
.fix-box li,
.checklist li,
.step-box p {
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 575px) {
  .site-body {
    font-size: 16px;
  }

  .site-hero__actions .ds-btn {
    width: 100%;
    justify-content: center;
  }

  .site-enterprise-card__cta .ds-btn {
    width: 100%;
  }
}

/* ========================================================================== */
/* Phase 8 — Payment methods, hero variants, policy document layout           */
/* ========================================================================== */

.page-shell-hero__grid {
  display: block;
}

.page-shell-hero__grid.has-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-shell-hero__grid.has-visual {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

.page-shell-hero__visual {
  display: none;
}

@media (min-width: 900px) {
  .page-shell-hero__visual {
    display: flex;
    justify-content: flex-end;
  }
}

.page-shell-hero__badge {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff, #fff5f5);
  border: 1px solid rgba(229, 9, 20, 0.18);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: var(--ds-primary);
}

.page-shell-hero__badge-icon {
  width: 36px;
  height: 36px;
}

.page-shell-hero--payment,
.page-shell-hero--pricing,
.page-shell-hero--order,
.page-shell-hero--trial,
.page-shell-hero--support,
.page-shell-hero--about,
.page-shell-hero--legal,
.page-shell-hero--guide {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(229, 9, 20, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--ds-bg) 100%);
}

.page-shell-hero--legal .page-shell-hero__badge {
  background: linear-gradient(145deg, #fff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--ds-navy);
}

/* Payment method cards */
.pay-methods__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pay-methods__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pay-method-card {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--ds-white);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.2s var(--ds-ease), box-shadow 0.2s var(--ds-ease);
}

.pay-method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
}

.pay-method-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  flex-shrink: 0;
}

.pay-method-card__icon .ds-svg-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.pay-method-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.pay-method-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ds-navy);
}

.pay-method-card p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #475569;
}

.pay-method-card__status {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--ds-bg);
  color: var(--ds-navy);
  border: 1px solid var(--ds-border);
}

.pay-method-card__status.is-confirm {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.pay-methods__note {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* Policy / document pages */
.page-doc {
  max-width: 48rem;
  margin-inline: auto;
}

.page-doc .page-box {
  margin-bottom: 1rem;
}

.page-doc .page-box:last-child {
  margin-bottom: 0;
}

.page-doc h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.site-footer__bottom {
  justify-content: center;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pay-method-card:hover {
    transform: none;
  }
}

/* ========== Uploaded official logo (1024×341, ~3:1) ========== */
.site-logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  overflow: hidden;
}

.site-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 168px;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.site-logo--footer {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0.65rem;
  overflow: visible;
}

.site-logo--footer img {
  height: 52px;
  max-width: 180px;
  max-height: 60px;
}

.site-mobile__head .site-logo img {
  height: 42px;
  max-width: 144px;
  max-height: 48px;
}

@media (max-width: 575px) {
  .site-logo img {
    height: 40px;
    max-width: 132px;
    max-height: 44px;
  }
}

@media (min-width: 992px) {
  .site-logo img {
    height: 52px;
    max-width: 180px;
    max-height: 56px;
  }
}

/* ========== Phase 11 — Channels list ========== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.channels-meta-bar .channels-updated {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.channels-updated strong {
  display: block;
  color: var(--ds-navy, #0b1220);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.channels-updated p {
  margin: 0;
  color: var(--ds-text-secondary, #64748b);
  font-size: 0.95rem;
  line-height: 1.55;
}

.channels-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .channels-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.channels-stat {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.channels-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ds-red, #e50914);
  line-height: 1.2;
}

.channels-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--ds-text-secondary, #64748b);
}

.channels-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.channels-toolbar__search {
  flex: 1 1 220px;
}

.channels-toolbar__search input,
.channels-toolbar__category select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  background: #fff;
}

.channels-toolbar__category {
  flex: 1 1 200px;
}

.channels-toolbar__category--mobile {
  display: block;
}

@media (min-width: 992px) {
  .channels-toolbar__category--mobile {
    display: none;
  }
}

.channels-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .channels-layout {
    grid-template-columns: minmax(240px, 300px) 1fr;
    align-items: start;
  }
}

.channels-cats {
  display: none;
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 12px;
  padding: 0.85rem;
  max-height: 70vh;
  overflow: auto;
  position: sticky;
  top: 5.5rem;
}

@media (min-width: 992px) {
  .channels-cats {
    display: block;
  }
}

.channels-cats__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--ds-navy, #0b1220);
}

.channels-cat {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--ds-text, #334155);
  cursor: pointer;
}

.channels-cat:hover,
.channels-cat.is-active {
  background: rgba(229, 9, 20, 0.08);
  color: var(--ds-navy, #0b1220);
}

.channels-cat.is-active {
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--ds-red, #e50914);
}

.channels-cat__count {
  flex-shrink: 0;
  color: var(--ds-text-secondary, #64748b);
  font-size: 0.85rem;
}

.channels-main {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.25rem;
  min-height: 320px;
}

.channels-main__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ds-border, #e2e8f0);
}

.channels-main__head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  color: var(--ds-navy, #0b1220);
}

.channels-main__head p {
  margin: 0;
  color: var(--ds-text-secondary, #64748b);
  font-size: 0.9rem;
}

.channels-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.channels-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.channels-row:last-child {
  border-bottom: 0;
}

.channels-row__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--ds-red, #e50914);
}

.channels-row__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.channels-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.channels-row__name {
  font-weight: 600;
  color: var(--ds-navy, #0b1220);
  font-size: 0.95rem;
  line-height: 1.3;
  word-break: break-word;
}

.channels-row__cat {
  font-size: 0.8rem;
  color: var(--ds-text-secondary, #64748b);
}

.channels-empty {
  padding: 1.5rem 0.5rem;
  text-align: center;
  color: var(--ds-text-secondary, #64748b);
}

.channels-more {
  margin-top: 1rem;
  text-align: center;
}

.channels-more__status {
  margin: 0.5rem 0 0;
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--ds-text-secondary, #64748b);
}

.channels-explorer.is-loading .channels-main {
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* ========== Phase 12 — Premium guide / support content system ========== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tech-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-card {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-card:hover {
  border-color: rgba(229, 9, 20, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tech-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.08);
  color: #e50914;
  margin-bottom: 0.85rem;
}

.tech-card__icon .ds-svg-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.tech-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.tech-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.tech-card ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tech-card li + li {
  margin-top: 0.3rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .guide-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }
}

.guide-toc {
  display: none;
  position: sticky;
  top: 5.75rem;
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  max-height: calc(100vh - 7rem);
  overflow: auto;
}

@media (min-width: 1100px) {
  .guide-toc {
    display: block;
  }
}

.guide-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.guide-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-toc a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
}

.guide-toc a:hover,
.guide-toc a:focus {
  background: rgba(229, 9, 20, 0.08);
  color: #0f172a;
}

.guide-article {
  min-width: 0;
}

.guide-block {
  scroll-margin-top: 6rem;
  margin-bottom: 1.5rem;
}

.guide-block:last-child {
  margin-bottom: 0;
}

.guide-block > h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: #0f172a;
}

.guide-block > p.lead-text {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.65;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 2.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
}

.checklist li + li {
  margin-top: 0.55rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.9rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 4px;
  border: 2px solid #e50914;
  background: rgba(229, 9, 20, 0.08);
}

.callout {
  border-radius: 12px;
  padding: 1rem 1.15rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  margin: 1rem 0;
}

.callout--info {
  border-color: rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

.callout--warn {
  border-color: #fed7aa;
  background: #fff7ed;
}

.callout--danger {
  border-color: #fecaca;
  background: #fef2f2;
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.callout p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.08);
  color: #e50914;
  margin-bottom: 0.9rem;
}

.contact-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: #0f172a;
}

.contact-card p {
  margin: 0 0 0.65rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-card__value {
  margin-top: auto;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

.contact-card__value a {
  color: #e50914;
  text-decoration: none;
}

.contact-card__value a:hover {
  text-decoration: underline;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  }
}

.contact-form-panel,
.contact-side-card {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.contact-form-panel h2,
.contact-side-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.contact-side-card + .contact-side-card {
  margin-top: 1rem;
}

.panel-mock {
  background: #0f172a;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.panel-mock__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #94a3b8;
  font-size: 0.78rem;
}

.panel-mock__dots {
  display: flex;
  gap: 0.35rem;
}

.panel-mock__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.panel-mock__dots span:first-child { background: #e50914; }

.panel-mock__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .panel-mock__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.panel-mock__pane {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
  color: #e2e8f0;
}

.panel-mock__pane h3 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: #fff;
}

.panel-mock__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 0.45rem 0;
}

.panel-mock__bar > span {
  display: block;
  height: 100%;
  width: 62%;
  background: #e50914;
  border-radius: inherit;
}

.panel-mock__note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: center;
}

.page-form .field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .page-form .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Soften broken legacy template classes if leftover markup remains */
.issue-card,
.setup-card,
.panel-card,
.sec-card,
.fix-box,
.step-box,
.box {
  background: #fff;
  border: 1px solid var(--ds-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.issue-card .icon,
.setup-card .icon,
.panel-card .icon,
.sec-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.08);
  color: #e50914;
  margin-bottom: 0.75rem;
}

.issue-card .icon i,
.setup-card .icon i,
.panel-card .icon i,
.sec-card .icon i {
  font-size: 1.1rem;
  line-height: 1;
}

.step-number,
.step .num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #e50914;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.fix-badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e50914;
  margin-bottom: 0.5rem;
}

.config-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.config-list li {
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
}

.config-list li + li {
  margin-top: 0.55rem;
}
