    /* ============================================
       CSS RESET
       ============================================ */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

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

    body {
      font-family: var(--font-sans);
      background: var(--bg-primary);
      color: var(--text-secondary);
      font-size: var(--text-base);
      line-height: var(--leading-normal);
      overflow-x: hidden;
    }

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

    button {
      font-family: inherit;
      border: none;
      cursor: pointer;
      background: none;
    }

    ul, ol {
      list-style: none;
    }

    img, svg {
      display: block;
      max-width: 100%;
    }

    /* ============================================
       CSS CUSTOM PROPERTIES
       ============================================ */
    :root {
      /* Backgrounds */
      --bg-primary: #0A0A0A;
      --bg-secondary: #111111;
      --bg-surface: #141414;
      --bg-surface-hover: #1A1A1A;

      /* Borders */
      --border-default: #262626;
      --border-hover: #333333;
      --border-muted: #1A1A1A;

      /* Text */
      --text-primary: #FAFAFA;
      --text-secondary: #A1A1AA;
      --text-muted: #8A8A93;
      --text-dimmed: #52525B;

      /* Brand Orange */
      --orange-500: #F97316;
      --orange-600: #EA580C;
      --orange-700: #C2410C;
      --orange-400: #FB923C;
      --orange-100: #FFEDD5;
      --orange-glow: rgba(249, 115, 22, 0.15);
      --orange-glow-strong: rgba(249, 115, 22, 0.25);

      /* Semantic */
      --success: #22C55E;
      --error: #EF4444;
      --info: #3B82F6;

      /* App Preview Colors (inside phone mockups) */
      --app-bg: #FFF7ED;
      --app-orange: #F97316;
      --app-text-heading: #1F2937;
      --app-text-body: #4B5563;
      --app-text-muted: #9CA3AF;
      --app-border: #E5E7EB;
      --app-card-bg: #FFFFFF;

      /* Typography */
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

      --text-hero: 4rem;
      --text-4xl: 3rem;
      --text-3xl: 2.25rem;
      --text-2xl: 1.75rem;
      --text-xl: 1.25rem;
      --text-lg: 1.125rem;
      --text-base: 1rem;
      --text-sm: 0.875rem;
      --text-xs: 0.75rem;

      --text-hero-mobile: 2.5rem;
      --text-4xl-mobile: 2rem;
      --text-3xl-mobile: 1.5rem;

      --font-normal: 400;
      --font-medium: 500;
      --font-semibold: 600;
      --font-bold: 700;

      --leading-tight: 1.1;
      --leading-snug: 1.25;
      --leading-normal: 1.6;
      --leading-relaxed: 1.75;

      --tracking-tight: -0.02em;
      --tracking-normal: 0;
      --tracking-wide: 0.05em;
      --tracking-wider: 0.1em;

      /* Spacing */
      --space-1: 0.25rem;
      --space-2: 0.5rem;
      --space-3: 0.75rem;
      --space-4: 1rem;
      --space-5: 1.25rem;
      --space-6: 1.5rem;
      --space-8: 2rem;
      --space-10: 2.5rem;
      --space-12: 3rem;
      --space-16: 4rem;
      --space-20: 5rem;
      --space-24: 6rem;
      --space-32: 8rem;

      /* Shadows */
      --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
      --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
      --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.5);
      --shadow-phone: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(249, 115, 22, 0.08);

      /* Border Radius */
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 12px;
      --radius-xl: 16px;
      --radius-2xl: 24px;
      --radius-full: 9999px;
      --radius-phone: 40px;
      --radius-phone-screen: 32px;

      /* Transitions */
      --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
      --ease-out: cubic-bezier(0, 0, 0.2, 1);
      --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

      --duration-fast: 150ms;
      --duration-normal: 200ms;
      --duration-slow: 300ms;
      --duration-slower: 500ms;

      /* Nav */
      --nav-scrolled-bg: rgba(10, 10, 10, 0.9);
    }

    /* ============================================
       LIGHT THEME OVERRIDES
       ============================================ */
    :root[data-theme="light"] {
      /* Backgrounds */
      --bg-primary: #FFFFFF;
      --bg-secondary: #F5F5F7;
      --bg-surface: #FFFFFF;
      --bg-surface-hover: #F0F0F2;

      /* Borders */
      --border-default: #E5E5E7;
      --border-hover: #D1D1D6;
      --border-muted: #F0F0F2;

      /* Text */
      --text-primary: #1A1A1A;
      --text-secondary: #52525B;
      --text-muted: #71717A;
      --text-dimmed: #A1A1AA;

      /* Orange glows (softer on white) */
      --orange-glow: rgba(249, 115, 22, 0.10);
      --orange-glow-strong: rgba(249, 115, 22, 0.18);

      /* Shadows (lighter for white backgrounds) */
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);
      --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
      --shadow-phone: 0 25px 50px rgba(0, 0, 0, 0.12), 0 0 100px rgba(249, 115, 22, 0.06);

      /* Nav */
      --nav-scrolled-bg: rgba(255, 255, 255, 0.9);
    }

    /* ============================================
       THEME TOGGLE
       ============================================ */
    .theme-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-default);
      background: var(--bg-surface);
      color: var(--text-muted);
      cursor: pointer;
      transition: color var(--duration-fast) ease,
                  border-color var(--duration-fast) ease,
                  background var(--duration-fast) ease;
    }

    .theme-toggle:hover {
      color: var(--text-primary);
      border-color: var(--border-hover);
      background: var(--bg-surface-hover);
    }

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

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

    /* ============================================
       SKIP LINK (Accessibility)
       ============================================ */
    .skip-link {
      position: absolute;
      top: -100%;
      left: var(--space-4);
      background: var(--orange-500);
      color: white;
      padding: var(--space-3) var(--space-6);
      border-radius: var(--radius-md);
      font-weight: var(--font-medium);
      z-index: 10000;
      transition: top var(--duration-fast) var(--ease-default);
    }

    .skip-link:focus {
      top: var(--space-4);
    }

    /* ============================================
       FOCUS STYLES
       ============================================ */
    :focus-visible {
      outline: 2px solid var(--orange-500);
      outline-offset: 2px;
    }

    .btn-primary:focus-visible {
      outline-offset: 3px;
      box-shadow: 0 0 0 4px var(--orange-glow);
    }

    .btn-secondary:focus-visible {
      outline-offset: 3px;
    }

    .faq-question:focus-visible {
      outline-offset: 4px;
      border-radius: var(--radius-sm);
    }

    /* ============================================
       CONTAINER
       ============================================ */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* ============================================
       NAV
       ============================================ */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: transparent;
      transition: background var(--duration-slow) ease, backdrop-filter var(--duration-slow) ease, border-color var(--duration-slow) ease;
      border-bottom: 1px solid transparent;
    }

    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
    }

    .nav.scrolled {
      background: var(--nav-scrolled-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom-color: var(--border-muted);
    }

    .nav-logo {
      height: 28px;
      width: auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: var(--space-8);
    }

    .nav-link {
      color: var(--text-muted);
      font-size: var(--text-sm);
      font-weight: var(--font-medium);
      transition: color var(--duration-fast) ease;
    }

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

    .nav-right {
      display: flex;
      align-items: center;
      gap: var(--space-6);
    }

    /* Hamburger button — hidden on desktop */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1002;
    }

    .nav-hamburger-line {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: transform var(--duration-normal) ease, opacity var(--duration-normal) ease;
    }

    .nav-hamburger.active .nav-hamburger-line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.active .nav-hamburger-line:nth-child(2) {
      opacity: 0;
    }

    .nav-hamburger.active .nav-hamburger-line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile menu overlay */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 999;
      background: var(--bg-primary);
      display: none;
      opacity: 0;
      transition: opacity var(--duration-normal) ease;
    }

    .mobile-menu.open {
      display: flex;
      opacity: 1;
    }

    .mobile-menu-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 80px var(--space-8) var(--space-8);
      gap: var(--space-8);
    }

    .mobile-menu-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-6);
    }

    .mobile-menu-link {
      font-size: var(--text-2xl);
      font-weight: var(--font-semibold);
      color: var(--text-primary);
      transition: color var(--duration-fast) ease;
    }

    .mobile-menu-link:hover {
      color: var(--orange-500);
    }

    .mobile-menu-cta {
      width: 100%;
      max-width: 280px;
      text-align: center;
    }

    .mobile-menu-footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--space-4);
      margin-top: auto;
      padding-top: var(--space-6);
      border-top: 1px solid var(--border-muted);
      width: 100%;
      max-width: 400px;
    }

    .mobile-menu-footer-link {
      font-size: var(--text-xs);
      color: var(--text-muted);
      transition: color var(--duration-fast) ease;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }

    .mobile-menu-footer-link:hover {
      color: var(--text-secondary);
    }

    /* ============================================
       BUTTONS
       ============================================ */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--orange-500);
      color: white;
      font-weight: var(--font-medium);
      font-size: var(--text-base);
      padding: 14px 32px;
      border-radius: var(--radius-lg);
      border: none;
      cursor: pointer;
      transition: background var(--duration-fast) ease, transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    }

    .btn-primary:hover {
      background: var(--orange-600);
      transform: translateY(-1px);
      box-shadow: 0 4px 20px var(--orange-glow);
    }

    .btn-primary:active {
      background: var(--orange-700);
      transform: translateY(0);
    }

    .btn-primary--sm {
      padding: 10px 24px;
      font-size: var(--text-sm);
      border-radius: var(--radius-md);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      color: var(--text-secondary);
      font-weight: var(--font-medium);
      font-size: var(--text-sm);
      padding: 10px 20px;
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--duration-fast) ease;
    }

    .btn-secondary:hover {
      color: var(--text-primary);
      border-color: var(--border-hover);
      background: var(--bg-surface);
    }

    /* ============================================
       BADGE
       ============================================ */
    .badge {
      display: inline-block;
      font-size: var(--text-xs);
      font-weight: var(--font-semibold);
      letter-spacing: var(--tracking-wider);
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: var(--radius-full);
      background: var(--orange-500);
      color: #fff;
      border: 1px solid var(--orange-500);
    }

    .badge--purple {
      background: #9810FA;
      border-color: #9810FA;
      color: #fff;
    }

    /* ============================================
       SECTION SPACING
       ============================================ */
    .section {
      padding: var(--space-24) 0;
    }

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

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

    .section-header {
      text-align: center;
      margin-bottom: var(--space-16);
    }

    .section-title {
      font-size: var(--text-4xl);
      font-weight: var(--font-bold);
      color: var(--text-primary);
      line-height: var(--leading-snug);
      letter-spacing: var(--tracking-tight);
    }

    .section-subtitle {
      font-size: var(--text-lg);
      color: var(--text-secondary);
      margin-top: var(--space-4);
      line-height: var(--leading-normal);
    }

    /* ============================================
       HERO
       ============================================ */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: var(--space-24) var(--space-12);
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 20%;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 400px;
      background: radial-gradient(ellipse, var(--orange-glow) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .hero-headline {
      font-size: var(--text-hero);
      font-weight: var(--font-bold);
      color: var(--text-primary);
      line-height: var(--leading-tight);
      letter-spacing: var(--tracking-tight);
      margin-bottom: var(--space-6);
    }

    .hero-subline {
      font-size: var(--text-lg);
      color: var(--text-secondary);
      line-height: var(--leading-relaxed);
      margin-bottom: var(--space-10);
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-cta-group {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-6);
      width: 100%;
    }

    .hero-secondary-link {
      color: var(--text-muted);
      font-size: var(--text-sm);
      font-weight: var(--font-medium);
      transition: color var(--duration-fast) ease;
    }

    .hero-secondary-link:hover {
      color: var(--text-secondary);
    }

    .scroll-indicator {
      position: absolute;
      bottom: var(--space-8);
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      animation: pulse-bounce 2s ease-in-out infinite;
    }

    .scroll-indicator svg {
      color: var(--text-dimmed);
    }

    @keyframes pulse-bounce {
      0%, 100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
      }
      50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(6px);
      }
    }

    /* ============================================
       SCROLL STORY
       ============================================ */
    .scroll-story {
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      z-index: 0; /* creates stacking context — isolates ig-post z-index from hero */
    }

    .scroll-story-inner {
      height: 100vh;
      display: flex;
      align-items: center;
      padding: 0 48px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .scroll-story-text {
      flex: 0 0 45%;
      padding-right: var(--space-12);
      position: relative;
    }

    .scroll-story-visual {
      flex: 0 0 55%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      height: 100vh;
    }

    .scene-text {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0;
      will-change: transform, opacity;
    }

    .scene-text.active {
      opacity: 1;
    }

    .scene-headline {
      font-size: var(--text-3xl);
      font-weight: var(--font-bold);
      color: var(--text-primary);
      line-height: var(--leading-snug);
      letter-spacing: var(--tracking-tight);
      margin-bottom: var(--space-4);
    }

    .scene-body {
      font-size: var(--text-lg);
      color: var(--text-secondary);
      line-height: var(--leading-normal);
      max-width: 400px;
    }

    /* ============================================
       INSTAGRAM POST MOCKUP
       ============================================ */
    .ig-post {
      width: 340px;
      background: #fff;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-xl);
      will-change: transform, opacity, clip-path;
      position: absolute;
      top: 20px;
      z-index: 2;
    }

    .ig-post-header {
      display: flex;
      align-items: center;
      padding: 12px 14px;
      gap: 10px;
    }

    .ig-post-logo {
      height: 22px;
      width: auto;
      flex: 1;
      display: block;
    }

    .ig-post-dots {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding: 4px;
    }

    .ig-post-dots span {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: #262626;
    }

    .ig-post-image {
      width: 100%;
      aspect-ratio: 4 / 5;
      position: relative;
      overflow: hidden;
      background: #1a1a1a;
    }

    .ig-post-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .ig-post-actions {
      display: flex;
      align-items: center;
      padding: 10px 14px;
      gap: 16px;
    }

    .ig-post-actions svg {
      width: 24px;
      height: 24px;
      color: #262626;
    }

    .ig-post-actions .ig-post-save {
      margin-left: auto;
    }

    .ig-post-likes {
      padding: 0 14px 6px;
      font-size: 13px;
      font-weight: 600;
      color: #262626;
    }

    .ig-post-caption {
      padding: 0 14px 14px;
      font-size: 13px;
      color: #262626;
      line-height: 1.5;
    }

    .ig-post-caption strong {
      font-weight: 600;
    }

    .ig-post-caption .ig-hashtags {
      color: #00376b;
    }

    .ig-post-caption .ig-more {
      color: #8e8e8e;
    }

    .ig-post-caption .ig-liked-by {
      color: #8e8e8e;
      font-size: 12px;
      margin-bottom: 4px;
      display: block;
    }

    /* Flash overlay */
    .flash-overlay {
      position: absolute;
      inset: 0;
      background: white;
      opacity: 0;
      pointer-events: none;
      z-index: 10;
      border-radius: var(--radius-lg);
      will-change: opacity;
    }

    /* ============================================
       PHONE MOCKUP
       ============================================ */
    .phone-frame {
      width: 280px;
      aspect-ratio: 9 / 19.5;
      border-radius: var(--radius-phone);
      border: 3px solid #333;
      background: #000;
      padding: 12px;
      position: absolute;
      top: 40%;
      box-shadow: var(--shadow-phone);
      opacity: 1;
      z-index: 1;
      will-change: transform, opacity;
    }

    .phone-screen {
      width: 100%;
      height: 100%;
      border-radius: var(--radius-phone-screen);
      overflow: hidden;
      background: var(--app-bg);
      position: relative;
    }

    .phone-notch {
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 90px;
      height: 24px;
      background: #000;
      border-radius: 20px;
      z-index: 5;
    }

    /* ============================================
       APP SCREENS (inside phone)
       ============================================ */
    .app-screen {
      position: absolute;
      inset: 0;
      padding: 40px 16px 16px;
      overflow: hidden;
    }

    /* Add Recipe Screen */
    .app-add-recipe {
      opacity: 1;
    }

    .app-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
    }

    .app-header-logo {
      height: 20px;
      width: auto;
      display: block;
    }

    .app-section-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--app-text-heading);
      margin-bottom: 12px;
    }

    .app-tab-bar {
      display: flex;
      gap: 4px;
      background: var(--app-border);
      border-radius: 8px;
      padding: 3px;
      margin-bottom: 16px;
    }

    .app-tab {
      flex: 1;
      text-align: center;
      font-size: 11px;
      font-weight: 500;
      padding: 6px 8px;
      border-radius: 6px;
      color: var(--app-text-muted);
    }

    .app-tab--active {
      background: var(--app-card-bg);
      color: var(--app-text-heading);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .app-upload-area {
      border: none;
      background: transparent;
      border-radius: 12px;
      padding: 12px;
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }


    .app-thumb-slot {
      width: 104px;
      height: 104px;
      border-radius: 8px;
      flex-shrink: 0;
      margin-bottom: 10px;
    }

    .app-analyzing {
      font-size: 13px;
      font-weight: 500;
      color: var(--app-orange);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .app-analyzing-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--app-orange);
      animation: analyzing-pulse 1.4s ease-in-out infinite;
    }

    .app-analyzing-dot:nth-child(2) { animation-delay: 0.2s; }
    .app-analyzing-dot:nth-child(3) { animation-delay: 0.4s; }

    @keyframes analyzing-pulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    /* Recipe Detail Screen */
    .app-recipe-detail {
      opacity: 0;
    }

    .app-recipe-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--app-text-heading);
      margin-bottom: 4px;
    }

    .app-recipe-subtitle {
      font-size: 11px;
      color: var(--app-text-muted);
      margin-bottom: 12px;
    }

    .app-macro-card {
      background: var(--app-card-bg);
      border: 1px solid var(--app-border);
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 12px;
    }

    .app-macro-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .app-macro-item {
      text-align: center;
      flex: 1;
    }

    .app-macro-value {
      font-size: 18px;
      font-weight: 700;
      color: var(--app-text-heading);
    }

    .app-macro-value--cal {
      color: var(--app-orange);
    }

    .app-macro-label {
      font-size: 10px;
      color: var(--app-text-muted);
      margin-top: 2px;
    }

    .app-serving-selector {
      display: flex;
      gap: 6px;
      margin-bottom: 10px;
    }

    .app-serving-btn {
      padding: 5px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 500;
      background: var(--app-card-bg);
      border: 1px solid var(--app-border);
      color: var(--app-text-body);
    }

    .app-serving-btn--active {
      background: var(--app-orange);
      border-color: var(--app-orange);
      color: #fff;
    }

    .app-unit-toggle {
      display: flex;
      gap: 4px;
      background: var(--app-border);
      border-radius: 8px;
      padding: 3px;
      margin-bottom: 12px;
    }

    .app-unit-btn {
      flex: 1;
      text-align: center;
      font-size: 10px;
      font-weight: 500;
      padding: 5px 6px;
      border-radius: 6px;
      color: var(--app-text-muted);
    }

    .app-unit-btn--active {
      background: var(--app-card-bg);
      color: var(--app-text-heading);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .app-ingredient {
      display: flex;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--app-border);
      font-size: 12px;
      color: var(--app-text-body);
      gap: 8px;
    }

    .app-ingredient-check {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      border: 1.5px solid var(--app-border);
      flex-shrink: 0;
    }

    .app-ingredient-text {
      flex: 1;
    }

    .app-ingredient-text span {
      color: var(--app-text-muted);
      font-size: 11px;
    }

    /* AI magic sparkles — Heroicons sparkles SVG, individually animated */
    /* Gradient pulse keyframe — subtly breathes scale */
    @keyframes sparkle-pulse {
      0%, 100% { transform: scale(1);    }
      50%       { transform: scale(1.12); }
    }

    .magic-sparkle {
      position: absolute;
      opacity: 0;
      pointer-events: none;
      z-index: 10;
      transform-origin: center center;
    }
    .magic-sparkle svg {
      display: block;
      overflow: visible;
      filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
    }
    /* When visible, run the pulse — each sparkle has a different duration/delay for organic feel */
    .magic-sparkle.is-visible { animation: sparkle-pulse 2.2s ease-in-out infinite; }
    .magic-sparkle[data-sparkle="2"].is-visible { animation-duration: 1.8s; animation-delay: 0.3s; }
    .magic-sparkle[data-sparkle="3"].is-visible { animation-duration: 2.6s; animation-delay: 0.6s; }
    .magic-sparkle[data-sparkle="4"].is-visible { animation-duration: 2.0s; animation-delay: 0.15s; }
    .magic-sparkle[data-sparkle="5"].is-visible { animation-duration: 1.9s; animation-delay: 0.5s; }
    .magic-sparkle[data-sparkle="6"].is-visible { animation-duration: 2.4s; animation-delay: 0.8s; }

    /* Sizes: 2 big anchors + 2 medium + 2 small (matching Figma) */
    .magic-sparkle[data-sparkle="1"] svg { width: 88px; height: 88px; }  /* big left  */
    .magic-sparkle[data-sparkle="2"] svg { width: 38px; height: 38px; }  /* small left top */
    .magic-sparkle[data-sparkle="3"] svg { width: 30px; height: 30px; }  /* small left bottom */
    .magic-sparkle[data-sparkle="4"] svg { width: 72px; height: 72px; }  /* big right */
    .magic-sparkle[data-sparkle="5"] svg { width: 34px; height: 34px; }  /* small right top */
    .magic-sparkle[data-sparkle="6"] svg { width: 26px; height: 26px; }  /* small right bottom */

    /* ============================================
       POST-ANIMATION CTA
       ============================================ */
    .cta-section {
      text-align: center;
      padding: var(--space-20) 0;
    }

    .cta-headline {
      font-size: var(--text-3xl);
      font-weight: var(--font-bold);
      color: var(--text-primary);
      line-height: var(--leading-snug);
      letter-spacing: var(--tracking-tight);
      margin-bottom: var(--space-4);
    }

    .cta-subline {
      font-size: var(--text-lg);
      color: var(--text-secondary);
      margin-bottom: var(--space-8);
    }

    /* ============================================
       HOW IT WORKS
       ============================================ */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-8);
    }

    .step {
      text-align: center;
      padding: var(--space-8);
    }

    .step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      min-width: 56px;
      min-height: 56px;
      border-radius: var(--radius-full);
      background: rgba(249, 115, 22, 0.15);
      border: 1px solid rgba(249, 115, 22, 0.35);
      margin-bottom: var(--space-6);
    }

    .step-number svg {
      flex-shrink: 0;
      display: block;
      color: var(--orange-500);
    }

    .step-title {
      font-size: var(--text-xl);
      font-weight: var(--font-semibold);
      color: var(--text-primary);
      line-height: var(--leading-snug);
      margin-bottom: var(--space-3);
    }

    .step-desc {
      font-size: var(--text-base);
      color: var(--text-secondary);
      line-height: var(--leading-normal);
    }

    /* ============================================
       FEATURES
       ============================================ */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-6);
    }

    .feature-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-xl);
      padding: var(--space-8);
      transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
    }

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

    .feature-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      background: rgba(249, 115, 22, 0.1);
      margin-bottom: var(--space-5);
    }

    .feature-icon svg {
      width: 20px;
      height: 20px;
      color: var(--orange-400);
    }

    .feature-title {
      font-size: var(--text-xl);
      font-weight: var(--font-semibold);
      color: var(--text-primary);
      line-height: var(--leading-snug);
      margin-bottom: var(--space-3);
    }

    .feature-desc {
      font-size: var(--text-base);
      color: var(--text-secondary);
      line-height: var(--leading-normal);
    }

    /* ============================================
       PRICING
       ============================================ */
    /* Free card sits above the paid grid as a full-width banner */
    .pricing-free-banner {
      background: var(--bg-surface);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-xl);
      padding: var(--space-8);
      margin-bottom: var(--space-10);
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: var(--space-8);
      align-items: center;
      transition: border-color var(--duration-normal) ease;
    }

    .pricing-free-banner:hover {
      border-color: var(--border-hover);
    }

    /* Left column — plan label + price */
    .pricing-free-banner-left {
      min-width: 80px;
    }

    .pricing-free-banner-left .pricing-plan {
      margin-bottom: var(--space-2);
    }

    .pricing-free-banner-left .pricing-note {
      margin-top: var(--space-2);
    }

    /* Middle column — 2×2 features grid */
    .pricing-free-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-3) var(--space-8);
    }

    /* Right column — CTA + note */
    .pricing-free-banner-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-3);
      min-width: 160px;
    }

    .pricing-free-banner-right .btn-primary {
      white-space: nowrap;
      width: 100%;
      text-align: center;
    }

    .pricing-free-banner-right .pricing-note {
      text-align: center;
      margin: 0;
    }

    /* Paid plans grid — 3 columns */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-6);
      align-items: start;
      max-width: 960px;
      margin: 0 auto;
    }

    .pricing-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-xl);
      padding: var(--space-8);
      transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
      position: relative;
    }

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

    .pricing-card--highlighted {
      border-color: var(--orange-500);
      box-shadow: 0 0 40px var(--orange-glow), 0 0 80px rgba(249, 115, 22, 0.05);
      transform: scale(1.02);
    }

    .pricing-card--highlighted:hover {
      border-color: var(--orange-500);
    }

    .pricing-card--lifetime {
      border-color: rgba(152, 16, 250, 0.4);
      box-shadow: 0 0 40px rgba(152, 16, 250, 0.12), 0 0 80px rgba(152, 16, 250, 0.05);
    }

    .pricing-card--lifetime:hover {
      border-color: rgba(152, 16, 250, 0.7);
    }

    .pricing-card--lifetime .pricing-price {
      background: linear-gradient(135deg, #9810FA, #c060ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .pricing-card--lifetime .btn-primary {
      background: linear-gradient(135deg, #9810FA, #7B0DC7);
    }

    .pricing-card--lifetime .btn-primary:hover {
      background: linear-gradient(135deg, #7B0DC7, #5E0A96);
    }

    .pricing-card--lifetime .pricing-feature svg {
      color: #9810FA;
    }

    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
    }

    .pricing-launch-badge {
      display: none;
      justify-content: center;
      margin-bottom: var(--space-8);
    }

    .pricing-launch-badge.visible {
      display: flex;
    }

    .pricing-launch-badge-inner {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      background: rgba(249, 115, 22, 0.12);
      color: var(--orange-400);
      padding: 6px 16px;
      border-radius: var(--radius-full);
      font-size: var(--text-sm);
      font-weight: var(--font-semibold);
    }

    .pricing-launch-badge-inner svg {
      width: 16px;
      height: 16px;
    }

    .pricing-plan {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      font-size: var(--text-sm);
      color: var(--text-muted);
      font-weight: var(--font-medium);
      letter-spacing: var(--tracking-wide);
      text-transform: uppercase;
      margin-bottom: var(--space-4);
      margin-top: var(--space-2);
    }

    .pricing-plan-icon {
      width: 18px;
      height: 18px;
      color: var(--orange-500);
      flex-shrink: 0;
    }

    .pricing-card--lifetime .pricing-plan-icon {
      color: #9810FA;
    }

    .pricing-free-banner .pricing-plan-icon {
      color: var(--orange-500);
    }

    .pricing-price {
      font-size: var(--text-4xl);
      font-weight: var(--font-bold);
      color: var(--text-primary);
      line-height: var(--leading-tight);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    /* Row containing the main price number + period sits inline */
    .pricing-price-row {
      display: flex;
      align-items: baseline;
      gap: var(--space-1);
    }

    .pricing-original-price {
      display: block;
      font-size: var(--text-base);
      font-weight: var(--font-normal);
      color: var(--text-dimmed);
      text-decoration: line-through;
      line-height: 1;
      margin-bottom: var(--space-1);
    }

    .pricing-price-period {
      font-size: var(--text-base);
      font-weight: var(--font-normal);
      color: var(--text-muted);
    }

    .pricing-save {
      font-size: var(--text-sm);
      color: var(--orange-400);
      margin-top: var(--space-1);
      margin-bottom: var(--space-6);
    }

    .pricing-note {
      font-size: var(--text-sm);
      color: var(--text-muted);
      margin-top: var(--space-1);
      margin-bottom: var(--space-6);
    }

    .pricing-tagline {
      font-size: var(--text-sm);
      color: var(--text-secondary);
      line-height: var(--leading-relaxed);
      margin-top: var(--space-2);
      margin-bottom: var(--space-8);
    }

    .pricing-features {
      margin-bottom: var(--space-8);
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
    }

    .pricing-feature {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      font-size: var(--text-sm);
      color: var(--text-secondary);
    }

    .pricing-feature svg {
      width: 16px;
      height: 16px;
      color: var(--success);
      flex-shrink: 0;
    }

    .pricing-free-text {
      text-align: center;
      margin-top: var(--space-10);
      font-size: var(--text-base);
      color: var(--text-muted);
    }

    .pricing-free-text a {
      color: var(--orange-400);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color var(--duration-fast) ease;
    }

    .pricing-free-text a:hover {
      color: var(--orange-500);
    }

    /* ============================================
       FAQ
       ============================================ */
    .faq-list {
      max-width: 720px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-muted);
      padding: 20px 0;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text-primary);
      font-weight: var(--font-medium);
      font-size: var(--text-lg);
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 0;
      gap: var(--space-4);
    }

    .faq-question:hover {
      color: var(--orange-400);
    }

    .faq-chevron {
      flex-shrink: 0;
      transition: transform var(--duration-slow) ease;
    }

    .faq-item.active .faq-chevron {
      transform: rotate(180deg);
    }

    .faq-answer {
      color: var(--text-secondary);
      font-size: var(--text-base);
      line-height: var(--leading-normal);
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--duration-slow) ease, padding var(--duration-slow) ease;
      padding-top: 0;
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
      padding-top: 12px;
    }

    .faq-contact {
      text-align: center;
      margin-top: var(--space-12);
      font-size: var(--text-base);
      color: var(--text-muted);
    }

    .faq-contact a {
      color: var(--orange-400);
      transition: color var(--duration-fast) ease;
    }

    .faq-contact a:hover {
      color: var(--orange-500);
    }

    /* ============================================
       FINAL CTA
       ============================================ */
    .final-cta {
      position: relative;
      overflow: hidden;
      padding: var(--space-32) 0;
    }

    .final-cta::after {
      content: '';
      position: absolute;
      bottom: 30%;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 400px;
      background: radial-gradient(ellipse, var(--orange-glow) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .final-cta .container {
      position: relative;
      z-index: 1;
    }

    /* ============================================
       FOOTER
       ============================================ */
    .footer {
      background: var(--bg-primary);
      border-top: 1px solid var(--border-default);
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      height: 64px;
      padding: 0 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-logo {
      height: 28px;
      width: auto;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: var(--space-6);
    }

    .footer-link {
      font-size: var(--text-sm);
      color: var(--text-muted);
      transition: color var(--duration-fast) ease;
    }

    .footer-link:hover {
      color: var(--text-secondary);
    }

    .footer-copy {
      font-size: var(--text-sm);
      color: var(--text-dimmed);
    }

    /* ============================================
       ENTRANCE ANIMATIONS (scroll-triggered)
       ============================================ */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
      will-change: opacity, transform;
    }

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

    /* Stagger children within a grid */
    .reveal-stagger .reveal {
      transition-delay: calc(var(--reveal-i, 0) * 80ms);
    }

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

    /* ============================================
       RESPONSIVE — Tablet (768–1023px)
       ============================================ */
    @media (max-width: 1023px) {
      .container {
        padding: 0 32px;
      }

      .nav-links {
        display: none;
      }

      .nav-hamburger {
        display: flex;
      }

      .nav-cta {
        display: none;
      }

      .nav-inner {
        padding: 0 32px;
      }

      .hero-headline {
        font-size: 3rem;
      }

      .scroll-story-inner {
        flex-direction: column;
        padding: 0 32px;
      }

      .scroll-story-text {
        flex: 0 0 auto;
        padding-right: 0;
        width: 100%;
        text-align: center;
        height: 280px;
        position: relative;
      }

      .scene-text {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
      }

      .scene-body {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
      }

      .scroll-story-visual {
        flex: 0 0 auto;
        height: auto;
        min-height: 450px;
      }

      .ig-post {
        width: 300px;
      }

      .features-grid {
        gap: var(--space-4);
      }

      .feature-card {
        padding: var(--space-6);
      }

      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
      }

      .pricing-card--highlighted {
        transform: none;
        order: -1;
      }

      .pricing-free-banner {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        max-width: 380px;
        margin: 0 auto var(--space-8);
      }

      .pricing-free-features {
        grid-template-columns: 1fr;
      }

      .pricing-free-banner-right {
        min-width: unset;
        align-items: stretch;
      }

      .footer-inner {
        padding: 0 32px;
      }

      .footer-links {
        display: none;
      }
    }

    /* ============================================
       RESPONSIVE — Mobile (<768px)
       ============================================ */
    @media (max-width: 767px) {
      .container {
        padding: 0 20px;
      }

      .section {
        padding: var(--space-16) 0;
      }

      .nav-inner {
        padding: 0 20px;
      }

      /* Hero */
      .hero {
        padding: var(--space-20) var(--space-6);
      }

      .hero-headline {
        font-size: var(--text-hero-mobile);
      }

      .hero-subline {
        font-size: var(--text-base);
      }

      .hero::after {
        width: 300px;
        height: 200px;
      }

      /* Section headings */
      .section-title {
        font-size: var(--text-4xl-mobile);
      }

      .section-header {
        margin-bottom: var(--space-10);
      }

      .scene-headline {
        font-size: var(--text-3xl-mobile);
      }

      .cta-headline {
        font-size: var(--text-3xl-mobile);
      }

      /* Scroll story */
      .scroll-story-inner {
        flex-direction: column;
        padding: 0 20px;
      }

      .scroll-story-text {
        flex: 0 0 auto;
        padding-right: 0;
        width: 100%;
        text-align: center;
        height: 220px;
        position: relative;
      }

      .scene-text {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
      }

      .scene-body {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: var(--text-base);
      }

      .scroll-story-visual {
        flex: 0 0 auto;
        height: auto;
        min-height: 380px;
      }

      .ig-post {
        width: 260px;
      }

      .phone-frame {
        width: 240px;
      }

      /* Sparkles smaller on mobile */
      .magic-sparkle[data-sparkle="1"] svg { width: 56px; height: 56px; }
      .magic-sparkle[data-sparkle="2"] svg { width: 24px; height: 24px; }
      .magic-sparkle[data-sparkle="3"] svg { width: 20px; height: 20px; }
      .magic-sparkle[data-sparkle="4"] svg { width: 48px; height: 48px; }
      .magic-sparkle[data-sparkle="5"] svg { width: 22px; height: 22px; }
      .magic-sparkle[data-sparkle="6"] svg { width: 18px; height: 18px; }

      /* How It Works */
      .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
      }

      .step {
        padding: var(--space-6);
      }

      /* Features */
      .features-grid {
        grid-template-columns: 1fr;
      }

      .feature-card {
        padding: var(--space-6);
      }

      /* Pricing */
      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
      }

      .pricing-card--highlighted {
        transform: none;
        order: -1;
      }

      .pricing-free-banner {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        max-width: 380px;
        margin: 0 auto var(--space-8);
      }

      .pricing-free-features {
        grid-template-columns: 1fr;
      }

      .pricing-free-banner-right {
        min-width: unset;
        align-items: stretch;
      }

      /* FAQ */
      .faq-question {
        font-size: var(--text-base);
        min-height: 44px;
      }

      /* CTA sections */
      .cta-section {
        padding: var(--space-16) 0;
      }

      .cta-subline {
        font-size: var(--text-base);
      }

      .final-cta {
        padding: var(--space-20) 0;
      }

      .final-cta::after {
        width: 300px;
        height: 200px;
      }

      /* Footer */
      .footer-inner {
        height: auto;
        padding: var(--space-5) 20px;
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
      }

      .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
      }

      .footer-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
      }

      /* Touch targets — ensure all interactive elements meet 44px minimum */
      .btn-primary {
        min-height: 48px;
        padding: 14px 28px;
      }

      .btn-primary--sm {
        min-height: 44px;
        padding: 10px 20px;
      }

      .btn-secondary {
        min-height: 44px;
      }

      .faq-item {
        padding: 16px 0;
      }

      .nav-link, .footer-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
      }
    }

    /* ============================================
       RESPONSIVE — Small mobile (<375px)
       ============================================ */
    @media (max-width: 374px) {
      .hero-headline {
        font-size: 2rem;
      }

      .ig-post {
        width: 240px;
      }

      .phone-frame {
        width: 220px;
      }

      .pricing-card {
        padding: var(--space-6);
      }
    }

    /* ============================================
       LEGAL PAGES
       ============================================ */
    .legal-page {
      max-width: 760px;
      margin: 0 auto;
      padding: var(--space-20) var(--space-8);
    }

    .legal-header {
      margin-bottom: var(--space-12);
      padding-bottom: var(--space-8);
      border-bottom: 1px solid var(--border-default);
    }

    .legal-eyebrow {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--orange-500);
      margin-bottom: var(--space-3);
    }

    .legal-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.15;
      margin-bottom: var(--space-3);
    }

    .legal-date {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .legal-body h2 {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-top: var(--space-10);
      margin-bottom: var(--space-4);
    }

    .legal-body h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-top: var(--space-6);
      margin-bottom: var(--space-2);
    }

    .legal-body p {
      margin-bottom: var(--space-4);
      color: var(--text-secondary);
    }

    .legal-body ul {
      list-style: none;
      margin-bottom: var(--space-4);
      padding-left: var(--space-4);
    }

    .legal-body ul li {
      position: relative;
      padding-left: var(--space-5);
      margin-bottom: var(--space-2);
      color: var(--text-secondary);
    }

    .legal-body ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.65em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--orange-500);
      opacity: 0.6;
    }

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

    .legal-table-wrap {
      overflow-x: auto;
      margin-bottom: var(--space-6);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-default);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    thead tr { background: var(--bg-surface); }

    th {
      padding: var(--space-3) var(--space-4);
      text-align: left;
      font-weight: 600;
      color: var(--text-primary);
      border-bottom: 1px solid var(--border-default);
    }

    td {
      padding: var(--space-3) var(--space-4);
      color: var(--text-secondary);
      border-bottom: 1px solid var(--border-default);
    }

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

    code {
      background: var(--bg-surface);
      border: 1px solid var(--border-default);
      border-radius: 4px;
      padding: 0.1em 0.4em;
      font-size: 0.85em;
      font-family: 'SF Mono', 'Fira Code', monospace;
      color: var(--orange-400);
    }

    @media (max-width: 640px) {
      .legal-page { padding: var(--space-12) var(--space-6); }
      .legal-title { font-size: 1.75rem; }
    }

    /* ============================================
       REDUCED MOTION
       ============================================ */
    @media (prefers-reduced-motion: reduce) {
      .scroll-indicator {
        animation: none;
        opacity: 0.5;
      }

      .app-analyzing-dot {
        animation: none;
        opacity: 0.7;
      }


      .magic-sparkle {
        display: none;
      }
    }
