/* ============================================================
   Tier 1 Protection — site.css
   ============================================================ */

:root {
  --bg:           #001529;
  --bg-dark:      #000f1e;
  --bg-card:      rgba(255,255,255,0.03);
  --border:       rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --accent:       #08ffda;
  --accent-glow:  rgba(8,255,218,0.15);
  --accent-hover: rgba(8,255,218,0.08);
  --text:         #e4e7ec;
  --text-muted:   #98a2b3;
  --text-dim:     #667085;
  --white:        #fff;
  --radius:       24px;
  --font-body:    'Inter', sans-serif;
  --font-display: 'Instrument Sans', 'Inter', sans-serif;
  --gradient-cyan: linear-gradient(270deg, rgb(96, 239, 255) 0%, rgb(0, 255, 135) 100%);
  --gradient-fade: linear-gradient(0deg, rgb(94, 94, 94) -38%, rgb(255, 255, 255) 100%);
  --gradient-line: linear-gradient(to right, transparent, var(--accent), transparent);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Shared: eyebrow label --------------------------------- */
.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 12px;
}

/* --- Shared: card base ------------------------------------- */
.card-base {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card-base::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-line);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
}

.card-base:hover::before { opacity: 1; }
.card-base:hover { box-shadow: 0 -2px 12px var(--accent-glow); }

/* --- Shared: gradient text --------------------------------- */
.text-gradient-fade {
  background-image: var(--gradient-fade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background-image: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Shared: body text ------------------------------------- */
.text-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Navigation -------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
  background: transparent;
}

.nav.scrolled {
  background: rgba(0, 21, 41, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav .container { display: flex; align-items: center; justify-content: space-between; max-width: none; padding: 0 32px; }
.nav-logo img { height: 38px; width: auto; transition: transform 0.2s; }
.nav-logo:hover img { transform: scale(1.08); }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }

/* Services dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  /* it's a <button> for keyboard access — strip UA styling */
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.nav-dropdown-toggle::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: rgba(255,255,255,0.6);
  margin-top: 3px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
  border-top-color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0, 30, 55, 0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--accent-hover);
  color: var(--accent);
}

.nav-links a.nav-contact {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.nav-links a.nav-contact:hover {
  background: var(--accent-hover);
  color: var(--accent);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,21,41,0.75) 0%,
    rgba(0,21,41,0.6) 50%,
    rgba(0,21,41,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(228,231,236,0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub { min-height: 60vh; }
.hero-sub .hero-content h1 { font-size: 3rem; }

/* --- Section base ------------------------------------------ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg); }
.section-darker { background: var(--bg-dark); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p:not(.eyebrow) {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Services grid (home) ---------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform 0.35s;
}
.service-card:hover { transform: translateY(-6px); }

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-line);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
}
.service-card:hover::before { opacity: 1; }

.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover img { transform: scale(1.05); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,41,0.9) 0%, rgba(0,21,41,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.service-card-overlay h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  position: relative;
}

.service-card-overlay h3::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-image: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover .service-card-overlay h3::after { opacity: 1; }

.service-card-overlay p {
  font-size: 0.88rem;
  color: rgba(228,231,236,0.75);
  line-height: 1.5;
}

/* --- About section (home) ---------------------------------- */
.about-decorative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.about-left { padding-top: 2rem; }
.about-left h1,
.about-left .about-deco-small, .about-left .about-deco-large, .about-left .about-deco-med {
  font-family: var(--font-display); color: var(--white); font-weight: 600; line-height: 1.1; margin: 0;
}
.about-deco-small { font-size: 3.5rem; text-align: left; margin-left: 1em; }
.about-deco-large { font-size: 6rem; text-align: left; margin-left: 2.5em; }
.about-deco-med   { font-size: 2.5rem; text-align: left; margin-left: 6em; }

.about-right p { color: var(--text); margin-bottom: 16px; line-height: 1.7; }

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 12px;
  transition: opacity 0.2s;
}
.about-link:hover { opacity: 0.8; color: var(--accent); }

/* --- Safety section (home) --------------------------------- */
.safety-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.safety-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.safety-text h2 { font-size: 2.5rem; margin-bottom: 16px; }
.safety-text p:not(.eyebrow) { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* --- Testimonials ------------------------------------------ */
.testimonials { padding: 100px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  font-style: normal;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: auto; }

.testimonial-photo {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-info h4 { font-size: 1.125rem; font-weight: 600; }
.testimonial-author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- Co-founders ------------------------------------------- */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.founder-info { padding: 32px; }
.founder-info .eyebrow { margin-bottom: 4px; }
.founder-info h3 { font-size: 1.6rem; margin-bottom: 16px; }
.founder-info p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }

/* --- Service detail pages ---------------------------------- */
.service-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-overview-text h2 { font-size: 2rem; margin-bottom: 16px; }
.service-overview-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

.service-overview.reversed > :first-child { order: 2; }
.service-overview.reversed > :last-child { order: 1; }

.service-list { margin-top: 20px; }

.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Service detail cards */
.service-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-detail-card:hover img { transform: scale(1.05); }

.service-detail-card-body { padding: 28px; }
.service-detail-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
}

.service-detail-card-body h3::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-image: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.4s;
}

.service-detail-card:hover .service-detail-card-body h3::after { opacity: 1; }
.service-detail-card-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* Related services */
.related-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.related-card { padding: 32px; }
.related-card h3 { font-size: 1.2rem; margin-bottom: 10px; position: relative; }

.related-card h3::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-image: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.4s;
}

.related-card:hover h3::after { opacity: 1; }
.related-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* --- Courses page ------------------------------------------ */
.course-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image img,
.service-overview img {
  border-radius: var(--radius);
}
.course-intro-text h2 { font-size: 2rem; margin-bottom: 16px; }
.course-intro-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card { padding: 36px; }
.course-card .eyebrow { margin-bottom: 16px; }
.course-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.course-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.course-card ul { margin-top: 12px; }

.course-card ul li {
  padding: 5px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.course-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* --- Contact ----------------------------------------------- */
.contact-section {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 24px; }
.contact-details { margin-top: 20px; }
.contact-details p { color: var(--text-muted); margin-bottom: 8px; font-size: 0.95rem; }
.contact-company { color: var(--white) !important; font-weight: 600; }
.contact-details a { color: var(--accent); transition: color 0.2s; }
.contact-details a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--accent);
}

.social-links svg {
  width: 28px;
  height: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.8;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-copyright a { color: var(--text-muted); text-decoration: underline; }
.contact-copyright a:hover { color: var(--accent); }

/* Honeypot field — off-screen, never shown */
.hp-field { position: absolute; left: -9999px; }

/* Contact result page (app/templates/contact_thanks.html) */
.contact-result { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.contact-result h1 { font-size: 2.2rem; margin-bottom: 16px; }
.contact-result p { max-width: 480px; margin: 0 auto 32px; color: var(--text-muted); }
.contact-result .contact-copyright { max-width: none; }

/* --- Utility ----------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid, .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(0,15,30,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right 0.35s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-links.open { right: 0; }

  .nav-links a,
  .nav-dropdown-toggle {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { transform: none; }
  .nav-dropdown-toggle { text-align: left; }
  .nav-contact { margin-top: 16px; }

  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-sub .hero-content h1 { font-size: 2rem; }

  .services-grid, .courses-grid, .service-details-grid { grid-template-columns: 1fr; }

  .about-decorative { grid-template-columns: 1fr; gap: 32px; }
  .about-deco-large { font-size: 3.5rem; margin-left: 1em; }
  .about-deco-med { font-size: 1.75rem; margin-left: 1em; }
  .about-deco-small { font-size: 2rem; margin-left: 0; }

  .safety-split,
  .service-overview,
  .course-intro,
  .contact-inner,
  .founders,
  .testimonials-grid,
  .related-services {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section { padding: 60px 0; }
  .section-header h2, .contact-info h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .container { padding: 0 16px; }
}

/* --- Legal pages (terms, privacy) --- */
.legal-header {
  padding: 140px 0 40px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.legal-header h1 {
  font-size: 2.8rem;
  margin: 8px 0 12px;
}
.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-page {
  max-width: 820px;
}
.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 8px;
}
.legal-page h2:first-of-type {
  margin-top: 0;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--accent);
}
.legal-page p {
  color: var(--text);
  margin-bottom: 14px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page ul li {
  margin-bottom: 8px;
  color: var(--text);
}
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page strong {
  color: var(--white);
}
.legal-footer-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .legal-header { padding: 100px 0 32px; }
  .legal-header h1 { font-size: 2.2rem; }
  .legal-page h2 { font-size: 1.3rem; }
}


/* --- Reduced motion ---------------------------------------- */
@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;
  }
}
