html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { font-family: 'Inter', system-ui, sans-serif; background: #FAF7F2; color: #0E1A16; -webkit-font-smoothing: antialiased; }
  .display { font-weight: 800; letter-spacing: -0.025em; line-height: 0.98; }
  .display-xl { font-weight: 900; letter-spacing: -0.035em; line-height: 0.94; }
  .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
  .num { font-feature-settings: "tnum", "ss01"; }
  .hairline { border-color: rgba(14,26,22,0.08); }
  .grain {
    background-image:
      radial-gradient(rgba(14,26,22,0.025) 1px, transparent 1px),
      radial-gradient(rgba(14,26,22,0.02) 1px, transparent 1px);
    background-size: 28px 28px, 13px 13px;
    background-position: 0 0, 7px 11px;
  }
  .stripes-forest { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px); }
  .ring-focus:focus { outline: none; box-shadow: 0 0 0 3px rgba(244,165,43,0.35); border-color: #F4A52B; }
  .field .err { color: #C0392B; font-size: 12px; margin-top: 6px; display: none; }
  .field.invalid .err { display: block; }
  .field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; }
  @keyframes pulseDot { 0%,100% { opacity: 1 } 50% { opacity: 0.35 } }
  .live-dot { animation: pulseDot 1.6s ease-in-out infinite; }
  .toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    opacity: 0; pointer-events: none; transition: all .3s ease;
    background: #0A3328; color: white; padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 100;
    box-shadow: 0 12px 28px -10px rgba(10,51,40,0.5);
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .file-drop { transition: all .2s ease; }
  .file-drop.dragover { border-color:#F4A52B; background:rgba(244,165,43,0.06); }
  .lang-menu { transform-origin: top right; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .live-dot { animation: none; }
    * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  }

  /* Tweak-driven CTA color */
  [data-cta="amber"]  .cta-bg { background-color:#F4A52B; color:#07251D; box-shadow:0 1px 0 rgba(0,0,0,0.04), 0 12px 28px -10px rgba(244,165,43,0.55); }
  [data-cta="amber"]  .cta-bg:hover { background-color:#E89610; }
  [data-cta="forest"] .cta-bg { background-color:#0F4C3A; color:#fff; box-shadow:0 1px 0 rgba(0,0,0,0.04), 0 12px 28px -10px rgba(15,76,58,0.55); }
  [data-cta="forest"] .cta-bg:hover { background-color:#07251D; }
  [data-cta="coral"]  .cta-bg { background-color:#E85D4A; color:#fff; box-shadow:0 1px 0 rgba(0,0,0,0.04), 0 12px 28px -10px rgba(232,93,74,0.55); }
  [data-cta="coral"]  .cta-bg:hover { background-color:#D14535; }

  /* Hero variants */
  [data-hero="split"]    .hero-centered { display:none; }
  [data-hero="centered"] .hero-split    { display:none; }

  /* Dark hero */
  [data-darkhero="true"] .hero-section { background-color:#07251D; color:#fff; }
  [data-darkhero="true"] .hero-section .text-muted { color:rgba(255,255,255,0.7); }
  [data-darkhero="true"] .hero-section .text-ink { color:#fff; }
  [data-darkhero="true"] .hero-section .badge-light { background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.14); color:#fff; }
  [data-darkhero="true"] .hero-section .text-forest-700 { color:#F4A52B; }

  /* Section visibility */
  [data-show-testimonials="false"] #testimonials { display:none; }
  [data-show-stats="false"] #stats { display:none; }

  /* Tweaks panel */
  .tweaks-panel {
    position: fixed; bottom: 20px; right: 20px; width: 320px;
    background: white; border-radius: 16px; padding: 18px; z-index: 90;
    box-shadow: 0 24px 48px -20px rgba(14,26,22,0.25), 0 1px 0 rgba(14,26,22,0.04);
    border: 1px solid rgba(14,26,22,0.08);
    transform: translateY(20px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    max-height: calc(100vh - 40px); overflow-y: auto;
  }
  .tweaks-panel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .tw-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; }
  .tw-label { font-size:13px; font-weight:600; color:#0E1A16; }
  .tw-seg { display:inline-flex; background:#F1F7F3; border-radius:999px; padding:3px; gap:2px; }
  .tw-seg button { padding:6px 10px; font-size:12px; border-radius:999px; font-weight:600; color:#4A5953; transition:all .15s; }
  .tw-seg button.active { background:white; color:#0F4C3A; box-shadow:0 1px 2px rgba(0,0,0,0.08); }
  .tw-toggle { width:38px; height:22px; border-radius:999px; background:#E2EFE9; position:relative; transition:background .15s; cursor:pointer; }
  .tw-toggle::after { content:''; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:white; transition:transform .15s; box-shadow:0 1px 2px rgba(0,0,0,0.15); }
  .tw-toggle.on { background:#0F4C3A; }
  .tw-toggle.on::after { transform:translateX(16px); }
