:root {
        color-scheme: light;
        --bg: #f4f4f1;
        --bg-alt: #ffffff;
        --ink: #0f1111;
        --ink-2: #2f3434;
        --muted: #666d6d;
        --line: rgba(15, 17, 17, 0.12);
        --accent: #17b26a;
        --accent-2: #0f7a4d;
        --accent-soft: rgba(23, 178, 106, 0.18);
        --accent-glow: rgba(23, 178, 106, 0.18);
        --shadow: 0 12px 40px rgba(8, 12, 12, 0.08);
        --shadow-strong: 0 20px 50px rgba(8, 12, 12, 0.14);
        --radius: 16px;
        --space-1: 6px;
        --space-2: 12px;
        --space-3: 18px;
        --space-4: 24px;
        --space-5: 36px;
        --space-6: 56px;
      }

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

      body {
        font-family: "Space Grotesk", system-ui, sans-serif;
        background: #ffffff;
        color: var(--ink);
        min-height: 100vh;
        position: relative;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88));
        z-index: -2;
        pointer-events: none;
      }

      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at 20% 10%, rgba(23, 178, 106, 0.1), transparent 50%),
          radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 40%);
        z-index: -1;
        pointer-events: none;
      }

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

      .ambient {
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
            to right,
            rgba(15, 17, 17, 0.06) 1px,
            transparent 1px
          ),
          linear-gradient(to bottom, rgba(15, 17, 17, 0.04) 1px, transparent 1px);
        background-size: 120px 120px;
        opacity: 0.7;
        z-index: 0;
      }

      .wrap {
        position: relative;
        z-index: 1;
        max-width: 1120px;
        margin: 0 auto;
        padding: 32px 24px 96px;
      }

      header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-4);
        border-bottom: 1px solid var(--line);
        padding-bottom: var(--space-3);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        font-weight: 700;
        letter-spacing: -0.02em;
      }

      .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid var(--ink);
        display: grid;
        place-items: center;
        font-weight: 700;
        font-size: 1.05rem;
      }

      nav {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-size: 0.95rem;
      }

      nav a {
        color: var(--muted);
      }

      .btn {
        padding: 10px 18px;
        border-radius: 999px;
        border: 1px solid var(--ink);
        background: var(--ink);
        color: #fff;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }

      .btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow);
      }

      .btn.secondary {
        background: transparent;
        color: var(--ink);
      }

      .btn.small {
        padding: 6px 12px;
        font-size: 0.8rem;
      }

      .eyebrow {
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.75rem;
        color: var(--muted);
      }

      .hero {
        margin-top: var(--space-6);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-5);
        align-items: center;
      }

      h1 {
        font-size: clamp(2.6rem, 4.2vw, 4.6rem);
        line-height: 1;
        letter-spacing: -0.03em;
        margin-top: var(--space-3);
      }

      .lead {
        margin-top: var(--space-3);
        max-width: 520px;
        font-size: 1.05rem;
        line-height: 1.6;
        color: var(--muted);
      }

      .mono {
        font-family: "IBM Plex Mono", Consolas, Menlo, monospace;
        letter-spacing: 0.01em;
      }

      .hero-form {
        margin-top: var(--space-4);
        display: grid;
        gap: var(--space-2);
      }

      .form-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--space-2);
        align-items: center;
      }

      .input {
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
        font-size: 0.95rem;
        color: var(--ink);
      }

      .input::placeholder {
        color: rgba(47, 52, 52, 0.7);
      }

      .helper {
        font-size: 0.85rem;
        color: var(--muted);
      }

      .hero-meta {
        margin-top: var(--space-3);
        display: flex;
        gap: var(--space-2);
        flex-wrap: wrap;
        color: var(--muted);
        font-size: 0.9rem;
      }

      .chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid var(--line);
        font-size: 0.8rem;
        background: var(--bg-alt);
      }

      .panel {
        background: var(--bg-alt);
        border-radius: var(--radius);
        border: 1px solid var(--line);
        padding: 22px;
        box-shadow: var(--shadow);
        display: grid;
        gap: var(--space-3);
      }

      .signal-board {
        display: grid;
        gap: var(--space-3);
      }

      .signal-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2);
        border-bottom: 1px solid var(--line);
        padding-bottom: var(--space-2);
      }

      .signal-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 34px;
        padding: 0 16px;
        border-radius: 999px;
        background: #e7f4ee;
        color: #1e6f4a;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1;
      }

      .output-card .badge {
        width: 100%;
        justify-content: flex-start;
      }

      .section {
        margin-top: var(--space-6);
        padding-top: var(--space-5);
        border-top: 1px solid var(--line);
        position: relative;
      }

      .section.alt {
        margin-top: var(--space-6);
        padding: 32px;
        border: 1px solid var(--line);
        border-top: none;
        border-radius: 24px;
        background: #f7f9f7;
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      .section h2 {
        font-size: clamp(1.7rem, 2.6vw, 2.6rem);
        letter-spacing: -0.02em;
      }

      .section p {
        margin-top: var(--space-2);
        max-width: 640px;
        color: var(--muted);
      }

      .grid {
        margin-top: var(--space-4);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
      }

      .card {
        padding: 16px 16px 14px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
        display: grid;
        gap: 8px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .card h3 {
        font-size: 1rem;
      }

      .tile-grid,
      .output-grid,
      .report-grid,
      .pricing,
      .metrics,
      .kpis,
      .campaign-grid {
        margin-top: var(--space-4);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
      }

      .bento-grid {
        margin-top: var(--space-4);
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
      }

      .bento-card {
        padding: 18px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
        display: grid;
        gap: 12px;
        min-height: 180px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .bento-card::after {
        content: none;
      }

      .bento-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-strong);
      }

      .bento-kicker {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: var(--muted);
      }

      .bento-title {
        font-size: 1.1rem;
        font-weight: 600;
      }

      .bento-copy {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.5;
      }

      .bento-mini {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .mini-tile {
        padding: 10px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #f7f9f7;
        display: grid;
        gap: 6px;
      }

      .mini-tile strong {
        font-size: 1.1rem;
      }

      .mini-tile span {
        font-size: 0.8rem;
        color: var(--muted);
      }

      .sparkline {
        display: none;
      }

      .bento-hero {
        grid-column: span 6;
        min-height: 260px;
      }

      .bento-mid {
        grid-column: span 3;
        min-height: 220px;
      }

      .bento-wide {
        grid-column: span 4;
        min-height: 210px;
      }

      .tile,
      .output-card,
      .report-card,
      .plan,
      .metric,
      .kpi,
      .campaign {
        padding: 16px 16px 14px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
        display: grid;
        gap: 10px;
        align-content: start;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .card:hover,
      .tile:hover,
      .output-card:hover,
      .report-card:hover,
      .plan:hover,
      .metric:hover,
      .kpi:hover,
      .campaign:hover,
      .bento-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-strong);
      }

      .pricing {
        align-items: stretch;
      }

      .plan {
        min-height: 260px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: var(--shadow);
      }

      .plan .list {
        margin-top: auto;
      }

      .plan-badge-slot {
        min-height: 34px;
        display: flex;
        align-items: center;
      }

      .plan-title {
        font-size: 1.1rem;
        font-weight: 600;
      }

      .tile small,
      .metric .label,
      .kpi .badge,
      .campaign {
        color: var(--muted);
      }

      .stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .stat {
        padding: 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
      }

      .stat h4 {
        font-size: 1.4rem;
      }

      .meter,
      .progress {
        height: 6px;
        background: rgba(23, 178, 106, 0.2);
        border-radius: 999px;
        overflow: hidden;
      }

      .meter span,
      .progress span {
        display: block;
        height: 100%;
        background: var(--accent);
      }

      .rank {
        font-size: 2rem;
        font-weight: 600;
        font-family: "IBM Plex Mono", Consolas, Menlo, monospace;
      }

      .ladder {
        display: grid;
        gap: 6px;
        font-size: 0.9rem;
        color: var(--muted);
      }

      .ladder span {
        display: flex;
        justify-content: space-between;
        gap: 10px;
      }

      .steps {
        margin-top: var(--space-4);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
      }

      .step {
        padding: 16px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: grid;
        gap: 10px;
        box-shadow: var(--shadow);
      }

      .step-number {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: var(--ink);
        color: #fff;
        font-weight: 600;
        display: grid;
        place-items: center;
        font-size: 0.9rem;
      }

      .video-shell {
        margin-top: var(--space-4);
        padding: 18px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: #0f1111;
        color: #fff;
        display: grid;
        gap: 12px;
        position: relative;
        overflow: hidden;
      }

      .video-screen {
        background: #131717;
        border-radius: 12px;
        height: 260px;
        position: relative;
        overflow: hidden;
      }

      .video-grid {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
          ),
          linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
        background-size: 48px 48px;
        opacity: 0.5;
      }

      .video-cards {
        position: absolute;
        inset: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }

      .video-card {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px;
        display: grid;
        gap: 8px;
        font-size: 0.85rem;
      }

      .video-card .bar {
        height: 6px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent), transparent);
      }

      .video-caption {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
      }

      .faq {
        margin-top: var(--space-4);
        display: grid;
        gap: 10px;
      }

      .faq details {
        padding: 14px 16px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
      }

      .faq summary {
        cursor: pointer;
        font-weight: 600;
      }

      .faq p {
        margin-top: 10px;
        color: var(--muted);
      }

      .cta-band {
        margin-top: var(--space-6);
        padding: 24px;
        border-radius: 18px;
        background: var(--ink);
        color: #fff;
        display: grid;
        gap: 16px;
      }

      .cta-band .input {
        background: #fff;
      }

      footer {
        margin-top: var(--space-6);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.85rem;
        color: var(--muted);
      }

      .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }

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

      @keyframes driftGlow {
        0%,
        100% {
          transform: translate3d(0, 0, 0);
        }
        50% {
          transform: translate3d(20px, -10px, 0);
        }
      }

      @media (max-width: 720px) {
        header {
          flex-direction: column;
          align-items: flex-start;
        }

        nav {
          flex-wrap: wrap;
          gap: 12px;
        }

        .form-row {
          grid-template-columns: 1fr;
        }

        .video-cards {
          grid-template-columns: 1fr;
        }

        .bento-grid {
          grid-template-columns: repeat(6, minmax(0, 1fr));
        }

        .bento-hero,
        .bento-mid,
        .bento-wide {
          grid-column: span 6;
          grid-row: auto;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
      }
