      /* Charcoal — the Brigata website theme (charcoal surfaces, white type,
         violet signature accent). Mirrors the app's "graphite" tokens. */
      :root {
        --bg: #17171b;
        --bg-deep: #101013;
        --surface: #1e1e24;
        --surface-elev: #26262d;
        --border: #32323b;
        --border-strong: #3f3f49;
        --text: #f3f3f6;
        --text-dim: #9a9aa6;
        --text-mono: #c1c1cd;

        --accent-chat: #a78bfa;
        --accent-chat-soft: rgba(167, 139, 250, 0.12);
        --accent-chat-edge: rgba(167, 139, 250, 0.48);
        --accent-chat-hot: #c4b1ff;
        --pulse: 167, 139, 250;

        --accent-doc: #cbb6ff;
        --accent-doc-soft: rgba(203, 182, 255, 0.10);
        --accent-doc-edge: rgba(203, 182, 255, 0.42);

        --paper: #1c1c22;
        --paper-edge: #26262d;

        --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      }

      * { box-sizing: border-box; }
      html, body { margin: 0; padding: 0; min-height: 100%; }
      body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-ui);
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
        position: relative;
        overflow-x: hidden;
      }
      /* Depth borrowed from Studio to Go: a stronger violet glow up top + a soft bottom vignette. */
      body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background:
          radial-gradient(1100px 640px at 78% -12%, rgba(167, 139, 250, 0.17), transparent 60%),
          radial-gradient(820px 540px at 6% 2%, rgba(203, 182, 255, 0.07), transparent 58%),
          radial-gradient(150% 120% at 50% 122%, rgba(0, 0, 0, 0.45), transparent 55%);
        z-index: 0;
      }
      /* Box grid, concentrated behind the header/hero and fading downward — character, not noise. */
      body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background-image:
          linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
          linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
        background-size: 56px 56px;
        -webkit-mask-image: radial-gradient(125% 78% at 50% 0%, #000 32%, transparent 72%);
        mask-image: radial-gradient(125% 78% at 50% 0%, #000 32%, transparent 72%);
        z-index: 0;
      }
      .wrap {
        position: relative;
        z-index: 1;
        max-width: 760px;
        margin: 0 auto;
        padding: 2.75rem 1.5rem 4rem;
      }

      /* ── Header: a defined bar with a framing line, borrowed from Studio to Go ── */
      .nav {
        position: sticky; top: 0; z-index: 100;
        background: rgba(23, 23, 27, 0.72);
        backdrop-filter: saturate(1.3) blur(10px);
        -webkit-backdrop-filter: saturate(1.3) blur(10px);
        border-bottom: 1px solid var(--border);
      }
      .nav-in {
        max-width: 760px; margin: 0 auto;
        padding: 0 1.5rem; height: 60px;
        display: flex; align-items: center; justify-content: space-between;
      }
      .brand { display: inline-flex; align-items: center; gap: 0.7rem; }
      .glyph { display: inline-flex; align-items: center; color: var(--accent-chat); }
      .glyph svg { width: 24px; height: 24px; display: block; }
      .glyph span {
        width: 9px; height: 9px; border-radius: 50%;
        background: var(--accent-chat);
        box-shadow: 0 0 10px var(--accent-chat-edge);
      }
      .glyph span:nth-child(2) { background: var(--accent-doc); box-shadow: 0 0 10px var(--accent-doc-edge); }
      .glyph span:nth-child(3) { background: var(--text-dim); box-shadow: none; }
      .brand .name { font-weight: 600; letter-spacing: -0.01em; font-size: 1.06rem; }
      .signin {
        font-size: 0.86rem; color: var(--text-dim); text-decoration: none;
        border: 1px solid var(--border-strong); border-radius: 7px;
        padding: 0.4rem 0.85rem; transition: border-color 0.14s ease, color 0.14s ease;
      }
      .signin:hover { border-color: var(--accent-chat-edge); color: var(--accent-chat); }

      /* Full-bleed framing hairline (echoes the nav border; brackets the hero) */
      .rule { position: relative; z-index: 1; height: 1px; border: 0; margin: 3rem 0 0;
        background: linear-gradient(90deg, transparent, var(--border) 18%, var(--border) 82%, transparent); }

      /* ── Hero ── */
      .eyebrow {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--text-dim);
        margin: 0 0 1.1rem;
        display: inline-flex; align-items: center; gap: 0.55rem;
      }
      .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-chat); position: relative; }
      .eyebrow .dot::after {
        content: ""; position: absolute; inset: -4px; border-radius: 50%;
        border: 1px solid var(--accent-chat-edge); animation: pulse 2.4s ease-out infinite;
      }
      @keyframes pulse {
        0% { transform: scale(0.6); opacity: 0.9; }
        100% { transform: scale(1.8); opacity: 0; }
      }
      h1 {
        font-size: clamp(2.6rem, 5.8vw, 3.9rem);
        font-weight: 600;
        letter-spacing: -0.028em;
        line-height: 1.02;
        margin: 0 0 1.35rem;
        text-wrap: balance;
      }
      h1 .accent { color: var(--accent-chat); }
      .tagline {
        font-size: 1.18rem;
        color: var(--text-dim);
        max-width: 34em;
        margin: 0 0 2rem;
      }
      .tagline strong { color: var(--text); font-weight: 600; }

      .cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 0; }
      .cta {
        display: inline-block;
        padding: 0.72rem 1.4rem;
        background: var(--accent-chat);
        color: var(--bg-deep);
        border-radius: 7px;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        transition: transform 0.12s ease, box-shadow 0.12s ease;
        box-shadow: 0 6px 22px -10px var(--accent-chat-edge);
      }
      .cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px var(--accent-chat-edge); }
      .cta-secondary {
        background: transparent;
        color: var(--text);
        border: 1px solid var(--border-strong);
        box-shadow: none;
      }
      .cta-secondary:hover { border-color: var(--accent-chat-edge); color: var(--accent-chat); box-shadow: none; }

      /* ── Two-surface showcase: chat vs docs, shown not told ── */
      .surfaces {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 3.25rem 0 1rem;
      }
      .surface {
        border-radius: 10px;
        padding: 1rem 1.1rem 1.15rem;
        border: 1px solid var(--border);
        background: var(--surface);
        position: relative;
        overflow: hidden;
      }
      .surface .tab {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        display: inline-flex; align-items: center; gap: 0.45rem;
        margin-bottom: 0.8rem;
      }
      .surface.chat { border-top: 2px solid var(--accent-chat); }
      .surface.chat .tab { color: var(--accent-chat); }
      .surface.docs { border-top: 2px solid var(--accent-doc); background: var(--paper); }
      .surface.docs .tab { color: var(--accent-doc); }
      .surface .tab i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; font-style: normal; }
      .msg { display: flex; gap: 0.55rem; margin: 0.55rem 0; align-items: baseline; }
      .msg .handle { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; color: var(--accent-chat); flex: none; }
      .msg .handle.you { color: var(--text-dim); }
      .msg .body { font-size: 0.86rem; color: var(--text); }
      .doc-line { height: 7px; border-radius: 3px; background: var(--accent-doc-soft); margin: 0.5rem 0; }
      .doc-line.short { width: 55%; }
      .doc-line.mid { width: 78%; }
      .doc-h { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 0.6rem; }

      /* ── Body sections ── */
      h2 {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: -0.015em;
        margin: 3.5rem 0 0.9rem;
      }
      p { margin: 0 0 1rem; color: var(--text); }
      p.dim { color: var(--text-dim); }
      p.lead { font-size: 1.08rem; color: var(--text-dim); max-width: 40em; }
      p.lead strong { color: var(--text); font-weight: 600; }
      a { color: var(--accent-chat); text-decoration: none; }
      a:hover { text-decoration: underline; }

      /* Differentiator pillars — editorial, hairline-separated, not cards */
      .pillars { margin: 1.6rem 0 0; }
      .pillar { padding: 1.5rem 0; border-top: 1px solid var(--border); }
      .pillar:first-child { border-top: none; padding-top: 0.4rem; }
      .pillar h3 { font-size: 1.12rem; font-weight: 600; color: var(--accent-chat); margin: 0 0 0.5rem; letter-spacing: -0.01em; }
      .pillar p { margin: 0; color: var(--text-dim); max-width: 42em; }
      .pillar p strong { color: var(--text); font-weight: 600; }

      /* Standard vs Pro feature comparison */
      .lead-tight { font-size: 1.14rem; color: var(--text); font-weight: 600; margin: 0 0 0.6rem; }
      .compare { margin: 1.3rem 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
      .compare-head, .c-row { display: grid; grid-template-columns: 1fr 6.4rem 6.4rem; align-items: center; }
      .compare-head { border-bottom: 1px solid var(--border); }
      .compare-head .c-col { padding: 0.7rem 0.4rem; text-align: center; font-weight: 600; color: var(--text); display: flex; flex-direction: column; gap: 0.12rem; font-size: 0.92rem; }
      .compare-head .c-col small { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-dim); font-weight: 400; letter-spacing: 0.02em; }
      .c-row { border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent); }
      .c-row:last-child { border-bottom: none; }
      .c-feat { padding: 0.55rem 0.95rem; color: var(--text); font-size: 0.9rem; }
      .c-cell { padding: 0.55rem 0.4rem; text-align: center; color: var(--accent-chat); font-weight: 700; }
      .c-cell.c-off { color: var(--text-dim); opacity: 0.45; font-weight: 400; }
      .c-pro { background: color-mix(in srgb, var(--accent-doc) 8%, transparent); }
      .compare-head .c-pro { background: color-mix(in srgb, var(--accent-doc) 15%, transparent); color: var(--accent-doc); }
      .c-group { padding: 0.5rem 0.95rem 0.4rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); background: var(--bg-deep); border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent); }

      .price-table {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 0.4rem 1.35rem;
        margin: 1rem 0;
      }
      .price-table .row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--border);
      }
      .price-table .row:last-child { border-bottom: none; }
      .price-table .label { color: var(--text); }
      .price-table .price { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
      .price-table .price strong { color: var(--accent-doc); font-weight: 600; }
      .price-table .row.featured { background: color-mix(in srgb, var(--accent-doc) 8%, transparent); border-radius: 8px; }
      .price-table .row:has(+ .row-note) { border-bottom: none; }
      .price-table .row-note { color: var(--text-dim); font-size: 0.8rem; line-height: 1.45; padding: 0 0 0.7rem; border-bottom: 1px solid var(--border); }
      .price-table .badge { font-family: var(--font-mono); font-size: 0.66rem; color: var(--accent-doc); border: 1px solid color-mix(in srgb, var(--accent-doc) 45%, transparent); border-radius: 999px; padding: 0.08rem 0.45rem; margin-left: 0.5rem; vertical-align: middle; white-space: nowrap; }

      .card {
        background: linear-gradient(180deg, var(--surface-elev), var(--surface));
        border: 1px solid var(--border-strong);
        border-radius: 12px;
        padding: 1.6rem;
        margin-top: 1rem;
      }

      footer {
        position: relative;
        z-index: 1;
        margin-top: 5rem;
        padding-top: 1.75rem;
        border-top: 1px solid var(--border);
        font-size: 0.85rem;
        color: var(--text-dim);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
      }
      footer .copy { font-family: var(--font-mono); font-size: 0.78rem; }
      footer nav a { color: var(--text-dim); margin-right: 1.25rem; }
      footer nav a:hover { color: var(--accent-chat); }

      @media (max-width: 560px) {
        .surfaces { grid-template-columns: 1fr; }
        header { margin-bottom: 3rem; }
        .price-table .row { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
        .price-table .price { text-align: left; }
        .price-table .label { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
        .compare-head, .c-row { grid-template-columns: 1fr 4.4rem 4.4rem; }
        .c-feat { font-size: 0.83rem; padding: 0.5rem 0.6rem; }
        .compare-head .c-col { font-size: 0.78rem; padding: 0.6rem 0.25rem; }
        .compare-head .c-col small { font-size: 0.55rem; }
      }
      /* ── Zero-trust / security trust-zone (tightened for the honed page) ──
         A contained, solid-feeling block so the security story reads as the serious
         part of the page. Deeper surface + full hairline frame = a vault, not a card. */
      .zt {
        position: relative;
        margin: 3.25rem 0 0;
        padding: 1.9rem 1.75rem 1.7rem;
        border: 1px solid var(--border-strong);
        border-radius: 14px;
        background:
          radial-gradient(680px 240px at 50% -30%, var(--accent-chat-soft), transparent 70%),
          var(--bg-deep);
        overflow: hidden;
      }
      .zt::before {
        content: "";
        position: absolute; left: 0; right: 0; top: 0; height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent-chat-edge), transparent);
      }
      .zt-eyebrow {
        font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
        text-transform: uppercase; color: var(--accent-chat);
        margin: 0 0 0.85rem; display: inline-flex; align-items: center; gap: 0.5rem;
      }
      .zt-eyebrow .glyph span { width: 7px; height: 7px; }
      .zt-head {
        font-size: clamp(1.45rem, 3vw, 1.85rem); font-weight: 600;
        letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.75rem;
      }
      .zt-head .accent { color: var(--accent-chat); }
      .zt-sub { color: var(--text-dim); font-size: 1.0rem; max-width: 44em; margin: 0 0 1.5rem; }

      /* Three pillars share hairline dividers inside one panel → one secured unit, not three cards. */
      .zt-pillars {
        display: grid; grid-template-columns: repeat(3, 1fr);
        border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
        background: color-mix(in srgb, var(--surface) 60%, transparent);
      }
      .zt-pillar {
        padding: 1.1rem 1.15rem 1.2rem; border-right: 1px solid var(--border);
        display: flex; flex-direction: column;
      }
      .zt-pillar:last-child { border-right: none; }
      .zt-lab {
        font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
        text-transform: uppercase; color: var(--text-dim);
        border: 1px solid var(--border-strong); border-radius: 999px;
        padding: 0.16rem 0.5rem; align-self: flex-start; margin-bottom: 0.8rem;
      }
      .zt-pillar h3 { font-size: 1.0rem; font-weight: 600; margin: 0 0 0.45rem; color: var(--text); letter-spacing: -0.01em; }
      .zt-pillar p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; margin: 0 0 0.85rem; }
      .zt-punch { margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text); font-weight: 500; }
      .zt-punch strong { color: var(--accent-chat); font-weight: 600; }

      /* Untrusted-content principle — full-bordered tint callout (no side-stripe). */
      .zt-note {
        margin-top: 1.35rem; padding: 1.05rem 1.25rem;
        border: 1px solid var(--accent-doc-edge); background: var(--accent-doc-soft);
        border-radius: 10px;
      }
      .zt-note h4 { margin: 0 0 0.45rem; font-size: 0.96rem; font-weight: 600; color: var(--text); }
      .zt-note p { margin: 0; font-size: 0.88rem; color: var(--text-dim); line-height: 1.55; }

      /* Roadmap honesty — one compact row. Transparency is itself a trust cue. */
      .zt-roadmap {
        display: flex; align-items: baseline; gap: 0.7rem;
        margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--border);
        font-size: 0.84rem; color: var(--text-dim); line-height: 1.5;
      }
      .zt-roadmap .tag {
        flex: none; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
        text-transform: uppercase; color: var(--accent-doc);
        border: 1px solid color-mix(in srgb, var(--accent-doc) 40%, transparent);
        border-radius: 999px; padding: 0.14rem 0.5rem; position: relative; top: -0.05rem;
      }
      .zt-roadmap strong { color: var(--text); font-weight: 600; }
      @media (max-width: 560px) {
        .zt { padding: 1.6rem 1.25rem; }
        .zt-pillars { grid-template-columns: 1fr; }
        .zt-pillar { border-right: none; border-bottom: 1px solid var(--border); }
        .zt-pillar:last-child { border-bottom: none; }
      }

      /* ── Multi-page nav links ── */
      .nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: 0.9rem; }
      .nav-links a { color: var(--text-dim); text-decoration: none; transition: color 0.14s ease; }
      .nav-links a:not(.signin):hover { color: var(--text); }
      .nav-links a.active { color: var(--text); }
      .brand { text-decoration: none; color: var(--text); }
      /* Page-header (interior pages) */
      .page-head { margin: 1rem 0 2.5rem; }
      .page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
      @media (max-width: 640px) { .nav-links .nav-hide { display: none; } .nav-links { gap: 1rem; } }

      /* Anchor targets clear the sticky nav with breathing room (e.g. #security) */
      html { scroll-padding-top: 92px; }

      /* Hero doc card — animated launch checklist (ticks draw on, staggered) */
      .checks { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .58rem; }
      .chk { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text); }
      .cbx { flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid var(--accent-doc); background: var(--accent-doc-soft); display: flex; align-items: center; justify-content: center; color: var(--accent-doc); }
      .cbx svg { width: 11px; height: 11px; display: block; }
      .cbx path { stroke-dasharray: 16; stroke-dashoffset: 0; }
      @media (prefers-reduced-motion: no-preference) {
        .chk { color: var(--text-dim); animation: chk-lit .35s ease forwards; }
        .chk .cbx { border-color: var(--border-strong); background: transparent; animation: chk-box .35s ease forwards; }
        .chk .cbx path { stroke-dashoffset: 16; animation: chk-draw .4s ease forwards; }
        .checks .chk:nth-child(1), .checks .chk:nth-child(1) .cbx, .checks .chk:nth-child(1) .cbx path { animation-delay: .5s; }
        .checks .chk:nth-child(2), .checks .chk:nth-child(2) .cbx, .checks .chk:nth-child(2) .cbx path { animation-delay: 1.05s; }
        .checks .chk:nth-child(3), .checks .chk:nth-child(3) .cbx, .checks .chk:nth-child(3) .cbx path { animation-delay: 1.6s; }
        .checks .chk:nth-child(4), .checks .chk:nth-child(4) .cbx, .checks .chk:nth-child(4) .cbx path { animation-delay: 2.15s; }
      }
      @keyframes chk-box { to { border-color: var(--accent-doc); background: var(--accent-doc-soft); } }
      @keyframes chk-draw { to { stroke-dashoffset: 0; } }
      @keyframes chk-lit { to { color: var(--text); } }
