    /* ================= Email Designer Pro — marketing site =================
       Palette: cool slate neutrals biased to blue; blue = action; violet =
       reserved for the data / merge-tag motif. Monospace carries the vernacular.
       ====================================================================== */
    :root {
      --blue:        #2f6bed;
      --blue-ink:    #1d51c9;
      --blue-soft:   rgba(47,107,237,.10);
      --violet:      #7c46ff;
      --violet-soft: rgba(124,70,255,.12);
      --amber:       #e8833a;

      --ink:       #0c1222;
      --bg:        #ffffff;
      --bg-alt:    #f5f8fd;
      --surface:   #ffffff;
      --surface-2: #eef3fb;
      --text:      #101a2e;
      --text-soft: #4a5670;
      --text-faint:#77839c;
      --border:    #e4e9f3;
      --border-2:  #d3dcec;
      --code-bg:   #eef2fc;
      --code-ink:  #274690;

      /* the dark showcase band uses fixed dark tokens regardless of theme */
      --band-bg:   #0a1122;
      --band-surf: #131d33;
      --band-text: #e8edf9;
      --band-soft: #9fb0d0;
      --band-border: #22304f;

      --shadow-sm: 0 1px 2px rgba(12,18,34,.05), 0 4px 14px -8px rgba(12,18,34,.12);
      --shadow-lg: 0 24px 60px -28px rgba(23,44,94,.32);
      --radius: 14px;
      --maxw: 1120px;
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --blue:        #6f9bff;
        --blue-ink:    #9cbaff;
        --blue-soft:   rgba(111,155,255,.14);
        --violet:      #b18aff;
        --violet-soft: rgba(177,138,255,.16);
        --amber:       #f0a35f;

        --bg:        #070c17;
        --bg-alt:    #0c1424;
        --surface:   #0f1828;
        --surface-2: #16223a;
        --text:      #e9eef8;
        --text-soft: #aab6cf;
        --text-faint:#7d89a3;
        --border:    #1e2b45;
        --border-2:  #293a5c;
        --code-bg:   #16223a;
        --code-ink:  #a8c2ff;
        --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px -10px rgba(0,0,0,.6);
        --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.7);
      }
    }
    :root[data-theme="light"] {
      --blue:#2f6bed;--blue-ink:#1d51c9;--blue-soft:rgba(47,107,237,.10);
      --violet:#7c46ff;--violet-soft:rgba(124,70,255,.12);--amber:#e8833a;
      --bg:#ffffff;--bg-alt:#f5f8fd;--surface:#ffffff;--surface-2:#eef3fb;
      --text:#101a2e;--text-soft:#4a5670;--text-faint:#77839c;
      --border:#e4e9f3;--border-2:#d3dcec;--code-bg:#eef2fc;--code-ink:#274690;
      --shadow-sm:0 1px 2px rgba(12,18,34,.05), 0 4px 14px -8px rgba(12,18,34,.12);
      --shadow-lg:0 24px 60px -28px rgba(23,44,94,.32);
    }
    :root[data-theme="dark"] {
      --blue:#6f9bff;--blue-ink:#9cbaff;--blue-soft:rgba(111,155,255,.14);
      --violet:#b18aff;--violet-soft:rgba(177,138,255,.16);--amber:#f0a35f;
      --bg:#070c17;--bg-alt:#0c1424;--surface:#0f1828;--surface-2:#16223a;
      --text:#e9eef8;--text-soft:#aab6cf;--text-faint:#7d89a3;
      --border:#1e2b45;--border-2:#293a5c;--code-bg:#16223a;--code-ink:#a8c2ff;
      --shadow-sm:0 1px 2px rgba(0,0,0,.4), 0 6px 18px -10px rgba(0,0,0,.6);
      --shadow-lg:0 30px 70px -30px rgba(0,0,0,.7);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; } }
    body {
      margin: 0; background: var(--bg); color: var(--text);
      font-family: var(--font); font-size: 17px; line-height: 1.6;
      -webkit-font-smoothing: antialiased; overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img, svg { max-width: 100%; display: block; }
    ::selection { background: var(--blue); color: #fff; }
    :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
    .eyebrow {
      font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
      text-transform: uppercase; color: var(--blue-ink); font-weight: 600;
    }
    .mono { font-family: var(--mono); }
    .tag {
      font-family: var(--mono); font-size: .84em; font-weight: 600;
      background: var(--violet-soft); color: var(--violet);
      padding: 2px 7px; border-radius: 6px; white-space: nowrap;
    }
    .tag.blue { background: var(--blue-soft); color: var(--blue-ink); }

    h1,h2,h3 { text-wrap: balance; margin: 0; letter-spacing: -.022em; line-height: 1.06; }
    p { margin: 0; }

    /* ---------------- Buttons ---------------- */
    .btn {
      display: inline-flex; align-items: center; gap: 9px;
      font-weight: 600; font-size: 15.5px; line-height: 1;
      padding: 14px 22px; border-radius: 10px; cursor: pointer;
      border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s;
      white-space: nowrap;
    }
    .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px var(--blue); }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px var(--blue); }
    .btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
    .btn-ghost:hover { background: var(--surface-2); }
    .btn-lg { padding: 16px 26px; font-size: 16.5px; }

    /* ---------------- Nav ---------------- */
    header.nav {
      position: sticky; top: 0; z-index: 50;
      background: color-mix(in srgb, var(--bg) 82%, transparent);
      backdrop-filter: saturate(1.5) blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
    .brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 5px 14px -5px var(--blue); }
    .brand-mark svg { width: 18px; height: 18px; }
    .nav-links { display: flex; gap: 4px; margin-left: 18px; }
    .nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-soft); }
    .nav-links a:hover { color: var(--text); background: var(--surface-2); }
    .nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
    .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); cursor: pointer; }
    .icon-btn:hover { color: var(--text); border-color: var(--border-2); }
    .icon-btn .moon { display: none; }
    :root[data-theme="dark"] .icon-btn .moon { display: block; }
    :root[data-theme="dark"] .icon-btn .sun { display: none; }
    @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .moon { display: block; } :root:not([data-theme="light"]) .icon-btn .sun { display: none; } }
    .nav-cta { }
    @media (max-width: 860px) { .nav-links { display: none; } .nav-cta.hide-sm { display: none; } }

    /* ---------------- Hero ---------------- */
    .hero { padding: 66px 0 40px; position: relative; }
    .hero::before {
      content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
      background:
        radial-gradient(60% 50% at 88% 8%, var(--violet-soft), transparent 70%),
        radial-gradient(55% 45% at 5% 20%, var(--blue-soft), transparent 70%);
    }
    .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
    .hero h1 { font-size: clamp(38px, 5.6vw, 62px); font-weight: 800; }
    .hero h1 .accent { color: var(--blue); }
    .hero .lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); max-width: 34ch; }
    .hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
    .hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); display: flex; align-items: center; gap: 8px; }
    .hero-note svg { width: 15px; height: 15px; color: #22a06b; flex-shrink: 0; }

    /* Hero merge visual */
    .merge { position: relative; }
    .card {
      background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
    }
    .data-card { padding: 16px 18px; }
    .data-card .row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
    .data-card .file { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); display: flex; align-items: center; gap: 7px; }
    .data-card .file b { color: var(--text-soft); font-weight: 600; }
    .pill { font-size: 11px; font-family: var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-weight: 600; }
    .fields { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 14px; align-items: baseline; }
    .fields .k { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); }
    .fields .v { font-weight: 600; }
    .fields .v.name { color: var(--violet); transition: opacity .25s; }
    .arrow-down { position: relative; display: grid; place-items: center; height: 40px; color: var(--text-faint); }
    .arrow-down svg { width: 20px; height: 20px; }
    .email-card { overflow: hidden; }
    .email-top { background: var(--surface-2); padding: 9px 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
    .email-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
    .email-top .subj { margin-left: 6px; font-size: 12px; color: var(--text-faint); font-family: var(--mono); }
    .email-body { padding: 20px; }
    .email-hi { font-size: 16px; font-weight: 600; }
    .email-hi .who { color: var(--blue); }
    .email-lines { margin-top: 12px; display: grid; gap: 8px; }
    .email-lines i { display: block; height: 9px; border-radius: 5px; background: var(--surface-2); }
    .email-lines i:nth-child(1){ width: 92%; } .email-lines i:nth-child(2){ width: 78%; }
    .email-chip { margin-top: 16px; display: inline-block; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 8px; }
    .merge-plug { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; }
    .merge-badge { font-family: var(--mono); font-size: 12px; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow-lg); white-space: nowrap; }
    :root[data-theme="dark"] .merge-badge { background: #000; }

    /* ---------------- Logos / trust strip ---------------- */
    .strip { padding: 26px 0 6px; }
    .strip p { text-align: center; font-size: 13px; color: var(--text-faint); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
    .strip-row { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .chip {
      display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
      color: var(--text-soft); background: var(--surface); border: 1px solid var(--border);
      padding: 9px 14px; border-radius: 999px;
    }
    .chip svg { width: 15px; height: 15px; color: var(--blue); }

    /* ---------------- Section scaffolding ---------------- */
    section { padding: 78px 0; }
    .sec-head { max-width: 640px; }
    .sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-top: 12px; }
    .sec-head p { margin-top: 14px; color: var(--text-soft); font-size: 18px; }
    .center { margin-left: auto; margin-right: auto; text-align: center; }

    /* Steps */
    .steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .step { position: relative; padding-top: 8px; }
    .step .num { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--blue); background: var(--blue-soft); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
    .step h3 { font-size: 19px; margin-top: 16px; font-weight: 700; }
    .step p { margin-top: 8px; color: var(--text-soft); font-size: 15.5px; }
    .step .line { position: absolute; top: 25px; left: 46px; right: -11px; height: 2px; background: linear-gradient(90deg, var(--border-2), transparent); }
    .step:last-child .line { display: none; }

    /* Feature bands */
    .feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
    .feature.flip .fig { order: 2; }
    .feature h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 14px; }
    .feature .body { color: var(--text-soft); margin-top: 14px; font-size: 17px; }
    .feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
    .feature li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
    .feature li svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
    .fig { }
    .figbox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }

    /* code sample block */
    .code {
      font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text);
      background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px;
      padding: 16px 18px; overflow-x: auto;
    }
    .code .c { color: var(--text-faint); }
    .code .t { color: var(--violet); }
    .code .b { color: var(--blue-ink); }

    /* dark showcase band */
    .band { background: var(--band-bg); color: var(--band-text); border-radius: 0; }
    .band .eyebrow { color: #9db6ff; }
    .band h2 { color: #fff; }
    .band .stat-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .band .stat { background: var(--band-surf); border: 1px solid var(--band-border); border-radius: var(--radius); padding: 22px; }
    .band .stat .big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
    .band .stat .lab { margin-top: 6px; color: var(--band-soft); font-size: 14px; }

    /* comparison */
    .compare { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
    .compare .rowc { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
    .compare .rowc > div { padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 15px; }
    .compare .head > div { background: var(--surface-2); font-weight: 700; font-size: 14px; }
    .compare .head .us { color: var(--blue); }
    .compare .rowc:last-child > div { border-bottom: 0; }
    .compare .feat { color: var(--text-soft); }
    .compare .mark { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
    .compare .mark.no { color: var(--text-faint); font-weight: 500; }
    .compare svg { width: 17px; height: 17px; }
    .compare .yes svg { color: #22a06b; }

    /* pricing */
    .prices { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
    .prices.two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
    .price .once { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; font-weight: 600; font-family: var(--mono); color: var(--blue-ink); background: var(--blue-soft); padding: 5px 11px; border-radius: 999px; }
    .price .fineprint { font-size: 12.5px; color: var(--text-faint); margin-top: 12px; }
    .price li.plus { font-weight: 700; color: var(--text); }
    .teams-note { text-align: center; margin-top: 26px; color: var(--text-soft); font-size: 15px; }
    .teams-note a { color: var(--blue-ink); font-weight: 600; }

    /* Product screenshots */
    #screens .lede { max-width: 640px; }
    .shot { margin: 40px 0 0; }
    .shot-frame { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 50px -24px rgba(15,23,42,.4); }
    .shot-dots { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
    .shot-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2, #cbd5e1); }
    .shot-dots i:nth-child(1) { background: #f87171; }
    .shot-dots i:nth-child(2) { background: #fbbf24; }
    .shot-dots i:nth-child(3) { background: #34d399; }
    .shot-frame img { display: block; width: 100%; height: auto; }
    .shot figcaption { margin-top: 14px; color: var(--text-soft); font-size: 15px; text-align: center; }

    /* Pro enquiry form */
    .contact-wrap { max-width: 620px; margin: 0 auto; }
    .contact-form { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
    .contact-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
    @media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } }
    .contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
    .contact-form input, .contact-form textarea {
      width: 100%; padding: 12px 14px; border: 1px solid var(--border-2);
      border-radius: 10px; font: inherit; font-size: 15px;
      background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm);
    }
    .contact-form textarea { min-height: 110px; resize: vertical; }
    .contact-form input:focus, .contact-form textarea:focus {
      outline: 2px solid var(--blue-ink); outline-offset: -1px; border-color: transparent;
    }
    .contact-form .btn { justify-self: start; }
    .contact-status { font-size: 15px; padding: 12px 14px; border-radius: 10px; display: none; }
    .contact-status.ok { display: block; background: #ecfdf5; color: #065f46; }
    .contact-status.err { display: block; background: #fef2f2; color: #991b1b; }
    .contact-steps { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
    .contact-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
    .contact-steps b { color: var(--text); }
    .step-num {
      flex: 0 0 24px; height: 24px; border-radius: 999px; background: var(--blue-ink);
      color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center;
    }
    .price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
    .price.popular { border-color: var(--blue); box-shadow: var(--shadow-lg); position: relative; }
    .price.popular::after { content: "Most popular"; position: absolute; top: -11px; left: 24px; font-size: 11.5px; font-weight: 700; font-family: var(--mono); letter-spacing: .04em; background: var(--blue); color: #fff; padding: 4px 10px; border-radius: 999px; }
    .price .name { font-weight: 700; font-size: 16px; }
    .price .amt { margin-top: 12px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
    .price .amt span { font-size: 15px; font-weight: 600; color: var(--text-faint); }
    .price .desc { margin-top: 8px; color: var(--text-soft); font-size: 14.5px; }
    .price ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
    .price li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
    .price li svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
    .price .btn { margin-top: auto; justify-content: center; }

    /* FAQ */
    .faq { margin-top: 36px; display: grid; gap: 10px; max-width: 820px; }
    details.q { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
    details.q summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    details.q summary::-webkit-details-marker { display: none; }
    details.q summary::after { content: "+"; font-family: var(--mono); color: var(--text-faint); font-size: 20px; }
    details.q[open] summary::after { content: "\2013"; }
    details.q .a { padding: 0 20px 18px; color: var(--text-soft); font-size: 15.5px; }

    /* final CTA */
    .final { text-align: center; }
    .final .box { background: var(--band-bg); border-radius: 22px; padding: 60px 32px; position: relative; overflow: hidden; }
    .final .box::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% 0%, rgba(111,155,255,.22), transparent 70%); }
    .final h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; position: relative; }
    .final p { color: var(--band-soft); margin: 16px auto 0; max-width: 46ch; font-size: 18px; position: relative; }
    .final .hero-cta { justify-content: center; position: relative; }

    /* footer */
    footer.site { border-top: 1px solid var(--border); padding: 54px 0 40px; background: var(--bg-alt); }
    .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
    .foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 0 0 14px; }
    .foot-grid a { display: block; padding: 5px 0; color: var(--text-soft); font-size: 14.5px; }
    .foot-grid a:hover { color: var(--blue-ink); }
    .foot-brand p { color: var(--text-soft); font-size: 14.5px; margin-top: 14px; max-width: 30ch; }
    .foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-faint); }

    /* responsive */
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .merge { max-width: 460px; }
      .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
      .feature.flip .fig { order: 0; }
      .steps { grid-template-columns: 1fr; gap: 14px; }
      .step .line { display: none; }
      .band .stat-grid { grid-template-columns: repeat(2, 1fr); }
      .prices, .prices.two { grid-template-columns: minmax(0, 420px); justify-content: center; }
      .compare .rowc { grid-template-columns: 1.4fr .8fr .8fr; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 520px) {
      body { font-size: 16px; }
      section { padding: 56px 0; }
      .band .stat-grid { grid-template-columns: 1fr 1fr; }
      .foot-grid { grid-template-columns: 1fr; }
    }
