:root {
  /* TEVSEC Gate: one dark world, like a console at night. Neutral near-black, warm off-white text, no colour gradients. */
  color-scheme: dark;
  --bg: #0b0b0d; --bg2: #111114; --card: #141418; --line: #26262c;
  --fg: #f2f1ee; --muted: #a3a2ab; --acc: #b9a8ff; --acc2: #cfcdd6;
  --ok: #5ad19a; --bad: #ff7a7a; --warn: #f2c14e;
  --spectrum: linear-gradient(90deg, #f2f1ee, #a3a2ab);
  --hero-grad: linear-gradient(90deg, #f5d76e 0%, #9be08a 28%, #7ee0c4 50%, #8fb8ff 72%, #e7a2ff 100%);      /* the one colour accent: the second line of the headline */
  --serif: ui-serif, "New York", "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); }
a { color: var(--acc); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc2); }

nav { position: sticky; top: 0; z-index: 5;
      background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
.logo { font: 700 1rem var(--mono); color: var(--fg); text-decoration: none; margin-right: auto; }
.logo b { color: var(--acc2); }
nav a.link { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a.link:hover { color: var(--fg); }
.lang { font: .82rem var(--mono); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--muted); text-decoration: none; }
nav .btn { padding: 7px 14px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 720px) { nav a.link { display: none; } nav .wrap { gap: 12px; } }

.btn { display: inline-block; padding: 11px 20px; border-radius: 9px; font-weight: 600; text-decoration: none;
       background: var(--acc); color: #fff; border: 1px solid transparent; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn:hover { filter: brightness(1.1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

section { padding: 76px 0; }
section.alt { background: var(--bg2); }
.hero { padding: 84px 0 64px; background: radial-gradient(900px 380px at 78% -10%, color-mix(in srgb, var(--acc) 22%, transparent), transparent); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.hero h1 em { font-style: normal; color: var(--fg); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badge { font: .8rem var(--mono); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 3px 12px; color: var(--muted); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .n { font: 700 .8rem var(--mono); color: var(--acc2); margin-bottom: 8px; }

pre, code { font-family: var(--mono); }
pre.term { background: #070a10; color: #d6dbe8; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
           overflow-x: auto; font-size: .86rem; line-height: 1.65; margin: 24px 0 0; }
pre.term .p { color: var(--acc2); } pre.term .ok { color: #34d399; } pre.term .warn { color: #fbbf24; }
pre.term .bad { color: #f87171; } pre.term .dim { color: #7b86a0; }
code.inline { background: var(--bg2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .88em; }

.chain { width: 100%; height: auto; margin-top: 24px; }
.two { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .93rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td.y { color: var(--ok); font-weight: 600; } td.n { color: var(--bad); } td.p { color: var(--warn); }
.tablewrap { overflow-x: auto; }

.price { display: flex; flex-direction: column; gap: 10px; }
.price h3 { margin: 0; } .price .tag { font: 600 1.5rem var(--mono); }
.price ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; flex: 1; }
.price.feat { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc) inset; }
.status { font: .74rem var(--mono); color: var(--warn); text-transform: uppercase; letter-spacing: .08em; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer { padding: 36px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.final { text-align: center; }
.final p { color: var(--muted); max-width: 560px; margin-inline: auto; }

/* ---- v0.2: cabinet showcase, docs, steps ---- */
nav .btn.ghost { padding: 7px 14px; font-size: .9rem; }
.shots { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 28px; }
.shots figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.shots img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shots figcaption { padding: 12px 16px; font-size: .9rem; color: var(--muted); }
.shots figcaption b { color: var(--fg); }
.steps { counter-reset: s; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
.steps li { min-width: 0; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem var(--mono); background: var(--acc); color: #fff; }
.steps li p { margin: 0 0 .5em; color: var(--muted); } .steps li pre.term { margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { padding-left: 24px; position: relative; color: var(--muted); } .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.checks li b { color: var(--fg); }

.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 48px 80px; align-items: start; }
.docs article { min-width: 0; }
.docs aside { position: sticky; top: 76px; font-size: .92rem; }
.docs aside a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; } .docs aside a:hover { color: var(--fg); }
.docs article h2 { margin-top: 2.2em; padding-top: .4em; border-top: 1px solid var(--line); font-size: 1.5rem; } .docs article h2:first-child { margin-top: 0; border: 0; padding: 0; }
.docs article h3 { margin-top: 1.6em; }
.docs article p, .docs article li { color: var(--fg); } .docs article ul, .docs article ol { padding-left: 22px; }
.docs table td code, .docs table th code { white-space: nowrap; }
.note { border-left: 3px solid var(--acc2); background: var(--bg2); padding: 10px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; color: var(--muted); }
.note.warn { border-color: var(--warn); }
@media (max-width: 820px) { .docs { grid-template-columns: 1fr; } .docs aside { position: static; } }
.pagehead { padding-block: 56px 8px; } .pagehead h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.rel { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; } @media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ================= v0.3 visual layer: motion, depth, live ledger ================= */
:root { --glow: color-mix(in srgb, var(--acc) 45%, transparent); }
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
html.js .rv.in { opacity: 1; transform: none; }

#progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 20; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--acc), var(--acc2)); }
nav { transition: background .3s, box-shadow .3s; } nav.scrolled { box-shadow: 0 8px 30px -18px #000; }
.logo b { display: inline-block; animation: slash 4s ease-in-out infinite; } @keyframes slash { 50% { transform: rotate(-14deg) scale(1.15); } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; animation: drift 20s ease-in-out infinite; }
.hero::before { background: var(--acc); opacity: .30; top: -220px; right: -140px; }
.hero::after { background: var(--acc2); opacity: .16; bottom: -300px; left: -180px; animation-delay: -10s; }
@keyframes drift { 50% { transform: translate(-50px, 36px) scale(1.1); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite; } @keyframes shimmer { 50% { background-position: 100% 0; } }
.eyebrow { position: relative; padding-left: 28px; } .eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--acc2); transform-origin: left; animation: grow 1.2s ease both; } @keyframes grow { from { transform: scaleX(0); } }

/* live ledger widget */
.ledger-demo { background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 30px 80px -30px var(--glow); backdrop-filter: blur(6px); font-family: var(--mono); font-size: .8rem; }
.ld-bar { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 12px; }
.ld-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .ld-bar .dot:nth-child(1) { background: #f87171; } .ld-bar .dot:nth-child(2) { background: #fbbf24; } .ld-bar .dot:nth-child(3) { background: #34d399; }
.ld-title { margin-left: 8px; } .ld-status { margin-left: auto; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--ok); color: var(--ok); transition: all .4s; }
.ledger-demo.bad .ld-status { border-color: var(--bad); color: var(--bad); animation: blink .8s steps(2) infinite; } @keyframes blink { 50% { opacity: .4; } }
.ld-blocks { display: grid; gap: 7px; min-height: 258px; align-content: start; }
.ld-block { display: grid; grid-template-columns: 34px 62px 1fr auto; gap: 10px; align-items: center; padding: 8px 11px; background: var(--bg2); border: 1px solid var(--line); border-radius: 9px; animation: slidein .55s cubic-bezier(.2,.8,.2,1) both; transition: border-color .35s, background .35s, box-shadow .35s; }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.ld-block .n { color: var(--acc2); } .ld-block .t { color: var(--fg); } .ld-block .h { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ld-block .s { color: var(--ok); transition: color .3s; }
.ld-block.edited { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--bg2)); box-shadow: 0 0 0 1px var(--warn), 0 0 24px -6px var(--warn); }
.ld-block.broken { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--bg2)); } .ld-block.broken .s, .ld-block.broken .h { color: var(--bad); }
.ld-root { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; } .ld-root code { color: var(--acc2); transition: color .3s; } .ledger-demo.bad .ld-root code { color: var(--bad); }
.ld-note { min-height: 1.3em; margin-top: 8px; color: var(--warn); }

/* stats strip */
.stats { padding: 0; background: var(--bg2); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.stats-row > div { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); } .stats-row > div:last-child { border-right: 0; }
.stats-row b { display: block; font: 700 2.1rem var(--mono); color: var(--fg); }
.stats-row span { color: var(--muted); font-size: .88rem; }

/* cards, shots, buttons */
.card { position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%); }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 55%, var(--line)); box-shadow: 0 18px 40px -22px var(--glow); } .card:hover::after { opacity: 1; }
.price.feat { animation: pulse-border 3.5s ease-in-out infinite; } @keyframes pulse-border { 50% { box-shadow: 0 0 0 1px var(--acc) inset, 0 0 34px -10px var(--acc); } }
.shots figure { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.shots figure:hover { transform: translateY(-8px) scale(1.012); border-color: var(--acc); box-shadow: 0 34px 70px -26px var(--glow); }
.shots img { transition: transform .7s cubic-bezier(.2,.8,.2,1); } .shots figure:hover img { transform: scale(1.04); } .shots figure { overflow: hidden; }
.btn { position: relative; overflow: hidden; transition: transform .2s, filter .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -12px var(--acc); }
.btn:not(.ghost)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff55 50%, transparent 70%); transform: translateX(-120%); }
.btn:not(.ghost):hover::after { animation: shine .8s ease; } @keyframes shine { to { transform: translateX(120%); } }
.badge { transition: transform .2s, border-color .2s; } .badge:hover { transform: translateY(-2px); border-color: var(--acc2); }
.checks li { transition: transform .25s; } .checks li:hover { transform: translateX(4px); }
details { transition: background .25s; } details[open] { background: color-mix(in srgb, var(--card) 70%, transparent); } details summary { transition: color .2s; } details summary:hover { color: var(--acc); }
section h2 { background: linear-gradient(90deg, var(--fg), color-mix(in srgb, var(--fg) 70%, var(--acc))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* chain diagram + terminal */
.chain path { stroke-dasharray: 5 5; animation: dash 1.1s linear infinite; } @keyframes dash { to { stroke-dashoffset: -20; } }
.chain g:nth-of-type(4) { animation: tamper 2.6s ease-in-out infinite; } @keyframes tamper { 50% { filter: drop-shadow(0 0 9px var(--bad)); } }
pre.term .ln { display: block; } html.js pre.term.typing .ln { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; } html.js pre.term.typing .ln.on { opacity: 1; transform: none; }
pre.term.typing.run::after { content: "▍"; color: var(--acc2); animation: blink .9s steps(2) infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rv, html.js pre.term.typing .ln { opacity: 1 !important; transform: none !important; }
}

/* status pills (Models page) */
.pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font: 600 .74rem var(--mono); border: 1px solid var(--line); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); box-shadow: 0 0 14px -6px var(--ok); }

/* ---- v0.8: banners, demo, proof checker, forms, blog */
.banner { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); font-weight: 600; margin: 0 0 16px; }
.banner.ok { border-color: var(--ok); color: var(--ok); } .banner.bad { border-color: var(--bad); color: var(--bad); }
.dm-rows { display: grid; gap: 8px; margin: 12px 0; }
.dm-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--bg); transition: border-color .25s, background .25s; }
.dm-row.bad { border-color: var(--bad); background: rgba(248,113,113,.07); animation: dmshake .35s; }
.dm-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; } .dm-head code { font-size: .8rem; color: var(--muted); }
.dm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .dm-chips .pill.ok { color: var(--ok); border-color: var(--ok); } .dm-chips .pill.bad { color: var(--bad); border-color: var(--bad); }
.dm-edit { display: block; margin-top: 8px; font-family: var(--mono); font-size: .88rem; } .dm-input, .fld input, .fld textarea, form.wl input { font: inherit; background: var(--bg); color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.dm-input { width: 7em; } .dm-why { color: var(--bad); font-size: .85rem; margin-top: 4px; }
.dm-root { font-family: var(--mono); font-size: .88rem; } .dm-root.ok { color: var(--ok); } .dm-root.bad { color: var(--bad); font-weight: 600; }
.dm-verdict { font-weight: 600; }
@keyframes dmshake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .dm-row.bad { animation: none; } }
.fld { display: block; margin: 12px 0; font-size: .9rem; color: var(--muted); } .fld input, .fld textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; font-family: var(--mono); font-size: .85rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 16px; }
.vf-out { margin-top: 16px; } .vf-out ul.bad { color: var(--bad); } .filebtn { cursor: pointer; }
form.wl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; } form.wl input[type=email] { flex: 1 1 260px; min-width: 0; }
form.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.article { max-width: 760px; } .article h2 { margin-top: 1.8em; } .cardlink { display: block; color: inherit; text-decoration: none; }
.card ol { padding-left: 1.2em; margin: .4em 0 0; }
.price .tag small { font-size: .55em; color: var(--muted); font-weight: 400; }
.shots figure.wide { grid-column: 1 / -1; } .shots figure.wide img { max-width: 800px; margin: 0 auto; }
.pg-msg { min-height: 1.4em; font-weight: 600; } .pg-msg.ok { color: var(--ok); } .pg-msg.bad { color: var(--bad); }
.pg-cols > .card { min-width: 0; } .pg-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 12px; } .pg-form.col { flex-direction: column; align-items: stretch; }
.pg-form input, .pg-form select { font: inherit; background: var(--bg); color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; min-width: 0; max-width: 100%; }
.pg-form input[type=number] { width: 5em; } #pg-alerts { margin-top: 18px; } .pg-alert { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
#pg-ledger p.ok { color: var(--ok); } #pg-ledger p.bad { color: var(--bad); } input[type=range] { width: 100%; }
meter { width: 70px; vertical-align: middle; }
.pg-cols { grid-template-columns: 1fr; }
.pill.accepted, .pill.ok { color: var(--ok); border-color: var(--ok); } .pill.pending, .pill.medium { color: var(--warn); border-color: var(--warn); }
.pill.bad, .pill.high, .pill.disputed, .pill.untrusted, .pill.critical { color: var(--bad); border-color: var(--bad); }

/* ================= v0.20 visual layer ================= */
body { background: var(--bg); font-size: 16.5px; -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-decoration-color: color-mix(in srgb, var(--fg) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg); }
h1, h2, h3 { font-weight: 600; }
.display, h1, section h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
section h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--fg); font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; text-wrap: balance; }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 620px; }
.narrow-wrap { max-width: 820px; }
.eyebrow { font: 500 .74rem var(--mono); letter-spacing: .18em; color: var(--muted); padding-left: 0; }
.eyebrow::before { display: none; }
.muted { color: var(--muted); }

/* nav: thin, quiet, pill buttons */
nav { background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
nav .wrap { height: 64px; max-width: 1200px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 1.18rem var(--sans); letter-spacing: -.03em; color: var(--fg); }
.logo b { display: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--spectrum); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M17 50V30a15 15 0 0 1 30 0v20' fill='none' stroke='black' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='33' r='5' fill='black'/%3E%3Cpath d='M32 36v8' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M17 50V30a15 15 0 0 1 30 0v20' fill='none' stroke='black' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='33' r='5' fill='black'/%3E%3Cpath d='M32 36v8' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
nav a.link { font-size: .9rem; color: var(--muted); }
.lang { border-radius: 999px; }
.btn, nav .btn, nav .btn.ghost { border-radius: 999px; font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 18px; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); }
.btn.pill { padding: 15px 28px; font-size: .82rem; }
.btn:not(.ghost) { box-shadow: 0 0 0 1px #ffffff14; }
.btn.ghost, nav .btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); box-shadow: none; }
.btn:hover { filter: none; transform: translateY(-1px); }
.btn.ghost:hover { border-color: var(--fg); }
.btn:not(.ghost)::after { display: none; }
.cta-row.center { justify-content: center; }

/* hero: centered serif headline */
.hero.w-hero { padding: clamp(80px, 14vw, 150px) 0 70px; text-align: center; background: none; }
.hero.w-hero::before { width: 760px; height: 420px; top: 18%; left: 50%; right: auto; transform: translateX(-50%); background: none; opacity: .16; filter: blur(110px); animation: none; }
.hero.w-hero::after { display: none; }
.hero.w-hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.02; margin: 18px auto 22px; max-width: 14ch; text-wrap: balance; }
.hero.w-hero h1 em { font-style: normal; background: var(--hero-grad); background-size: 100% 100%; padding-bottom: .08em; -webkit-background-clip: text; background-clip: text; color: transparent; animation: none; }
.hero.w-hero .lead { margin: 0 auto; max-width: 640px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero.w-hero .cta-row { justify-content: center; margin-top: 34px; }

/* works-with strip: plain wordmarks, no borrowed logos */
.works { padding: 10px 0 64px; }
.works-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin-top: 18px; }
.works-row span { font: 600 clamp(1.05rem, 2.2vw, 1.5rem) var(--sans); letter-spacing: -.02em; color: color-mix(in srgb, var(--fg) 42%, transparent); }

section { padding: 96px 0; }
section.alt { background: var(--bg2); }

/* products */
.prods { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 46px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.prod { background: var(--card); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; transition: background .3s; }
.prod:hover { background: color-mix(in srgb, var(--card) 85%, #2a2a33); }
.prod code { font: 500 .72rem var(--mono); letter-spacing: .08em; color: var(--acc2); }
.prod h3 { font: 500 1.45rem/1.15 var(--serif); margin: 0; letter-spacing: -.01em; }
.prod p { margin: 0; color: var(--muted); font-size: .95rem; }

/* the attack, step by step */
.attack { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
@media (max-width: 900px) { .attack { grid-template-columns: minmax(0, 1fr); } }
.attack .step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: grid; gap: 8px; min-width: 0; }
.attack .step .no { font: 500 .72rem var(--mono); color: var(--muted); letter-spacing: .1em; }
.attack .step b { font: 500 1.15rem/1.2 var(--serif); }
.attack .step code { font: .78rem/1.45 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.attack .s-high { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.attack .s-high code { color: var(--warn); }
.attack .s-critical { border-color: color-mix(in srgb, var(--bad) 65%, var(--line)); box-shadow: 0 0 40px -14px var(--bad); }
.attack .s-critical code { color: var(--bad); text-decoration: line-through; text-decoration-thickness: 1px; }
.attack .s-ok code { color: var(--ok); }

/* stats */
.stats { background: transparent; }
.stats-row b { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; font: 500 2.4rem var(--serif); }

/* code snippets */
.snips { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); margin-top: 46px; }
.snip { margin: 0; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.snip figcaption { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.snip pre.term { margin: 0; border: 0; border-radius: 0; background: transparent; font-size: .8rem; }
pre.term { background: #08080a; border-color: var(--line); }

/* cards, pricing, faq, footer */
.card { background: var(--card); border-color: var(--line); border-radius: 16px; }
.card:hover { transform: none; box-shadow: none; border-color: color-mix(in srgb, var(--fg) 25%, var(--line)); }
.card::after { display: none; }
.price .tag { font: 500 2rem var(--serif); }
.price.feat { border-color: color-mix(in srgb, var(--acc) 60%, var(--line)); box-shadow: 0 0 60px -26px var(--acc); animation: none; }
.status { color: var(--muted); }
details { border-color: var(--line); }
details[open] { background: transparent; }
summary { font: 500 1.1rem var(--serif); }
details summary:hover { color: var(--fg); }
.final { padding: 120px 0; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
footer { border-color: var(--line); font-size: .85rem; }
footer a { color: var(--muted); }
#progress { background: var(--spectrum); height: 1px; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.docs article h2 { font-size: 1.8rem; }
.note { border-left-color: var(--acc2); }
/* long documents (terms, privacy): section titles at reading size */
.docs-article h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 1.9em 0 .5em; line-height: 1.2; }
.docs-article p, .docs-article li { color: color-mix(in srgb, var(--fg) 88%, var(--muted)); }
.docs-article .card { margin-top: 18px; }
.hero.w-hero h1 { max-width: 18ch; }
@media (max-width: 720px) {
  nav .btn.ghost { display: none; }
  nav .btn { padding: 8px 12px; font-size: .7rem; letter-spacing: .08em; }
  .logo { font-size: 1.05rem; }
}
.docs-article > * { max-width: 780px; }
.works .tm { margin: 18px auto 0; font-size: .72rem; color: color-mix(in srgb, var(--muted) 70%, transparent); max-width: 560px; }

/* pricing: four hosted plans in one row, Enterprise and self-hosted as full-width strips below */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 46px; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px 22px; min-width: 0; }
.plan h3 { margin: 0; font: 600 1.05rem var(--sans); color: var(--muted); letter-spacing: .01em; }
.plan .price-tag { font: 500 2.6rem/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.plan .price-tag .cur { font-size: .55em; vertical-align: .55em; margin-right: 2px; color: var(--muted); }
.plan .price-tag .per { font: 400 .9rem var(--sans); color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; flex: 1; font-size: .92rem; color: color-mix(in srgb, var(--fg) 85%, var(--muted)); }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc2); opacity: .8; }
.plan .btn { text-align: center; margin-top: 6px; }
.plan.feat { border-color: color-mix(in srgb, var(--acc) 65%, var(--line)); box-shadow: 0 0 70px -28px var(--acc); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 7%, var(--card)), var(--card) 45%); }
.plan.feat h3 { color: var(--fg); }
.badge-pop { position: absolute; top: -11px; left: 22px; font: 600 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--spectrum); padding: 4px 10px; border-radius: 999px; }
.strips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.plan-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.plan-strip > div { flex: 1 1 260px; min-width: 0; }
.plan-strip h3 { margin: 0 0 6px; font: 500 1.35rem var(--serif); }
.plan-strip h3 .muted { font: 400 .95rem var(--sans); }
.plan-strip p { margin: 0; color: var(--muted); font-size: .92rem; }

/* product loop and audience cards */
.loop { margin: 44px auto 0; max-width: 1040px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
.loop video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.whogrid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.whocard img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; filter: grayscale(1) contrast(1.06) brightness(.85); margin-bottom: 18px; }
.whocard h3 { font: 500 1.35rem/1.15 var(--serif); margin: 0 0 8px; }
.whocard p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .whogrid { grid-template-columns: 1fr; } }
.whogrid + .tm { margin-top: 30px; }

/* works-with: a slow endless belt of names, like the logo rows of premium brands */
.works .marquee { overflow: hidden; margin: 26px auto 0; max-width: 860px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.works .track { display: flex; width: max-content; animation: belt 38s linear infinite; will-change: transform; }
.works .set { display: flex; flex: none; align-items: center; gap: 72px; padding-right: 72px; }
.works .set span { font: 600 clamp(1.15rem, 2.2vw, 1.6rem) var(--sans); letter-spacing: -.02em; color: color-mix(in srgb, var(--fg) 46%, transparent); white-space: nowrap; transition: color .3s; }
.works .set span:hover { color: var(--fg); }
.works .marquee:hover .track { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .works .track { animation: none; } .works .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .works .set + .set, .works .half + .half { display: none; } }

/* light / dark choice (tools/theme.py); dark is the default */
.theme-switch{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--line2,var(--line));border-radius:999px;flex:none}
.theme-switch button{all:unset;cursor:pointer;padding:4px 11px;border-radius:999px;font:500 .74rem/1.4 var(--mono,ui-monospace,monospace);color:var(--muted);white-space:nowrap}
.theme-switch button:hover{color:var(--fg)}.theme-switch button[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.theme-switch button:focus-visible{outline:2px solid var(--muted);outline-offset:2px}
@media (max-width:560px){.theme-switch button{padding:4px 8px}}
:root[data-theme="light"]{color-scheme:light;--bg:#f6f6f4;--bg2:#ecebe8;--card:#ffffff;--line:#dcdbd6;--fg:#15151a;--muted:#5c5b66;--acc:#5b3fd6;--acc2:#3d3c46;--ok:#12805a;--bad:#c0392b;--warn:#9a6b00;--spectrum:linear-gradient(90deg,#15151a,#5c5b66);--hero-grad:linear-gradient(90deg,#b07a00 0%,#3f8f32 28%,#0f8f7d 50%,#2c63d1 72%,#9a35c9 100%)}

.demo-evidence, .release-options {
  display: grid;
  gap: 20px;
  margin: 32px auto 0;
}
.demo-evidence {
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  max-width: 1040px;
}
.demo-evidence figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.demo-evidence img { display: block; width: 100%; height: auto; }
.demo-evidence h3, .release-options h3 { margin: 0 0 8px; }
.release-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.release-options .card { display: flex; flex-direction: column; align-items: flex-start; }
.release-options .card p { flex: 1; margin-bottom: 18px; }
#join .wrap { max-width: 820px; }
.pilot-form {
  position: relative;
  margin-top: 24px;
  padding: clamp(16px, 3vw, 26px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.pilot-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pilot-fields label { display: grid; gap: 6px; min-width: 0; }
.pilot-fields input, .pilot-fields textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.pilot-fields input:focus-visible, .pilot-fields textarea:focus-visible { outline: 2px solid var(--acc2); outline-offset: 2px; }
.pilot-note { grid-column: 1 / -1; }
.pilot-form .hp { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pilot-form .wl-msg { margin: 10px 0 0; }
.pilot-form .wl-msg:empty { margin: 0; }
@media (max-width: 720px) {
  .demo-evidence, .release-options, .pilot-fields { grid-template-columns: minmax(0, 1fr); }
}

/* ================= TEVSEC skin (2026-12): the company site's look on tevsec.com =================
   Strict and monochrome: black, greys and off-white, monospace headings, hairlines, no colour gradients.
   Overrides the layers above by order, so removing this block restores the previous look. */
:root {
  --bg: #0b0b0b; --bg2: #0f0f0e; --card: #121211; --line: #262523; --line2: #34322f;
  --fg: #ede9e2; --muted: #9a968f; --dim: #6f6c66; --acc: #ede9e2; --acc2: #9a968f;
  --spectrum: linear-gradient(90deg, var(--fg), var(--fg)); --hero-grad: linear-gradient(90deg, var(--muted), var(--muted));
  --serif: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
:root[data-theme="light"] { color-scheme: light; --bg: #f7f5f0; --bg2: #eeebe3; --card: #ffffff; --line: #e0dcd2; --line2: #cbc6ba;
  --fg: #16140f; --muted: #5e5a51; --dim: #8a857a; --acc: #16140f; --acc2: #5e5a51;
  --spectrum: linear-gradient(90deg, var(--fg), var(--fg)); --hero-grad: linear-gradient(90deg, var(--muted), var(--muted)); }
body { font: 15px/1.65 var(--sans); }
h1, h2, h3, h4, .display, section h2 { font-family: var(--mono); font-weight: 500; letter-spacing: -.02em; }
h3 { letter-spacing: 0; }
section h2 { font-size: clamp(1.45rem, 3.1vw, 2.2rem); line-height: 1.12; }
.eyebrow { font: 500 .74rem var(--mono); letter-spacing: .16em; color: var(--muted); }

nav { background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line); }
nav .wrap { height: 62px; max-width: 1120px; }
.logo { gap: 10px; font: 500 .86rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.logo .tev-mark { display: block; }
.logo-name { padding-left: 10px; border-left: 1px solid var(--line2); color: var(--muted); }
nav a.link { font: .86rem var(--mono); color: var(--muted); }
nav a.link:hover, nav a.link[aria-current] { color: var(--fg); }

.btn, nav .btn, nav .btn.ghost { border-radius: 7px; font: 500 .9rem var(--mono); letter-spacing: 0; text-transform: none; padding: 11px 20px; }
nav .btn, nav .btn.ghost { padding: 7px 14px; font-size: .82rem; }
.btn.pill { padding: 12px 22px; font-size: .9rem; }
.btn:not(.ghost) { box-shadow: none; }
.btn.ghost, nav .btn.ghost { border-color: var(--line2); }
.btn:hover { transform: none; filter: brightness(.9); }
.btn.ghost:hover { border-color: var(--muted); filter: none; }

.hero.w-hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.12; max-width: 24ch; }
.hero.w-hero { padding-top: clamp(64px, 10vw, 110px); }
.hero.w-hero h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--muted); }
.hero.w-hero .lead { font: 1.02rem/1.6 var(--mono); }
.works-row span, .works .set span { font: 500 clamp(.95rem, 1.9vw, 1.25rem) var(--mono); letter-spacing: .02em; }
@media (max-width: 720px) { nav .wrap { gap: 10px; } nav .btn { padding: 7px 10px; font-size: .74rem; } }
@media (max-width: 420px) { nav .btn:not(.ghost) { display: none; } }
.stats-row b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--fg); font-family: var(--mono); }
footer { font-family: var(--mono); font-size: .8rem; }
