/* ==========================================================================
   ASCANX — Phase 0 Foundation
   Single stylesheet: tokens + base + components + legal compatibility
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400&display=swap');

/* --------------------------------------------------------------------------
   3.1 CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Colors — Light Sky Blue Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F9FC;
  --bg-tertiary: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-tertiary: #64748B;

  /* Brand — ASCANX Sky Blue */
  --brand-primary: #0284C7;
  --brand-secondary: #38BDF8;
  --brand-glow: rgba(2, 132, 199, 0.2);

  /* Accent — Emerald Green (safety, confirmed) */
  --accent-primary: #059669;
  --accent-secondary: #34D399;
  --accent-glow: rgba(5, 150, 105, 0.2);

  /* CTA — Warm Amber */
  --cta-primary: #D97706;
  --cta-secondary: #FBBF24;
  --cta-glow: rgba(217, 119, 6, 0.2);

  /* Status */
  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Verification badges */
  --verify-green: #15803D;
  --verify-orange: #B45309;
  --verify-light-orange: #C2410C;
  --verify-red: #B91C1C;

  /* Borders & Surfaces */
  --border-color: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(2, 132, 199, 0.4);
  --card-bg: #FFFFFF;
  --card-bg-hover: #F8FAFC;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --fs-hero: clamp(2.75rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --section-padding: 100px 0;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --glow-blue: 0 0 20px var(--brand-glow);
  --glow-green: 0 0 20px var(--accent-glow);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --header-height: 72px;
  --container-max: 1200px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(56, 189, 248, 0.4);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-hover: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --brand-glow: rgba(56, 189, 248, 0.3);
  --accent-glow: rgba(52, 211, 153, 0.2);
  --verify-green: #22C55E;
  --verify-orange: #F59E0B;
  --verify-light-orange: #FB923C;
  --verify-red: #EF4444;
}

/* --------------------------------------------------------------------------
   3.2 Global Reset & Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition-base), color var(--transition-base);
}

::selection {
  background: var(--brand-primary);
  color: #FFFFFF;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

/* Skip to Content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brand-primary);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-small);
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--section-padding);
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   3.3 Section Header (Reusable)
   -------------------------------------------------------------------------- */

.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section__badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================ */
/* HEADER                                       */
/* ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.header--scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .header--scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.header__brand:hover {
  transform: translateY(-1px);
}

.header__brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-primary) 14%, transparent),
    color-mix(in srgb, var(--brand-secondary) 10%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--brand-primary) 28%, transparent);
  box-shadow: 0 2px 14px color-mix(in srgb, var(--brand-primary) 18%, transparent);
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.header__brand:hover .header__brand-mark {
  border-color: color-mix(in srgb, var(--brand-primary) 50%, transparent);
  box-shadow: 0 4px 22px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}

.header__brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.header__brand-name {
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  white-space: nowrap;
}

.header__brand-accent {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.header__brand-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 1px;
  white-space: nowrap;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header__theme-toggle:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.header__theme-icon {
  width: 18px;
  height: 18px;
  transition: all var(--transition-base);
}

[data-theme="dark"] .header__theme-icon--light { display: block; }
[data-theme="dark"] .header__theme-icon--dark { display: none; }
[data-theme="light"] .header__theme-icon--light { display: none; }
[data-theme="light"] .header__theme-icon--dark { display: block; }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #FFFFFF;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: 0 0 20px var(--brand-glow);
}

.header__cta:hover {
  background: var(--brand-secondary);
  box-shadow: 0 0 30px var(--brand-glow);
  transform: translateY(-2px);
}

.header__cta i {
  width: 16px;
  height: 16px;
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.header__mobile-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__mobile-toggle--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__mobile-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================ */
/* MOBILE MENU OVERLAY                          */
/* ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

[data-theme="light"] .mobile-menu {
  background: rgba(250, 250, 250, 0.97);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.mobile-menu__link:hover {
  color: var(--brand-primary);
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 25px var(--brand-glow);
  transition: all var(--transition-base);
}

.mobile-menu__cta:hover {
  background: var(--brand-secondary);
  transform: translateY(-3px);
}

/* ============================================ */
/* FLOATING QR (Bottom Right)                   */
/* ============================================ */

.floating-qr {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.floating-qr__btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px var(--brand-glow);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.floating-qr__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px var(--brand-glow);
}

.floating-qr__btn i {
  width: 24px;
  height: 24px;
}

.floating-qr__popup {
  position: absolute;
  bottom: 64px;
  right: 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.floating-qr__popup--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-qr__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto var(--space-sm);
}

.floating-qr__label {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: #1E293B;
}

/* ============================================ */
/* BACK TO TOP (Bottom Left)                    */
/* ============================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--glow-blue);
  transform: translateY(-3px);
}

.back-to-top i {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .floating-qr {
    bottom: 20px;
    right: 20px;
  }

  .floating-qr__btn {
    width: 44px;
    height: 44px;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 38px;
    height: 38px;
  }
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-color);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__brand-mark {
  display: block;
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-base);
}

.footer__brand-mark:hover {
  transform: translateY(-2px);
}

.footer__logo {
  width: auto;
  height: auto;
  max-height: clamp(100px, 16vw, 140px);
  max-width: min(260px, 85vw);
  display: block;
  object-fit: contain;
}

.footer__desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.75;
  max-width: 340px;
  margin: 0 auto;
}

.footer__heading {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a,
.footer__contact li,
.footer__contact a {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--brand-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  color: var(--text-tertiary);
  font-size: var(--fs-caption);
}

.footer__play-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--brand-primary);
  font-weight: 500;
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.footer__play-link:hover {
  color: var(--brand-secondary);
}

.footer__play-link i {
  width: 16px;
  height: 16px;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

@media (max-width: 991px) {
  .header__nav,
  .header__cta {
    display: none;
  }

  .header__mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-sm);
  }

  .footer__logo {
    max-height: clamp(110px, 20vw, 150px);
    max-width: min(280px, 90vw);
  }

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

@media (max-width: 991px) {
  .header__brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .header__brand-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 0;
  }

  .header--scrolled {
    padding: 8px 0;
  }

  .header__brand {
    gap: 10px;
  }

  .header__brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .header__brand-logo {
    width: 34px;
    height: 34px;
  }

  .header__brand-name {
    font-size: 1.1rem;
  }

  .header__brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

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

/* ============================================ */
/* HERO                                         */
/* ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg-primary);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--brand-primary);
  top: -250px;
  right: -200px;
  animation: orbFloat1 10s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  bottom: -150px;
  left: -150px;
  animation: orbFloat2 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.08); }
  66% { transform: translate(40px, -30px) scale(0.94); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.12); }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
  max-width: 1100px;
}

.hero__content {
  max-width: 550px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__headline {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero__headline-line {
  display: block;
}

.hero__headline-line--accent {
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subheadline {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hero__cta-primary,
.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.hero__cta-primary {
  background: var(--brand-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 20px var(--brand-glow);
  border: none;
}

.hero__cta-primary:hover {
  background: #0369A1;
  box-shadow: 0 8px 30px var(--brand-glow);
  transform: translateY(-3px);
}

.hero__cta-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 2px solid #CBD5E1;
}

.hero__cta-secondary:hover {
  border-color: var(--brand-primary);
  background: rgba(2, 132, 199, 0.03);
  box-shadow: 0 0 20px var(--brand-glow);
  transform: translateY(-3px);
}

[data-theme="light"] .hero__cta-primary {
  background: #0284C7;
  color: #FFFFFF;
}

[data-theme="light"] .hero__cta-secondary {
  background: #FFFFFF;
  color: #1E293B;
  border: 2px solid #CBD5E1;
}

[data-theme="light"] .hero__cta-secondary:hover {
  border-color: #0284C7;
  background: #F0F9FF;
}

.hero__cta-primary,
.hero__cta-secondary {
  opacity: 1 !important;
}

[data-theme="dark"] .hero__cta-primary {
  background: #0284C7;
  color: #FFFFFF !important;
}

[data-theme="dark"] .hero__cta-primary:hover {
  background: #0369A1;
}

[data-theme="dark"] .hero__cta-secondary {
  background: #1E293B;
  color: #F1F5F9;
  border: 2px solid #475569;
}

[data-theme="dark"] .hero__cta-secondary:hover {
  border-color: #38BDF8;
  background: #263348;
}

.hero__cta-primary i {
  color: #FFFFFF;
}

.hero__cta-primary i,
.hero__cta-secondary i {
  width: 18px;
  height: 18px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.hero__stat-number::after {
  content: '+';
  color: var(--brand-primary);
}

.hero__stat-label {
  display: block;
  font-size: var(--fs-caption);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero__mockup-wrapper {
  position: relative;
  z-index: 1;
}

.hero__mockup {
  max-height: 560px;
  width: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.2));
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__mockup-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: var(--brand-primary);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.3;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.2); }
}

.hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  margin-top: var(--space-lg);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.hero__trust-badge i {
  width: 18px;
  height: 18px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-tertiary);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--glow-blue);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: 0; opacity: 1; }
  100% { top: 70%; opacity: 0; }
}

@media (max-width: 991px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__content {
    order: 2;
    max-width: 100%;
  }

  .hero__visual {
    order: 1;
  }

  .hero__mockup {
    max-height: 400px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__headline {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }
}

@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-primary,
  .hero__cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb--1,
  .hero__orb--2,
  .hero__mockup,
  .hero__mockup-glow,
  .hero__badge-dot,
  .hero__scroll-dot {
    animation: none;
  }

  .properties__strip {
    animation: none;
  }
}

/* ============================================ */
/* LIVE PROPERTIES STRIP                        */
/* ============================================ */

.properties {
  background: var(--bg-secondary);
  padding: var(--space-4xl) 0 var(--space-2xl);
  overflow: hidden;
}

.properties__strip-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.properties__strip {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: scrollStrip 40s linear infinite;
  padding: var(--space-md) 0;
  will-change: transform;
  backface-visibility: hidden;
}

.properties__strip:hover {
  animation-play-state: paused;
}

@keyframes scrollStrip {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.property-card {
  flex-shrink: 0;
  width: 260px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 30px var(--brand-glow);
}

.property-card__image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #FFFFFF;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card__image img {
  transform: scale(1.03);
}

/* Verification Badge */
.property-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: none;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.property-card__badge--green {
  background: #16A34A;
  border: 1px solid #15803D;
}

.property-card__badge--orange {
  background: #D97706;
  border: 1px solid #B45309;
}

.property-card__badge--light-orange {
  background: #EA580C;
  border: 1px solid #C2410C;
}

.property-card__badge--red {
  background: #DC2626;
  border: 1px solid #B91C1C;
}

.property-card__body {
  padding: var(--space-md) var(--space-lg);
}

.property-card__name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.property-card__location i {
  width: 14px;
  height: 14px;
}

.property-card__price {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--brand-primary);
}

.properties__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.properties__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0 25px var(--brand-glow);
}

.properties__cta-btn:hover {
  background: var(--brand-secondary);
  box-shadow: 0 0 40px var(--brand-glow);
  transform: translateY(-3px);
}

.properties__cta-btn i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.properties__cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .property-card {
    width: 220px;
  }

  .property-card__image {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .property-card {
    width: 200px;
  }

  .property-card__image {
    height: 200px;
  }
}

/* ============================================ */
/* HOW IT WORKS                                 */
/* ============================================ */

.how-it-works {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hiw__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hiw__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--fs-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.hiw__tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.hiw__tab i {
  width: 18px;
  height: 18px;
}

.hiw__tab--active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--brand-glow);
}

.hiw__tab--active:hover {
  color: #FFFFFF;
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.hiw__content {
  display: none;
}

.hiw__content--active {
  display: block;
  animation: hiwFadeIn 0.4s ease;
}

@keyframes hiwFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hiw__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hiw__step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
}

.hiw__step:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 30px var(--brand-glow);
}

.hiw__step-number {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.hiw__step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--brand-primary);
  transition: all var(--transition-base);
}

.hiw__step:hover .hiw__step-icon {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--glow-blue);
}

.hiw__step-icon i {
  width: 26px;
  height: 26px;
}

.hiw__step-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.hiw__step-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.hiw__step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.hiw__step-connector i {
  width: 24px;
  height: 24px;
}

.hiw__cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

.hiw__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0 25px var(--brand-glow);
}

.hiw__cta-btn:hover {
  background: var(--brand-secondary);
  box-shadow: 0 0 40px var(--brand-glow);
  transform: translateY(-3px);
}

.hiw__cta-btn i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hiw__cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .hiw__steps {
    flex-direction: column;
    align-items: center;
  }

  .hiw__step {
    max-width: 100%;
    width: 100%;
  }

  .hiw__step-connector {
    transform: rotate(90deg);
    padding-top: 0;
    padding: var(--space-sm) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw__content--active {
    animation: none;
  }
}

/* ============================================ */
/* FEATURES                                     */
/* ============================================ */

.features {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.features__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--fs-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.features__tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.features__tab i {
  width: 18px;
  height: 18px;
}

.features__tab--active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--brand-glow);
}

.features__tab--active:hover {
  color: #FFFFFF;
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.features__content {
  display: none;
}

.features__content--active {
  display: block;
  animation: featuresFadeIn 0.4s ease;
}

@keyframes featuresFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 30px var(--brand-glow);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--brand-primary);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--glow-blue);
}

.feature-card__icon i {
  width: 26px;
  height: 26px;
}

.feature-card__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card--premium {
  border-color: color-mix(in srgb, var(--cta-primary) 20%, transparent);
}

.feature-card--premium:hover {
  border-color: color-mix(in srgb, var(--cta-primary) 50%, transparent);
  box-shadow: var(--shadow-lg), 0 0 30px color-mix(in srgb, var(--cta-primary) 10%, transparent);
}

.feature-card__premium-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #0A0A0A;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

@media (max-width: 991px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features__content--active {
    animation: none;
  }
}

/* ============================================ */
/* TRUST & SOCIAL PROOF                         */
/* ============================================ */

.trust {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.trust__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  flex-wrap: wrap;
}

.trust__stat {
  text-align: center;
}

.trust__stat-number {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.trust__stat-number::after {
  content: '+';
  color: var(--brand-primary);
}

.trust__stat--percent .trust__stat-number::after {
  content: none;
}

.trust__stat-suffix {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -1px;
}

.trust__stat-label {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.trust__stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-color);
}

.trust__guide-title {
  text-align: center;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.trust__guide-subtitle {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.trust__score-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.score-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  border-top: 3px solid transparent;
}

.score-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.score-card--green { border-top-color: var(--verify-green); }
.score-card--green:hover { box-shadow: var(--shadow-md), 0 0 20px color-mix(in srgb, var(--verify-green) 10%, transparent); }

.score-card--orange { border-top-color: var(--verify-orange); }
.score-card--orange:hover { box-shadow: var(--shadow-md), 0 0 20px color-mix(in srgb, var(--verify-orange) 10%, transparent); }

.score-card--light-orange { border-top-color: var(--verify-light-orange); }
.score-card--light-orange:hover { box-shadow: var(--shadow-md), 0 0 20px color-mix(in srgb, var(--verify-light-orange) 10%, transparent); }

.score-card--red { border-top-color: var(--verify-red); }
.score-card--red:hover { box-shadow: var(--shadow-md), 0 0 20px color-mix(in srgb, var(--verify-red) 10%, transparent); }

.score-card__range {
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.score-card__label {
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.score-card--green .score-card__label { color: var(--verify-green); }
.score-card--orange .score-card__label { color: var(--verify-orange); }
.score-card--light-orange .score-card__label { color: var(--verify-light-orange); }
.score-card--red .score-card__label { color: var(--verify-red); }

.score-card__desc {
  font-size: var(--fs-caption);
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust__process {
  margin-bottom: var(--space-3xl);
}

.trust__process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.trust__process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--transition-base);
}

.trust__process-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.trust__process-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--accent-primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.trust__process-step:hover .trust__process-icon {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: var(--glow-green);
}

.trust__process-icon i {
  width: 22px;
  height: 22px;
}

.trust__process-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.trust__process-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust__process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.trust__process-arrow i {
  width: 20px;
  height: 20px;
}

.trust__cta {
  text-align: center;
}

.trust__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  background: var(--accent-primary);
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0 25px var(--accent-glow);
}

.trust__cta-btn:hover {
  background: var(--accent-secondary);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-3px);
}

.trust__cta-btn i {
  width: 18px;
  height: 18px;
}

@media (max-width: 991px) {
  .trust__score-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__process-steps {
    flex-direction: column;
    align-items: center;
  }

  .trust__process-step {
    max-width: 100%;
    width: 100%;
  }

  .trust__process-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    padding: var(--space-sm) 0;
  }

  .trust__stat-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .trust__score-cards {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================ */
/* DOWNLOAD                                     */
/* ============================================ */

.download {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.download__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.download__content {
  max-width: 500px;
}

.download__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}

.download__subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.download__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 280px;
}

.download__store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 24px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 0 25px var(--brand-glow);
}

.download__store-btn:hover {
  background: var(--brand-secondary);
  box-shadow: 0 0 40px var(--brand-glow);
  transform: translateY(-3px);
}

.download__store-btn i {
  width: 28px;
  height: 28px;
}

.download__ios-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: not-allowed;
  opacity: 0.6;
}

.download__ios-btn i {
  width: 28px;
  height: 28px;
}

.download__store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.download__store-label {
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.download__store-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.download__qr {
  display: flex;
  justify-content: center;
}

.download__qr-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: 0 0 50px color-mix(in srgb, var(--brand-primary) 15%, transparent);
}

.download__qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download__qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download__qr-text {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #1E293B;
}

@media (max-width: 768px) {
  .download__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download__content {
    max-width: 100%;
  }

  .download__buttons {
    margin: 0 auto;
  }

  .download__qr {
    order: -1;
  }

  .download__qr-card {
    padding: var(--space-xl);
  }

  .download__qr-code {
    width: 150px;
    height: 150px;
  }
}

/* ============================================ */
/* FAQ                                          */
/* ============================================ */

.faq {
  background: var(--bg-primary);
  position: relative;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq__item:hover {
  border-color: var(--border-hover);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--fs-body);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--brand-primary);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.faq__icon--plus {
  display: block;
}

.faq__icon--minus {
  display: none;
}

.faq__item--active .faq__icon--plus {
  display: none;
}

.faq__item--active .faq__icon--minus {
  display: block;
  color: var(--brand-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item--active .faq__answer {
  max-height: 400px;
}

.faq__answer p {
  padding: 0 24px 18px 24px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .faq__question {
    padding: 16px 18px;
    font-size: var(--fs-small);
  }

  .faq__answer p {
    padding: 0 18px 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__answer {
    transition: none;
  }
}

/* ============================================ */
/* CONTACT                                      */
/* ============================================ */

.contact {
  background: var(--bg-secondary);
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact__prompt {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__whatsapp-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact__whatsapp-btn--tenant {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.contact__whatsapp-btn--tenant:hover {
  background: #20BD5A;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transform: translateY(-3px);
}

.contact__whatsapp-btn--owner {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--brand-glow);
}

.contact__whatsapp-btn--owner:hover {
  background: var(--brand-secondary);
  box-shadow: 0 8px 30px var(--brand-glow);
  transform: translateY(-3px);
}

.contact__whatsapp-btn > i:first-child {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact__whatsapp-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact__whatsapp-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.contact__whatsapp-action {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact__whatsapp-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.contact__whatsapp-btn:hover .contact__whatsapp-arrow {
  transform: translateX(4px);
}

.contact__info-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.contact__info-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.contact__info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact__info-item:last-child {
  margin-bottom: 0;
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.contact__info-icon i {
  width: 18px;
  height: 18px;
}

.contact__info-label {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact__info-value {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.contact__info-value:hover {
  color: var(--brand-primary);
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact__info-card {
    text-align: center;
  }

  .contact__info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Scroll reveal (legal pages + future sections)
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Legal pages — compatibility (body content unchanged from prior build)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .site-header__logo {
    height: 48px;
  }
}

.site-header__brand .site-header__name {
  display: none;
}

.site-header__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.site-header__name span {
  color: var(--accent-primary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  transform: scaleX(1);
}

.site-nav__link--active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.12);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: var(--space-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: scale(1.04);
}

.theme-toggle:active {
  transform: scale(0.97);
}

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

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-fast), border-color var(--transition-fast);
}

.btn--primary {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

.btn--primary:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: var(--glow-green);
}

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.site-footer__heading {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.site-footer__link,
.site-footer__text {
  display: block;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--brand-primary);
}

.site-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
}

.legal-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 88px);
  text-align: center;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.legal-hero__title {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 480px;
  margin-inline: auto;
}

.legal-body {
  padding-block: clamp(40px, 5vw, 64px) var(--space-4xl);
}

.legal-body .container {
  max-width: 820px;
}

.legal-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 18px;
  margin-bottom: 36px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.legal-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-meta__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.legal-prose {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-primary);
}

.legal-prose > p {
  margin-bottom: 18px;
}

.legal-prose h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.legal-prose ul,
.legal-prose ol {
  margin: 0 0 18px;
  padding-left: 1.4em;
  list-style: disc;
}

.legal-prose ol {
  list-style: decimal;
}

.legal-prose li {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-prose li::marker {
  color: var(--brand-secondary);
}

.legal-prose strong {
  font-weight: 600;
  color: var(--text-primary);
}

.legal-prose a {
  color: var(--brand-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal-prose a:hover {
  color: var(--accent-primary);
}

.legal-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.legal-callout {
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.65;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.legal-callout--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  border-left: 4px solid var(--warning);
}

.legal-callout--error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--error);
}

.legal-callout--info {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  border-left: 4px solid var(--brand-primary);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.legal-table th {
  font-weight: 600;
  font-size: var(--fs-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(59, 130, 246, 0.1);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr {
  transition: background var(--transition-fast);
}

.legal-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .legal-meta__divider {
    display: none;
  }

  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
    font-size: var(--fs-small);
  }
}

/* ============================================ */
/* LEGAL PAGES (Phase 12)                       */
/* ============================================ */

.legal-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}

.legal-page .legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(88px + var(--space-2xl)) var(--space-lg) var(--space-4xl);
}

.legal-page .legal-hero {
  text-align: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-3xl);
}

.legal-page .legal-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-sm);
}

.legal-page .legal-hero .effective-date {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.legal-page .legal-content {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-secondary);
}

.legal-page .legal-content h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.3px;
}

.legal-page .legal-content h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page .legal-content p {
  margin-bottom: var(--space-md);
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page .legal-content ul {
  list-style: disc;
}

.legal-page .legal-content ol {
  list-style: decimal;
}

.legal-page .legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.legal-page .legal-content a {
  color: var(--brand-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-page .legal-content a:hover {
  color: #0369A1;
}

.legal-page .legal-callout {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.legal-page .legal-callout--warning {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, 0.05);
}

.legal-page .legal-callout--info {
  border-left-color: var(--brand-primary);
  background: rgba(2, 132, 199, 0.04);
}

.legal-page .legal-callout--error {
  border-left-color: var(--error);
  background: rgba(239, 68, 68, 0.05);
}

.legal-page .legal-callout h4,
.legal-page .legal-callout strong {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
}

.legal-page .legal-callout h4 {
  margin-bottom: var(--space-xs);
}

.legal-page .legal-callout p {
  font-size: var(--fs-small);
  margin-bottom: 0;
}

.legal-page .legal-table-wrap {
  overflow-x: auto;
  margin: var(--space-xl) 0;
}

.legal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: var(--fs-small);
}

.legal-page .legal-table th {
  background: var(--bg-secondary);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.legal-page .legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.legal-page .legal-table tr:hover td {
  background: var(--bg-secondary);
}

.legal-page .site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
}

.legal-page .site-footer a {
  color: var(--brand-primary);
  text-decoration: none;
}

.legal-page .site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page .legal-container {
    padding: calc(76px + var(--space-xl)) var(--space-md) var(--space-3xl);
  }

  .legal-page .legal-hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .legal-page .legal-table {
    font-size: var(--fs-caption);
  }

  .legal-page .legal-table th,
  .legal-page .legal-table td {
    padding: 8px 10px;
  }
}
