:root {
        --ink: #0f172a;
        --ink-2: #1e293b;
        --blue: #3b82f6;
        --blue-hover: #2563eb;
        --blue-soft: #eff6ff;
        --blue-soft-2: #dbeafe;
        --surface: #f8fafc;
        --white: #ffffff;
        --green: #10b981;
        --amber: #f59e0b;
        --red: #ef4444;
        --muted: #64748b;
        --border: #e2e8f0;
        --border-strong: #cbd5e1;

        --ease: cubic-bezier(0.16, 1, 0.3, 1);

        --display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
        --body: 'Inter', system-ui, sans-serif;
        --sign: 'Caveat', cursive;
        --mono: 'JetBrains Mono', ui-monospace, monospace;
      }

      * {
        box-sizing: border-box;
      }
      html,
      body {
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--body);
        color: var(--ink);
        background: var(--surface);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        font-size: 16px;
        line-height: 1.6;
        overflow-x: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }
      button {
        font: inherit;
        cursor: pointer;
        border: 0;
        background: none;
        color: inherit;
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
      }

      /* ---------- TYPOGRAPHY ---------- */
      h1,
      h2,
      h3,
      h4 {
        font-family: var(--display);
        font-weight: 700;
        letter-spacing: -0.02em;
        margin: 0;
        line-height: 1.05;
        text-wrap: balance;
      }
      h1 {
        font-size: clamp(2.5rem, 5.4vw, 4.75rem);
        letter-spacing: -0.035em;
      }
      h2 {
        font-size: clamp(2rem, 3.6vw, 3.25rem);
        letter-spacing: -0.03em;
      }
      h3 {
        font-size: 1.25rem;
        font-weight: 500;
      }
      p {
        margin: 0;
      }
      .eyebrow {
        font-family: var(--mono);
        font-size: 12px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 500;
      }
      .muted {
        color: var(--muted);
      }

      /* ---------- NAV ---------- */
      .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        padding: 14px 0;
        transition:
          background 300ms var(--ease),
          border-color 300ms,
          box-shadow 300ms;
        border-bottom: 1px solid transparent;
      }
      .nav.scrolled {
        background: rgba(248, 250, 252, 0.85);
        backdrop-filter: saturate(180%) blur(12px);
        -webkit-backdrop-filter: saturate(180%) blur(12px);
        border-bottom-color: var(--border);
      }
      .nav-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }
      .brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-family: var(--display);
        font-weight: 700;
        font-size: 22px;
        letter-spacing: -0.02em;
      }
      .brand img {
        width: 34px;
        height: 34px;
        display: block;
      }
      .brand .wordmark {
        position: relative;
      }
      .brand .wordmark::after {
        content: '';
        position: absolute;
        left: -2px;
        right: -2px;
        bottom: -3px;
        height: 6px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8'><path d='M2 5 C 15 1, 30 7, 45 3 S 78 7, 98 2' stroke='%233B82F6' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>")
          center/100% 100% no-repeat;
        opacity: 0;
        transition: opacity 300ms var(--ease);
      }
      .brand:hover .wordmark::after {
        opacity: 1;
      }
      .nav-links {
        display: flex;
        gap: 28px;
        align-items: center;
        font-size: 14.5px;
        color: var(--ink-2);
        font-weight: 500;
      }
      .nav-links a {
        transition: color 150ms;
      }
      .nav-links a:hover {
        color: var(--blue);
      }
      .nav-cta {
        display: flex;
        gap: 10px;
        align-items: center;
      }
      @media (max-width: 760px) {
        .nav-links {
          display: none;
        }
      }

      /* ---------- BUTTONS ---------- */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        padding: 0 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 15px;
        transition:
          transform 150ms var(--ease),
          background 200ms,
          color 200ms,
          box-shadow 200ms;
        white-space: nowrap;
      }
      .btn.lg {
        height: 56px;
        padding: 0 28px;
        font-size: 16.5px;
        border-radius: 10px;
      }
      .btn.sm {
        height: 36px;
        padding: 0 14px;
        font-size: 13.5px;
      }
      .btn-primary {
        background: var(--blue);
        color: white;
        box-shadow:
          0 6px 20px -8px rgba(59, 130, 246, 0.6),
          inset 0 1px 0 rgba(255, 255, 255, 0.2);
      }
      .btn-primary:hover {
        background: var(--blue-hover);
        transform: translateY(-1px);
      }
      .btn-ghost {
        color: var(--ink);
      }
      .btn-ghost:hover {
        color: var(--blue);
      }
      .btn-outline {
        border: 1px solid var(--border-strong);
        color: var(--ink);
        background: white;
      }
      .btn-outline:hover {
        border-color: var(--ink);
      }
      .btn-ink {
        background: var(--ink);
        color: white;
      }
      .btn-ink:hover {
        background: #000;
        transform: translateY(-1px);
      }

      /* arrow */
      .arrow {
        display: inline-block;
        transition: transform 200ms var(--ease);
      }
      .btn:hover .arrow {
        transform: translateX(3px);
      }

      /* ---------- HERO ---------- */
      .hero {
        position: relative;
        padding: 140px 0 80px;
        overflow: hidden;
      }
      .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background:
          radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%),
          radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.06), transparent 50%);
      }
      .hero-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(15, 23, 42, 0.07) 1px, transparent 1px);
        background-size: 22px 22px;
        mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, black, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, black, transparent 75%);
      }
      .hero-inner {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        gap: 56px;
        align-items: center;
      }
      @media (max-width: 980px) {
        .hero-inner {
          grid-template-columns: 1fr;
          gap: 48px;
        }
      }

      .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 6px 12px 6px 8px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: white;
        font-family: var(--mono);
        font-size: 12px;
        letter-spacing: 0.06em;
        color: var(--ink-2);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      }
      .hero-eyebrow .pill {
        background: var(--blue-soft);
        color: var(--blue-hover);
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 10.5px;
        letter-spacing: 0.1em;
        font-weight: 600;
      }
      .hero h1 {
        margin-top: 22px;
      }
      .hero h1 .accent {
        background: linear-gradient(180deg, var(--ink) 60%, var(--blue) 60%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }
      .hero h1 .sig {
        font-family: var(--sign);
        font-weight: 700;
        color: var(--blue);
        font-style: italic;
        padding-right: 4px;
      }
      .hero-sub {
        margin-top: 22px;
        font-size: 19px;
        line-height: 1.55;
        color: var(--muted);
        max-width: 540px;
      }
      .hero-sub strong {
        color: var(--ink-2);
        font-weight: 600;
      }
      .hero-cta {
        display: flex;
        gap: 14px;
        align-items: center;
        margin-top: 32px;
        flex-wrap: wrap;
      }
      .hero-cta .secondary {
        color: var(--ink-2);
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 15px;
      }
      .hero-cta .secondary:hover {
        color: var(--blue);
      }

      .trust {
        display: flex;
        gap: 22px;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 36px;
        color: var(--muted);
        font-size: 13px;
      }
      .trust .item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .trust svg {
        color: var(--green);
      }

      /* ---------- HERO MOCKUP ---------- */
      .mockup {
        position: relative;
        perspective: 1600px;
      }
      .mockup-frame {
        background: white;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow:
          0 30px 60px -20px rgba(15, 23, 42, 0.18),
          0 12px 24px -12px rgba(15, 23, 42, 0.08);
        overflow: hidden;
        transform: rotateX(2deg) rotateY(-6deg) rotate(0.3deg);
        transform-style: preserve-3d;
        transition: transform 600ms var(--ease);
      }
      .mockup:hover .mockup-frame {
        transform: rotateX(0deg) rotateY(0deg);
      }
      .browser-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
        background: #fafbfc;
      }
      .tl {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #e2e8f0;
      }
      .tl:nth-child(1) {
        background: #fca5a5;
      }
      .tl:nth-child(2) {
        background: #fcd34d;
      }
      .tl:nth-child(3) {
        background: #86efac;
      }
      .url {
        flex: 1;
        margin: 0 12px;
        padding: 5px 12px;
        border-radius: 6px;
        background: white;
        border: 1px solid var(--border);
        font-family: var(--mono);
        font-size: 11.5px;
        color: var(--muted);
      }
      .url b {
        color: var(--ink-2);
        font-weight: 500;
      }

      .editor {
        display: grid;
        grid-template-columns: 200px 1fr;
        min-height: 460px;
        background: #f8fafc;
      }
      .palette {
        background: white;
        border-right: 1px solid var(--border);
        padding: 18px 14px;
      }
      .palette .title {
        font-size: 11px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 12px;
        font-weight: 600;
      }
      .palette .field {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border: 1px dashed var(--border-strong);
        border-radius: 8px;
        margin-bottom: 8px;
        font-size: 13px;
        color: var(--ink-2);
        background: white;
        transition:
          border-color 200ms,
          transform 200ms;
      }
      .palette .field.active {
        border-color: var(--blue);
        background: var(--blue-soft);
        color: var(--blue-hover);
      }
      .palette .field .ic {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--blue);
      }

      .canvas {
        position: relative;
        padding: 24px;
        overflow: hidden;
      }
      .paper {
        background: white;
        border: 1px solid var(--border);
        border-radius: 6px;
        box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
        padding: 24px 28px;
        min-height: 420px;
        position: relative;
      }
      .paper .doc-title {
        font-family: var(--display);
        font-weight: 700;
        font-size: 15px;
        letter-spacing: -0.01em;
      }
      .paper .doc-meta {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
      }
      .paper .line {
        height: 6px;
        border-radius: 3px;
        background: #e2e8f0;
        margin: 14px 0;
      }
      .paper .line.w90 {
        width: 90%;
      }
      .paper .line.w70 {
        width: 70%;
      }
      .paper .line.w80 {
        width: 80%;
      }
      .paper .line.w60 {
        width: 60%;
      }
      .paper .line.w95 {
        width: 95%;
      }
      .paper .line.w50 {
        width: 50%;
      }
      .paper .heading {
        height: 9px;
        width: 40%;
        border-radius: 3px;
        background: #94a3b8;
        margin: 18px 0 10px;
      }

      .sig-field {
        position: absolute;
        left: 32px;
        bottom: 42px;
        width: 220px;
        height: 64px;
        border: 2px dashed var(--blue);
        border-radius: 6px;
        background: rgba(59, 130, 246, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11.5px;
        color: var(--blue-hover);
        font-weight: 500;
      }
      .sig-field.signed {
        border-style: solid;
        background: rgba(16, 185, 129, 0.06);
        border-color: var(--green);
      }
      .sig-field.signed::before {
        content: '✓';
        position: absolute;
        top: -10px;
        right: -10px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--green);
        color: white;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
      }

      .sig-stroke {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .sig-stroke svg {
        width: 86%;
        height: 70%;
      }
      .sig-stroke path {
        stroke: var(--blue);
        stroke-width: 3;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 600;
        stroke-dashoffset: 600;
      }
      .signed .sig-stroke path {
        stroke: var(--ink);
      }

      .date-field {
        position: absolute;
        right: 36px;
        bottom: 42px;
        width: 110px;
        height: 32px;
        border: 1px solid var(--border-strong);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-family: var(--mono);
        font-size: 11px;
        color: var(--ink-2);
        background: white;
      }

      /* status bar in mockup */
      .status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        border-top: 1px solid var(--border);
        background: white;
        font-size: 12.5px;
      }
      .status-bar .left {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--muted);
      }
      .dot-signers {
        display: flex;
        gap: -4px;
      }
      .dot-signers .d {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid white;
        font-size: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        margin-left: -6px;
      }
      .dot-signers .d:first-child {
        margin-left: 0;
      }
      .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 11.5px;
        font-weight: 600;
      }
      .badge.amber {
        background: #fef3c7;
        color: #92400e;
      }
      .badge.green {
        background: #d1fae5;
        color: #065f46;
      }
      .badge .bd {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
      }

      /* callouts floating */
      .callout {
        position: absolute;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 8px 12px;
        font-size: 12.5px;
        color: var(--ink-2);
        font-weight: 500;
        box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.25);
      }
      .callout::after {
        content: '';
        position: absolute;
        width: 1px;
        background: var(--blue);
      }
      .callout.c1 {
        top: 18%;
        left: -8%;
      }
      .callout.c2 {
        top: 38%;
        right: -2%;
      }
      .callout.c3 {
        bottom: 16%;
        right: -10%;
      }

      /* entrance — only hide when JS is active */
      .js [data-anim] {
        opacity: 0;
        transform: translateY(24px);
        transition:
          opacity 700ms var(--ease),
          transform 700ms var(--ease);
      }
      .js [data-anim].in {
        opacity: 1;
        transform: translateY(0);
      }
      [data-anim][data-delay='100'] {
        transition-delay: 100ms;
      }
      [data-anim][data-delay='200'] {
        transition-delay: 200ms;
      }
      [data-anim][data-delay='300'] {
        transition-delay: 300ms;
      }
      [data-anim][data-delay='400'] {
        transition-delay: 400ms;
      }
      [data-anim][data-delay='500'] {
        transition-delay: 500ms;
      }

      /* scroll prompt */
      .scroll-prompt {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin: 56px auto 0;
        color: var(--muted);
        font-size: 12px;
        font-family: var(--mono);
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }
      .scroll-prompt .chev {
        animation: bob 2.4s var(--ease) infinite;
      }
      @keyframes bob {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(6px);
        }
      }

      /* ---------- SECTIONS ---------- */
      section {
        padding: 120px 0;
        position: relative;
      }
      @media (max-width: 760px) {
        section {
          padding: 80px 0;
        }
      }
      .section-head {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 64px;
      }
      .section-head h2 {
        margin-top: 14px;
      }
      .section-head p {
        margin-top: 14px;
        color: var(--muted);
        font-size: 18px;
      }

      /* HOW IT WORKS */
      .steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        position: relative;
      }
      @media (max-width: 860px) {
        .steps {
          grid-template-columns: 1fr;
          gap: 28px;
        }
      }
      .step {
        position: relative;
        padding: 40px 28px 32px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        transition:
          transform 300ms var(--ease),
          box-shadow 300ms;
      }
      .step:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      }
      .step .num {
        font-family: var(--display);
        font-weight: 800;
        font-size: 64px;
        line-height: 1;
        color: var(--blue-soft);
        letter-spacing: -0.04em;
      }
      .step .ic {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: var(--blue-soft);
        color: var(--blue-hover);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -28px 0 18px;
        position: relative;
        z-index: 1;
      }
      .step h3 {
        font-family: var(--display);
        font-weight: 700;
        font-size: 22px;
        letter-spacing: -0.02em;
      }
      .step p {
        color: var(--muted);
        margin-top: 8px;
        font-size: 15.5px;
      }

      .steps-connector {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        height: 2px;
        background-image: linear-gradient(90deg, var(--border-strong) 50%, transparent 0);
        background-size: 8px 2px;
        background-repeat: repeat-x;
        z-index: -1;
      }
      @media (max-width: 860px) {
        .steps-connector {
          display: none;
        }
      }
      .avg-time {
        text-align: center;
        margin-top: 48px;
        color: var(--muted);
        font-size: 16px;
      }
      .avg-time b {
        color: var(--ink);
        font-weight: 700;
      }

      /* PRODUCT SHOWCASE */
      .showcase {
        background: linear-gradient(180deg, var(--surface) 0%, var(--blue-soft) 100%);
      }
      .showcase-mockup {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
      }
      .showcase-mockup .mockup-frame {
        transform: rotateX(6deg) rotateY(-3deg);
      }

      /* FEATURES */
      .feature-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      @media (max-width: 980px) {
        .feature-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (max-width: 620px) {
        .feature-grid {
          grid-template-columns: 1fr;
        }
      }
      .fcard {
        position: relative;
        background: white;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 28px;
        transition:
          transform 300ms var(--ease),
          box-shadow 300ms,
          border-color 300ms;
      }
      .fcard:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
        border-color: #c7d2db;
      }
      .fcard .fi {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        background: var(--blue-soft);
        color: var(--blue-hover);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
      }
      .fcard h3 {
        font-family: var(--display);
        font-weight: 700;
        font-size: 19px;
        letter-spacing: -0.015em;
      }
      .fcard p {
        color: var(--muted);
        margin-top: 8px;
        font-size: 15px;
      }
      .pro-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--blue);
        color: white;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: 0.04em;
      }

      /* PRICING */
      .pricing-toggle {
        display: inline-flex;
        gap: 4px;
        padding: 4px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 999px;
        margin: 0 auto 48px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        position: relative;
      }
      .pricing-toggle button {
        position: relative;
        z-index: 1;
        padding: 8px 18px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        color: var(--muted);
        transition: color 200ms;
      }
      .pricing-toggle button.on {
        color: white;
      }
      .pricing-toggle .knob {
        position: absolute;
        top: 4px;
        bottom: 4px;
        background: var(--ink);
        border-radius: 999px;
        transition:
          left 300ms var(--ease),
          width 300ms var(--ease);
      }
      .pricing-toggle .save {
        font-size: 10.5px;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(16, 185, 129, 0.18);
        color: var(--green);
        margin-left: 6px;
        font-weight: 700;
      }

      .pricing-wrap {
        text-align: center;
      }
      .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        align-items: stretch;
      }
      @media (max-width: 920px) {
        .pricing-grid {
          grid-template-columns: 1fr;
          max-width: 440px;
          margin: 0 auto;
        }
      }
      .pcard {
        position: relative;
        background: white;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 36px 28px;
        text-align: left;
        display: flex;
        flex-direction: column;
        transition:
          transform 300ms var(--ease),
          box-shadow 300ms;
      }
      .pcard.pro {
        border: 1px solid var(--blue-soft-2);
        box-shadow:
          0 24px 60px -20px rgba(59, 130, 246, 0.35),
          0 1px 3px rgba(0, 0, 0, 0.04);
        transform: translateY(-12px);
      }
      .pcard.pro::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--blue);
        border-radius: 16px 16px 0 0;
      }
      .pop-badge {
        position: absolute;
        top: -14px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--ink);
        color: white;
        padding: 5px 14px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
      }
      .pop-badge .star {
        color: var(--amber);
      }
      .pcard .plan-name {
        font-family: var(--mono);
        font-size: 12px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 600;
      }
      .pcard .price {
        font-family: var(--display);
        font-weight: 700;
        letter-spacing: -0.03em;
        margin-top: 16px;
      }
      .pcard .price .num {
        font-size: 56px;
        line-height: 1;
      }
      .pcard .price .per {
        font-size: 15px;
        color: var(--muted);
        font-weight: 500;
        font-family: var(--body);
      }
      .pcard .price-sub {
        font-size: 13px;
        color: var(--muted);
        margin-top: 6px;
        min-height: 18px;
      }
      .pcard ul {
        list-style: none;
        padding: 0;
        margin: 28px 0 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1;
      }
      .pcard li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 14.5px;
        color: var(--ink-2);
      }
      .pcard li svg {
        color: var(--green);
        flex-shrink: 0;
        margin-top: 2px;
      }
      .pcard li .lpro {
        font-size: 10px;
        background: var(--blue-soft);
        color: var(--blue-hover);
        padding: 2px 7px;
        border-radius: 999px;
        font-weight: 700;
        margin-left: 6px;
        letter-spacing: 0.04em;
      }
      .pcard .pcta {
        margin-top: 28px;
      }
      .pricing-foot {
        margin-top: 36px;
        color: var(--muted);
        font-size: 14px;
      }
      .pricing-foot small {
        display: block;
        margin-top: 4px;
        font-size: 12.5px;
      }

      /* PROOF (dark) */
      .proof {
        background: var(--ink);
        color: white;
      }
      .proof::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
        background-size: 24px 24px;
        mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 80%);
        -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 80%);
      }
      .proof .container {
        position: relative;
        z-index: 1;
      }
      .proof-head {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
      }
      .proof-head h2 {
        color: white;
      }
      .proof-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        margin-top: 72px;
      }
      @media (max-width: 760px) {
        .proof-stats {
          grid-template-columns: 1fr;
          gap: 40px;
        }
      }
      .pstat {
        text-align: center;
        position: relative;
      }
      .pstat + .pstat::before {
        content: '';
        position: absolute;
        left: -16px;
        top: 8px;
        bottom: 8px;
        width: 1px;
        background: rgba(255, 255, 255, 0.12);
      }
      @media (max-width: 760px) {
        .pstat + .pstat::before {
          display: none;
        }
      }
      .pstat .v {
        font-family: var(--display);
        font-weight: 700;
        font-size: clamp(3rem, 6vw, 5rem);
        letter-spacing: -0.04em;
        color: white;
        line-height: 1;
      }
      .pstat .v .u {
        color: var(--blue);
      }
      .pstat .l {
        font-family: var(--mono);
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-top: 14px;
      }

      /* FINAL CTA */
      .finalcta {
        background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue-soft-2) 100%);
        text-align: center;
        padding: 120px 0;
      }
      .finalcta h2 {
        max-width: 640px;
        margin: 0 auto;
      }
      .finalcta p {
        margin: 18px auto 32px;
        max-width: 540px;
        color: var(--ink-2);
        font-size: 18px;
      }
      .finalcta .cta-row {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
      }
      .finalcta .fineprint {
        font-size: 13px;
        color: var(--muted);
      }

      /* FOOTER */
      .footer {
        background: white;
        border-top: 1px solid var(--border);
        padding: 56px 0 40px;
      }
      .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
        gap: 40px;
        align-items: start;
      }
      @media (max-width: 860px) {
        .footer-grid {
          grid-template-columns: 1fr 1fr;
          gap: 32px;
        }
        .footer-soc {
          grid-column: 1 / -1;
        }
      }
      .footer .col h4 {
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
        font-weight: 600;
        margin-bottom: 14px;
      }
      .footer .col a {
        display: block;
        padding: 4px 0;
        font-size: 14px;
        color: var(--ink-2);
        transition: color 150ms;
      }
      .footer .col a:hover {
        color: var(--blue);
      }
      .footer .brand-col p {
        margin-top: 12px;
        font-size: 13px;
        color: var(--muted);
        max-width: 280px;
        line-height: 1.6;
      }
      .footer-soc {
        display: flex;
        gap: 10px;
      }
      .footer-soc a {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid var(--border);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        transition:
          color 200ms,
          border-color 200ms;
      }
      .footer-soc a:hover {
        color: var(--blue);
        border-color: var(--blue);
      }
      .copyline {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        font-size: 12.5px;
        color: var(--muted);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
      }

      /* helpers */
      .flow-arrow {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        pointer-events: none;
      }

      /* tweaks panel toggle hint (built later) */

      /* Reduced motion */
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation: none !important;
          transition: none !important;
        }
        [data-anim] {
          opacity: 1 !important;
          transform: none !important;
        }
      }


/* ---------- INNER PAGES ---------- */
.page-hero {
  padding: 140px 0 48px;
  background: linear-gradient(180deg, #eff6ff 0%, var(--surface) 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 18ch;
}
.page-hero .lede {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.65;
}
.page-body {
  padding: 56px 0 96px;
}
.page-body .prose {
  max-width: 72ch;
}
.page-body .prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 40px 0 12px;
}
.page-body .prose h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--display);
}
.page-body .prose p,
.page-body .prose li {
  color: var(--ink-2);
  line-height: 1.7;
}
.page-body .prose p + p {
  margin-top: 14px;
}
.page-body .prose ul {
  padding-left: 1.2em;
  margin: 12px 0;
}
.page-body .prose li {
  margin: 6px 0;
}
.page-body .prose .note {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-soft-2);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 28px;
}
.card-grid .card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.card-grid .card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
}
.card-grid .card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(31, 116, 242, 0.12);
}
.price-card .plan {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
}
.price-card .amount {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card .amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--body);
  font-weight: 500;
}
.price-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-2);
  flex: 1;
}
.price-card li {
  margin: 8px 0;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.95rem;
}
.matrix th,
.matrix td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
}
.matrix th {
  font-family: var(--display);
  font-weight: 600;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover {
  color: var(--blue);
}
.cta-band {
  margin-top: 56px;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #062b5f, #001c42);
  color: white;
}
.cta-band h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  margin: 10px 0 20px;
  max-width: 48ch;
}
.nav-links a[aria-current="page"] {
  color: var(--blue);
}
