/* ========================================
   HQPDcontrol v4 — Landing Page
   ======================================== */

/* ----------------------------------------
   0. Web fonts — IBM Plex (self-hosted)
   ---------------------------------------- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------
   1. Custom Properties
   ---------------------------------------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f5;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-primary: #00a94c;
  --color-primary-hover: #008a3e;
  --color-primary-light: rgba(0, 169, 76, 0.06);
  --color-primary-glow: rgba(0, 169, 76, 0.15);
  --color-accent: #1e88e5;
  --color-border: #e0e0e0;
  --color-border-strong: #222222;
  --color-shadow: rgba(0, 0, 0, 0.06);
  --color-shadow-lg: rgba(0, 0, 0, 0.12);
  --color-dsd: #43a047;
  --color-hires: #1e88e5;
  --color-standard: #777777;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', 'Roboto Mono', monospace;
  --container: 1160px;
  --header-h: 60px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

[data-theme="dark"] {
  --color-bg: #0e1210;
  --color-bg-alt: #151a17;
  --color-surface: #1a201c;
  --color-text: #e4e4e4;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #606060;
  --color-primary: #4caf50;
  --color-primary-hover: #66bb6a;
  --color-primary-light: rgba(76, 175, 80, 0.08);
  --color-primary-glow: rgba(76, 175, 80, 0.18);
  --color-accent: #64b5f6;
  --color-border: #282e2a;
  --color-border-strong: #999999;
  --color-shadow: rgba(0, 0, 0, 0.2);
  --color-shadow-lg: rgba(0, 0, 0, 0.35);
  --color-dsd: #81c784;
  --color-hires: #64b5f6;
  --color-standard: #aaaaaa;
}

/* ----------------------------------------
   2. Reset & Base
   ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

::selection {
  background: var(--color-primary-glow);
  color: var(--color-text);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }

/* ----------------------------------------
   3. Typography
   ---------------------------------------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { max-width: 680px; }

.text-center { text-align: center; }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }

/* ----------------------------------------
   4. Layout
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  transition: background-color var(--transition);
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  margin: 12px auto 0;
  color: var(--color-text-secondary);
}

/* ----------------------------------------
   5. Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.btn-sm { padding: 7px 16px; font-size: 0.82rem; }

/* ----------------------------------------
   6. Header & Navigation
   ---------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px var(--color-shadow);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav-logo:hover { color: var(--color-text); }

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.theme-toggle svg { width: 18px; height: 18px; }

.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 1px;
  transition: all var(--transition);
}

/* ----------------------------------------
   7. Hero
   ---------------------------------------- */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
  transition: background var(--transition);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 16px;
}

.hero-text p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.store-badges {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition), padding var(--transition);
}

[data-theme="dark"] .store-badges {
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition);
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 270px;
}

.phone-mockup .phone-screen {
  width: 100%;
  aspect-ratio: 1224 / 2570;
}

.phone-mockup .phone-screen img {
  width: 100%;
  height: auto;
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-alt));
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 16px;
}

.screenshot-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.4;
}

/* Crossfade slideshow base — variants below set animation and delays per count */
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

/* Slideshow variant for 2 images, 5s per image (4s visible + 1s fade) = 10s cycle */
.slideshow-2 img {
  animation: slideshow-2 10s infinite;
}

.slideshow-2 img:nth-child(1) { animation-delay: 0s; }
.slideshow-2 img:nth-child(2) { animation-delay: 5s; }

@keyframes slideshow-2 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  50%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Slideshow variant for 5 images, 5s per image (4s visible + 1s fade) = 25s cycle */
.slideshow-5 img {
  animation: slideshow-5 25s infinite;
}

.slideshow-5 img:nth-child(1) { animation-delay: 0s; }
.slideshow-5 img:nth-child(2) { animation-delay: 5s; }
.slideshow-5 img:nth-child(3) { animation-delay: 10s; }
.slideshow-5 img:nth-child(4) { animation-delay: 15s; }
.slideshow-5 img:nth-child(5) { animation-delay: 20s; }

@keyframes slideshow-5 {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Smaller mockup for detail sections */
.phone-mockup-sm {
  max-width: 200px;
}

/* ----------------------------------------
   8. Feature Cards
   ---------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px var(--color-shadow);
  transform: translateY(-3px);
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.feature-card .icon svg { width: 22px; height: 22px; }

.feature-card h3 { margin-bottom: 8px; }

.feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ----------------------------------------
   9. Detail Sections
   ---------------------------------------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.detail-grid.reverse .detail-text { order: -1; }

.detail-text h2 { margin-bottom: 16px; }

.detail-text-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.detail-text-center > p {
  margin-left: auto;
  margin-right: auto;
}

.detail-list-center {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.detail-text > p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.detail-visual {
  display: flex;
  justify-content: center;
}

/* Format badges */
.format-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.badge-dsd { background: rgba(67, 160, 71, 0.12); color: var(--color-dsd); }
.badge-hires { background: rgba(30, 136, 229, 0.12); color: var(--color-hires); }
.badge-standard { background: rgba(119, 119, 119, 0.12); color: var(--color-standard); }

/* Sub-sections in detail */
.detail-subsection {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.detail-subsection h3 {
  margin-bottom: 12px;
  color: var(--color-text);
}

/* ----------------------------------------
   10. Smart Features Grid
   ---------------------------------------- */
.smart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.smart-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: all var(--transition);
}

.smart-card:hover {
  border-color: var(--color-primary);
}

.smart-card .icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.smart-card .icon svg { width: 22px; height: 22px; }

.smart-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.smart-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ----------------------------------------
   11. Customization list
   ---------------------------------------- */
.custom-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.custom-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
}

.custom-list li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 11px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ----------------------------------------
   12. CTA Section
   ---------------------------------------- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
}

.cta-section h2 { margin-bottom: 12px; }

.cta-section > .container > p {
  color: var(--color-text-secondary);
  margin: 0 auto 32px;
}

.cta-section .store-badges {
  justify-content: center;
  margin-bottom: 16px;
}

.cta-platforms {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------
   13. Contact
   ---------------------------------------- */
.contact-email {
  text-align: center;
  font-size: 1.1rem;
}

/* ----------------------------------------
   14. Footer
   ---------------------------------------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: background-color var(--transition), border-color var(--transition);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-attribution {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

/* ----------------------------------------
   15. Animations
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ----------------------------------------
   16. Responsive — Tablet
   ---------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-grid {
    gap: 40px;
  }

  .smart-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------
   17. Responsive — Mobile
   ---------------------------------------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--color-shadow-lg);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    font-size: 1rem;
  }

  .nav-toggle { display: flex; }
  .nav .btn { display: none; }

  .hero { padding: 48px 0 40px; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p { margin-left: auto; margin-right: auto; }

  .store-badges { justify-content: center; }

  .hero-visual { margin-top: 16px; }

  .phone-mockup { width: 220px; }
  .phone-mockup-sm { width: 190px; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-grid.reverse .detail-text { order: 0; }

  .detail-visual { order: -1; }

  .smart-grid {
    grid-template-columns: 1fr;
  }

  .custom-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ----------------------------------------
   18. Reduced motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .slideshow img {
    animation: none !important;
    opacity: 1;
  }

  .slideshow img:not(:first-child) {
    display: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------
   19. Legal pages
   ---------------------------------------- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  max-width: none;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--color-text-secondary);
}

.legal-content li {
  margin-bottom: 6px;
}
