/* =====================================================================
   Fos TV — Light Purple Palette (8-tone)
   Brand: fostv.io | Primary KW: fos tv | Geo: US + UK
   ===================================================================== */

:root {
  /* Palette */
  --purple-950: #10002B; /* H1, accents */
  --purple-900: #240046; /* H2, button hover */
  --purple-800: #3C096C; /* H3, secondary headings */
  --purple-700: #5A189A; /* primary CTAs + links */
  --purple-600: #7B2CBF; /* hover state */
  --purple-500: #9D4EDD; /* highlights, icons */
  --purple-400: #C77DFF; /* card backgrounds */
  --purple-300: #E0AAFF; /* pale lavender backgrounds */
  --bg-base:    #FFFFFF;
  --text-body:  #10002B;
  --text-muted: #3C096C;
  --text-soft:  #5A189A;

  --accent-primary: var(--purple-700);
  --accent-hover:   var(--purple-600);
  --accent-bright:  var(--purple-500);
  --border:         var(--purple-300);
  --border-strong:  var(--purple-500);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-section: 96px;

  /* Shadows */
  --shadow-card: 0 4px 16px rgba(16, 0, 43, .08);
  --shadow-card-hover: 0 8px 28px rgba(16, 0, 43, .14);
  --shadow-popular: 0 10px 30px rgba(90, 24, 154, .18);
  --shadow-cta: 0 6px 20px rgba(90, 24, 154, .28);

  /* Typography */
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Sora", system-ui, sans-serif;

  /* Container */
  --container-max: 1200px;
}

/* ==================== Reset ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; image-rendering: auto; }
a { color: var(--accent-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 var(--space-md); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { color: var(--purple-950); font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { color: var(--purple-900); font-size: clamp(1.6rem, 2.5vw + 1rem, 2.6rem); }
h3 { color: var(--purple-800); font-size: clamp(1.2rem, 1.5vw + 1rem, 1.6rem); }
h4 { color: var(--purple-800); font-size: 1.1rem; }
p { margin: 0 0 var(--space-md); }
ul, ol { margin: 0 0 var(--space-md); padding-left: 1.4rem; }
button { font-family: inherit; cursor: pointer; }

/* ==================== Layout ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--space-lg);
}
.section { padding-block: var(--space-section); }
.section--alt { background: var(--purple-300); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--purple-300) 100%); }
.section--accent { background: var(--purple-400); color: var(--bg-base); }
.section--accent h2, .section--accent h3 { color: var(--bg-base); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto var(--space-2xl); }
.section__eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--purple-300);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}
.section__lede { font-size: 1.125rem; color: var(--text-muted); }

/* ==================== Header / Nav ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-md);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--purple-950);
  letter-spacing: -.02em;
}
.site-logo img { width: 36px; height: 36px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav__list { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.site-nav__list a { color: var(--purple-900); font-weight: 500; font-size: .95rem; }
.site-nav__list a:hover { color: var(--accent-primary); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--purple-900);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
@media (max-width: 880px) {
  .site-nav__list { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open .site-nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-base);
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--border);
  }
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--accent-primary);
  color: var(--bg-base);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-base);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.btn--ghost:hover {
  background: var(--accent-primary);
  color: var(--bg-base);
}
.btn--white {
  background: var(--bg-base);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-card);
}
.btn--white:hover {
  background: var(--accent-primary);
  color: var(--bg-base);
  transform: translateY(-1px);
}
.btn--lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: var(--space-section) 0 var(--space-2xl);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--purple-300) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(157, 78, 221, .18), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(199, 125, 255, .25), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero__content { z-index: 2; }
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--purple-900);
  font-size: .9rem;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-card);
}
.hero__rating .stars { color: #FFB400; }
.hero__title { font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem); margin-bottom: var(--space-md); }
.hero__title em { font-style: normal; background: linear-gradient(135deg, var(--purple-700), var(--purple-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { font-size: 1.125rem; color: var(--text-muted); margin-bottom: var(--space-lg); max-width: 560px; }
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 500;
  color: var(--purple-900);
  box-shadow: var(--shadow-card);
}
.hero__ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-popular);
  width: 100%;
}
@media (max-width: 880px) {
  .hero { padding-block: var(--space-2xl); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero__visual { order: -1; }
}

/* ==================== Events Marquee ==================== */
.events-marquee {
  background: var(--purple-950);
  color: var(--bg-base);
  padding: var(--space-md) 0;
  overflow: hidden;
}
.events-marquee[hidden] { display: none; }
.events-marquee__track {
  display: flex;
  gap: var(--space-2xl);
  animation: marquee 40s linear infinite;
  width: max-content;
}
.events-marquee:hover .events-marquee__track { animation-play-state: paused; }
.event-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: .95rem;
  white-space: nowrap;
}
.event-item__time {
  background: var(--purple-700);
  color: var(--bg-base);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-item__live {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff3b3b;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ==================== Pricing ==================== */
.pricing { background: var(--bg-base); }
.pricing__switcher {
  display: inline-flex;
  background: var(--purple-300);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin: 0 auto var(--space-2xl);
  display: flex;
  width: fit-content;
  border: 1px solid var(--border);
}
.pricing__switcher button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--purple-900);
  font-size: .9rem;
  transition: all .2s ease;
}
.pricing__switcher button.is-active {
  background: var(--accent-primary);
  color: var(--bg-base);
  box-shadow: var(--shadow-cta);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .25s ease;
  box-shadow: var(--shadow-card);
}
.plan-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.plan-card.is-popular {
  transform: translateY(-6px);
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-popular);
}
.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--bg-base);
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.plan-card__connections {
  font-size: .75rem;
  font-weight: 700;
  color: #c33;
  background: rgba(204, 51, 51, .08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-md);
}
.plan-card__duration {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--purple-900);
  margin-bottom: var(--space-xs);
}
.plan-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--purple-950);
  margin-block: var(--space-sm);
  line-height: 1;
}
.plan-card__price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
  flex-grow: 1;
  font-size: .9rem;
}
.plan-card__features li {
  display: flex;
  gap: 8px;
  padding-block: 6px;
  color: var(--text-muted);
}
.plan-card__features li::before {
  content: "✓";
  color: var(--accent-bright);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-card .btn { width: 100%; }

/* ==================== Feature Grid ==================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.feature-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all .2s ease;
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-bright);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: var(--bg-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}
.feature-card h3 { margin-bottom: var(--space-sm); }
.feature-card p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ==================== Steps ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--bg-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: var(--shadow-cta);
}
.step h3 { margin-top: var(--space-sm); }

/* ==================== Devices ==================== */
.devices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}
.device-tile {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all .2s ease;
  font-weight: 600;
  color: var(--purple-900);
  box-shadow: var(--shadow-card);
}
.device-tile.is-disabled { opacity: .55; }
.device-tile__icon { font-size: 2rem; margin-bottom: var(--space-sm); display: block; }
.device-tile:hover:not(.is-disabled) {
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

/* ==================== Trending Posters ==================== */
.trending {
  background: var(--bg-base);
  padding-block: var(--space-section);
  overflow: hidden;
}
.trending__track {
  display: flex;
  gap: var(--space-md);
  animation: marquee 50s linear infinite;
  width: max-content;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trending:hover .trending__track { animation-play-state: paused; }
.poster-card {
  position: relative;
  width: clamp(130px, 14vw, 220px);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}
.poster-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(16, 0, 43, .9));
  opacity: 0;
  transition: opacity .25s ease;
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}
.poster-card:hover .poster-card__overlay { opacity: 1; }
.poster-card__title { color: #fff; font-weight: 700; font-size: .95rem; }
.poster-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-primary);
  color: #fff;
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* ==================== Comparison Table ==================== */
.compare {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare th {
  background: var(--purple-300);
  color: var(--purple-950);
  font-weight: 700;
}
.compare td.yes { color: var(--accent-bright); font-weight: 700; }
.compare td.no  { color: #c33; font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .compare th, .compare td { padding: var(--space-sm); font-size: .85rem; } }

/* ==================== Testimonials ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.testimonial {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}
.testimonial__stars { color: #FFB400; margin-bottom: var(--space-sm); }
.testimonial__quote { font-style: italic; color: var(--text-muted); margin-bottom: var(--space-md); }
.testimonial__author { font-weight: 700; color: var(--purple-900); }
.testimonial__author small { display: block; font-weight: 500; color: var(--text-muted); }

/* ==================== FAQ ==================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--space-lg);
  font-weight: 600;
  color: var(--purple-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-primary);
  font-weight: 800;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-muted); }

/* ==================== Forms ==================== */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 520px;
}
.form--wide { max-width: 100%; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-weight: 600; color: var(--purple-900); font-size: .9rem; }
.form__field input,
.form__field select,
.form__field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  color: var(--text-body);
  transition: border-color .2s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(90, 24, 154, .14);
}
.form__msg {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: .9rem;
}
.form__msg.is-error { background: #fde8e8; color: #c33; }
.form__msg.is-success { background: #e8f5e9; color: #2a7032; }
.form__msg[hidden] { display: none; }

/* WhatsApp / intl-tel-input contrast (light theme variant) */
.iti { width: 100%; }
.iti__country-list {
  color: var(--purple-950);
  background: var(--bg-base);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.iti__country.iti__highlight,
.iti__country:hover { background: var(--purple-300); }
.iti__selected-flag, .iti__dial-code { color: var(--purple-950); }
.iti--separate-dial-code .iti__selected-flag { background: var(--purple-300); }

/* ==================== CTA banner ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: var(--bg-base);
  text-align: center;
  padding: var(--space-section) var(--space-lg);
}
.cta-banner h2 { color: var(--bg-base); }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto var(--space-lg); }
.cta-banner .btn--ghost { border-color: var(--bg-base); color: var(--bg-base); }
.cta-banner .btn--ghost:hover { background: var(--bg-base); color: var(--accent-primary); }

/* ==================== Sticky mobile CTA ==================== */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  display: none;
  background: var(--accent-primary);
  color: var(--bg-base);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
}
.sticky-cta:hover { color: var(--bg-base); background: var(--accent-hover); }
@media (max-width: 880px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--purple-950);
  color: rgba(255,255,255,.85);
  padding-block: var(--space-section);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__heading {
  color: var(--bg-base);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer__links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.78); font-size: .95rem; }
.footer__links a:hover { color: var(--purple-300); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-md); }
.footer__brand-logo { width: 40px; height: 40px; border-radius: 8px; }
.footer__brand-name { font-weight: 800; color: var(--bg-base); font-size: 1.15rem; }
.footer__about { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer__support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
  color: var(--purple-300);
  font-weight: 600;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-align: center;
}

/* ==================== Page header (sub-pages) ==================== */
.page-head {
  background: linear-gradient(180deg, var(--purple-300), #fff);
  padding-block: var(--space-2xl);
  text-align: center;
}
.page-head h1 { margin-bottom: var(--space-md); }
.page-head p { color: var(--text-muted); max-width: 680px; margin: 0 auto; }

/* ==================== Legal pages ==================== */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding-block: var(--space-2xl);
}
.legal-body h2 { margin-top: var(--space-2xl); }
.legal-body p, .legal-body li { color: var(--text-muted); }

/* ==================== Mobile edge padding (Rule 14) ==================== */
@media (max-width: 480px) {
  .container { padding-inline: var(--space-lg); }
  .section { padding-block: var(--space-2xl); }
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero__title { font-size: clamp(1.85rem, 7vw, 2.3rem); }
}

/* ==================== Misc utilities ==================== */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; white-space: nowrap; }
.muted { color: var(--text-muted); }
