/* ==========================================================================
   VerbaClara — landing page
   Paper, ink, red pen. Display: Bricolage Grotesque. UI: Inter. Labels: IBM Plex Mono.
   ========================================================================== */

/* ---------- fonts (self-hosted) ---------- */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url('fonts/bricolage-normal-200-800-latin.woff2') format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url('fonts/bricolage-normal-200-800-latin-ext.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/inter-normal-400-700-latin.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/inter-normal-400-700-latin-ext.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/inter-normal-400-700-cyrillic.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/plex-normal-400-latin.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/plex-normal-400-latin-ext.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plex-normal-500-latin.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plex-normal-500-latin-ext.woff2') format('woff2')}

/* ---------- tokens ---------- */
:root {
  --ink: #15120d;
  --ink-2: #1d1910;
  --ink-3: #292318;
  --paper: #f4efe3;
  --paper-2: #faf6ec;
  --paper-3: #e9e2d2;
  --indigo: #4b45e8;
  --indigo-deep: #332fd0;
  --indigo-ink: #26219a;
  --red: #c4452f;
  --red-ink: #a83622;
  --green: #1c7a4f;
  --green-bright: #35a36b;
  --yellow: #f0c64a;
  --yellow-soft: #f4e9c8;
  --yellow-section: #f3e8c7;
  --muted: #6f6759;
  --muted-2: #6b6354;
  --line: rgba(21, 18, 13, .14);
  --line-strong: rgba(21, 18, 13, .26);
  --line-light: rgba(244, 239, 227, .14);
  --line-light-strong: rgba(244, 239, 227, .26);
  --display: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: 82px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border-radius: 0; }
p, h1, h2, h3, h4, figure, blockquote { margin-top: 0; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: rgba(21, 18, 13, .06);
  border: 1px solid rgba(21, 18, 13, .08);
  padding: .06em .32em;
  border-radius: 4px;
  overflow-wrap: break-word;
}
::selection { background: var(--indigo); color: #fff; }
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}
.section--ink :focus-visible,
.section--indigo :focus-visible,
.footer :focus-visible,
.hero :focus-visible { outline-color: var(--yellow); }
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 13px; height: 13px; stroke-width: 1.9; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout helpers ---------- */
.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(84px, 10vw, 140px) 0;
}
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--yellow { background: var(--yellow-section); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--indigo { background: var(--indigo-deep); color: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 66px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.eyebrow span { color: var(--red-ink); }
.eyebrow--light { color: rgba(244, 239, 227, .58); }
.eyebrow--light span { color: var(--yellow); }
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: .99;
  letter-spacing: -.033em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.section-head h2 em { font-style: normal; font-weight: 620; }
.lede {
  margin: 0 0 6px;
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}
.lede--light { color: rgba(244, 239, 227, .65); }
.section-foot {
  margin: 54px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted);
}
.section-foot a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s;
}
.text-link:hover { gap: 13px; }
.text-link--light { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }
.btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset;
}
.btn--primary:hover { background: #fffdf7; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.btn--ghost {
  border-color: rgba(244, 239, 227, .24);
  color: var(--paper);
  background: rgba(244, 239, 227, .03);
}
.btn--ghost:hover { background: rgba(244, 239, 227, .09); border-color: rgba(244, 239, 227, .55); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); box-shadow: 0 10px 26px rgba(21, 18, 13, .22); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fffdf7; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chip--free { background: var(--yellow); color: var(--ink); }
.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover { color: var(--ink); }
kbd {
  display: inline-block;
  padding: 1px 4px;
  border: 1px solid rgba(21, 18, 13, .22);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: .78em;
  line-height: 1.35;
  color: inherit;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--paper);
  transition: background .3s var(--ease), color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header:not(.is-scrolled) :focus-visible,
.site-nav.is-open :focus-visible { outline-color: var(--yellow); }
.site-header.is-scrolled {
  background: rgba(244, 239, 227, .9);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(21, 18, 13, .06);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
  font-weight: 650;
}
.brand img { border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.brand-clara { font-weight: 720; margin-left: -.06em; }
.brand-word {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.045em;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav > a:not(.nav-cta) {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: -.01em;
  color: inherit;
  text-decoration: none;
  opacity: .72;
  transition: opacity .2s;
}
.site-nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--display);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.nav-cta .icon { width: 14px; height: 14px; }
.nav-cta:hover { transform: translateY(-1px); background: #fffdf7; }
.site-header.is-scrolled .nav-cta { background: var(--ink); color: var(--paper); }
.site-header.is-scrolled .nav-cta:hover { background: var(--ink-3); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .85;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 136px 0 clamp(72px, 8vw, 112px);
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 45% at 50% -6%, rgba(75, 69, 232, .30), transparent 68%),
    radial-gradient(32% 32% at 87% 26%, rgba(196, 69, 47, .15), transparent 72%),
    radial-gradient(30% 40% at 10% 52%, rgba(240, 198, 74, .06), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin: 0 0 34px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, .5);
}
.eyebrow-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}
.hero-heading-wrap { position: relative; }
.hero h1 {
  margin: 0 auto;
  max-width: 1100px;
  font-family: var(--display);
  font-size: clamp(3.25rem, 8.35vw, 7.5rem);
  font-weight: 610;
  line-height: .93;
  letter-spacing: -.05em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.hero h1:focus, .section h2:focus { outline: none; }
.hero h1:focus-visible, .section h2:focus-visible { outline: 2px dashed currentColor; outline-offset: 6px; }
.pen-word {
  position: relative;
  display: inline-block;
  color: var(--yellow);
  font-style: normal;
  font-weight: 660;
  padding-right: 0;
  margin-right: -.02em;
}
.pen-stroke {
  position: absolute;
  left: -4%;
  bottom: -0.09em;
  width: 110%;
  height: .22em;
  overflow: visible;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: .95;
}
.pen-stroke path {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.1s var(--ease) .7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-note {
  position: absolute;
  z-index: 2;
  padding: 7px 10px 6px;
  border: 1px solid rgba(244, 239, 227, .18);
  border-radius: 999px;
  background: rgba(21, 18, 13, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: rgba(244, 239, 227, .66);
  white-space: nowrap;
}
.hero-note::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(244, 239, 227, .35), transparent);
}
.note-a { top: -12px; left: 2.5%; }
.note-b { top: -12px; right: 1.5%; }
.note-c { bottom: -26px; right: 12%; }
.note-c::after { display: none; }
.note-c::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(196, 69, 47, .6);
}
.hero-sub {
  max-width: 680px;
  margin: 34px auto 0;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.66;
  color: rgba(244, 239, 227, .73);
  text-wrap: balance;
  text-shadow: 0 0 20px rgba(21, 18, 13, .92), 0 2px 5px rgba(21, 18, 13, .7);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 33px;
}
.hero-micro {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .02em;
  color: rgba(244, 239, 227, .52);
  text-shadow: 0 0 16px rgba(21, 18, 13, .92);
}
.hero-micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero-micro span::before {
  content: "✓";
  color: #7ecfa2;
  font-size: 10px;
}

/* ---------- hero demo window ---------- */
.hero-stage {
  position: relative;
  width: min(100%, 1060px);
  margin: 66px auto 0;
  padding-bottom: 40px;
  text-align: left;
}
.demo-window {
  position: relative;
  z-index: 1;
  background: #fbf9f3;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: 0 50px 110px rgba(0, 0, 0, .55), 0 4px 0 rgba(255, 255, 255, .06) inset;
  overflow: hidden;
}
.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 45px;
  padding: 0 16px;
  background: #ece7db;
  border-bottom: 1px solid #ddd6c7;
}
.traffic { display: inline-flex; gap: 5px; flex: 0 0 auto; }
.traffic i { width: 8px; height: 8px; border-radius: 50%; background: #c9c1b1; }
.traffic i:nth-child(1) { background: #d77b67; }
.traffic i:nth-child(2) { background: #ddb768; }
.traffic i:nth-child(3) { background: #8fb894; }
.demo-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(46%, 420px);
  margin-inline: auto;
  height: 25px;
  padding: 0 12px;
  border: 1px solid #dcd5c6;
  border-radius: 999px;
  background: #fbf9f3;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #7c7363;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .03em;
  color: #1c7a4f;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(53, 163, 107, .16);
  flex: 0 0 auto;
}
.live-dot--red { background: var(--red); box-shadow: 0 0 0 3px rgba(196, 69, 47, .16); }
.demo-app {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 478px;
}
.demo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  background: #f1ece2;
  border-right: 1px solid #e4ddcf;
}
.rail-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 8px;
}
.rail-icon { width: 26px; height: 26px; border-radius: 7px; background: #e3ddd0; }
.rail-icon--active { background: #dbd6ff; box-shadow: inset 0 0 0 1px #bdb6f6; }
.demo-compose { padding: 22px 28px 20px; min-width: 0; }
.compose-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.compose-title { margin: 0; font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; }
.draft-pill {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6f6759;
  border: 1px solid #ddd6c7;
  border-radius: 999px;
  padding: 3px 7px;
}
.mail-field {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e8e2d6;
  font-size: 12px;
  color: #3d372c;
  max-width: 640px;
}
.field-label {
  width: 42px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6f6759;
}
.mail-body {
  max-width: 500px;
  padding: 24px 0 14px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #2b261d;
}
.mail-body p { margin: 0; }
.err {
  position: relative;
  text-decoration: underline wavy var(--red);
  text-decoration-thickness: 1.4px;
  text-underline-offset: 4px;
  background: rgba(196, 69, 47, .07);
  border-radius: 2px;
  cursor: help;
  white-space: nowrap;
}
.err sup {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-left: 1px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  text-decoration: none;
  vertical-align: super;
}
.mail-body.is-applied { animation: applied 1.2s var(--ease); }
@keyframes applied {
  0% { background: rgba(53, 163, 107, .18); }
  100% { background: transparent; }
}
.compose-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  padding-top: 16px;
  border-top: 1px solid #ece6da;
}
.send-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}
.compose-tools {
  font-family: var(--mono);
  font-size: 10px;
  color: #7d7464;
  letter-spacing: .12em;
}

/* ---------- demo card ---------- */
.fix-card {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: -38px;
  width: 372px;
  max-width: calc(100% - 24px);
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(21, 18, 13, .08);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 2px 0 rgba(255, 255, 255, .8) inset;
  overflow: hidden;
  font-size: 12px;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.fix-card.is-hidden { opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none; }
.fix-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: #fcfaf5;
  border-bottom: 1px solid #efe9dd;
}
.fix-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.fix-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(-2deg);
}
.fix-card-head b { font-size: 12.5px; letter-spacing: -.01em; }
.engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #cde6d6;
  border-radius: 999px;
  background: #edf8f1;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #1c7a4f;
  white-space: nowrap;
}
.engine-pill .live-dot { width: 5px; height: 5px; box-shadow: none; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8b8373;
  cursor: pointer;
}
.icon-btn:hover { background: #f0ebe0; color: var(--ink); }
.icon-btn .icon { width: 13px; height: 13px; }
.mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 9px 10px 0;
}
.mode-tabs button {
  padding: 6px 0 5px;
  border: 1px solid #e5dfd2;
  border-radius: 7px;
  background: #f7f4ed;
  color: #5f5748;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.mode-tabs button:hover { background: #efebff; border-color: #d6d0f8; }
.mode-tabs button[aria-pressed="true"] {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.fix-body { padding: 10px 10px 5px; max-height: 318px; overflow-y: auto; overscroll-behavior: contain; }
.corrected {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #cbe8d6;
  border-radius: 9px;
  background: #edf8f0;
  color: #143b25;
  font-size: 11.8px;
  line-height: 1.58;
  transition: opacity .18s;
}
.why-block {
  margin-top: 9px;
  border: 1px solid #e7e1d5;
  border-radius: 9px;
  overflow: hidden;
}
.why-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #f7f3ea;
  border-bottom: 1px solid #e7e1d5;
}
.why-label {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6d6556;
}
.demo-tag {
  padding: 1px 4px;
  border: 1px solid #ded7c9;
  border-radius: 3px;
  background: #fff;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b6354;
}
.lang-chips { display: flex; gap: 1px; margin-left: auto; }
.lang-chips button {
  padding: 3px 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #7d7464;
  font-family: var(--mono);
  font-size: 8.5px;
  cursor: pointer;
}
.lang-chips button:hover { background: #efe9dc; color: var(--ink); }
.lang-chips button[aria-pressed="true"] {
  background: #fff;
  border-color: #d8d1c2;
  color: var(--ink);
}
.why-text {
  margin: 0;
  padding: 9px 10px 10px;
  font-size: 11.6px;
  line-height: 1.58;
  color: #3b3428;
}
.mistake-list {
  display: grid;
  gap: 4px;
  margin: 9px 0 3px;
  padding: 0;
  list-style: none;
}
.mistake-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9.8px;
  color: #847b6b;
  min-width: 0;
}
.mistake-list s { color: var(--red-ink); text-decoration-thickness: 1.2px; white-space: nowrap; }
.mistake-list b { color: #146c44; font-weight: 500; white-space: nowrap; }
.tag {
  display: inline-block;
  margin-left: auto;
  padding: 1px 4px;
  border-radius: 3px;
  background: #f1ede4;
  color: #756c5c;
  font-family: var(--mono);
  font-size: 7.8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--good { background: #e8f5ed; color: #17633f; }
.fix-actions {
  display: flex;
  gap: 5px;
  padding: 9px 10px 7px;
  border-top: 1px solid #f1ece2;
}
.fix-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid #e5dfd2;
  border-radius: 7px;
  background: #fff;
  color: #2e291f;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.fix-actions button:hover { background: #f7f4ed; border-color: #d7d0c1; }
.fix-actions button:disabled { opacity: .55; cursor: default; }
.fix-actions .btn-apply {
  flex: 1;
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}
.fix-actions .btn-apply:hover { background: #3d37d2; }
.fix-actions .btn-apply[data-applied="true"] { background: var(--green); border-color: var(--green); }
.fix-actions kbd {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 8px;
}
.fix-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px 9px;
  font-family: var(--mono);
  font-size: 8.3px;
  color: #6f6759;
}
.demo-reopen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 9px 15px;
  border: 1px dashed rgba(244, 239, 227, .32);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}
.demo-reopen:hover { background: rgba(244, 239, 227, .08); }
.demo-caption {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 48px auto 0;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.65;
  letter-spacing: .01em;
  color: rgba(244, 239, 227, .56);
}
.demo-caption .live-dot { margin-right: 6px; }
.caption-note {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(244, 239, 227, .5);
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.step {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(21, 18, 13, .08);
}
.step--offset { margin-top: 22px; }
.step--offset-2 { margin-top: 44px; }
.step-num {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--red-ink);
}
.step-tag {
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.step h3 {
  margin: 24px 0 8px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -.025em;
}
.step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.step-visual { margin-top: auto; padding-top: 26px; }
.mini-field {
  position: relative;
  padding: 14px 14px 18px;
  border: 1px solid #e2dccf;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(21, 18, 13, .05);
  font-size: 12px;
  color: #4a4337;
}
.mini-field p { margin: 0; font-size: 12px; color: #4a4337; }
.mini-err {
  text-decoration: underline wavy var(--red);
  text-underline-offset: 3px;
  background: rgba(196, 69, 47, .07);
}
.mini-fab {
  position: absolute;
  right: 10px;
  bottom: -11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(46, 40, 180, .28);
}
.mini-modes { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-modes span {
  padding: 6px 11px;
  border: 1px solid #e2dccf;
  border-radius: 999px;
  background: #fff;
  font-size: 10.5px;
  color: #6b6354;
}
.mini-modes .is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.mini-why {
  position: relative;
  padding: 13px 14px 13px 16px;
  border: 1px solid #e2dccf;
  border-left: 2px solid var(--indigo);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(21, 18, 13, .05);
  transform: rotate(-1deg);
}
.mini-why p { margin: 0; font-size: 11.5px; line-height: 1.55; color: #453e32; }
.mini-lang {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--yellow-soft);
  color: #7a5a10;
  font-family: var(--mono);
  font-size: 8px;
}

/* ---------- why ---------- */
.why-section { border-block: 1px solid var(--line); }
.why-section .section-head h2 { max-width: 13ch; }
.why-section .section-head h2 em { color: var(--indigo-ink); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}
.pull-quote {
  max-width: 17ch;
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  font-weight: 540;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--ink);
}
.why-body { max-width: 50ch; margin: 0 0 26px; font-size: 15.5px; color: var(--muted); }
.why-list { margin: 0; display: grid; }
.why-list > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.why-list > div:last-child { border-bottom: 1px solid var(--line); }
.why-list dt { font-size: 12.5px; font-weight: 650; letter-spacing: -.005em; }
.why-list dd { margin: 0; font-size: 13px; color: var(--muted); }
.why-list code { background: rgba(21, 18, 13, .05); }
.honest-note {
  margin: 22px 0 0;
  max-width: 50ch;
  padding: 12px 14px;
  border-left: 2px solid var(--yellow);
  background: var(--yellow-soft);
  font-size: 11.5px;
  line-height: 1.6;
  color: #5c4a24;
}
.honest-note strong { font-weight: 650; color: #4b3a18; }
.redline-wrap { position: relative; padding: 16px 0 30px; }
.redline-sheet {
  position: relative;
  max-width: 530px;
  margin-inline: auto;
  padding: 28px 30px 22px;
  border: 1px solid #ded7c7;
  border-radius: 3px;
  background-color: #fcf8ee;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(21, 18, 13, .055) 31px 32px);
  box-shadow: 0 28px 55px rgba(21, 18, 13, .12), 0 2px 0 rgba(255, 255, 255, .8) inset;
  transform: rotate(-.7deg);
}
.redline-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 1px;
  background: rgba(196, 69, 47, .25);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(21, 18, 13, .14);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sheet-text {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 470;
  line-height: 1.55;
  letter-spacing: -.015em;
  color: #2a251c;
}
.redline {
  text-decoration: underline wavy var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  background: rgba(196, 69, 47, .07);
  padding: 0 1px;
}
.sheet-divider { height: 22px; }
.margin-note {
  position: relative;
  max-width: 79%;
  margin: 0 0 14px auto;
  padding: 10px 12px;
  border: 1px solid #dfd8c8;
  border-radius: 2px;
  background: #fffdf7;
  box-shadow: 0 8px 16px rgba(21, 18, 13, .08);
  transform: rotate(.8deg);
}
.margin-note::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 20px;
  width: 48px;
  height: 11px;
  background: rgba(240, 198, 74, .55);
  transform: rotate(-3deg);
}
.margin-note p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.55; color: #443d31; }
.margin-note b { color: var(--ink); }
.note-lang {
  display: inline-block;
  padding: 0 4px;
  border-radius: 2px;
  background: #f1ece1;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  color: #7a5a10;
}
.margin-note--de {
  max-width: 72%;
  margin: 0 auto 0 0;
  transform: rotate(-1.2deg);
}
.margin-note--de::before { left: auto; right: 18px; transform: rotate(2deg); }
.sheet-stamp {
  display: inline-block;
  margin-top: 8px;
  margin-left: 6px;
  padding: 3px 8px;
  border: 1.5px solid rgba(196, 69, 47, .7);
  border-radius: 2px;
  color: rgba(168, 54, 34, .8);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}
.sheet-foot {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  color: var(--muted-2);
}
.hand-note {
  position: absolute;
  right: 4%;
  bottom: -4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--red-ink);
  transform: rotate(-3deg);
}

/* ---------- practice lab ---------- */
.lab-section {
  overflow: clip;
  background-image:
    radial-gradient(50% 50% at 85% 0%, rgba(240, 198, 74, .1), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(255, 255, 255, .08), transparent 70%);
}
.lab-window {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: #fbf8f1;
  color: var(--ink);
  box-shadow: 0 55px 110px rgba(0, 0, 0, .38);
  overflow: hidden;
}
.lab-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 20px;
  background: #f2ede3;
  border-bottom: 1px solid #e3dccf;
}
.lab-brand { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.lab-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.lab-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(-2deg);
}
.lab-version { margin-left: 5px; font-family: var(--mono); font-size: 8px; font-weight: 400; color: var(--muted-2); }
.lab-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: #e6e0d3; }
.lab-tab { padding: 5px 9px; border-radius: 5px; font-size: 9.5px; font-weight: 600; color: #5f5748; }
.lab-tab.is-active { background: #fff; color: var(--indigo-ink); box-shadow: 0 1px 2px rgba(21, 18, 13, .08); }
.lab-grid { display: grid; grid-template-columns: 352px minmax(0, 1fr); min-height: 424px; }
.lab-clusters { padding: 22px 20px; background: #f9f5ec; border-right: 1px solid #e8e1d4; }
.lab-kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cluster-list { display: grid; gap: 7px; }
.cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  width: 100%;
  padding: 10px 11px 9px;
  border: 1px solid #e6dfd2;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.cluster:hover { border-color: #cfc7b7; background: #fdfbf6; }
.cluster.is-active { border-color: #a9a2f7; box-shadow: 0 0 0 2px rgba(75, 69, 232, .13); background: #fff; }
.cluster-name { font-size: 12px; font-weight: 650; letter-spacing: -.01em; color: #302b22; }
.cluster-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fbe9e5;
  color: #983122;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  text-align: center;
}
.cluster-example {
  grid-column: 1 / -1;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #6f6759;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pips { grid-column: 1 / -1; display: flex; gap: 3px; margin-top: 3px; }
.pips i { flex: 1; height: 3px; border-radius: 2px; background: #ede8dd; }
.pips i.on { background: var(--indigo); }
.lab-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 8.3px;
  color: #6b6354;
}
.lab-quiz { display: flex; flex-direction: column; padding: 24px 28px 20px; min-width: 0; }
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6f6759;
}
.quiz-category { color: var(--indigo-ink); font-weight: 500; }
.quiz-question {
  min-height: 96px;
  margin: 24px 0 20px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.25vw, 2.05rem);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: #29241b;
}
.blank { padding: 0 10px; border-bottom: 2px solid var(--indigo); color: var(--indigo); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.quiz-options button {
  padding: 9px 11px;
  border: 1px solid #ded7c9;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #3a342a;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.quiz-options button:hover:not(:disabled) { border-color: #a9a2f7; background: #f6f4ff; }
.quiz-options button:disabled { cursor: default; }
.quiz-options button.is-correct { border-color: var(--green-bright); background: #e9f8ef; color: #0e5b36; font-weight: 650; }
.quiz-options button.is-wrong { border-color: #d05843; background: #fdedea; color: #8e2e20; }
.quiz-hint { margin: 12px 0 0; font-family: var(--mono); font-size: 8.5px; color: #6f6759; }
.quiz-feedback {
  margin-top: 13px;
  padding: 0 0 0 11px;
  border-left: 2px solid var(--green-bright);
  font-size: 12.5px;
  line-height: 1.58;
  color: #4a4337;
}
.quiz-feedback.is-wrong { border-left-color: var(--red); }
.quiz-feedback strong { color: var(--ink); }
.quiz-feedback:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.mastery-note { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8px; color: var(--indigo-ink); }
.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e0d9cb;
}
.quiz-foot-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .04em; color: #6f6759; }
.btn-quiz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.btn-quiz:hover { background: #3d37d2; }
.btn-quiz .icon { width: 12px; height: 12px; }
.lab-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .01em;
  color: rgba(244, 239, 227, .55);
}
.lab-foot b { font-weight: 500; color: var(--paper); }

/* ---------- engines ---------- */
.engine-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  overflow: hidden;
}
.engine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px;
  background: #efe9dd;
  border-bottom: 1px solid var(--line);
}
.engine-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  color: #6f6758;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.engine-tabs button:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }
.engine-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.engine-tabs button span {
  padding: 1px 4px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .5;
}
.engine-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(26px, 4vw, 54px);
  padding: clamp(26px, 3.6vw, 40px);
}
.engine-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); flex: 0 0 auto; }
.status-dot--green { background: var(--green-bright); }
.status-dot--amber { background: #d7a527; }
.status-dot--red { background: var(--red); }
.engine-copy h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.engine-copy > p { max-width: 55ch; margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.engine-facts { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.engine-facts li { display: flex; gap: 8px; font-size: 12.5px; color: #443d31; }
.engine-facts li::before { content: "✓"; color: var(--green); font-weight: 700; font-size: 11px; }
.engine-limit {
  margin-top: 20px;
  padding: 11px 13px;
  border-left: 2px solid var(--yellow);
  background: #f7efd6;
  font-size: 11px;
  line-height: 1.6;
  color: #5c4a24;
}
.engine-limit strong { font-weight: 650; }
.engine-aside {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.route-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
}
.route-node {
  padding: 6px 7px;
  border: 1px solid #ded7c9;
  border-radius: 5px;
  background: #faf7ef;
  color: #50493c;
  white-space: nowrap;
}
.route-node.is-engine { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.route-arrow { color: #b1a896; font-size: 11px; }
.endpoint-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 9px;
  border: 1px solid #e2dbcd;
  border-radius: 7px;
  background: #f4f0e6;
  font-family: var(--mono);
  font-size: 9px;
  color: #4a4337;
  overflow-wrap: anywhere;
}
.endpoint-code > span:first-child { flex: 1; min-width: 0; }
.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #ded7c9;
  border-radius: 5px;
  background: #fff;
  color: #5f5748;
  cursor: pointer;
}
.copy-btn:hover { color: var(--ink); border-color: #c8c0b1; }
.endpoint-tag { font-size: 8px; color: #186a44; white-space: nowrap; }
.route-blocked {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed #ded7c9;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #7d7464;
}
.route-blocked s { color: var(--red-ink); text-decoration-thickness: 1.3px; }
.providers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.providers-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.provider-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.provider-pills span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  font-family: var(--mono);
  font-size: 9px;
  color: #5e574a;
}

/* ---------- privacy ---------- */
.privacy-section {
  background-image:
    radial-gradient(45% 40% at 12% 20%, rgba(75, 69, 232, .16), transparent 70%),
    radial-gradient(35% 35% at 92% 80%, rgba(196, 69, 47, .08), transparent 70%);
}
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 18px;
  align-items: start;
}
.mask-card {
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  background: #1c1810;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.mask-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.mask-title { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 239, 227, .6); }
.mask-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(53, 163, 107, .28);
  border-radius: 999px;
  background: rgba(53, 163, 107, .09);
  font-family: var(--mono);
  font-size: 8px;
  color: #8ad7ad;
  white-space: nowrap;
}
.mask-text {
  min-height: 132px;
  padding: 15px;
  border: 1px solid rgba(244, 239, 227, .1);
  border-radius: 9px;
  background: #0f0d08;
  font-size: 12.2px;
  line-height: 1.8;
  color: #ddd4c4;
}
.mask-view { margin: 0; }
.mask-token {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid rgba(240, 198, 74, .28);
  border-radius: 3px;
  background: rgba(240, 198, 74, .12);
  color: #f0c64a;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}
.raw-token {
  padding: 0 2px;
  border-bottom: 1px dashed var(--red);
  background: rgba(196, 69, 47, .14);
  color: #ff9c8d;
  font-family: inherit;
}
.mask-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(244, 239, 227, .16);
  border-radius: 999px;
  background: rgba(244, 239, 227, .04);
  color: rgba(244, 239, 227, .8);
  font-family: var(--mono);
  font-size: 8.5px;
  cursor: pointer;
  transition: background .16s, border-color .16s;
}
.switch:hover { background: rgba(244, 239, 227, .08); }
.switch-track {
  position: relative;
  width: 26px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(244, 239, 227, .2);
  transition: background .2s;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .2s var(--ease);
}
.switch.is-on { border-color: rgba(53, 163, 107, .4); background: rgba(53, 163, 107, .1); }
.switch.is-on .switch-track { background: var(--green-bright); }
.switch.is-on .switch-track::after { transform: translateX(11px); }
.switch:disabled { opacity: .45; cursor: not-allowed; }
.endpoint-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.endpoint-chip {
  padding: 4px 7px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}
.endpoint-chip--local { background: rgba(53, 163, 107, .14); color: #8ad7ad; border: 1px solid rgba(53, 163, 107, .25); }
.endpoint-chip--cloud { background: rgba(240, 198, 74, .1); color: #e8cb80; border: 1px solid rgba(240, 198, 74, .2); }
.endpoint-chip.is-blocked { opacity: .7; text-decoration: line-through; }
.mask-note { min-height: 56px; margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: rgba(244, 239, 227, .54); }
.privacy-promises { display: grid; gap: 10px; }
.promise {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  padding: 17px;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  background: rgba(244, 239, 227, .03);
}
.promise-num { font-family: var(--mono); font-size: 9px; color: var(--yellow); padding-top: 2px; }
.promise h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.promise p { margin: 0; font-size: 11.8px; line-height: 1.6; color: rgba(244, 239, 227, .6); }
.promise code { background: rgba(244, 239, 227, .08); border-color: rgba(244, 239, 227, .1); }
.crumb-demo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(244, 239, 227, .1);
  border-radius: 5px;
  background: #0f0d08;
  font-family: var(--mono);
  font-size: 8.5px;
  color: rgba(244, 239, 227, .64);
}
.crumb-demo s { color: #ff9c8d; text-decoration-thickness: 1.2px; }
.crumb-demo b { color: #8ad7ad; font-weight: 500; }
.crumb-demo .tag { margin-left: 0; background: rgba(244, 239, 227, .08); color: rgba(244, 239, 227, .68); }
.crumb-demo .tag--good { background: rgba(53, 163, 107, .14); color: #8ad7ad; }
.privacy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  padding-top: 17px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .02em;
  color: rgba(244, 239, 227, .55);
}
.privacy-foot .text-link { font-family: var(--sans); font-size: 12px; }

/* ---------- coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.coverage-card {
  padding: 21px;
  border: 1px solid rgba(21, 18, 13, .12);
  border-radius: 13px;
}
.coverage-card--good { background: #eef6eb; }
.coverage-card--copy { background: #f7efd4; }
.coverage-card--no { background: #f8e9e4; }
.coverage-card h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 13px; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.coverage-card p { margin: 0; font-size: 12px; line-height: 1.6; color: #5e5648; }
.site-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.site-pills span {
  padding: 3px 7px;
  border: 1px solid rgba(21, 18, 13, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-family: var(--mono);
  font-size: 8px;
  color: #4f483b;
}
.coverage-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.coverage-arrow { font-family: var(--display); font-size: 28px; line-height: .9; color: var(--red-ink); }
.coverage-note p { max-width: 70ch; margin: 0; font-size: 12.5px; color: var(--muted); }
.coverage-note strong { color: var(--ink); }

/* ---------- pricing ---------- */
.pricing-section { border-block: 1px solid rgba(21, 18, 13, .12); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 16px; }
.price-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(21, 18, 13, .16);
  border-radius: 17px;
  background: var(--paper-2);
  overflow: hidden;
}
.price-card--pro { border-style: dashed; background: rgba(250, 246, 236, .55); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-head > span:first-child { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-badge--ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.price {
  margin: 20px 0 4px;
  font-family: var(--display);
  font-size: clamp(4.1rem, 6.8vw, 6rem);
  font-weight: 560;
  line-height: .92;
  letter-spacing: -.05em;
}
.price small { margin-left: 6px; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .02em; color: var(--muted); }
.price-lede { max-width: 44ch; margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.price-list { display: grid; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.price-list li { display: flex; gap: 8px; font-size: 12px; line-height: 1.5; color: #40392d; }
.price-list li::before { content: "✓"; flex: 0 0 auto; color: var(--green); font-weight: 700; font-size: 11px; }
.price-list b { font-weight: 650; }
.price-card .btn { width: 100%; margin-top: 2px; font-size: 12.5px; min-height: 44px; }
.price-fine { margin: 12px 0 0; font-family: var(--mono); font-size: 8px; line-height: 1.55; color: var(--muted-2); }
.pro-gate { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; padding-top: 13px; border-top: 1px dashed var(--line-strong); font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.pro-gate span { padding: 1px 4px; border: 1px solid var(--line-strong); border-radius: 3px; font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.stamp {
  position: absolute;
  top: 80px;
  right: 22px;
  padding: 4px 8px;
  border: 1.5px solid rgba(196, 69, 47, .65);
  border-radius: 2px;
  color: #963a28;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

/* ---------- install ---------- */
.install-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  border-radius: 19px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(21, 18, 13, .16);
}
.install-main { padding: clamp(26px, 4vw, 44px); }
.install-kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 239, 227, .6); }
.install-steps { counter-reset: install; display: grid; gap: 15px; margin: 0 0 22px; padding: 0; list-style: none; }
.install-steps li {
  counter-increment: install;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 239, 227, .78);
}
.install-steps li::before {
  content: counter(install, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(244, 239, 227, .22);
  border-radius: 50%;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
}
.install-steps code { background: rgba(244, 239, 227, .08); border-color: rgba(244, 239, 227, .1); color: #f0c64a; }
.install-steps b { color: var(--paper); font-weight: 600; }
.install-note { display: flex; align-items: flex-start; gap: 7px; margin: 0; padding-top: 16px; border-top: 1px solid rgba(244, 239, 227, .12); font-size: 10.5px; line-height: 1.55; color: rgba(244, 239, 227, .6); }
.install-note .icon { color: #7ecfa2; margin-top: 1px; }
.install-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--indigo);
}
.install-icon { border-radius: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); margin-bottom: 4px; }
.install-version { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.install-side .btn { width: 100%; margin: 5px 0 2px; font-size: 12px; min-height: 42px; }
.install-meta { margin: 0; font-family: var(--mono); font-size: 8px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.shortcuts { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(244, 239, 227, .2); width: 100%; }
.shortcuts span { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 7.5px; color: rgba(255, 255, 255, .84); }
.shortcuts kbd { border-color: rgba(244, 239, 227, .28); background: rgba(244, 239, 227, .1); color: var(--paper); font-size: 7px; padding: 0 3px; }

/* ---------- faq ---------- */
.faq-section { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 550;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  transition: color .15s;
}
.faq-list summary:hover { color: var(--indigo-ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 450;
  line-height: .8;
  color: var(--muted-2);
  transition: transform .2s var(--ease), color .2s;
}
.faq-list details[open] summary::after { content: "+"; transform: rotate(45deg); color: var(--red-ink); }
.faq-body { max-width: 78ch; padding: 0 44px 20px 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.faq-body p { margin: 0; }
.faq-body p + p { margin-top: 10px; }
.faq-body a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { position: relative; padding: 70px 0 24px; background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand-word { font-size: 17px; }
.footer-brand p {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.footer-brand em { color: var(--yellow); font-style: normal; font-weight: 640; }
.footer-note { font-family: var(--mono); font-size: 8.5px; letter-spacing: .03em; color: rgba(244, 239, 227, .55); }
.footer-heading { margin: 6px 0 14px; font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 227, .55); }
.footer a { display: block; width: fit-content; margin-bottom: 8px; font-size: 12px; color: rgba(244, 239, 227, .68); text-decoration: none; transition: color .15s; }
.footer .brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--paper); }
.footer .brand .brand-word { font-size: 17px; }
.footer a:hover { color: var(--paper); }
.footer .back-top { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: rgba(244, 239, 227, .58); font-family: var(--mono); font-size: 8px; }
.footer .back-top .icon { width: 11px; height: 11px; }
.footer-dead { display: block; margin-bottom: 8px; font-size: 12px; color: rgba(244, 239, 227, .55); }
.footer-dead span { margin-left: 4px; padding: 1px 4px; border: 1px solid rgba(244, 239, 227, .16); border-radius: 3px; font-family: var(--mono); font-size: 6.5px; letter-spacing: .06em; text-transform: uppercase; }
.footer-wordmark {
  margin: 34px 0 12px;
  font-family: var(--display);
  font-size: clamp(3.6rem, 12.5vw, 9.5rem);
  font-weight: 580;
  line-height: .72;
  letter-spacing: -.055em;
  color: rgba(244, 239, 227, .1);
  user-select: none;
  pointer-events: none;
}
.footer-wordmark span { color: rgba(196, 69, 47, .55); }
.footer-wordmark .fw-clara { color: inherit; font-weight: 700; margin-left: -.06em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 239, 227, .1);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .02em;
  color: rgba(244, 239, 227, .55);
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .8s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.redline-wrap[data-reveal] .redline-sheet { transition: transform .8s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-note { display: none; }
  .site-nav { gap: 18px; }
}
@media (max-width: 1020px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; }
  .steps { gap: 12px; }
  .step { padding: 20px; min-height: 330px; }
  .step h3 { font-size: 27px; }
  .why-grid { gap: 44px; }
  .lab-grid { grid-template-columns: 318px minmax(0, 1fr); }
  .coverage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .site-nav { gap: 15px; }
  .site-nav > a:not(.nav-cta) { font-size: 11.5px; }
  .hero { padding-top: 140px; }
  .hero-sub { max-width: 590px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; }
  .step--offset, .step--offset-2 { margin-top: 0; }
  .step-visual { margin-top: 20px; padding-top: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .pull-quote { max-width: 22ch; }
  .redline-wrap { max-width: 620px; margin-inline: auto; width: 100%; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-clusters { border-right: 0; border-bottom: 1px solid #e8e1d4; }
  .cluster-list { grid-template-columns: 1fr 1fr; }
  .engine-panel { grid-template-columns: 1fr; gap: 26px; }
  .engine-aside { max-width: 520px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-promises { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .install-card { grid-template-columns: 1fr; }
  .install-side { align-items: center; text-align: center; }
  .install-side .btn { max-width: 320px; }
  .shortcuts { justify-content: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
  .fix-card { position: static; width: min(100%, 560px); max-width: 100%; margin: 20px auto 0; }
  .fix-card.is-hidden { display: none; }
  .hero-stage { padding-bottom: 0; }
  .demo-reopen { display: flex; margin-inline: auto; }
  .hero-stage > .demo-caption { text-align: left; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 68px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line-light);
    border-radius: 14px;
    background: #1b1710;
    color: var(--paper);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 11px 12px; font-size: 13px; opacity: .8; border-radius: 7px; }
  .site-nav > a:not(.nav-cta):hover { background: rgba(244, 239, 227, .06); opacity: 1; }
  .nav-cta { justify-content: center; margin-top: 5px; background: var(--paper); color: var(--ink); }
  .site-header.is-scrolled .nav-cta { background: var(--paper); color: var(--ink); }
  .hero { padding-top: 118px; }
  .hero-eyebrow { gap: 9px; margin-bottom: 26px; font-size: 8.5px; }
  .hero-eyebrow span:last-child { display: none; }
  .eyebrow-dot { display: none; }
  .pen-stroke { stroke-width: 3; }
  .hero-sub { margin-top: 26px; font-size: 15.5px; }
  .hero-actions { gap: 8px; margin-top: 26px; }
  .hero-actions .btn { min-height: 46px; padding: 10px 18px; font-size: 13px; }
  .hero-micro { gap: 7px 16px; font-size: 8.5px; }
  .hero-stage { margin-top: 44px; }
  .demo-toolbar { gap: 8px; padding: 0 11px; height: 40px; }
  .demo-url { width: auto; flex: 1; font-size: 8.5px; }
  .demo-on { font-size: 8px; }
  .traffic { display: none; }
  .demo-app { grid-template-columns: 1fr; min-height: 0; }
  .demo-rail { display: none; }
  .demo-compose { padding: 18px 16px 16px; }
  .mail-body { max-width: none; font-size: 14px; padding: 18px 0 12px; }
  .compose-foot { max-width: none; }
  .mail-field { max-width: none; }
  .fix-card { font-size: 12px; }
  .lang-chips button { min-width: 26px; min-height: 26px; padding: 3px 4px; }
  .fix-foot .link-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 28px; padding: 4px 5px; }
  .fix-body { max-height: none; overflow: visible; }
  .demo-caption { margin-top: 22px; font-size: 8.5px; }
  .caption-note { font-size: 10.5px; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(2.35rem, 9.5vw, 3.4rem); }
  .lede { font-size: 14.5px; }
  .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .section-foot { margin-top: 34px; font-size: 9.5px; }
  .step h3 { font-size: 25px; }
  .why-section .section-head h2 { max-width: none; }
  .pull-quote { font-size: 2rem; }
  .why-list > div { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .redline-sheet { padding: 22px 20px 18px; transform: none; }
  .margin-note { max-width: 92%; }
  .margin-note--de { max-width: 88%; }
  .hand-note { display: none; }
  .lab-chrome { padding: 9px 13px; }
  .lab-tabs { display: none; }
  .lab-clusters { padding: 16px; }
  .cluster-list { grid-template-columns: 1fr 1fr; }
  .lab-quiz { padding: 18px 16px 16px; }
  .quiz-question { min-height: 0; margin: 18px 0 15px; font-size: 1.55rem; }
  .quiz-options { grid-template-columns: 1fr 1fr; }
  .quiz-foot { gap: 8px; }
  .lab-foot { font-size: 8px; gap: 8px 16px; }
  .engine-tabs { padding: 9px; gap: 3px; }
  .engine-tabs button { padding: 7px 9px; font-size: 10px; }
  .engine-tabs button span { display: none; }
  .engine-panel { padding: 20px 16px 22px; }
  .engine-copy > p { font-size: 12.5px; }
  .engine-facts li { font-size: 11.5px; }
  .engine-aside { padding: 13px; }
  .providers { gap: 8px; }
  .providers-label { width: 100%; }
  .privacy-foot { align-items: flex-start; flex-direction: column; }
  .mask-card { padding: 13px; }
  .mask-text { font-size: 11.5px; min-height: 0; }
  .promise { padding: 14px; }
  .coverage-note { gap: 8px; }
  .price-card { padding: 22px; }
  .stamp { top: 74px; right: 18px; }
  .install-main { padding: 22px 18px; }
  .install-side { padding: 24px 18px; }
  .install-steps li { font-size: 12.5px; }
  .faq-list summary { padding: 17px 0; font-size: 14.5px; gap: 16px; }
  .faq-body { padding-right: 10px; font-size: 12.5px; }
  .footer { padding-top: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-wordmark { margin-top: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-micro { flex-direction: column; gap: 5px; }
  .hero-micro span { justify-content: center; }
  .demo-on { display: none; }
  .demo-url { width: 100%; }
  .compose-title { font-size: 12.5px; }
  .draft-pill { font-size: 7px; }
  .mail-field { font-size: 11px; }
  .fix-card-head { gap: 5px; }
  .engine-pill { font-size: 7px; padding: 2px 5px; }
  .mode-tabs button { font-size: 9.5px; }
  .lang-chips button { padding: 3px 4px; font-size: 8px; }
  .fix-actions button { font-size: 9px; padding: 6px 6px; }
  .fix-actions .btn-apply { flex: 1.2; }
  .fix-foot { font-size: 7.5px; }
  .cluster-list { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-question { font-size: 1.42rem; }
  .quiz-top { font-size: 7.5px; }
  .quiz-foot { flex-direction: column; align-items: flex-start; }
  .lab-foot { flex-direction: column; gap: 4px; }
  .why-list > div { grid-template-columns: 1fr; gap: 4px; }
  .margin-note { max-width: 100%; }
  .margin-note--de { max-width: 96%; }
  .sheet-text { font-size: 1.2rem; }
  .redline-sheet { padding: 18px 16px 16px; }
  .sheet-top { font-size: 7px; }
  .mask-controls { flex-direction: column; align-items: flex-start; }
  .price { font-size: 4.2rem; }
  .stamp { position: static; display: inline-block; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-wordmark { font-size: clamp(3.2rem, 13vw, 4.6rem); }
  .section-head h2 { font-size: clamp(2.15rem, 9.5vw, 2.8rem); }
  .install-steps li { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
  .install-steps li::before { width: 22px; height: 22px; font-size: 7px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .pen-stroke path { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .step:hover, .btn:hover { transform: none; }
}

/* ---------- legal page ---------- */
.legal-hero {
  padding: 158px 0 62px;
  background: var(--ink);
  color: var(--paper);
  background-image: radial-gradient(50% 50% at 20% 0%, rgba(75, 69, 232, .22), transparent 70%);
}
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.6vw, 5rem);
  font-weight: 590;
  line-height: .95;
  letter-spacing: -.04em;
}
.legal-meta { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 239, 227, .45); }
.legal-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 239, 227, .55); text-decoration: none; }
.legal-back:hover { color: var(--paper); }
.legal-main { padding: clamp(50px, 7vw, 86px) 0; background: var(--paper); }
.legal-content { max-width: 750px; margin-inline: auto; }
.legal-content > p,
.legal-content li { font-size: 15px; line-height: 1.75; color: #3f382c; }
.legal-content h2 {
  margin: 46px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -.025em;
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content ul { padding-left: 20px; display: grid; gap: 10px; }
.legal-content li { padding-left: 2px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal-content code { background: rgba(21, 18, 13, .06); }
.legal-note {
  margin: 30px 0;
  padding: 15px 17px;
  border-left: 2px solid var(--yellow);
  background: var(--yellow-soft);
  font-size: 13px;
  line-height: 1.65;
  color: #5c4a24;
}
.legal-content .legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0 0 28px;
  list-style: none;
}
.legal-content .legal-toc li { padding-left: 0; font-size: 0; }
.legal-content .legal-toc a {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  text-decoration: none;
}
.legal-toc a:hover { color: var(--ink); border-color: var(--line-strong); }
@media (max-width: 760px) {
  .legal-hero { padding: 116px 0 44px; }
  .legal-content h2 { font-size: 24px; }
  .legal-content > p, .legal-content li { font-size: 14px; }
}

/* ---------- open-arch hero line ---------- */
.hero-ribbon {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 0;
  width: 100%;
  pointer-events: none;
  opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ribbon-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ribbon-art path,
.ribbon-art use {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ribbon-base {
  stroke: rgba(196, 69, 47, .30);
  stroke-width: 1;
}
.ribbon-text {
  fill: rgba(244, 239, 227, .38);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 520;
  letter-spacing: .035em;
  text-rendering: geometricPrecision;
}
.ribbon-text textPath { letter-spacing: .035em; }
@media (max-width: 1080px) {
  .hero-ribbon { display: none; }
}

/* ---------- ribbon tuner (only with ?tune=1) ---------- */
.ribbon-tuner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  width: min(330px, calc(100vw - 32px));
  max-height: min(76vh, 650px);
  overflow: auto;
  border: 1px solid rgba(21, 18, 13, .22);
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.35;
}
.ribbon-tuner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
}
.ribbon-tuner__title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.ribbon-tuner__head button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.ribbon-tuner__section {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.ribbon-tuner__section h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ribbon-tuner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}
.ribbon-tuner label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .02em;
}
.ribbon-tuner label[data-wide] { grid-column: 1 / -1; }
.ribbon-tuner select,
.ribbon-tuner input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}
.ribbon-tuner select {
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
}
.ribbon-tuner output {
  float: right;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}
.ribbon-tuner__actions {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
}
.ribbon-tuner__actions button {
  flex: 1;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.ribbon-tuner__actions button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.ribbon-tuner__actions button:hover { filter: brightness(.97); }
.ribbon-tuner__out {
  display: block;
  width: calc(100% - 24px);
  height: 86px;
  margin: 0 12px 10px;
  padding: 7px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}
.ribbon-tuner__hint {
  margin: 0 12px 10px;
  color: var(--muted);
  font-size: 9px;
}
@media (max-width: 600px) {
  .ribbon-tuner { right: 8px; bottom: 8px; width: calc(100vw - 16px); max-height: 62vh; }
}

/* ---------- blurred glass behind the headline ---------- */
.hero-title-glass {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 28px 22px;
  border: 1px solid rgba(244, 239, 227, .075);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(21, 18, 13, .16), rgba(21, 18, 13, .32));
  -webkit-backdrop-filter: blur(9px) saturate(115%);
  backdrop-filter: blur(9px) saturate(115%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .16);
}
@media (max-width: 1080px) {
  .hero-title-glass { padding: 12px 18px 16px; border-radius: 22px; }
}
@media (max-width: 600px) {
  .hero-title-glass { padding: 8px 10px 12px; border-radius: 18px; }
  .hero-title-glass { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* ==========================================================================
   Reading scale — Resend-inspired
   The display headline stays as-is. Everything below it moves up one step:
   base 16–18px, body 15–18px, labels 11–12px, buttons 15px.
   ========================================================================== */
:root {
  --fs-2xs: .8125rem;  /* 13px */
  --fs-xs: .875rem;     /* 14px */
  --fs-sm: 1rem;        /* 16px */
  --fs-base: 1.125rem;  /* 18px */
  --fs-lg: 1.25rem;     /* 20px */
  --fs-xl: 1.375rem;    /* 22px */
}

body { font-size: var(--fs-lg); }

/* Global chrome */
.site-nav > a:not(.nav-cta) { font-size: var(--fs-sm); }
.nav-cta { font-size: var(--fs-sm); }
.btn { font-size: var(--fs-sm); }
.text-link { font-size: var(--fs-sm); }
.eyebrow { font-size: var(--fs-xs); letter-spacing: .13em; }
.section-foot { font-size: var(--fs-sm); }
.lede { font-size: var(--fs-lg); line-height: 1.6; }
.hero-eyebrow { font-size: var(--fs-xs); }
.hero-note { font-size: var(--fs-2xs); }
.hero-sub { font-size: clamp(20px, 1.45vw, 22px); }
.hero-micro { font-size: var(--fs-xs); }
.hero-actions .btn { font-size: var(--fs-sm); }

/* Section copy */
.why-body { font-size: 19px; }
.why-list dt { font-size: 17px; }
.why-list dd { font-size: 18px; }
.honest-note { font-size: 16px; }
.margin-note p { font-size: 15.5px; }
.engine-tabs button { font-size: var(--fs-sm); }
.engine-tabs button span { font-size: 10px; }
.engine-status { font-size: 13px; }
.engine-copy > p { font-size: var(--fs-base); }
.engine-facts li { font-size: 16.5px; }
.engine-limit { font-size: 15.5px; }
.coverage-card h3 { font-size: 19px; }
.coverage-card p { font-size: 17px; }
.site-pills span { font-size: var(--fs-2xs); }
.coverage-note p { font-size: 17px; }

/* Pricing */
.price-head > span:first-child { font-size: 13.5px; }
.price-badge { font-size: 12px; }
.price small { font-size: var(--fs-xs); }
.price-lede { font-size: var(--fs-base); line-height: 1.6; }
.price-list { gap: 11px; }
.price-list li { font-size: 17px; line-height: 1.55; }
.price-list li::before { font-size: 15px; }
.price-card .btn { font-size: var(--fs-sm); min-height: 48px; }
.price-fine { font-size: var(--fs-xs); line-height: 1.5; }
.pro-gate { font-size: 15px; }
.pro-gate span { font-size: 10px; }
.stamp { font-size: 11px; }

/* Install */
.install-kicker { font-size: var(--fs-2xs); }
.install-steps li { font-size: 17px; }
.install-note { font-size: 14.5px; }
.install-version { font-size: var(--fs-2xs); }
.install-side .btn { font-size: var(--fs-sm); min-height: 46px; }
.install-meta { font-size: 12.5px; }
.shortcuts span { font-size: 11.5px; }
.shortcuts kbd { font-size: 11px; }

/* FAQ */
.faq-list summary { font-size: clamp(19px, 1.5vw, 22px); }
.faq-body { font-size: var(--fs-base); }
.faq-body p + p { margin-top: 12px; }

/* Footer */
.footer-note { font-size: var(--fs-2xs); }
.footer-heading { font-size: 12px; }
.footer a { font-size: var(--fs-sm); }
.footer .back-top { font-size: var(--fs-2xs); }
.footer-dead { font-size: 15px; }
.footer-dead span { font-size: 10px; }
.footer-bottom { font-size: 12.5px; }

/* Legal */
.legal-meta { font-size: var(--fs-2xs); }
.legal-back { font-size: var(--fs-2xs); }
.legal-content > p,
.legal-content li { font-size: 19px; }
.legal-note { font-size: 17px; }
.legal-content .legal-toc { font-size: 13px; }

/* Product demo: keep the miniature UI readable without breaking its layout. */
.demo-caption { font-size: 15px; }
.caption-note { font-size: 13.5px; }
.demo-url { font-size: 13px; }
.demo-on { font-size: 12px; }
.compose-title { font-size: 17px; }
.mail-field { font-size: 15px; }
.mail-body { font-size: 18px; }
.fix-card, .fix-card-head b { font-size: 15px; }
.corrected { font-size: 16px; }
.why-text { font-size: 16px; }
.mistake-list li { font-size: 14px; }
.fix-actions button { font-size: 14px; }
.fix-foot { font-size: 12px; }
.step p { font-size: 17px; }
.mini-field, .mini-field p { font-size: 15px; }
.mini-why p { font-size: 15px; }

@media (max-width: 700px) {
  body { font-size: 19px; }
  .hero-eyebrow { font-size: 12.5px; }
  .hero-sub { font-size: 19px; }
  .hero-micro { font-size: 13px; }
  .lede { font-size: 19px; }
  .price-lede { font-size: 18px; }
  .price-list li { font-size: 17px; }
  .faq-list summary { font-size: 19px; }
  .faq-body { font-size: 17px; }
  .legal-content > p,
  .legal-content li { font-size: 18px; }
  .install-steps li { font-size: 16.5px; }
  .footer a { font-size: 16px; }
}

@media (max-width: 900px) {
  /* The rotated "not for sale" stamp collides with the larger pro-card header. */
  .price-card--pro .stamp { display: none; }
}

/* ==========================================================================
   Spacing rhythm after the larger type
   ========================================================================== */
.site-nav { gap: 30px; }
.hero-sub { margin-top: 38px; }
.hero-actions { gap: 13px; margin-top: 36px; }
.hero-micro { gap: 11px 28px; margin-top: 24px; }
.section-head { margin-bottom: clamp(48px, 5vw, 76px); }
.lede { margin-bottom: 8px; }

/* Pricing: equal columns, calmer vertical rhythm, same-height cards. */
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 40px);
}
.price-head { gap: 16px; }
.price { margin: 24px 0 8px; }
.price-lede { margin-top: 12px; }
.price-list { gap: 14px; margin: 24px 0 28px; }
.price-card .btn { margin-top: 0; min-height: 50px; }
.price-fine { margin-top: 16px; line-height: 1.6; }
.pro-gate { margin-top: auto; padding-top: 16px; }
.price-card--pro .price-fine { margin-bottom: 20px; } /* no fine print currently, keeps rhythm if added */

/* Coverage cards */
.coverage-grid { gap: 18px; }
.coverage-card { padding: 26px; }
.coverage-card h3 { margin-bottom: 16px; }
.site-pills { gap: 7px; margin-bottom: 16px; }

/* Engine panel */
.engine-panel { gap: clamp(30px, 4vw, 58px); padding: clamp(30px, 4vw, 44px); }
.engine-facts { gap: 10px; margin-top: 20px; }
.engine-limit { margin-top: 24px; padding: 13px 15px; line-height: 1.65; }
.engine-aside { align-self: center; padding: 22px; }

/* Install */
.install-steps { gap: 18px; margin-bottom: 26px; }
.install-note { padding-top: 18px; }
.install-side { gap: 12px; }

/* FAQ */
.faq-list summary { padding: 22px 0; }
.faq-body { padding-bottom: 24px; }

/* Footer */
.footer-grid { gap: 42px; }
.footer-heading { margin: 8px 0 16px; }
.footer a { margin-bottom: 10px; }

@media (max-width: 700px) {
  .hero-sub { margin-top: 28px; }
  .hero-actions { margin-top: 28px; gap: 10px; }
  .section-head { margin-bottom: 38px; }
  .pricing-grid { gap: 20px; }
  .price-card { padding: 26px; }
  .price { margin-top: 20px; }
  .price-list { gap: 13px; margin: 22px 0; }
  .coverage-grid { gap: 14px; }
  .coverage-card { padding: 22px; }
  .install-steps { gap: 16px; }
  .install-side { gap: 10px; }
  .footer-grid { gap: 32px 22px; }
}

@media (max-width: 940px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .site-nav > a:not(.nav-cta) { font-size: 14px; }
  .nav-cta { font-size: 14px; }
}

/* Avoid flex text-node gaps inside pricing bullets; keep the check aligned. */
.price-head { flex-wrap: wrap; }
.price-head > span:first-child { flex: 1; min-width: 0; }
.price-badge { margin-left: auto; }
.price-list li { position: relative; display: block; padding-left: 24px; }
.price-list li::before { position: absolute; left: 0; top: .08em; }

/* ==========================================================================
   Privacy section: the mockup and promise cards need the same reading scale
   ========================================================================== */
.privacy-grid { gap: 24px; }
.mask-card { padding: 28px; }
.mask-head { flex-wrap: wrap; gap: 12px 18px; margin-bottom: 18px; }
.mask-title { font-size: var(--fs-xs); letter-spacing: .08em; }
.mask-status { font-size: 11px; padding: 4px 9px; }
.mask-text {
  min-height: 142px;
  padding: 20px;
  font-size: 17px;
  line-height: 1.7;
}
.mask-token { font-size: 12.5px; line-height: 1.55; padding: 1px 5px; }
.mask-controls { gap: 10px; margin-top: 18px; }
.switch { gap: 10px; padding: 9px 12px; font-size: 12px; }
.switch-track { width: 30px; height: 17px; }
.switch-track::after { top: 2px; left: 2px; width: 13px; height: 13px; }
.switch.is-on .switch-track::after { transform: translateX(13px); }
.endpoint-row { gap: 8px; margin-top: 16px; }
.endpoint-chip { padding: 5px 9px; font-size: 10.5px; }
.mask-note { min-height: 72px; margin-top: 16px; font-size: 15px; line-height: 1.65; color: rgba(244, 239, 227, .66); }

.privacy-promises { gap: 14px; }
.promise { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 22px; }
.promise-num { font-size: 11.5px; padding-top: 3px; }
.promise h3 { margin-bottom: 7px; font-size: 19px; }
.promise p { font-size: 15px; line-height: 1.65; color: rgba(244, 239, 227, .7); }
.crumb-demo { gap: 7px; margin-top: 14px; padding: 8px 10px; font-size: 11px; }
.privacy-foot { margin-top: 38px; padding-top: 20px; font-size: 11.5px; }
.privacy-foot .text-link { font-size: 15px; }

@media (max-width: 700px) {
  .mask-card { padding: 22px; }
  .mask-text { min-height: 0; padding: 16px; font-size: 16px; }
  .mask-note { min-height: 0; font-size: 14px; }
  .promise { padding: 18px; }
  .promise h3 { font-size: 18px; }
  .promise p { font-size: 14.5px; }
}

/* ==========================================================================
   Engine routing card: the endpoint diagram is product copy, not micro UI
   ========================================================================== */
.engine-aside { padding: 26px; }
.engine-status { font-size: 12px; }
.route-row { gap: 8px; font-size: 12px; }
.route-node { padding: 8px 10px; border-radius: 6px; }
.route-arrow { font-size: 14px; }
.endpoint-code { gap: 10px; margin-top: 16px; padding: 11px 12px; font-size: 12.5px; }
.copy-btn { width: 28px; height: 28px; }
.endpoint-tag { font-size: 10px; }
.route-blocked { gap: 9px; margin-top: 16px; padding-top: 14px; font-size: 12px; }
.providers { margin-top: 26px; gap: 14px 20px; }
.providers-label { font-size: 11px; }
.provider-pills { gap: 8px; }
.provider-pills span { padding: 6px 10px; font-size: 11px; }

@media (max-width: 700px) {
  .engine-aside { padding: 18px; }
  .endpoint-code { font-size: 12px; }
  .route-row { font-size: 11.5px; }
}

/* Keep the left privacy mockup the same height as the promise stack. */
.privacy-grid { align-items: stretch; }
.mask-card { display: flex; flex-direction: column; }
.mask-text { flex: 1 1 auto; }
.mask-controls, .endpoint-row { flex: 0 0 auto; }
.mask-note { margin-top: auto; padding-top: 18px; }

@media (max-width: 940px) {
  .mask-card { height: auto; }
}

/* Distribute the height match instead of leaving one giant blank mockup area. */
.mask-card { justify-content: space-between; }
.mask-text { flex: 0 0 auto; }
.mask-note { margin-top: 0; }

@media (max-width: 940px) {
  .mask-card { justify-content: flex-start; }
  .mask-note { margin-top: 16px; }
}
