/* ==========================================================================
   The Homework App - Landing site styles
   ========================================================================== */

:root {
  --color-primary: #3B82F6;
  --color-primary-dark: #2563EB;
  --color-primary-light: #60A5FA;
  --color-primary-50: #EFF6FF;
  --color-cta: #F97316;
  --color-cta-dark: #EA580C;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-text-soft: #64748B;
  --color-border: #E2E8F0;
  --color-success: #10B981;
  --color-amber: #F59E0B;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 20px 60px -10px rgba(59, 130, 246, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --container: 1200px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { color: var(--color-text-muted); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}
.navbar__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.navbar__links {
  display: none;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.navbar__links a {
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--color-primary); }
@media (min-width: 768px) {
  .navbar__links { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-cta);
  color: white;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.btn--primary:hover {
  background: var(--color-cta-dark);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--color-text);
  color: white;
}
.btn--secondary:hover {
  background: #1E293B;
  transform: translateY(-1px);
}
.btn--ghost {
  background: white;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* App Store badge button */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  background: #000;
  color: white;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}
.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.appstore-badge svg.apple { width: 28px; height: 28px; flex-shrink: 0; }
.appstore-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.appstore-badge__text small { font-size: 0.7rem; opacity: 0.85; }
.appstore-badge__text strong { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 80% 0%, rgba(96, 165, 250, 0.18), transparent 60%),
    radial-gradient(ellipse 700px 400px at 0% 100%, rgba(249, 115, 22, 0.10), transparent 60%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding: 10rem 0 6rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero__rating .stars {
  display: flex;
  gap: 2px;
  color: var(--color-amber);
}
.hero__rating strong { color: var(--color-text); }

/* App screenshots (no extra device chrome — the App Store images
   already include their own bezels) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.phone {
  position: relative;
  width: 280px;
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.22));
}
.phone--floating {
  position: absolute;
  width: 220px;
  z-index: 0;
  transform: rotate(-8deg);
  top: 30px;
  left: 0;
}
.phone--floating img { border-radius: 28px; }
.phone--main {
  position: relative;
  z-index: 2;
  transform: rotate(4deg);
}
.phone--floating-2 {
  position: absolute;
  width: 220px;
  z-index: 0;
  transform: rotate(12deg);
  bottom: 0;
  right: 0;
}
.phone--floating-2 img { border-radius: 28px; }
@media (max-width: 767px) {
  .hero__visual { min-height: 460px; }
  .phone { width: 230px; }
  .phone--floating, .phone--floating-2 { width: 170px; }
}

/* Floating decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}
.hero__blob--1 {
  width: 220px; height: 220px;
  background: rgba(96, 165, 250, 0.5);
  top: 10%; right: -50px;
}
.hero__blob--2 {
  width: 180px; height: 180px;
  background: rgba(249, 115, 22, 0.35);
  bottom: 5%; left: -40px;
}

/* ==========================================================================
   Stats / Press
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); padding: 2.5rem; }
}
.stat__value {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-weight: 500;
}

.press {
  text-align: center;
}
.press__caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  font-family: 'Baloo 2', sans-serif;
  color: var(--color-text-soft);
}
.press__logos span {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.press__logos span:hover { opacity: 1; }

/* ==========================================================================
   Section header
   ========================================================================== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; }

/* ==========================================================================
   Features grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature--blue .feature__icon { background: #DBEAFE; color: var(--color-primary); }
.feature--orange .feature__icon { background: #FFEDD5; color: var(--color-cta); }
.feature--green .feature__icon { background: #D1FAE5; color: #059669; }
.feature--purple .feature__icon { background: #EDE9FE; color: #7C3AED; }
.feature--pink .feature__icon { background: #FCE7F3; color: #DB2777; }
.feature--amber .feature__icon { background: #FEF3C7; color: #D97706; }

.feature h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.feature p { font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   Screenshots showcase
   ========================================================================== */
.showcase {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.showcase::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}
.showcase__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .showcase__row { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.showcase__phone {
  width: 260px;
  position: relative;
  transition: transform var(--transition);
}
.showcase__phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.18));
}
.showcase__phone:hover { transform: translateY(-8px); }
.showcase__phone:nth-child(2) { transform: translateY(-1.5rem); }
.showcase__phone:nth-child(2):hover { transform: translateY(-2.25rem); }

/* ==========================================================================
   Boost (premium) section
   ========================================================================== */
.boost {
  background: var(--color-text);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .boost {
    padding: 4rem 4rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
.boost::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.4), transparent 60%);
  border-radius: 50%;
  top: -250px; right: -150px;
  pointer-events: none;
}
.boost__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #FED7AA;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.boost h2 { color: white; margin-bottom: 1rem; }
.boost p { color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; margin-bottom: 1.75rem; }
.boost__list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.boost__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}
.boost__list svg {
  width: 20px; height: 20px;
  color: var(--color-cta);
  flex-shrink: 0;
}
.boost__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.boost__visual img {
  width: 200px;
  height: 200px;
  border-radius: 44px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(249, 115, 22, 0.3);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.review__stars {
  display: flex;
  gap: 2px;
  color: var(--color-amber);
  margin-bottom: 1rem;
}
.review__stars svg { width: 18px; height: 18px; }
.review__quote {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}
.review__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.review__source {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item[open] { border-color: var(--color-primary); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(-135deg);
}
.faq__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-final {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.3), transparent 50%);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final h2 { color: white; margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-final .appstore-badge { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 1rem;
}
.footer__brand img { width: 40px; height: 40px; border-radius: 9px; }
.footer__about { font-size: 0.9rem; line-height: 1.65; max-width: 320px; }
.footer__heading {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer__list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.footer__list a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer__list a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   Legal pages (privacy, terms)
   ========================================================================== */
.legal {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--color-bg);
}
.legal__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal__hero {
  text-align: center;
  margin-bottom: 3rem;
}
.legal__hero h1 { margin-bottom: 0.75rem; }
.legal__hero .updated {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.legal__content {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .legal__content { padding: 3rem 3.5rem; } }
.legal__content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.85rem;
  color: var(--color-text);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--color-text);
}
.legal__content p,
.legal__content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.legal__content ul, .legal__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal__content li { margin-bottom: 0.5rem; }
.legal__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__content a:hover { color: var(--color-primary-dark); }
.legal__content strong { color: var(--color-text); font-weight: 600; }
.legal__toc {
  background: var(--color-primary-50);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal__toc strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.legal__toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 1.5rem;
}
.legal__toc li {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}
@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
