/* ====================================================================
   Layiso landing page — Studio Dark theme
   Mobile-first. Breakpoints: 768px, 1280px.
   All motion uses transform/opacity only and honors reduced motion.
   ==================================================================== */

/* ------------------------------------------------------------------ */
/* Design tokens                                                       */
/*                                                                     */
/* Theme resolution: dark is the default. With no stored preference    */
/* (no data-theme attribute) the prefers-color-scheme media query      */
/* follows the system. An explicit data-theme="light|dark" (set by     */
/* the toggle in main.js, persisted in localStorage) wins over both.   */
/* ------------------------------------------------------------------ */
:root {
  --bg: #0C0D10;
  --surface: #16181D;
  --surface-raised: #1D2026;
  --border: #2A2E36;
  --border-hover: #3A3F49;
  --text: #F2F3F5;
  --text-secondary: #9BA1AB;
  --accent: #FF453A;
  --accent-hover: #FF6961;
  --cyan: #5AC8FA;
  --marker-yellow: #F5C518;
  --marker-green: #30D158;
  --playhead: #FFFFFF;
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-shot: 0 24px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 12px;
  --radius-large: 20px;
  --container: 1120px;
  --speed: 0.5s;
}

/* Light palette — all text/accent pairs hold ≥4.5:1 on their surfaces */
:root[data-theme="light"] {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-raised: #FAFAFB;
  --border: #D8DBE0;
  --border-hover: #B7BCC4;
  --text: #16181D;
  --text-secondary: #555B66;
  --accent: #D7261D;
  --accent-hover: #B91D14;
  --cyan: #0973A8;
  --marker-yellow: #C7950A;
  --marker-green: #1F9D49;
  --playhead: #16181D;
  --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-shot: 0 20px 50px rgba(15, 23, 42, 0.18);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F5F7;
    --surface: #FFFFFF;
    --surface-raised: #FAFAFB;
    --border: #D8DBE0;
    --border-hover: #B7BCC4;
    --text: #16181D;
    --text-secondary: #555B66;
    --accent: #D7261D;
    --accent-hover: #B91D14;
    --cyan: #0973A8;
    --marker-yellow: #C7950A;
    --marker-green: #1F9D49;
    --playhead: #16181D;
    --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.14);
    --shadow-shot: 0 20px 50px rgba(15, 23, 42, 0.18);
    color-scheme: light;
  }
}

/* The dark atmospheric hero image only suits the dark theme */
:root[data-theme="light"] .hero-backdrop { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-backdrop { display: none; }
}

/* Theme toggle icon: show the icon for the current effective theme */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: none; }
}

/* ------------------------------------------------------------------ */
/* Reset & base                                                        */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--cyan); }

.mono { font-family: var(--font-mono); font-size: 0.8em; letter-spacing: 0.06em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container-narrow { max-width: 760px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }

/* Dark text on the red button: 5.6:1 contrast (white would be 3.4:1, below AA) */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--text-secondary); }

.btn-small { padding: 0.5em 1.1em; font-size: 0.9rem; }

.icon { flex-shrink: 0; }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 26px; height: 23px;
  filter: drop-shadow(0 0 8px color-mix(in srgb, #F0601E 55%, transparent));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.12); }

/* Theme switcher */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-left: auto;
  margin-right: 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(-90deg); top: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { opacity: 0; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 12px 20px 20px;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  gap: 14px;
}
.nav-menu.is-open { display: flex; }

.nav-menu a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}
.nav-menu a:not(.btn):hover { color: var(--text); }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
  /* soft fade into the page background */
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  mask-image: linear-gradient(to bottom, black 55%, transparent);
}

.hero-inner { position: relative; text-align: center; }

/* Floating app mark above the hero copy: soft warm glow + slow bob */
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-logo img {
  width: 76px; height: 68px;
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, #F0601E 45%, transparent))
    drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
  animation: logo-float 5s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}

.rec-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: rec-pulse 1.6s ease-in-out infinite;
}

@keyframes rec-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  max-width: 38em;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* --- Animated timeline card ------------------------------------- */
.timeline-card {
  margin: 56px auto 0;
  max-width: 780px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 16px 18px 20px;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.timeline-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  padding-bottom: 14px;
}

.timeline-rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 600;
}

.timeline-tracks { position: relative; display: grid; gap: 10px; }

.track {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 10px;
}

.track-label { color: var(--text-secondary); white-space: nowrap; }

.track-lane {
  height: 26px;
  background: var(--bg);
  border-radius: 7px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.clip {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: var(--w, 60%);
  border-radius: 5px;
  transform-origin: left center;
  animation: clip-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.clip-screen  { background: linear-gradient(90deg, #B33831, var(--accent)); animation-delay: 0.15s; }
.clip-camera  { background: linear-gradient(90deg, #2C7A96, var(--cyan));   animation-delay: 0.3s; }
.clip-mic     { background: linear-gradient(90deg, #3D4451, #6B7484);       animation-delay: 0.45s; }
.clip-system  { background: linear-gradient(90deg, #8A6D1F, var(--marker-yellow)); animation-delay: 0.6s; }

@keyframes clip-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.playhead {
  position: absolute;
  top: -6px; bottom: -6px;
  left: 88px;
  width: 2px;
  background: var(--playhead);
  box-shadow: 0 0 8px color-mix(in srgb, var(--playhead) 60%, transparent);
  animation: playhead-sweep 7s linear infinite;
}

@keyframes playhead-sweep {
  from { transform: translateX(0); }
  to { transform: translateX(min(58vw, 560px)); }
}

.timeline-markers {
  position: relative;
  height: 12px;
  margin-top: 12px;
  margin-left: 98px;
}

.marker {
  position: absolute;
  left: var(--x, 0%);
  top: 0;
  width: 9px; height: 12px;
  border-radius: 2px 2px 4px 4px;
}
.m-red    { background: var(--accent); }
.m-cyan   { background: var(--cyan); }
.m-yellow { background: var(--marker-yellow); }
.m-green  { background: var(--marker-green); }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.section { padding: 72px 0; }

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

.section-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

/* --- Features ----------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.feature-card p { color: var(--text-secondary); margin-bottom: 0; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 18px;
}
.feature-card:nth-child(odd) .feature-icon { color: var(--accent); }

/* --- Steps -------------------------------------------------------- */
.steps {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.step-number {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
}

.step p { color: var(--text-secondary); margin-bottom: 0; }

.studio-figure {
  margin: 48px 0 0;
}
.studio-figure img {
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  width: 100%;
}
.studio-figure figcaption {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

/* --- App screenshots ------------------------------------------------ */
.shot-grid {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.shot { margin: 0; }

.shot-window {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #1B1C1E; /* always dark — matches the app screenshots inside */
  box-shadow: var(--shadow-shot);
}

.shot-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #232529;
  border-bottom: 1px solid var(--border);
}

.shot-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3E434C;
}

.shot-title {
  margin-left: 10px;
  color: var(--text-secondary);
}

.shot figcaption {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 14px;
  text-align: center;
}

/* --- Integrations badge row -------------------------------------- */
.integrations { padding: 40px 0; }

.badge-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.92rem;
}
.badge .mono { color: var(--cyan); font-weight: 600; }

/* --- Testimonials -------------------------------------------------- */
.quote-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.quote-card {
  margin: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card p { color: var(--text); }

.quote-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.quote-card cite { color: var(--text-secondary); font-style: normal; font-size: 0.9rem; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Pricing -------------------------------------------------------- */
.pricing-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.price-card-pro {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface));
}

.price-flag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}

.price { margin: 0 0 18px; }
.price-amount { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }

.price-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  color: var(--text-secondary);
  display: grid;
  gap: 10px;
  flex-grow: 1;
}

.price-list li {
  padding-left: 26px;
  position: relative;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--marker-green);
  border-bottom: 2px solid var(--marker-green);
  transform: rotate(-45deg);
}

.price-card .btn { justify-content: center; }

/* --- FAQ ------------------------------------------------------------ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  margin-top: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-secondary);
}

/* --- Final CTA ------------------------------------------------------ */
.cta-final { text-align: center; padding-bottom: 96px; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-note { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover { color: var(--text); }

/* ------------------------------------------------------------------ */
/* Scroll reveal (JS adds .is-visible; non-JS fallback keeps visible)  */
/* ------------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--speed) ease, transform var(--speed) cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* Reduced motion: disable all animation & transitions                 */
/* ------------------------------------------------------------------ */
@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .playhead { display: none; }
}

/* ------------------------------------------------------------------ */
/* Breakpoint: tablet ≥ 768px                                          */
/* ------------------------------------------------------------------ */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .theme-toggle {
    order: 2;
    margin-left: 18px;
    margin-right: 0;
  }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: none;
    border: 0;
    margin-left: auto;
  }

  .hero { padding: 104px 0 80px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin-inline: auto;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ------------------------------------------------------------------ */
/* Breakpoint: desktop ≥ 1280px                                        */
/* ------------------------------------------------------------------ */
@media (min-width: 1280px) {
  .section { padding: 96px 0; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-card { max-width: 860px; }
}

/* ------------------------------------------------------------------ */
/* Legal / support pages (privacy.html, support.html)                  */
/* ------------------------------------------------------------------ */
.legal-page { padding-top: 120px; }

.legal-container { max-width: 720px; }

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-page p { margin: 0 0 16px; }

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-page li { margin-bottom: 8px; }

.legal-page li::marker { color: var(--accent); }

.legal-page strong { color: var(--text); }

.legal-page a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover { color: var(--text); }
