/* Master WebTools — site styles. Tokens follow the MWT design system v0.1. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/hanken-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Signal: sampled from the logo. Used only for the logo, the primary button and progress rails. */
  --violet: #bc41f6;
  --mid: #928df9;
  --cyan: #67d8fb;
  --signal: linear-gradient(90deg, var(--violet), var(--cyan));
  --signal-v: linear-gradient(180deg, var(--violet), var(--cyan));
  --on-signal: #16121f;

  --paper: #fbfafd;
  --paper-2: #f2eff7;
  --line: #e3deea;
  --band: #16121f;
  --on-band: #f2eff8;
  --ink: #16121f;
  --ink-2: #4a4359;
  --ink-3: #6b6479;
  --violet-ink: #7a24c4;
  --cyan-ink: #0b6f93;
  --danger: #b42318;
  --success: #157a4f;
  --shadow-float: 0 1px 2px rgb(22 18 31 / 8%), 0 16px 32px rgb(22 18 31 / 14%);

  --f-display: 'Archivo', 'Arial Black', 'Helvetica Neue', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-pill: 999px;
  --wrap: 1200px;
  --gutter: 20px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #100d17;
    --paper-2: #191523;
    --line: #2d2739;
    --band: #08060d;
    --ink: #f2eff8;
    --ink-2: #c3bcd2;
    --ink-3: #9d96ad;
    --violet-ink: #d395ff;
    --cyan-ink: #7ddfff;
    --danger: #ff8f84;
    --success: #5fd49b;
    --shadow-float: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 32px rgb(0 0 0 / 50%);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* Component display rules must never beat the hidden attribute */
[hidden] { display: none !important; }

:where(h1, h2, h3, h4) {
  margin: 0;
  font-family: var(--f-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

:where(p) { margin: 0; text-wrap: pretty; }

a { color: var(--violet-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.sec { padding-block: var(--s-8); }
.sec--alt { background: var(--paper-2); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.h2 { font-size: 1.875rem; font-weight: 800; font-stretch: 112%; line-height: 1.08; }

.sec-head { display: grid; gap: var(--s-3); max-width: 640px; margin-bottom: var(--s-6); }
.sec-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.0625rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--band); color: var(--on-band); font-weight: 700;
}
.skip-link:focus { top: 16px; color: var(--on-band); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font: 700 1rem/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-position 0.45s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* The gradient slides fully to cyan on hover: the brief becomes a release. */
.btn-primary {
  color: var(--on-signal);
  background: linear-gradient(90deg, var(--violet) 0%, var(--cyan) 50%, var(--cyan) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
}
.btn-primary:hover { background-position: 100% 0; color: var(--on-signal); }
.btn-primary:disabled { opacity: 0.55; cursor: progress; }

.btn-secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.path { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3); overflow-wrap: anywhere; }

/* ---------- Header ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 28px; width: auto; }

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s-6); }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.nav-links a:hover { color: var(--violet-ink); }
.nav-cta { display: none; min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.site-header.is-open .menu-toggle .i-open { display: none; }
.site-header.is-open .menu-toggle .i-close { display: block; }

.menu-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-block: var(--s-2) var(--s-5);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.site-header.is-open .menu-panel { display: block; }
.menu-panel ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.menu-panel li { border-bottom: 1px solid var(--line); }
.menu-panel a:not(.btn) { display: block; padding: 15px 2px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.menu-panel .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-block: 44px 56px; }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 {
  margin-top: 14px;
  font-size: 2.25rem;
  font-weight: 850;
  font-stretch: 116%;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero h1 .then { color: var(--ink-3); }
.lead { margin-top: 18px; max-width: 34em; font-size: 1.125rem; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-3); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.proof li:nth-child(2)::before { background: var(--mid); }
.proof li:nth-child(3)::before { background: var(--cyan); }

/* Release track: the signature pattern. Violet is the brief, cyan the release. */
.track-card { display: grid; gap: var(--s-4); align-content: start; padding: 26px 26px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.track { position: relative; display: grid; list-style: none; margin: 0; padding: 0; }
.track::before { content: ''; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--signal-v); }
.track li { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: var(--s-4); padding-block: 10px; }
.track .dot { position: relative; z-index: 1; width: 25px; height: 25px; margin-top: 1px; border-radius: 50%; border: 4px solid var(--paper); }
.track li:nth-child(1) .dot { background: #bc41f6; }
.track li:nth-child(2) .dot { background: #a070f7; }
.track li:nth-child(3) .dot { background: #84a5fa; }
.track li:nth-child(4) .dot { background: #67d8fb; }
.track--three li:nth-child(3) .dot { background: #67d8fb; }
.track--on-alt .dot { border-color: var(--paper-2); }
.track b { display: block; font-weight: 700; line-height: 1.35; }
.track span { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- Quote band ---------- */
.quote-band { padding-block: 56px; background: var(--paper-2); }
.quote-band figure { display: grid; gap: 20px; max-width: 980px; margin: 0; }
.quote-band .rule { width: 64px; height: 4px; border-radius: 4px; background: var(--signal); }
.quote-band blockquote { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 1.375rem; line-height: 1.4; letter-spacing: -0.005em; }
.quote-band figcaption { font-size: 0.9375rem; color: var(--ink-3); }
.quote-band figcaption b { color: var(--ink); }

/* ---------- Services ---------- */
.feature { display: grid; gap: 28px; margin-bottom: var(--s-4); padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.feature-text { display: grid; gap: var(--s-3); align-content: center; }
.feature h3 { font-size: 1.625rem; font-weight: 800; font-stretch: 110%; line-height: 1.12; }
.feature p { color: var(--ink-2); font-size: 1.0625rem; }

/* System diagram: one source on ink, outputs on paper, neutral lines. No gradient here. */
.sys { display: grid; gap: 14px; align-content: center; min-width: 0; }
.sys-label { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sys-flow { display: grid; }
.sys-source { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--band); color: var(--on-band); }
.sys-source .k { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(242 239 248 / 60%); }
.sys-source b { font-family: var(--f-display); font-stretch: 108%; font-size: 1.1875rem; font-weight: 800; }
.sys-source .v { font-family: var(--f-mono); font-size: 0.75rem; color: rgb(242 239 248 / 72%); }
.sys-down { justify-self: center; width: 2px; height: 26px; background: var(--ink-3); }
.sys-wires { display: none; color: var(--ink-3); }
.sys-outs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sys-outs li { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper-2); font-weight: 700; font-size: 0.875rem; line-height: 1.2; }
.sys-outs li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-ink); }

.cards { display: grid; gap: var(--s-4); }
.card { display: grid; gap: var(--s-3); align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.card h3 { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.card p { color: var(--ink-2); }
.card .tags { margin-top: 6px; }

/* ---------- Plugins ---------- */
.plugins { display: grid; gap: var(--s-4); }
.plugin { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.plugin .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--band); color: var(--on-band); }
.plugin .ico svg { width: 28px; height: 28px; }
.plugin .body { display: grid; gap: 10px; min-width: 0; }
.plugin h3 { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.plugin p { color: var(--ink-2); }
.stats { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 4px; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stats b { color: var(--ink); font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.more svg { width: 16px; height: 16px; }

/* ---------- About ---------- */
.about .wrap { display: grid; gap: 36px; align-items: center; }
.about-text { display: grid; gap: 18px; align-content: center; }
.about-text p:not(.eyebrow) { font-size: 1.0625rem; color: var(--ink-2); }
.about-text p.first { font-size: 1.1875rem; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 0.9375rem; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.person { display: grid; gap: var(--s-3); align-content: start; margin: 0; }
/* Initials tile until real photos arrive (swap for <img> with the same aspect ratio) */
.portrait {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--r-md);
  background: var(--band);
  color: var(--on-band);
  font: 850 clamp(2rem, 8vw, 3.5rem)/1 var(--f-display);
  font-stretch: 116%;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person figcaption { display: grid; gap: 3px; }
.person b { font-family: var(--f-display); font-stretch: 108%; font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.person .role { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-ink); }
.person .bio { margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-6); }
.review { display: grid; gap: 14px; align-content: start; margin: 0; padding-top: 22px; border-top: 3px solid; border-image: var(--signal) 1; }
.review blockquote { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.review figcaption { font-size: 0.875rem; color: var(--ink-3); }
.review figcaption b { display: block; font-size: 0.9375rem; color: var(--ink); }

/* ---------- Contact ---------- */
.contact .wrap { display: grid; gap: 36px; }
.contact-intro { display: grid; gap: 18px; align-content: start; }
.contact-intro .lead { margin-top: 0; }
.direct { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-3); }
.direct a { font-weight: 500; }

.form { display: grid; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 0.9375rem; }
.field label small { font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-3); }
.help { font-size: 0.875rem; color: var(--ink-3); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: 400 1rem/1.4 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: var(--r-sm);
}
.input:focus { outline: none; border-color: var(--violet-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 22%, transparent); }
.input:user-invalid { border-color: var(--danger); }
textarea.input { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 0.875rem; color: var(--ink-3); }
.form .btn { width: 100%; }
.status { min-height: 1.5em; font-size: 0.9375rem; color: var(--ink-3); }
.status.is-error { color: var(--danger); font-weight: 600; }

.sent { display: grid; gap: var(--s-3); justify-items: center; padding: 40px 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.sent:focus { outline: none; }
.sent svg { width: 52px; height: 52px; }
.sent h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 108%; }
.sent p { max-width: 32ch; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 48px 28px; background: var(--band); color: var(--on-band); }
.site-footer .wrap { display: grid; gap: 28px; }
.site-footer img { height: 30px; width: auto; }
.site-footer p, .site-footer li { font-size: 0.9375rem; color: rgb(242 239 248 / 72%); }
.site-footer .tagline { margin-top: 14px; max-width: 30ch; }
.site-footer h2 { margin: 0 0 10px; font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(242 239 248 / 55%); }
.site-footer ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--on-band); }
.site-footer a:hover { color: var(--cyan); }
.site-footer .legal { padding-top: 20px; border-top: 1px solid rgb(242 239 248 / 12%); font-size: 0.8125rem; color: rgb(242 239 248 / 55%); }

/* ---------- Simple pages: privacy, thanks, errors ---------- */
.page-head { padding-block: 56px 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); font-weight: 850; font-stretch: 116%; line-height: 1.04; letter-spacing: -0.02em; }
.page-head p { margin-top: 12px; color: var(--ink-3); font-family: var(--f-mono); font-size: 0.8125rem; }

.prose { max-width: 70ch; padding-block: 48px 96px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; font-weight: 800; font-stretch: 110%; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose .todo { padding: 2px 6px; border-radius: 4px; background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); font-family: var(--f-mono); font-size: 0.875em; }

.table-scroll { overflow-x: auto; margin-block: 1.5em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-scroll table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.table-scroll th, .table-scroll td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--paper-2); font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.table-scroll tr:last-child td { border-bottom: 0; }

.message { padding-block: clamp(80px, 14vw, 160px); }
.message .box { display: grid; gap: var(--s-4); justify-items: center; max-width: 620px; margin-inline: auto; text-align: center; }
.message h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 850; font-stretch: 114%; line-height: 1.08; }
.message p { color: var(--ink-2); font-size: 1.125rem; }

/* ---------- Wider screens ---------- */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .row { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plugins { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer .legal { grid-column: 1 / -1; }
  .sys-flow { grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: center; }
  .sys-down { display: none; }
  .sys-wires { display: block; width: 88px; height: 244px; }
  .sys-outs { grid-template-columns: 1fr; gap: 12px; }
}

@media (min-width: 1000px) {
  .bar { height: 76px; }
  .brand img { height: 32px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .menu-panel, .site-header.is-open .menu-panel { display: none; }

  .sec { padding-block: 112px; }
  .h2 { font-size: 2.75rem; }
  .sec-head { margin-bottom: var(--s-7); }

  .hero { padding-block: 96px 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 72px; align-items: center; }
  .hero h1 { font-size: 3.625rem; font-stretch: 114%; }
  .lead { margin-top: 36px; font-size: 1.25rem; }

  .quote-band { padding-block: 88px; }
  .quote-band blockquote { font-size: 2rem; line-height: 1.32; }

  .feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; margin-bottom: 20px; padding: 40px; }
  .cards { gap: 20px; }
  .card, .plugin { padding: 32px; }

  .about .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .contact .wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
  .form { padding: 36px; }
}
