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

    :root {
      --cream: #FAF9F6;
      --cream-warm: #F4F2EC;
      --cream-dark: #ECEAE3;
      --white: #FFFFFF;
      --text: #1B1B18;
      --text-secondary: #62625A;
      --text-muted: #9C9C92;
      --accent: #BF5539;
      --accent-hover: #A84930;
      --accent-soft: rgba(191,85,57,0.07);
      --accent-border: rgba(191,85,57,0.14);
      --green: #2A6B4A;
      --green-soft: rgba(42,107,74,0.06);
      --border: #E2DFD8;
      --border-subtle: #ECEAE5;
      --radius: 14px;
      --radius-lg: 22px;
      --radius-xl: 28px;
      --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 32px rgba(0,0,0,0.05);
      --shadow-lg: 0 20px 60px rgba(0,0,0,0.06);
      --glass: rgba(250,249,246,0.8);
    }

    body {
      font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--cream);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    /* Subtle grain texture */
    body::after {
      content: '';
      position: fixed; inset: 0;
      pointer-events: none; z-index: 9999;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 256px;
    }

    h1, h2, h3, h4 {
      font-family: 'Fraunces', Georgia, serif;
      font-weight: 500;
      letter-spacing: -0.025em;
      line-height: 1.12;
    }

    a { color: inherit; text-decoration: none; }
    .container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

    /* ── Buttons ────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      font-family: 'DM Sans', sans-serif; font-weight: 600;
      cursor: pointer; border: none; text-decoration: none;
      transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
      position: relative;
    }
    .btn-primary {
      padding: 16px 36px; border-radius: 60px;
      background: var(--accent); color: #fff; font-size: 15px;
    }
    .btn-primary::after {
      content: ''; position: absolute;
      bottom: -5px; left: 18%; right: 18%;
      height: 50%; border-radius: 60px;
      background: var(--accent); filter: blur(20px); opacity: 0.25;
      transition: opacity 0.3s; z-index: -1;
    }
    .btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
    .btn-primary:hover::after { opacity: 0.4; }
    .btn-secondary {
      padding: 16px 36px; border-radius: 60px;
      background: var(--white); color: var(--text); font-size: 15px;
      border: 1.5px solid var(--border); box-shadow: var(--shadow-xs);
    }
    .btn-secondary:hover { border-color: #ccc; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
    .btn-sm { padding: 10px 22px; font-size: 14px; }

    /* ── Nav ────────────────────────────────── */
    .nav-wrap {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      transition: all 0.4s ease;
    }
    .nav-wrap.scrolled {
      background: var(--glass);
      backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav {
      display: flex; align-items: center; justify-content: space-between;
      max-width: 1100px; margin: 0 auto; padding: 22px 32px;
      transition: padding 0.4s;
    }
    .nav-wrap.scrolled .nav { padding: 14px 32px; }
    .nav-brand {
      font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600;
      color: var(--text); letter-spacing: -0.04em;
    }
    .nav-center {
      display: flex; align-items: center; gap: 4px;
      background: var(--white); border: 1px solid var(--border);
      border-radius: 60px; padding: 4px; box-shadow: var(--shadow-xs);
    }
    .nav-pill {
      padding: 8px 20px; border-radius: 60px; font-size: 14px; font-weight: 500;
      color: var(--text-secondary); transition: all 0.2s;
      cursor: pointer; border: none; background: none; font-family: inherit;
    }
    .nav-pill:hover { color: var(--text); background: var(--cream-warm); }

    /* ── Hero ───────────────────────────────── */
    .hero-section {
      position: relative; padding: 164px 32px 80px;
      overflow: hidden;
    }
    .hero-orb {
      position: absolute; border-radius: 50%; pointer-events: none;
      filter: blur(90px); opacity: 0.22;
    }
    .hero-orb-1 { width: 500px; height: 500px; background: rgba(191,85,57,0.18); top: 40px; right: -140px; }
    .hero-orb-2 { width: 380px; height: 380px; background: rgba(42,107,74,0.14); top: 180px; left: -120px; }

    .hero {
      max-width: 680px; margin: 0 auto;
      text-align: center;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--white); border: 1px solid var(--border);
      padding: 7px 18px; border-radius: 60px;
      font-size: 13px; font-weight: 600; color: var(--text-secondary);
      margin-bottom: 32px; box-shadow: var(--shadow-xs);
    }
    .hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
    .hero h1 {
      font-size: clamp(40px, 4.5vw, 58px);
      margin-bottom: 22px;
    }
    .hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
    .hero-cycle {
      display: inline-block;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .hero-cycle.cycle-out {
      opacity: 0;
      transform: translateY(12px);
    }
    .hero-sub {
      font-size: 18px; color: var(--text-secondary);
      line-height: 1.7; margin-bottom: 40px;
      max-width: 500px; margin-left: auto; margin-right: auto;
    }
    .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
    .hero-note { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

    /* ── Mobile Demo ──────────────────────── */
    .demo-mobile { display: none; }

    /* ── Interactive Demo Browser ──────────── */
    .demo-section {
      padding: 0 32px 128px;
      max-width: 960px; margin: 0 auto;
    }
    .demo-browser {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .demo-chrome {
      background: var(--cream-warm);
      border-bottom: 1px solid var(--border-subtle);
      padding: 0;
    }
    .demo-tabs {
      display: flex; align-items: stretch;
      padding: 12px 16px 0;
      gap: 2px;
    }
    .demo-tab {
      padding: 10px 20px 12px;
      font-size: 13px; font-weight: 600;
      color: var(--text-muted);
      background: transparent;
      border: 1px solid transparent;
      border-bottom: none;
      border-radius: 10px 10px 0 0;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
      white-space: nowrap;
      position: relative;
    }
    .demo-tab:hover { color: var(--text-secondary); }
    .demo-tab.active {
      background: var(--white);
      color: var(--text);
      border-color: var(--border-subtle);
    }
    .demo-tab-dot {
      display: inline-block; width: 6px; height: 6px;
      border-radius: 50%; margin-right: 8px;
    }
    .demo-urlrow {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 20px 14px;
    }
    .demo-dots { display: flex; gap: 5px; }
    .demo-dot { width: 10px; height: 10px; border-radius: 50%; }
    .demo-dot:nth-child(1) { background: #F87171; }
    .demo-dot:nth-child(2) { background: #FBBF24; }
    .demo-dot:nth-child(3) { background: #4ADE80; }
    .demo-urlbar {
      flex: 1; background: var(--white); border: 1px solid var(--border-subtle);
      border-radius: 10px; padding: 8px 16px;
      font-size: 12px; color: var(--text-muted);
      overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
      transition: color 0.3s;
    }
    .demo-urlbar strong { color: var(--accent); font-weight: 600; }
    .demo-body { padding: 44px 48px; min-height: 240px; }
    .demo-content {
      opacity: 1;
      transition: opacity 0.25s ease;
    }
    .demo-content.fading { opacity: 0; }
    .demo-content [id^="demo-"] {
      transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
      display: inline-block;
    }
    .morph-out {
      opacity: 0;
      filter: blur(4px);
      transform: translateY(4px);
      transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    }
    .morph-in {
      animation: morphFadeIn 0.5s ease both;
    }
    @keyframes morphFadeIn {
      from { opacity: 0; filter: blur(4px); transform: translateY(-4px); }
      to { opacity: 1; filter: blur(0); transform: translateY(0); }
    }
    .demo-grid {
      display: grid; grid-template-columns: 1fr 56px 1fr;
      align-items: start;
    }
    .demo-label {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 1.5px; margin-bottom: 16px;
    }
    .demo-label-muted { color: var(--text-muted); }
    .demo-label-green { color: var(--green); }
    .demo-side h3 {
      font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; margin-bottom: 8px;
    }
    .demo-side p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
    .demo-side.after h3 { color: var(--green); }
    .demo-side.after p { color: #4A8C6A; }
    .demo-arrow-col {
      display: flex; align-items: center; justify-content: center; padding-top: 32px;
    }
    .demo-arrow {
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--accent-soft);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 16px;
    }

    /* ── Marquee ───────────────────────────── */
    .marquee-section {
      padding: 56px 0;
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
      overflow: hidden;
    }
    .marquee-label {
      text-align: center; font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 2px;
      color: var(--text-muted); margin-bottom: 28px;
    }
    .marquee-track {
      display: flex; gap: 64px; width: max-content;
      animation: marquee 30s linear infinite;
    }
    .marquee-item {
      font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500;
      color: var(--border); white-space: nowrap;
      transition: color 0.3s;
    }
    .marquee-item:hover { color: var(--text-muted); }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ── Sections ──────────────────────────── */
    .section { padding: 128px 32px; }
    .section-alt { background: var(--cream-warm); }
    .section-header { margin-bottom: 72px; }
    .section-header.center { text-align: center; }
    .section-header h2 { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 16px; }
    .section-header p {
      color: var(--text-secondary); font-size: 17px;
      max-width: 440px; line-height: 1.65;
    }
    .section-header.center p { margin: 0 auto; }
    .section-eyebrow {
      font-size: 12px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 2px; color: var(--accent); margin-bottom: 16px;
    }

    /* ── Steps ──────────────────────────────── */
    .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
    .step-card {
      background: var(--white); border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg); padding: 40px 32px;
      transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
      position: relative; overflow: hidden;
    }
    .step-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0; transition: opacity 0.35s;
    }
    .step-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); transform: translateY(-4px); }
    .step-card:hover::before { opacity: 1; }
    .step-num {
      font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600;
      color: var(--accent); background: var(--accent-soft);
      width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 50%; margin-bottom: 24px;
    }
    .step-card h3 { font-size: 20px; margin-bottom: 10px; }
    .step-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

    /* ── Code ───────────────────────────────── */
    .code-section { padding: 0 32px 128px; }
    .code-block {
      max-width: 600px; margin: 0 auto;
      background: var(--text); border-radius: var(--radius-lg);
      padding: 32px 36px;
      font-family: 'DM Sans', monospace; font-size: 14px; line-height: 2;
      color: #9E9E8E;
      box-shadow: var(--shadow-lg);
      position: relative; overflow: hidden;
    }
    .code-block::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(191,85,57,0.35), transparent);
    }
    .code-block .t { color: #D4A76A; }
    .code-block .a { color: #8BAA8B; }
    .code-block .v { color: #C8866A; }
    .code-block .c { color: #52524A; }

    /* ── Bento Features ────────────────────── */
    .bento {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto auto;
      gap: 16px;
    }
    .bento-card {
      background: var(--white); border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg); padding: 36px 32px;
      transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .bento-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border); }
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
    .bento-icon {
      width: 44px; height: 44px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; margin-bottom: 20px;
    }
    .bi-w { background: var(--accent-soft); }
    .bi-g { background: var(--green-soft); }
    .bi-n { background: var(--cream-dark); }
    .bento-card h3 { font-size: 18px; margin-bottom: 8px; }
    .bento-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
    .bento-visual {
      margin-top: 24px; background: var(--cream); border-radius: 14px;
      padding: 24px; font-size: 13px; color: var(--text-muted); line-height: 1.9;
    }
    .bento-visual .detected { color: var(--green); font-weight: 600; }

    /* ── Use Cases ──────────────────────────── */
    .usecase-grid {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
    }
    .usecase {
      background: var(--white); border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg); padding: 32px 24px;
      text-align: center;
      transition: all 0.3s ease;
    }
    .usecase:hover { box-shadow: var(--shadow-sm); border-color: var(--border); transform: translateY(-2px); }
    .usecase-icon {
      font-size: 28px; margin-bottom: 14px;
    }
    .usecase h4 { font-size: 16px; margin-bottom: 6px; }
    .usecase p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

    /* ── Testimonials ──────────────────────── */
    .testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
    .testi-card {
      background: var(--white); border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg); padding: 36px;
      transition: all 0.3s ease;
    }
    .testi-card:hover { box-shadow: var(--shadow-sm); }
    .testi-card.featured {
      grid-column: 1 / -1;
      background: var(--text); color: var(--cream); border-color: transparent;
    }
    .testi-card.featured .testi-quote { color: var(--cream); }
    .testi-card.featured .testi-role { color: #9C9C92; }
    .testi-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
    .testi-quote {
      font-family: 'Fraunces', serif; font-size: 18px; font-weight: 400;
      font-style: italic; line-height: 1.6; color: var(--text);
      margin-bottom: 20px;
    }
    .testi-card.featured .testi-quote { font-size: 22px; }
    .testi-author { display: flex; align-items: center; gap: 12px; }
    .testi-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--cream-dark); display: flex; align-items: center; justify-content: center;
      font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600; color: var(--text-secondary);
    }
    .testi-card.featured .testi-avatar { background: #2C2C28; color: #9C9C92; }
    .testi-name { font-size: 14px; font-weight: 600; }
    .testi-role { font-size: 12px; color: var(--text-muted); }

    /* ── CTA ────────────────────────────────── */
    .cta-section { padding: 128px 32px; }
    .cta-card {
      max-width: 760px; margin: 0 auto; text-align: center;
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-xl); padding: 80px 56px;
      box-shadow: var(--shadow-md); position: relative; overflow: hidden;
    }
    .cta-card::before {
      content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }
    .cta-card h2 { font-size: clamp(28px,3.5vw,40px); margin-bottom: 14px; }
    .cta-card p { color: var(--text-secondary); font-size: 17px; margin-bottom: 36px; line-height: 1.6; max-width: 440px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }

    /* ── Footer ─────────────────────────────── */
    .footer {
      border-top: 1px solid var(--border-subtle);
      padding: 64px 32px 48px;
    }
    .footer-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
    }
    .footer-brand {
      font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
      color: var(--text); margin-bottom: 12px; letter-spacing: -0.03em;
    }
    .footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 240px; }
    .footer-col h5 {
      font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1.5px;
      color: var(--text-muted); margin-bottom: 16px;
    }
    .footer-col a {
      display: block; font-size: 14px; color: var(--text-secondary);
      padding: 4px 0; transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      max-width: 1100px; margin: 40px auto 0;
      padding-top: 24px; border-top: 1px solid var(--border-subtle);
      font-size: 12px; color: var(--text-muted);
      display: flex; justify-content: space-between;
    }

    /* ── Pages ──────────────────────────────── */
    .page { display: none; }
    .page.active { display: block; }

    /* ── Setup Wizard ──────────────────────── */
    .setup-wrap { max-width: 580px; margin: 0 auto; padding: 148px 32px 80px; }
    .setup-header { margin-bottom: 48px; }
    .setup-header h1 { font-size: 36px; margin-bottom: 8px; }
    .setup-header p { color: var(--text-secondary); font-size: 16px; }
    .progress-track { display: flex; gap: 6px; margin-bottom: 12px; }
    .progress-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--border); transition: background 0.4s; }
    .progress-bar.active { background: var(--accent); }
    .progress-bar.done { background: var(--green); }
    .progress-labels { display: flex; justify-content: space-between; margin-bottom: 36px; }
    .progress-labels span { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
    .progress-labels span.active { color: var(--accent); }
    .progress-labels span.done { color: var(--green); }
    .wiz-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 44px;
      box-shadow: var(--shadow-md);
    }
    .wiz-card h2 { font-size: 24px; margin-bottom: 8px; }
    .wiz-card > p { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; line-height: 1.6; }
    .wiz-nav { display: flex; justify-content: space-between; margin-top: 36px; }
    .form-group { margin-bottom: 24px; }
    .form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
    .form-input {
      width: 100%; padding: 14px 18px; background: var(--cream);
      border: 1.5px solid var(--border); border-radius: 12px;
      color: var(--text); font-size: 15px; font-family: inherit; transition: all 0.2s;
    }
    .form-input:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px var(--accent-soft); }
    .form-input::placeholder { color: var(--text-muted); }
    .form-hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
    .form-error { color: var(--accent); font-size: 13px; margin-top: 8px; display: none; }
    .form-error.visible { display: block; }
    .snippet-box {
      background: var(--text); border-radius: 16px; padding: 28px 32px;
      font-size: 13px; line-height: 1.9; color: #D4A76A;
      position: relative; overflow-x: auto; white-space: pre-wrap; word-break: break-all;
    }
    .copy-btn {
      position: absolute; top: 14px; right: 14px;
      background: #2C2C26; border: 1px solid #3C3C34;
      color: #A8A89E; padding: 7px 16px; border-radius: 8px;
      font-size: 12px; cursor: pointer; font-family: inherit; font-weight: 600; transition: all 0.2s;
    }
    .copy-btn:hover { color: #fff; border-color: #555; }
    .tip-box {
      background: var(--accent-soft); border: 1px solid var(--accent-border);
      border-radius: 14px; padding: 20px 24px; margin-top: 24px;
    }
    .tip-box strong { color: var(--accent); font-size: 14px; }
    .tip-box p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; line-height: 1.55; }
    .success-wrap { text-align: center; padding: 16px 0; }
    .success-icon {
      width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 32px; margin-bottom: 24px; border: 1px solid rgba(42,107,74,0.1);
    }
    .check-list { list-style: none; padding: 0; text-align: left; }
    .check-list li {
      display: flex; align-items: flex-start; gap: 14px;
      padding: 12px 0; font-size: 14px; color: var(--text-secondary);
      line-height: 1.55; border-bottom: 1px solid var(--border-subtle);
    }
    .check-list li:last-child { border-bottom: none; }
    .check-dot {
      width: 22px; height: 22px; min-width: 22px; border-radius: 50%; margin-top: 1px;
      background: var(--green-soft); display: flex; align-items: center; justify-content: center;
      font-size: 11px; color: var(--green);
    }

    /* ── Dashboard tabs ──────────────────────── */
    .dash-tab-btn { background: transparent; color: var(--text-muted); }
    .dash-tab-btn.active { background: var(--cream-warm); color: var(--text); }
    .dash-tab-btn:hover:not(.active) { color: var(--text-secondary); }

    .plan-card { transition: all 0.25s ease; }
    .plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .plan-card.current-plan { border-color: var(--green); border-width: 2px; }
    .plan-card.current-plan::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--green);
    }

    /* ── Hero Bubbles ─────────────────────────── */
    .hero-bubble {
      position: absolute;
      border-radius: 50%;
      box-shadow: var(--shadow-sm);
      animation: float 6s ease-in-out infinite;
      z-index: 1;
      opacity: 0.85;
    }
    .hero-bubble img, .hero-bubble svg { display: block; border-radius: 50%; object-fit: cover; }
    .hero-bubble-1 { top: 22%; left: 8%; animation-delay: 0s; }
    .hero-bubble-2 { top: 14%; right: 10%; animation-delay: 1.2s; }
    .hero-bubble-3 { top: 55%; left: 5%; animation-delay: 2.4s; width: 40px; height: 40px; }
    .hero-bubble-3 svg { width: 40px; height: 40px; }
    .hero-bubble-4 { top: 60%; right: 7%; animation-delay: 0.8s; }
    .hero-bubble-5 { top: 35%; right: 4%; animation-delay: 3s; width: 36px; height: 36px; }
    .hero-bubble-5 svg { width: 36px; height: 36px; }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }

    /* ── Stakes Section ──────────────────────── */
    .stakes-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      max-width: 1000px;
      margin: 0 auto;
    }
    .stakes-carousel {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .stake-item {
      display: flex;
      gap: 16px;
      padding: 20px 20px;
      border-radius: 14px;
      cursor: pointer;
      transition: all 0.35s ease;
      opacity: 0.45;
    }
    .stake-item.active {
      opacity: 1;
      background: var(--white);
      box-shadow: var(--shadow-xs);
    }
    .stake-item:hover:not(.active) { opacity: 0.7; }
    .stake-pip {
      width: 4px;
      min-width: 4px;
      border-radius: 4px;
      background: var(--border);
      transition: background 0.35s;
      align-self: stretch;
    }
    .stake-item.active .stake-pip {
      background: var(--accent);
    }
    .stake-content h4 {
      font-family: 'Fraunces', serif;
      font-size: 17px;
      font-weight: 500;
      margin-bottom: 0;
      color: var(--text);
      font-style: italic;
    }
    .stake-content p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
      margin-top: 0;
    }
    .stake-item.active .stake-content p {
      max-height: 80px;
      opacity: 1;
      margin-top: 6px;
    }
    .stakes-right {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .stakes-visual {
      position: relative;
      width: 100%;
      aspect-ratio: 1;
      border-radius: var(--radius-xl);
      overflow: hidden;
    }
    .stakes-asset {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    .stakes-asset.active { opacity: 1; }
    .stakes-asset img,
    .stakes-asset .stakes-svg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--radius-xl);
    }
    .stakes-asset-caption {
      display: none;
    }

    /* ── Solution Section ────────────────────── */
    .solution-section { background: var(--cream-warm); }
    .solution-split {
    }
    .solution-visual-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .solution-visual {
      width: 100%;
      aspect-ratio: 1;
      border-radius: var(--radius-xl);
      overflow: hidden;
    }
    .solution-visual .stakes-svg {
      width: 100%;
      height: 100%;
      border-radius: var(--radius-xl);
    }
    .solution-points {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .solution-point {
      display: flex;
      gap: 16px;
      padding: 20px 20px;
      border-radius: 14px;
    }
    .solution-icon {
      width: 24px;
      min-width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #5BAD6F;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      margin-top: 2px;
      flex-shrink: 0;
    }
    .solution-point h4 {
      font-family: 'Fraunces', serif;
      font-size: 17px;
      font-weight: 500;
      margin-bottom: 6px;
      color: var(--text);
    }
    .solution-point p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ── Integration Section ─────────────────── */
    .integration-section { padding: 128px 32px; }
    .integration-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      max-width: 960px;
      margin: 0 auto;
    }
    .integration-snippet {
      background: var(--text);
      border-radius: 12px;
      padding: 18px 24px;
      box-shadow: var(--shadow-md);
    }
    .integration-snippet code {
      font-family: 'DM Sans', monospace;
      font-size: 14px;
      color: #D4A76A;
    }
    .integration-right {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .integration-person {
      text-align: center;
      max-width: 280px;
    }
    .person-avatar-lg {
      margin: 0 auto 20px;
      width: 120px;
      height: 120px;
    }
    .person-avatar-lg img, .person-avatar-lg svg { border-radius: 50%; box-shadow: var(--shadow-md); object-fit: cover; width: 120px; height: 120px; }
    .person-speech {
      font-family: 'Fraunces', serif;
      font-size: 17px;
      font-style: italic;
      color: var(--text);
      line-height: 1.5;
      margin-bottom: 16px;
      position: relative;
      padding: 20px 24px;
      background: var(--white);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xs);
    }
    .person-speech::after {
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 14px;
      height: 14px;
      background: var(--white);
      border-left: 1px solid var(--border-subtle);
      border-top: 1px solid var(--border-subtle);
    }
    .person-meta {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .person-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }
    .person-time {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* ── Animations ─────────────────────────── */
    .anim {
      opacity: 0; transform: translateY(32px);
      transition: all 0.8s cubic-bezier(0.22,0.61,0.36,1);
    }
    .anim.visible { opacity: 1; transform: translateY(0); }
    .anim-d1 { transition-delay: 0.1s; }
    .anim-d2 { transition-delay: 0.2s; }
    .anim-d3 { transition-delay: 0.3s; }

    /* ── Responsive ─────────────────────────── */
    @media (max-width: 900px) {
      .bento { grid-template-columns: 1fr; }
      .bento-wide, .bento-tall { grid-column: auto; grid-row: auto; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .usecase-grid { grid-template-columns: repeat(2,1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .stakes-split { grid-template-columns: 1fr; gap: 40px; }
      .integration-split { grid-template-columns: 1fr; gap: 40px; }
      .integration-right { order: -1; }
      .hero-bubble { display: none; }
    }
    @media (max-width: 640px) {
      .steps-grid { grid-template-columns: 1fr; }
      .usecase-grid { grid-template-columns: 1fr; }
      .nav-center { display: none; }
      .hero-section { padding: 120px 20px 60px; }
      .section { padding: 80px 20px; }
      .cta-card { padding: 56px 28px; }
      .wiz-card { padding: 32px 24px; }
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; gap: 8px; }
      .demo-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .demo-tab { font-size: 12px; padding: 8px 14px 10px; }
      .demo-body { padding: 28px 24px; }
      .demo-grid { grid-template-columns: 1fr; }
      .demo-arrow-col { padding: 12px 0; }
      .demo-arrow { transform: rotate(90deg); }
      .demo-section { display: none; }
      .demo-mobile {
        display: block;
        padding: 0 20px 80px;
      }
      .demo-mobile-inner {
        max-width: 400px;
        margin: 0 auto;
      }
      .demo-mobile-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 24px;
      }
      .demo-mobile-card-after {
        border-color: var(--accent);
        box-shadow: 0 4px 24px rgba(196,78,60,0.08);
      }
      .demo-mobile-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--text-muted);
        margin-bottom: 12px;
      }
      .demo-mobile-badge {
        font-size: 11px;
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        margin-bottom: 10px;
        word-break: break-all;
      }
      .demo-mobile-h {
        font-family: 'Fraunces', serif;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 8px;
        color: var(--text-secondary);
      }
      .demo-mobile-card-after .demo-mobile-h {
        color: var(--text);
      }
      .demo-mobile-p {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 16px;
      }
      .demo-mobile-cta {
        display: inline-block;
        padding: 10px 22px;
        border-radius: 60px;
        font-size: 13px;
        font-weight: 600;
        background: var(--accent);
        color: #fff;
      }
      .demo-mobile-arrow {
        text-align: center;
        font-size: 24px;
        color: var(--accent);
        padding: 12px 0;
        opacity: 0.6;
      }
      .integration-section { padding: 80px 20px; }
    }

/* Variant card hover (replaces inline onmouseover/onmouseout) */
[data-action="view-variant"] { transition: border-color 0.2s, box-shadow 0.2s; }
[data-action="view-variant"]:hover { border-color: var(--border) !important; box-shadow: var(--shadow-xs); }

/* ── A/B Tracking Tab ────────────────────── */
.ab-metric-card {
  margin-bottom: 12px;
}
.ab-metric-card > div {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 24px;
}
.ab-metric-value {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
}
.ab-metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ab-winner { color: var(--green); }
.ab-loser { color: var(--accent); }
.ab-neutral { color: var(--text); }
.confidence-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 60px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.confidence-low { background: rgba(231,163,62,0.1); color: #b8862d; }
.confidence-medium { background: rgba(91,173,111,0.08); color: var(--green); }
.confidence-high { background: rgba(91,173,111,0.15); color: var(--green); }
.ab-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.ab-toggle input { display: none; }
.ab-toggle span {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.ab-toggle span::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
}
.ab-toggle input:checked + span { background: var(--green); }
.ab-toggle input:checked + span::after { transform: translateX(20px); }

/* Skeleton loading */
@keyframes skel-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel {
  background: linear-gradient(90deg, #ECEAE3 25%, #E2DFD8 50%, #ECEAE3 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}

/* Preview generation */
@keyframes preview-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.preview-gen-icon { animation: preview-float 2.5s ease-in-out infinite; }
.preview-link-enter { animation: fade-up-in 0.4s ease-out both; }
.preview-link {
  display: block; background: var(--cream); border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 8px;
  text-decoration: none; color: inherit; transition: all 0.2s;
}
.preview-link:hover {
  border-color: var(--accent); background: var(--accent-soft);
  transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Toast notifications */
@keyframes toast-in { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
@keyframes toast-out { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(-12px); } }
.morph-toast {
  position: fixed; top: 20px; right: 20px; z-index: 10001; max-width: 400px;
  padding: 14px 20px; border-radius: 14px; background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12); animation: toast-in 0.25s ease-out;
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text);
}
.morph-toast.toast-error { border: 1px solid rgba(232,69,60,0.2); }
.morph-toast.toast-success { border: 1px solid rgba(42,107,74,0.2); }
.morph-toast.toast-info { border: 1px solid var(--border); }
.morph-toast.toast-exit { animation: toast-out 0.2s ease-in forwards; }

/* Confirm modal */
.morph-confirm-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); display: flex; align-items: center;
  justify-content: center; z-index: 10000; animation: fade-up-in 0.2s ease-out;
}
.morph-confirm-box {
  background: var(--white); border-radius: 20px; padding: 32px;
  max-width: 400px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.morph-confirm-box h3 {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; margin-bottom: 8px;
}
.morph-confirm-box p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 24px;
}
.btn-danger {
  background: #c0392b; color: var(--white); border: none; cursor: pointer;
  padding: 10px 20px; border-radius: 60px; font-size: 14px; font-weight: 600;
  font-family: inherit; transition: all 0.2s;
}
.btn-danger:hover { background: #a93226; }
