/* Self-hosted webfonts: Public Sans for text, JetBrains Mono for identifiers, codes and YAML. */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-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: 'Public Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-latin-wght-italic.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: 'Public Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-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: 'Public Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/public-sans-latin-ext-wght-italic.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 900;
  src: url(/assets/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: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/jetbrains-mono-latin-wght-italic.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 900;
  src: url(/assets/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;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/jetbrains-mono-latin-ext-wght-italic.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;
}

  /* Named exception (André, 2026-11-05): --signal-ink #00915a as text and link colour on paper is 3.72:1, under the 4.5:1
     WCAG 1.4.3 asks of text. It stays as in the mock; do not darken it to pass a contrast check. */
  :root {
    --night: #0e1412; --night-2: #141c19; --night-line: #26302c;
    --paper: #f4f6f5; --white: #ffffff; --ink: #101614; --ink-2: #33403b; --grey: #5f6b66; --line: #dfe5e2;
    --signal: #00dc82; --signal-ink: #00915a; --signal-soft: #e3f7ee;
    --on-night: #eef3f1; --on-night-2: #a9b5b0;
    --sans: "Public Sans", ui-sans-serif, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --wrap: 1120px; --gutter: 24px;
    /* The keyboard focus ring must reach 3:1 against what is behind it (WCAG 1.4.11). On paper the neon signal
       is 1.67:1 and signal-ink 3.7:1; on night and on the dark cards it is the other way round. */
    --focus: var(--signal-ink);
  }
  /* dark surfaces draw the ring in the neon signal, paper in signal-ink */
  .night, footer, .glass, .path, pre.code, .map, .perm, .preview { --focus: var(--signal); }
  * { box-sizing: border-box; margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
  a { color: inherit; }
  code, pre, .mono, .chip, .map, .chat .t, .perm tbody th { font-family: var(--mono); font-variant-ligatures: none; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
  .wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* ---------- shared type ---------- */
  h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; }
  h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.028em; max-width: 24ch; text-wrap: balance; }
  h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
  .lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin-top: 18px; }
  section.block { padding: 120px 0; }
  section.block + section.block { border-top: 1px solid var(--line); }

  /* ---------- buttons ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 10px;
    font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
  .btn-signal { background: var(--signal); color: #04150d; }
  .btn-signal:hover { background: #22e796; }
  .btn-quiet { color: var(--on-night); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
  .btn-quiet:hover { background: rgba(255,255,255,.09); }
  .link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

  /* ---------- night areas: header, hero, closing ---------- */
  .night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
  .light { position: absolute; inset: -20%; z-index: -1; filter: blur(90px) saturate(1.25); pointer-events: none; }
  .light span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
  .l1 { width: 55%; height: 60%; left: 45%; top: 25%; background: radial-gradient(closest-side, rgba(0,220,130,.42), transparent); animation: d1 28s ease-in-out infinite alternate; }
  .l2 { width: 45%; height: 50%; left: 65%; top: 0%;  background: radial-gradient(closest-side, rgba(20,170,190,.38), transparent); animation: d2 34s ease-in-out infinite alternate; }
  .l3 { width: 45%; height: 50%; left: 35%; top: 55%; background: radial-gradient(closest-side, rgba(40,90,220,.30), transparent); animation: d3 39s ease-in-out infinite alternate; }
  .dots b { position: absolute; border-radius: 50%; filter: blur(14px); mix-blend-mode: screen; z-index: -1; animation: drift 22s ease-in-out infinite alternate, pulse 8s ease-in-out infinite alternate; }
  .dots b:nth-child(1) { width: 80px; height: 80px; left: 72%; top: 18%; background: rgba(0,220,130,.4); }
  .dots b:nth-child(2) { width: 46px; height: 46px; left: 88%; top: 58%; background: rgba(79,209,197,.45); animation-duration: 27s, 10s; }
  .dots b:nth-child(3) { width: 120px; height: 120px; left: 58%; top: 74%; background: rgba(60,120,255,.25); filter: blur(28px); animation-duration: 31s, 12s; }
  @keyframes d1 { to { transform: translate(-16%, -10%) scale(1.15); } }
  @keyframes d2 { to { transform: translate(-20%, 16%) scale(.9); } }
  @keyframes d3 { to { transform: translate(18%, -16%) scale(1.15); } }
  @keyframes drift { to { transform: translate(-50px, 36px); } }
  @keyframes pulse { from { opacity: .35; } to { opacity: 1; } }

  header.top { position: relative; z-index: 2; }
  .nav { display: flex; align-items: center; gap: 32px; height: 76px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -0.02em; }
  .brand svg { width: 22px; height: 22px; }
  .nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin-left: 16px; }
  .nav ul a { text-decoration: none; color: var(--on-night-2); font-size: 15px; }
  .nav ul a:hover { color: var(--on-night); }
  .nav .right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
  .nav .right .signin { color: var(--on-night-2); text-decoration: none; font-size: 15px; }
  .nav .right .btn { height: 38px; padding: 0 16px; font-size: 14px; }

  .hero { padding: 72px 0 128px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
  .hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 650; max-width: 12ch; text-wrap: balance; }
  .hero .lead { color: var(--on-night-2); font-size: 19px; max-width: 46ch; margin-top: 26px; }
  .ask { display: flex; gap: 10px; margin-top: 36px; max-width: 470px; }
  .ask input { flex: 1; min-width: 0; height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
    color: var(--on-night); padding: 0 14px; font: 400 15px var(--sans); }
  .ask input::placeholder { color: #75817c; }
  .ask input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(0,220,130,.2); }
  .after-ask { margin-top: 14px; font-size: 14px; color: #8b9792; }
  .after-ask a { color: var(--on-night); }

  /* the one bold thing: a ROS name travelling to a person */
  .path { position: relative; border: 1px solid var(--night-line); border-radius: 16px; background: rgba(14,20,18,.6); backdrop-filter: blur(12px);
    padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  .stop { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 18px 16px; border-radius: 10px; position: relative; }
  .stop + .stop { border-top: 1px solid var(--night-line); border-radius: 0; }
  .stop .where { font-size: 13px; color: #7e8a85; }
  .stop .what { font-size: 15px; color: var(--on-night); min-height: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .chip { font: 500 13.5px/1 var(--mono); padding: 7px 10px; border-radius: 7px; background: #1b2522; border: 1px solid #2b3733; color: #d7e0dc; }
  .chip.slug { color: var(--signal); border-color: rgba(0,220,130,.35); background: rgba(0,220,130,.07); }
  .val { font: 600 22px/1 var(--sans); letter-spacing: -0.01em; }
  .unit { color: #8b9792; font-weight: 500; font-size: 15px; }
  .q { color: #c3cdc9; }
  .a { color: var(--on-night); }
  .no { font: 500 13px/1.4 var(--mono); color: #f2b04d; }
  .live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #8b9792; }
  .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(0,220,130,.15); }
  /* the load sequence: three stops light up in order, once */
  .stop { opacity: 0; transform: translateY(8px); animation: arrive .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .stop:nth-child(1) { animation-delay: .25s; } .stop:nth-child(2) { animation-delay: 1.05s; } .stop:nth-child(3) { animation-delay: 1.85s; } .stop:nth-child(4) { animation-delay: 2.65s; }
  @keyframes arrive { to { opacity: 1; transform: none; } }
  .arrow { color: #55625d; font-family: var(--mono); }

  /* ---------- steps ---------- */
  .steps { margin-top: 64px; display: grid; gap: 0; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
  .step .n { font: 600 15px/1 var(--sans); color: var(--signal-ink); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
  .step p { color: var(--ink-2); margin-top: 8px; max-width: 46ch; }
  pre.code { background: var(--night); color: #dbe4e0; border-radius: 12px; padding: 20px 22px; font-size: 14px; line-height: 1.75; overflow-x: auto; }
  pre.code .c { color: #6e7c76; } pre.code .k { color: var(--signal); } pre.code .s { color: #8fd3c9; }
  .map { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 0; font-family: var(--mono); font-size: 14px; }
  .map div { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; padding: 10px 20px; }
  .map div + div { border-top: 1px dashed var(--line); }
  .map .from { color: var(--grey); } .map .to { color: var(--signal-ink); font-weight: 500; } .map .arrow { color: #a3aeaa; text-align: center; }

  /* ---------- permissions ---------- */
  .perm { margin-top: 56px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
  .perm table { width: 100%; border-collapse: collapse; font-size: 15px; }
  .perm caption { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); color: var(--grey); font-size: 14px; }
  .perm caption b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
  .perm th, .perm td { padding: 15px 24px; text-align: left; border-bottom: 1px solid var(--line); }
  .perm tr:last-child td { border-bottom: 0; }
  .perm thead th { font-weight: 600; font-size: 14px; color: var(--ink-2); background: #fafbfb; }
  .perm tbody th { font: 500 14px var(--mono); color: var(--ink); }
  .perm td { color: var(--ink-2); }
  .perm .yes { color: var(--signal-ink); font-weight: 600; }
  .perm .none { color: #b6bfbb; }
  .perm-note { margin-top: 16px; color: var(--grey); font-size: 15px; }

  /* ---------- three ways in ---------- */
  .ways { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .way { min-width: 0; }
  .way > p { color: var(--ink-2); margin-top: 8px; }
  
  /* previews: three equal frames, each showing the way in as its user sees it */
  .preview { height: 316px; border-radius: 14px; overflow: hidden; position: relative; margin-top: 24px; }
  .app-ui { background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,22,20,.06); }
  .app-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .app-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
  .app-logo i { width: 14px; height: 14px; border-radius: 4px; background: #3b5bdb; }
  .app-user { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-size: 12.5px; }
  .app-user b { width: 24px; height: 24px; border-radius: 50%; background: #e9edf9; color: #3b5bdb; display: grid; place-items: center; font-size: 10.5px; }
  .app-body { padding: 16px; }
  .app-row { display: flex; justify-content: space-between; align-items: center; }
  .app-name { font: 600 15px var(--sans); }
  .app-ui .live { color: var(--grey); }
  .app-meter { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13.5px; color: var(--grey); }
  .app-val { color: var(--ink); font-weight: 650; }
  .bar { height: 8px; border-radius: 99px; background: #edf1ef; margin-top: 8px; overflow: hidden; }
  .bar i { display: block; height: 100%; width: 87%; border-radius: inherit; background: linear-gradient(90deg, #3b5bdb, #5b7cfa); }
  .app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .ab { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
  .ab.on { background: #3b5bdb; color: #fff; }
  .ab.on + .ab.on { background: #eef1fc; color: #3b5bdb; }
  .ab.off { background: #f1f3f2; color: #a5aeaa; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
  .app-hint { font-size: 12.5px; color: var(--grey); margin-top: 14px; line-height: 1.5; }

  .assistant { background: #fbfbfa; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,22,20,.06); }
  .as-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
  .as-dot { width: 9px; height: 9px; border-radius: 50%; background: #dfe3e1; }
  .as-conn { margin-left: auto; font-size: 12px; color: var(--signal-ink); background: var(--signal-soft); padding: 3px 9px; border-radius: 99px; font-weight: 600; }
  .as-body { padding: 14px 16px; display: grid; gap: 9px; font-size: 14px; line-height: 1.45; }
  .as-q { justify-self: end; background: #eceeed; padding: 7px 11px; border-radius: 12px; }
  .as-tool { font: 400 12px var(--mono); color: var(--grey); display: flex; align-items: center; gap: 7px; }
  .as-tool::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
  .as-a { color: var(--ink); }
  .as-no { color: #8a5300; background: #fff4dd; padding: 7px 11px; border-radius: 10px; font-size: 13.5px; }

  .cam { background: var(--night); color: var(--on-night); }
  .cam svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .cam .hud { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #c9d3cf; }
  .cam .cam-foot { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #9fb0a9; }
  .cam .live { color: #c9d3cf; }
  .cam::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: inherit; pointer-events: none; }

  /* ---------- robot side ---------- */
  .facts { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; max-width: 980px; }
  .fact p { color: var(--ink-2); margin-top: 8px; max-width: 44ch; }

  /* ---------- pricing ---------- */
  .plans { margin-top: 56px; border-top: 1px solid var(--line); }
  .plan { display: grid; grid-template-columns: 160px 180px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
  .plan .name { font-weight: 650; font-size: 19px; }
  .plan .price { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
  .plan .price small { font-size: 14px; font-weight: 500; color: var(--grey); letter-spacing: 0; }
  .plan .gets { color: var(--ink-2); }
  .plan .act { font-weight: 600; font-size: 15px; }
  .plan.free .name::after { content: "free"; margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--signal-ink); background: var(--signal-soft); padding: 3px 8px; border-radius: 99px; vertical-align: 2px; }
  .plans-note { margin-top: 18px; color: var(--grey); font-size: 15px; }

  /* ---------- closing ---------- */
  .closing { padding: 140px 0; text-align: left; }
  .closing h2 { color: var(--on-night); font-size: clamp(36px, 4.6vw, 60px); max-width: 16ch; letter-spacing: -0.035em; }
  .closing .lead { color: var(--on-night-2); }

  footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); font-size: 14.5px; }
  .foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
  .foot h4 { color: var(--on-night); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
  .foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  .foot a { text-decoration: none; } .foot a:hover { color: var(--on-night); }
  .foot .brand { color: var(--on-night); }
  .foot .small { margin-top: 14px; max-width: 30ch; }
  .legal-line { position: relative; padding-top: 20px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7e8a85; }

  /* ---------- responsive ---------- */
  @media (max-width: 960px) {
    .hero-grid, .ways { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-top: 40px; }
    .step { grid-template-columns: 44px minmax(0, 1fr); }
    .step .show { grid-column: 2; }
    .facts { grid-template-columns: 1fr; }
    .plan { grid-template-columns: 1fr auto; gap: 6px 16px; }
    .plan .gets { grid-column: 1 / -1; }
    .foot { grid-template-columns: 1fr 1fr; }
    .nav ul { display: none; }
    section.block { padding: 88px 0; }
  }
  @media (max-width: 560px) {
    .ask { flex-direction: column; }
    /* stacked, flex: 1 would size the field's height from zero; it keeps its own 46 px */
    .ask input, .ask .btn { flex: none; width: 100%; height: 46px; }
    /* header on a phone: smaller logo and button, nothing wraps or leaves the screen */
    .nav { gap: 12px; }
    .nav .right { gap: 14px; }
    .nav .right .signin { white-space: nowrap; font-size: 14px; }
    .nav .right .btn { height: 34px; padding: 0 12px; font-size: 13px; }

    .map div { grid-template-columns: 1fr; gap: 2px; padding: 10px 16px; }
    .map .arrow { display: none; }
    .map .from, .map .to { overflow-wrap: anywhere; }
    .perm table { min-width: 520px; }
    .chip { overflow-wrap: anywhere; white-space: normal; }
    .stop { grid-template-columns: 1fr; gap: 6px; }
    .perm th, .perm td { padding: 12px 14px; font-size: 13.5px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .light span, .dots b { animation: none; }
    .stop { animation: none; opacity: 1; transform: none; }
  }

  /* ---------- one card for every preview on the page ----------
     The hero's card is the model: dark, a little see-through, blurred
     backdrop, one radius, one border, one shadow. On paper, a faint field
     of the hero's light sits behind the cards so the glass has something
     to show through. */
  :root {
    --glass-bg: rgba(14, 20, 18, .80);
    --glass-line: rgba(255, 255, 255, .09);
    --glass-radius: 16px;
    --glass-shadow: 0 28px 70px rgba(8, 14, 12, .30), 0 2px 6px rgba(8, 14, 12, .12);
    --glass-blur: blur(14px) saturate(1.25);
  }
  .glass, .path, pre.code, .map, .perm, .preview {
    background: var(--glass-bg); border: 1px solid var(--glass-line); border-radius: var(--glass-radius);
    box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    color: var(--on-night);
  }
  .path { padding: 10px; }

  section.block { position: relative; isolation: isolate; overflow: hidden; }
  .glowfield { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(70px); }
  .glowfield span { position: absolute; border-radius: 50%; }
  .glowfield .g1 { width: 520px; height: 420px; background: radial-gradient(closest-side, rgba(0, 220, 130, .30), transparent); }
  .glowfield .g2 { width: 460px; height: 380px; background: radial-gradient(closest-side, rgba(20, 170, 190, .24), transparent); }
  .glowfield .g3 { width: 420px; height: 360px; background: radial-gradient(closest-side, rgba(60, 110, 240, .18), transparent); }
  .gf-right .g1 { right: 2%; top: 22%; } .gf-right .g2 { right: 22%; top: 50%; } .gf-right .g3 { right: 6%; bottom: 0; }
  .gf-wide .g1 { left: 18%; top: 34%; } .gf-wide .g2 { left: 50%; top: 46%; } .gf-wide .g3 { right: 4%; top: 30%; }

  /* A card that scrolls (a code block, the roles table on a phone) takes the keyboard focus itself. Outside the
     card the ring would lie over the paper and the glow behind it; it is drawn just inside, on the card. */
  .glass:focus-visible, .path:focus-visible, pre.code:focus-visible, .map:focus-visible, .perm:focus-visible, .preview:focus-visible { outline-offset: -5px; }

  /* code */
  pre.code { padding: 20px 22px; }

  /* name map */
  .map { padding: 8px 0; }
  .map div + div { border-top: 1px dashed rgba(255, 255, 255, .08); }
  .map .from { color: #8b9792; } .map .to { color: var(--signal); } .map .arrow { color: #55625d; }

  /* roles table */
  .perm caption { color: #8b9792; border-bottom-color: var(--glass-line); }
  .perm caption b { color: var(--on-night); }
  .perm th, .perm td { border-bottom-color: rgba(255, 255, 255, .07); }
  .perm thead th { background: rgba(255, 255, 255, .03); color: var(--on-night-2); }
  .perm tbody th { color: var(--on-night); }
  .perm td { color: var(--on-night-2); }
  .perm .yes { color: var(--signal); }
  .perm .none { color: #4f5b56; }

  /* app preview, now in the dark */
  .app-bar { border-bottom-color: var(--glass-line); }
  .app-logo i { background: #5b7cfa; }
  .app-user { color: #8b9792; }
  .app-user b { background: rgba(91, 124, 250, .18); color: #a9b9ff; }
  .app-ui .live { color: #8b9792; }
  .app-meter { color: #8b9792; }
  .app-val { color: var(--on-night); }
  .bar { background: rgba(255, 255, 255, .08); }
  .ab.on { background: #4c6ef5; color: #fff; }
  .ab.on + .ab.on { background: rgba(91, 124, 250, .18); color: #b4c2ff; }
  .ab.off { background: rgba(255, 255, 255, .05); color: #5f6b66; text-decoration-color: rgba(255, 255, 255, .25); }
  .app-hint { color: #8b9792; }

  /* assistant preview, now in the dark */
  .as-bar { border-bottom-color: var(--glass-line); }
  .as-dot { background: rgba(255, 255, 255, .14); }
  .as-conn { background: rgba(0, 220, 130, .12); color: var(--signal); }
  .as-q { background: rgba(255, 255, 255, .08); color: var(--on-night); }
  .as-tool { color: #8b9792; }
  .as-a { color: var(--on-night); }
  .as-no { background: rgba(245, 165, 36, .12); color: #f5c06a; }

  /* camera: the picture stays a picture, the frame is the shared one */
  .cam svg { opacity: .82; }
  .cam::after { display: none; }

  /* the rule above the copyright line spans the content, not the gutters */
  .legal-line::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--night-line); }

  /* the official logo (src/assets/logo-color-dark.svg). Its artwork carries
     12/64 of its height as padding on the left; the negative margin puts the
     visible mark on the grid edge. */
  .brand img { display: block; height: 38px; width: auto; margin-left: -7.125px; }
  .brand-foot img { height: 32px; margin-left: -6px; }

  @media (max-width: 560px) {
    .nav .brand img { height: 32px; margin-left: -6px; }
  }

  /* ---------- menu below 960 px: the header's links stay one tap away ---------- */
  .menu-btn { display: none; }
  .menu { display: none; }
  @media (max-width: 960px) {
    /* below 960 px the header is logo and menu; Sign in and Request access live in the menu */
    .nav .right .signin, .nav .right .btn { display: none; }
    .menu-btn { all: unset; cursor: pointer; display: inline-grid; place-content: center; gap: 4px; width: 40px; height: 40px; border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
    .menu-btn:hover { background: rgba(255, 255, 255, .09); }
    .menu-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
    .menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--on-night); transition: transform .2s ease, opacity .2s ease; }
    .menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
    .menu-btn[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

    .menu { display: block; position: absolute; left: 0; right: 0; top: 70px; z-index: 5; }
    .menu[hidden] { display: none; }
    .menu-card { padding: 8px; animation: menu-in .18s ease-out; background: rgba(14, 20, 18, .92); }
    .menu-card ul { list-style: none; padding: 0; }
    .menu-card li a { display: block; padding: 14px 14px; border-radius: 10px; text-decoration: none; color: var(--on-night); font-size: 17px; font-weight: 500; }
    .menu-card li a:hover, .menu-card li a[aria-current="page"] { background: rgba(255, 255, 255, .06); }
    .menu-card li + li { border-top: 1px solid var(--glass-line); }
    .menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 6px 6px; border-top: 1px solid var(--glass-line); margin-top: 4px; }
    .menu-actions .btn { width: 100%; }
    @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
  }
  @media (prefers-reduced-motion: reduce) { .menu-card { animation: none; } .menu-btn i { transition: none; } }

  /* ---------- subpages ---------- */
  .nav ul a[aria-current="page"] { color: var(--on-night); }
  .page-head { padding: 64px 0 88px; }
  .page-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.035em; max-width: 18ch; text-wrap: balance; }
  .page-head .lead { color: var(--on-night-2); max-width: 58ch; }

  .doc-wrap { padding: 72px 0 120px; }
  .doc { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 72px; align-items: start; }
  .doc.no-toc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: sticky; top: 32px; max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; font-size: 14px; border-left: 1px solid var(--line); padding-left: 18px; padding-right: 6px; }
  .toc p { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
  .toc ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  .toc a { color: var(--grey); text-decoration: none; }
  .toc a:hover { color: var(--ink); }

  .prose { max-width: 72ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
  .prose > :first-child { margin-top: 0; }
  .prose h2 { color: var(--ink); font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 56px 0 14px; max-width: none; scroll-margin-top: 24px; }
  .prose h3 { color: var(--ink); font-size: 18px; margin: 32px 0 10px; }
  .prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 16px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose li { margin: 4px 0; }
  .prose a { color: var(--signal-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
  .prose strong { color: var(--ink); }
  .prose code { font-size: 14px; background: #e9eeeb; padding: 2px 6px; border-radius: 5px; }
  .prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
  .prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
  .prose th { color: var(--ink); font-weight: 600; background: #fafbfb; }
  .prose blockquote { border-left: 3px solid var(--signal); padding: 4px 0 4px 16px; color: var(--ink-2); }
  .prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

  /* pricing table */
  .price-wrap { padding: 72px 0 120px; }
  .ptable { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
  .ptable table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
  .ptable th, .ptable td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
  .ptable thead th { vertical-align: top; padding-top: 24px; padding-bottom: 22px; background: #fafbfb; }
  .ptable thead .pn { display: block; font-size: 19px; font-weight: 650; color: var(--ink); }
  .ptable thead .pp { display: block; font-size: 26px; font-weight: 650; letter-spacing: -0.02em; margin-top: 6px; color: var(--ink); }
  .ptable thead .pp small { font-size: 14px; color: var(--grey); font-weight: 500; letter-spacing: 0; }
  .ptable thead .pf { display: block; font-size: 14px; color: var(--grey); font-weight: 400; margin-top: 6px; max-width: 22ch; }
  .ptable thead .btn { margin-top: 16px; height: 38px; font-size: 14px; }
  .btn-ink { background: var(--ink); color: var(--white); }
  .btn-ink:hover { background: #26302c; }
  .btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
  .btn-line:hover { background: #f4f6f5; }
  .ptable tbody th { font-weight: 500; color: var(--ink-2); width: 30%; }
  .ptable td { color: var(--ink); }
  .ptable .group th { padding-top: 28px; font-weight: 650; color: var(--ink); background: transparent; border-bottom: 1px solid var(--line); }
  .ptable .y { color: var(--signal-ink); font-weight: 600; }
  .ptable .n { color: #b6bfbb; }
  .ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
  .price-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; color: var(--ink-2); font-size: 15.5px; }
  .price-notes h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }

  /* contact */
  .contact-wrap { padding: 72px 0 120px; }
  .contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .contact h2 { font-size: 22px; max-width: none; }
  .contact p { color: var(--ink-2); margin-top: 10px; }
  .contact .big { display: inline-block; margin-top: 16px; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .contact .big:hover { border-color: var(--ink); }
  .contact address { font-style: normal; color: var(--ink); margin-top: 16px; line-height: 1.6; }

  .nf-wrap { padding: 72px 0 140px; }
  .nf-wrap ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

  .ask-done { margin-top: 36px; max-width: 470px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(0,220,130,.35); background: rgba(0,220,130,.08); color: var(--on-night); font-size: 15px; }

  @media (max-width: 960px) {
    .doc { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; order: -1; border-left: 0; padding-left: 0; }
    .contact, .price-notes { grid-template-columns: minmax(0, 1fr); }
  }

  /* the entry of the section being read */
  .toc li { position: relative; }
  .toc a { display: block; transition: color .15s ease; }
  .toc a[aria-current="location"] { color: var(--ink); font-weight: 600; }
  .toc a[aria-current="location"]::before { content: ""; position: absolute; left: -18px; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--signal-ink); }
  @media (max-width: 960px) { .toc a[aria-current="location"]::before { display: none; } }

  /* short pages: the footer sits at the bottom of the window, never above a strip of paper.
     main takes the spare height; html is night so rubber-band scrolling past the footer stays dark. */
  html { background: var(--night); }
  body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  body > main { flex: 1 0 auto; background: var(--paper); }

  /* ---------- pricing: plans first, everything else on request ---------- */
  .price-wrap { position: relative; isolation: isolate; overflow: hidden; }
  .plans-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
  .pc { padding: 30px 28px 32px; display: flex; flex-direction: column; }
  .pc + .pc { border-left: 1px solid var(--glass-line); }
  .pc-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--on-night); max-width: none; }
  .pc-price { font-size: 36px; font-weight: 650; letter-spacing: -0.03em; margin-top: 14px; line-height: 1.1; color: var(--on-night); }
  .pc-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: #8b9792; }
  .pc-for { color: var(--on-night-2); font-size: 15px; margin-top: 8px; min-height: 2.6em; }
  .pc-btn { width: 100%; margin-top: 18px; height: 42px; font-size: 14.5px; }
  .pc-plus { color: #8b9792; font-size: 13.5px; margin-top: 24px; }
  .pc-keys { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 10px; font-size: 15px; color: var(--on-night-2); }
  .pc-plus + .pc-keys { margin-top: 10px; }
  .pc-btn + .pc-keys { margin-top: 24px; }
  .pc-keys li { position: relative; padding-left: 26px; line-height: 1.45; }
  .pc-keys li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--signal); font-weight: 700; }
  .pc-keys b { color: var(--on-night); font-weight: 650; }
  .pc-note { margin-top: 18px; color: var(--grey); font-size: 15px; }

  .compare { margin-top: 56px; }
  .compare summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 600; font-size: 15px; color: var(--ink); }
  .compare summary::-webkit-details-marker { display: none; }
  .compare summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  .compare[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .compare summary:hover { background: #f8faf9; }
  .compare .ptable { margin-top: 20px; }
  .compare thead th { font-size: 15px; color: var(--ink); padding-top: 18px; padding-bottom: 16px; }

  .price-notes { margin-top: 56px; }

  @media (max-width: 960px) {
    .plans-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc:nth-child(3) { border-left: 0; }
    .pc:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
  }
  @media (max-width: 560px) {
    .plans-card { grid-template-columns: minmax(0, 1fr); }
    .pc + .pc { border-left: 0; border-top: 1px solid var(--glass-line); }
    .pc-for { min-height: 0; }
  }
  .compare .ptable table { table-layout: fixed; }
  .compare .ptable thead th:first-child { width: 34%; }

  /* billing period switch: monthly by default; without script the monthly prices stay */
  .cycle { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
  .cycle button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--grey); }
  .cycle button:hover { color: var(--ink); }
  .cycle button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .cycle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
  .cycle .save { font-size: 12px; font-weight: 600; color: var(--signal-ink); background: var(--signal-soft); padding: 2px 7px; border-radius: 99px; }
  .cycle button[aria-pressed="true"] .save { background: rgba(0, 220, 130, .18); color: var(--signal); }
  .pc-price .y, .pc-bill .y { display: none; }
  .price-wrap[data-cycle="yearly"] .pc-price .m, .price-wrap[data-cycle="yearly"] .pc-bill .m { display: none; }
  .price-wrap[data-cycle="yearly"] .pc-price .y, .price-wrap[data-cycle="yearly"] .pc-bill .y { display: inline; }
  .pc-bill { font-size: 13.5px; color: #8b9792; margin-top: 4px; min-height: 1.4em; }
  .pc-for { margin-top: 14px; }

  /* ---------- mcp.fleetless.dev ---------- */
  .brand { display: inline-flex; align-items: center; gap: 10px; }
  .brand-tag { font: 600 12px/1 var(--sans); letter-spacing: .02em; color: var(--on-night-2); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 5px 8px; }
  .mcp-hero { padding: 64px 0 120px; }
  .mcp-hero-inner { max-width: 760px; }
  .mcp-hero h1 { max-width: 14ch; }
  .paste { display: flex; align-items: center; gap: 8px; max-width: 560px; margin-top: 40px; padding: 8px 8px 8px 20px; }
  .paste-url { flex: 1; min-width: 0; font-size: 18px; color: var(--signal); overflow-wrap: anywhere; }
  .paste .btn { min-width: 96px; }
  .quick { margin-top: 44px; }
  .quick-label { color: var(--on-night); font-weight: 600; font-size: 15px; }
  .quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .qbtn { all: unset; cursor: pointer; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: var(--on-night); font: 600 14.5px var(--sans); }
  .qbtn:hover { background: rgba(255, 255, 255, .1); }
  .qbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .qbtn.copied, .btn.copied { border-color: rgba(0, 220, 130, .5); color: var(--signal); background: rgba(0, 220, 130, .1); }
  .btn-signal.copied { background: var(--signal); color: #04150d; }
  .quick-hint { color: var(--on-night-2); font-size: 14.5px; margin-top: 14px; max-width: 58ch; }
  .copyout { margin-top: 12px; }
  .copyout code { display: inline-block; padding: 10px 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--on-night); font-size: 14px; user-select: all; overflow-wrap: anywhere; }

  .mcp-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
  .mcp-steps { list-style: none; padding: 0; margin-top: 40px; }
  .mcp-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
  .mcp-steps .n { font: 600 15px/1 var(--sans); color: var(--signal-ink); width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
  .mcp-steps p { color: var(--ink-2); margin-top: 6px; }

  .session { padding: 0; margin: 0; }
  .session-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--glass-line); font-size: 13.5px; color: #8b9792; }
  .session .live { color: var(--on-night-2); }
  .session-log { list-style: none; padding: 6px 20px 14px; margin: 0; }
  .session-log li { display: grid; grid-template-columns: 112px auto minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; font-size: 14.5px; }
  .session-log li + li { border-top: 1px dashed rgba(255, 255, 255, .08); }
  .session-log .what { color: var(--on-night-2); }
  .session-log .ok { color: var(--signal); font-weight: 600; }
  .session-log .why { color: #8b9792; font-size: 14px; }

  .mcp-more { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .mcp-app-url { margin-top: 24px; }
  .mcp-app-url code { display: inline-block; padding: 12px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
  .mcp-app-url b { color: var(--signal-ink); font-weight: 500; }
  .mcp-more .link { display: inline-block; margin-top: 16px; }
  .faq { margin-top: 16px; }
  .how-docs { margin-top: 28px; }
  .mcp-more.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .faq summary { width: 100%; justify-content: space-between; height: auto; min-height: 52px; padding: 12px 18px; }
  .faq-body { padding: 18px 4px 0; color: var(--ink-2); display: grid; gap: 10px; }
  .faq-body code { font-size: 14px; background: #e9eeeb; padding: 2px 6px; border-radius: 5px; color: var(--ink); }

  .menu-actions.single { grid-template-columns: 1fr; }
  @media (max-width: 960px) {
    .mcp-how, .mcp-more { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  }
  @media (max-width: 560px) {
    .paste { flex-direction: column; align-items: stretch; padding: 14px; }
    .paste .btn { width: 100%; }
    .session-log li { grid-template-columns: 1fr auto; }
    .session-log .why { grid-column: 1 / -1; }
  }

  /* ---------- two doors: developers and app users, read side by side ---------- */
  .mcp-title { max-width: 20ch; }
  .doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .door { padding: 28px; display: flex; flex-direction: column; }
  .door h2 { font-size: 22px; letter-spacing: -0.015em; color: var(--on-night); max-width: none; }
  .door-sub { color: var(--on-night-2); margin-top: 6px; font-size: 15.5px; }
  .door .paste { max-width: none; margin-top: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-line); border-radius: 12px; box-shadow: none; }
  .paste-template { padding: 14px 20px; }
  .paste-template .paste-url { color: var(--on-night-2); }
  .paste-template b { color: var(--signal); font-weight: 500; }
  .door .paste .paste-url { font-size: 16px; }
  .door-facts { margin: 22px 0 0; display: grid; }
  .door-facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--glass-line); font-size: 15px; }
  .door-facts dt { color: #8b9792; }
  .door-facts dd { margin: 0; color: var(--on-night); }
  .door-facts b { color: var(--signal); font-weight: 650; }
  .door .quick { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--glass-line); }
  .door .quick-label { font-size: 14px; color: var(--on-night-2); font-weight: 500; }
  .door .quick-row { margin-top: 10px; }
  .door .qbtn { height: 36px; padding: 0 13px; font-size: 14px; }
  .door-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--glass-line); display: grid; gap: 16px; justify-items: start; }
  .door-foot p { color: var(--on-night-2); font-size: 14.5px; }
  .doors-note { margin-top: 20px; color: var(--grey); font-size: 15px; }
  .doors-block { padding: 88px 0 104px; }
  .mcp-hero { padding: 64px 0 96px; }
  @media (max-width: 960px) { .doors { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) {
    .door { padding: 20px; }
    .door-facts div { grid-template-columns: 1fr; gap: 2px; }
  }

  /* the two cards share one row grid, so Who, Sign-in, Tools and Plans line up across them */
  @media (min-width: 961px) {
    .doors { grid-template-rows: repeat(8, auto); row-gap: 0; }
    .door { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
    .door-facts { display: contents; }
    .door-facts div:first-of-type { margin-top: 22px; }
    .door .paste { align-self: stretch; min-height: 58px; }
    .paste-template { display: flex; align-items: center; }
    .door .quick, .door-foot { margin-top: 0; align-self: end; }
  }

  /* ---------- rules the redesign's own stylesheets do not have: the open menu, the date line of a legal page, the waiting list's states ---------- */
  /* The open menu takes its place in the header below 960 px instead of floating over it.
     A subpage's night area is shorter than the menu, and `.night` clips what floats: the
     last link and both buttons would be cut off. A tall hero loses nothing by moving down. */
  @media (max-width: 960px) { .menu { position: static; } }

  /* the date a legal document was published, last line of the article */
  .prose .updated { margin-top: 40px; color: var(--grey); font-size: 14px; }

  /* the waiting list: field and button in one row, the consent notice under them, and the two
     other states of a form, received and failed, in the place of the form */
  .ask { display: block; }
  .ask-fields { display: flex; gap: 10px; }
  .consent { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--on-night-2); }
  .consent a { color: var(--on-night); text-underline-offset: 3px; }
  .ask-noscript { display: block; margin-top: 12px; font-size: 14px; color: var(--on-night); }
  .ask-error { margin-top: 36px; max-width: 470px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 10px;
    border: 1px solid rgba(255, 138, 118, .45); background: rgba(255, 138, 118, .09); color: var(--on-night); font-size: 15px; }
  .ask-error .btn { height: 36px; padding: 0 14px; font-size: 14px; }
  /* a class that sets `display` would otherwise outrank the `hidden` attribute */
  .ask[hidden], .ask-done[hidden], .ask-error[hidden] { display: none; }
  @media (max-width: 560px) { .ask-fields { flex-direction: column; } }
