/* Matrix house style: the websites of MacroMatrix and PulseMatrix share this file (same as the apps).
   Black, graphite and white, hairline frames, mono micro labels, white primary buttons.
   Coral (#ff3b4f) only where it means something: the brand, what is active, what we recommend.
   Colour otherwise only in data (charts and app screenshots). */

@font-face { font-family: 'Geist'; src: url('fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #050506; --surface: #0c0d10; --surface-2: #15161a; --surface-3: #1d1e23;
  --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .12);
  --ink: #f5f5f7; --ink-2: #c9cad1; --ink-3: #84868f; --faint: #4a4c54;
  --accent: #ff3b4f; --accent-soft: rgba(255, 59, 79, .14); --accent-ink: #ff8d98;
  /* data colours (the chart palette of the apps) */
  --blue: #3d8bfd; --sky: #4cc3ff; --green: #2fbf71; --amber: #f5a524; --purple: #a855f7; --red: #ff4d4f;
  --frame: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .025));
  --fill: linear-gradient(180deg, #101114, #0b0c0e);
  --shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  --radius: 20px;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink); position: relative;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6;
  letter-spacing: -.006em; -webkit-font-smoothing: antialiased;
}
/* faint grid + one cold light at the top, fading out after the first screen */
body::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -140px, rgba(255, 255, 255, .07), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px) 0 0 / 56px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 760px);
  mask-image: linear-gradient(180deg, #000 0, transparent 760px);
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--accent); }
p a, li a, dd a, td a { text-decoration: underline; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface-2); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- type */
.eyebrow, .mono { display: inline-block; line-height: 1.6; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow.accent { color: var(--accent-ink); }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-weight: 600; color: var(--ink); }
code, pre { font-family: var(--mono); font-size: .9em; }
:not(pre) > code { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }

/* ---------- buttons: white is primary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px;
  border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-3); color: var(--ink); }
.btn-primary { background: var(--ink); color: #000; border-color: var(--ink); }
.btn-primary:hover { background: #fff; color: #000; }
.btn-small { height: 38px; padding: 0 15px; border-radius: 11px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }
.btn[aria-disabled='true'] { opacity: .55; pointer-events: none; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(5, 5, 6, .72); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(180deg, #17181c, #050506); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink-3); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.header-cta .login { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 0 10px; }
.header-cta .login:hover { color: var(--ink); }
@media (max-width: 920px) { .nav { display: none; } }
@media (max-width: 440px) { .header-cta .login { display: none; } }

/* ---------- surfaces: one material everywhere */
.card, .choice, .plan, .step, .mock, .dl-card, .box, .oss, .faq details, .sources, .compare-wrap, pre.code {
  background: var(--fill) padding-box, var(--frame) border-box;
  border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- hero */
.hero { padding: 84px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); line-height: 1.0; letter-spacing: -.045em; margin: 16px 0 20px; }
.hero h1 .dim { color: var(--ink-3); }
.hero p.lead { font-size: 18.5px; color: var(--ink-2); max-width: 33em; margin: 0 0 30px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.tags li { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px; }
.tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.tags li.on::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 292px; border-radius: 40px; padding: 7px; background: linear-gradient(180deg, #1b1c21, #0b0c0e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 50px 90px -40px rgba(0, 0, 0, 1), 0 0 0 1px #000;
}
.phone img { border-radius: 33px; width: 100%; height: auto; }
.phones .front { left: 2%; top: 0; z-index: 2; }
.phones .back { right: 0; top: 70px; transform: rotate(4deg); opacity: .9; }
.phones::after { content: ''; position: absolute; left: 10%; right: 10%; top: 30%; height: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 59, 79, .22), transparent); filter: blur(30px); }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 470px; max-width: 390px; margin: 0 auto; width: 100%; }
  .phones .phone { width: 212px; border-radius: 32px; }
  .phones .phone img { border-radius: 26px; }
  .phones .front { left: 0; }
  .phones .back { right: 0; top: 44px; }
}

/* ---------- numbers row */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(12, 13, 16, .6); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- sections */
section.block { padding: 96px 0; }
section.block.tight { padding-top: 0; }
.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.04em; margin: 12px 0 16px; }
.section-head p { font-size: 17px; color: var(--ink-2); margin: 0; }
.section-head p + p { margin-top: 12px; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(800px 300px at 50% 0, rgba(255, 255, 255, .035), transparent 70%), rgba(12, 13, 16, .5); }

/* ---------- three ways to keep your data */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice { padding: 26px 24px 24px; display: flex; flex-direction: column; position: relative; }
.choice .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); margin-bottom: 18px; }
.choice .ico svg { width: 20px; height: 20px; }
.choice h3 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 4px; }
.choice .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.choice p { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.choice ul { margin-top: auto; }
.choice.pick { background: linear-gradient(180deg, #151012, #0b0c0e) padding-box, linear-gradient(180deg, rgba(255, 59, 79, .55), rgba(255, 59, 79, .08) 55%, rgba(255, 255, 255, .03)) border-box;
  box-shadow: 0 0 60px -28px rgba(255, 59, 79, .55), var(--shadow); }
.choice.pick .ico { color: var(--accent); border-color: rgba(255, 59, 79, .35); background: var(--accent-soft); }
.flag { position: absolute; top: 22px; right: 20px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid rgba(255, 59, 79, .25); border-radius: 6px; padding: 3px 8px; }
.flag.plain { color: var(--ink-2); background: var(--surface-2); border-color: var(--line-2); }
@media (max-width: 900px) { .choices { grid-template-columns: 1fr; } }

/* comparison table */
.compare-wrap { margin-top: 18px; overflow-x: auto; padding: 6px 0; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.compare th, .compare td { padding: 12px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.compare td:first-child { color: var(--ink-2); }
.compare td.y, .compare td.n, .compare td.o { white-space: nowrap; }
.compare td.y::before, .compare td.n::before, .compare td.o::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.compare td.y::before { background: var(--ink); }
.compare td.n::before { background: transparent; border: 1px solid var(--faint); }
.compare td.o::before { background: transparent; border: 1px solid var(--ink-2); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 4px var(--ink-2); }
.compare td.n { color: var(--ink-3); }
.legend { font-size: 13px; color: var(--ink-3); margin: 12px 4px 0; }

/* ---------- features with a phone */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; position: relative; }
.feature .shot .phone { position: relative; width: 296px; }
.feature h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.035em; margin: 12px 0 14px; }
.feature p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 18px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .feature .shot .phone { width: 250px; }
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }

/* ---------- plain list */
.plain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.plain-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.plain-list dt { font-weight: 600; margin-bottom: 4px; letter-spacing: -.015em; }
.plain-list dd { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .plain-list { grid-template-columns: 1fr; } }

/* ---------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; }
.card .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); margin-bottom: 16px; }
.card .icon svg { width: 19px; height: 19px; }
.card h3 { font-size: 18px; letter-spacing: -.02em; margin: 0 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- self-hosting */
.host { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--ink-2); font-size: 15.5px; }
.steps li b { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.02em; margin-bottom: 2px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface-2); }
pre.code { margin: 0; padding: 22px 24px; overflow-x: auto; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
pre.code .c { color: var(--ink-3); }
pre.code .p { color: var(--accent); user-select: none; }
.code-head { display: flex; gap: 7px; margin-bottom: 14px; }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
@media (max-width: 860px) { .host { grid-template-columns: 1fr; } }

/* ---------- plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { padding: 28px; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.plan h3 { font-size: 22px; letter-spacing: -.03em; margin: 0; }
.plan-price { font-size: 15px; color: var(--ink-2); margin: 0 0 18px; }
.plan-price b { font-size: 26px; color: var(--ink); letter-spacing: -.04em; }
.plan-note, .plan-why { font-size: 14px; color: var(--ink-3); margin: 18px 0 0; }
.plan-why b { color: var(--ink-2); }
.plan.pick { background: linear-gradient(180deg, #151012, #0b0c0e) padding-box, linear-gradient(180deg, rgba(255, 59, 79, .45), rgba(255, 255, 255, .03) 60%) border-box; }
.nw { white-space: nowrap; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------- open source / privacy strip */
.oss { margin-top: 18px; padding: 24px 26px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.oss b { font-size: 17px; letter-spacing: -.02em; }
.oss p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; max-width: 46em; }
@media (max-width: 760px) { .oss { flex-direction: column; align-items: flex-start; } }

/* ---------- data sources */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.sources { padding: 6px 0; }
.source { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); }
.source:first-child { border-top: 0; }
.source .badge { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 0; width: 40px; text-align: center; }
.source b { font-weight: 600; font-size: 15px; display: block; }
.source small { color: var(--ink-3); font-size: 13px; }
.source .num { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.aside p { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.aside b { color: var(--ink); }
.estimate { font-family: var(--mono); color: var(--ink); }
.credits { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); margin: 8px 0 0; }
.credits a { color: var(--ink-3); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- download */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card { padding: 28px; }
.dl-card h3 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 8px; }
.dl-card p { color: var(--ink-2); font-size: 15px; }
.small { font-size: 13.5px; color: var(--ink-3); }
details.more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
details.more summary { cursor: pointer; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
@media (max-width: 760px) { .download { grid-template-columns: 1fr; } }

/* ---------- FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { padding: 0; border-radius: 16px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--ink-3); font-weight: 500; }
.faq details[open] summary::after { content: '–'; color: var(--accent); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- final call */
.final { padding: 100px 0 110px; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(600px 260px at 50% 100%, rgba(255, 59, 79, .12), transparent 70%); }
.final h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.045em; line-height: 1.04; margin: 14px 0 16px; }
.final p { color: var(--ink-2); font-size: 17px; max-width: 34em; margin: 0 auto 30px; }
.final .ctas { justify-content: center; }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--ink-3); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .right { margin-left: auto; }
.family { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.family a { color: var(--ink-2); text-decoration: none; }
.family a:hover { color: var(--ink); }
@media (max-width: 700px) { .site-footer .right { margin-left: 0; } }

/* ---------- documents (privacy, terms) */
.doc { max-width: 780px; padding: 64px 0 90px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -.045em; line-height: 1.05; margin: 12px 0 10px; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin: 0 0 30px; }
.doc h2 { font-size: 23px; letter-spacing: -.03em; margin: 44px 0 12px; }
.doc h3 { font-size: 17px; letter-spacing: -.02em; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc li { margin: 6px 0; }
.doc li b, .doc p b { color: var(--ink); }
.doc .box { padding: 20px 22px; margin: 0 0 12px; }
.doc .box.pick { background: linear-gradient(180deg, #151012, #0b0c0e) padding-box, linear-gradient(180deg, rgba(255, 59, 79, .45), rgba(255, 255, 255, .03) 60%) border-box; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.doc td:first-child { color: var(--ink); min-width: 220px; }

/* ---------- small UI mock-ups (PulseMatrix site) */
.mock { padding: 20px; }
.mock .mono { display: block; margin-bottom: 10px; }
.mock .big { font-size: 44px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.mock .big small { font-size: 15px; color: var(--ink-3); letter-spacing: -.01em; font-weight: 500; margin-left: 4px; }
.mock .sub { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.mock svg { display: block; width: 100%; height: auto; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mock-grid .wide { grid-column: span 2; }
@media (max-width: 860px) { .mock-grid { grid-template-columns: 1fr 1fr; } .mock-grid .wide { grid-column: span 2; } }
@media (max-width: 520px) { .mock-grid { grid-template-columns: 1fr; } .mock-grid .wide { grid-column: auto; } }
.ring { position: relative; width: 128px; height: 128px; }
.ring svg { transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; letter-spacing: -.05em; }
.rows { display: grid; gap: 9px; margin-top: 6px; }
.rows div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 9px; }
.rows div:first-child { border-top: 0; padding-top: 0; }
.rows b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stage-bar { display: flex; height: 26px; border-radius: 7px; overflow: hidden; gap: 2px; margin: 12px 0 10px; }
.stage-bar span { display: block; }
.key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-3); }
.key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.pill { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.pill.ok { color: var(--green); border-color: rgba(47, 191, 113, .3); background: rgba(47, 191, 113, .08); }

/* ---------- motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn:hover { transition: none; transform: none; } }
