  :root {
    --paper: #fbf7ee;
    --paper-2: #f3ecdc;
    --ink: #111111;
    --ink-2: #4a4740;
    --line: #111111;
    --yellow: #ffe600;
    --pink: #ff4fa3;
    --green: #4df28a;
    --blue: #5b8cff;
    --orange: #ff8a3d;
    --display: "Bricolage Grotesque", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --gutter: clamp(16px, 5vw, 72px);
    --maxw: 1280px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  .wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

  /* ---------- Type ---------- */
  h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin: 0; }
  h1 { font-size: clamp(56px, 10.5vw, 148px); font-variation-settings: "opsz" 96; }
  h2 { font-size: clamp(44px, 7.5vw, 104px); font-variation-settings: "opsz" 96; }
  h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
  .lede { font-size: clamp(19px, 1.6vw, 26px); line-height: 1.4; color: var(--ink-2); max-width: 32ch; }
  .eyebrow { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

  /* ---------- Highlighter ---------- */
  .hl { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
  .hl::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -0.12em; right: -0.1em; top: 0.12em; bottom: 0.02em;
    background: var(--hl, var(--yellow));
    transform: skew(-6deg, -1.2deg) rotate(-0.8deg);
    transform-origin: left center;
    clip-path: polygon(0% 18%, 2% 4%, 20% 0%, 45% 6%, 70% 1%, 98% 4%, 100% 24%, 99% 78%, 100% 94%, 85% 100%, 52% 96%, 24% 100%, 3% 97%, 0% 80%);
    opacity: .95;
  }
  .hl--pink { --hl: var(--pink); }
  .hl--green { --hl: var(--green); }
  .hl--blue { --hl: var(--blue); }
  .hl--orange { --hl: var(--orange); }
  /* draw-in on reveal */
  .reveal .hl::before { transform: skew(-6deg, -1.2deg) rotate(-0.8deg) scaleX(0); transition: transform .6s cubic-bezier(.2,.9,.2,1); }
  .reveal.in .hl::before { transform: skew(-6deg, -1.2deg) rotate(-0.8deg) scaleX(1); }
  .reveal.in .hl:nth-child(2)::before { transition-delay: .2s; }
  .reveal.in .hl:nth-child(3)::before { transition-delay: .4s; }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--display); font-weight: 800; letter-spacing: -0.01em;
    font-size: clamp(18px, 1.4vw, 22px);
    padding: .8em 1.4em;
    border: 3px solid var(--ink); border-radius: 999px;
    background: var(--ink); color: var(--paper);
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--pink);
    transition: transform .15s, box-shadow .15s;
  }
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--pink); }
  .btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--pink); }
  .btn--ghost { background: transparent; color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
  .btn--ghost:hover { box-shadow: 9px 9px 0 var(--yellow); }
  .btn--ghost:active { box-shadow: 2px 2px 0 var(--yellow); }
  .btn--sm { font-size: 16px; padding: .55em 1.1em; border-width: 2px; box-shadow: 4px 4px 0 var(--pink); }

  /* ---------- Nav ---------- */
  .nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 3px solid var(--ink); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
  .logo svg { width: 34px; height: 34px; flex: none; }
  .nav nav { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 16px; }
  .nav nav a:not(.btn) { text-decoration: none; }
  .nav nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--pink); }
  @media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

  /* ---------- Hero ---------- */
  .hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
  .hero h1 { max-width: 12ch; }
  .hero .row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
  @media (max-width: 900px) { .hero .row { grid-template-columns: 1fr; align-items: start; } }
  .ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
  .fine { font-size: 14px; color: var(--ink-2); margin-top: 14px; font-family: var(--mono); }

  /* ---------- Demo card ---------- */
  .demo { background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; transform: rotate(1.2deg); }
  .demo header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 3px solid var(--ink); background: var(--paper-2); font-family: var(--mono); font-size: 13px; font-weight: 700; }
  .demo header span { display: flex; gap: 6px; }
  .demo header i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); }
  .demo header i:nth-child(2) { background: var(--pink); } .demo header i:nth-child(3) { background: var(--green); }
  .demo table { width: 100%; border-collapse: collapse; font-size: 15px; }
  .demo td { padding: 12px 16px; border-bottom: 2px dashed #ddd; white-space: nowrap; }
  .demo tr:last-child td { border-bottom: 0; }
  .demo td:nth-child(2) { color: var(--ink-2); }
  .tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px; padding: 4px 9px; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); transform: scale(0) rotate(-8deg); transition: transform .35s cubic-bezier(.3,1.6,.4,1); }
  .tag.pink { background: var(--pink); color: #fff; } .tag.green { background: var(--green); } .tag.blue { background: var(--blue); color: #fff; } .tag.orange { background: var(--orange); }
  .demo.in .tag { transform: scale(1) rotate(-2deg); }
  .demo tr:nth-child(1) .tag { transition-delay: .2s } .demo tr:nth-child(2) .tag { transition-delay: .4s } .demo tr:nth-child(3) .tag { transition-delay: .6s } .demo tr:nth-child(4) .tag { transition-delay: .8s } .demo tr:nth-child(5) .tag { transition-delay: 1s } .demo tr:nth-child(6) .tag { transition-delay: 1.2s }
  .skip { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

  /* ---------- Marquee ---------- */
  .marquee { border-block: 3px solid var(--ink); background: var(--yellow); overflow: hidden; padding: 14px 0; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); white-space: nowrap; }
  .marquee div { display: inline-block; animation: slide 28s linear infinite; }
  .marquee span { margin-right: 2.2em; }
  .marquee span::after { content: "✦"; margin-left: 2.2em; }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* ---------- Sections ---------- */
  section { padding: clamp(64px, 10vw, 140px) 0; }

  /* ---------- Letter (problem / agitate / solve) ---------- */
  .letter { background: var(--paper-2); border-bottom: 3px solid var(--ink); }
  .letter .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
  @media (max-width: 960px) { .letter .grid { grid-template-columns: 1fr; } }
  .prose { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.5; max-width: 58ch; }
  .prose p { margin: 0 0 1.1em; }
  .prose strong { font-weight: 700; }
  .prose .big { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin: 1.4em 0 .7em; }
  .prose .u { text-decoration: underline; text-decoration-thickness: 5px; text-decoration-color: var(--pink); text-underline-offset: 5px; text-decoration-skip-ink: none; }
  .prose code { font-family: var(--mono); font-weight: 700; background: var(--yellow); padding: 1px 6px; border-radius: 4px; }
  .prose .strike { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--pink); }
  .receipt { position: sticky; top: 100px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; padding: 26px 24px; font-family: var(--mono); font-size: 15px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.4deg); }
  .receipt h4 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 6px; letter-spacing: -0.02em; }
  .receipt .sub { color: var(--ink-2); font-size: 12px; margin-bottom: 16px; }
  .receipt .line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 2px dashed #d9d2bf; }
  .receipt .line span:last-child { white-space: nowrap; font-weight: 700; }
  .receipt .total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 3px solid var(--ink); font-weight: 700; font-size: 17px; }
  .receipt .stamp { position: absolute; right: -14px; bottom: -18px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--pink); border: 4px solid var(--pink); border-radius: 10px; padding: 6px 12px; transform: rotate(-12deg); background: #fff; letter-spacing: .04em; }
  .ps { max-width: 60ch; margin: 36px auto 0; text-align: left; font-size: clamp(17px, 1.3vw, 20px); color: #cfcabd; border-left: 4px solid var(--yellow); padding-left: 18px; }
  .ps b { color: var(--paper); font-family: var(--display); font-size: 1.15em; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 72px); }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
  .step { border: 3px solid var(--ink); border-radius: 18px; padding: 28px; background: #fff; box-shadow: 8px 8px 0 var(--ink); position: relative; }
  .step .n { position: absolute; top: -22px; left: 22px; font-family: var(--display); font-weight: 800; font-size: 22px; width: 44px; height: 44px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); transform: rotate(-8deg); }
  .step:nth-child(2) .n { background: var(--pink); color: #fff; } .step:nth-child(3) .n { background: var(--green); }
  .step h3 { margin-top: 10px; }
  .step p { color: var(--ink-2); margin: 12px 0 0; }
  .confirm { margin-top: 18px; border: 2px solid var(--ink); border-radius: 12px; padding: 14px; background: var(--paper); font-size: 15px; }
  .confirm b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 8px; }
  .confirm .mini { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; margin-right: 6px; }
  .confirm .mini.ghost { background: transparent; color: var(--ink); }

  .trace { font-family: var(--mono); font-size: 14px; margin-top: 18px; display: grid; gap: 6px; }
  .trace div { display: flex; gap: 10px; align-items: center; }
  .trace em { font-style: normal; color: var(--ink-2); min-width: 11ch; }
  .trace code { background: var(--paper-2); padding: 2px 8px; border-radius: 6px; border: 2px solid #e0d8c3; }

  .presets { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
  .preset { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); padding: .35em .7em; border: 3px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 5px 5px 0 var(--ink); transform: rotate(var(--r, 0deg)); }
  .preset:nth-child(3n+1) { background: var(--yellow); --r: -1.5deg } .preset:nth-child(3n+2) { background: var(--pink); color: #fff; --r: 1deg } .preset:nth-child(3n) { background: var(--green); --r: -0.5deg } .preset:nth-child(4) { background: var(--blue); color: #fff }

  .two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
  @media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
  .bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: clamp(18px, 1.5vw, 22px); }
  .bullets li { display: flex; gap: 14px; align-items: flex-start; }
  .bullets li::before { content: "→"; font-family: var(--display); font-weight: 800; color: var(--pink); flex: none; }

  .dark { background: var(--ink); color: var(--paper); }
  .dark .lede { color: #cfcabd; }
  .dark .hl::before { opacity: 1; }
  .dark .hl { color: var(--ink); }

  /* ---------- Pricing ---------- */
  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 72px); max-width: 980px; }
  @media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
  .plan { border: 3px solid var(--ink); border-radius: 22px; padding: 32px; background: #fff; box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; gap: 18px; position: relative; }
  .plan--hot { background: var(--yellow); }
  .plan .price { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; }
  .plan .price small { font-size: .3em; letter-spacing: 0; font-weight: 500; font-family: var(--body); }
  .plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .plan li { display: flex; gap: 10px; }
  .plan li::before { content: "✓"; font-weight: 800; }
  .plan .btn { align-self: flex-start; margin-top: auto; }
  .sticker { position: absolute; top: -18px; right: 22px; background: var(--pink); color: #fff; font-family: var(--display); font-weight: 800; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 999px; transform: rotate(4deg); font-size: 15px; }

  /* ---------- FAQ ---------- */
  .faq { max-width: 820px; margin-top: 36px; }
  .faq details { border-top: 3px solid var(--ink); padding: 18px 0; }
  .faq details:last-child { border-bottom: 3px solid var(--ink); }
  .faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
  .faq summary::after { content: "+"; font-size: 1.4em; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq p { color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }

  /* ---------- Footer ---------- */
  footer { padding: 48px 0; border-top: 3px solid var(--ink); font-size: 15px; color: var(--ink-2); }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
  footer a { text-decoration: none; }
  footer a:hover { text-decoration: underline; }

  /* ---------- Reveal ---------- */
  .fade { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
  .fade.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .fade, .reveal .hl::before, .tag { transition: none !important; opacity: 1; transform: none !important; }
    .demo .tag { transform: scale(1) !important; }
    .marquee div { animation: none; }
  }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); outline: none; }
.field input:focus, .field select:focus { box-shadow: 4px 4px 0 var(--yellow); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Opt-in popup ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .72); }
.modal__card { position: relative; width: min(520px, 100%); background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 36px); box-shadow: 12px 12px 0 var(--pink); }
.modal__card h3 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 10px; }
.modal__lede { color: var(--ink-2); margin: 0 0 22px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.optin-form { display: grid; gap: 16px; }
.optin-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .optin-form__row { grid-template-columns: 1fr; } }
.optin-form .fine { margin-top: 0; }

/* ---------- Busy state (submit in flight) ---------- */
.btn .btn__spinner { display: none; }
.btn.is-busy, .btn:disabled { pointer-events: none; }
.btn.is-busy .btn__spinner { display: inline-block; }
.spinner { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.busy { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(17, 17, 17, .72); cursor: wait; }
.busy[hidden] { display: none; }
.busy__card { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: 28px 32px; box-shadow: 12px 12px 0 var(--pink); display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 380px; }
.busy__card .spinner { width: 48px; height: 48px; border-width: 5px; color: var(--pink); }
.busy__card b { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.busy__card p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* ---------- Footer: powered-by ---------- */
footer .powered { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
footer .powered__mark { height: 14px; width: auto; color: var(--ink); }
