/* neshi-solutions.com: the shared stylesheet for every page the umbrella
   generator writes (builds/_umbrella/build.py). The design is slot g of the
   2026-12-03 mockup round (client-sites #1505): an indigo field, gold
   bond-pad marks, Archivo with its width axis, and scroll-inside windows.
   Marks: full gold = built and running; hatched gold = in progress or
   planned; hollow = not part of it. Linked as /style.css?v=N: bump N in
   build.py (ASSET_VERSION) with every change here. */

/* ---- Font: one variable file, weight and width ranges ---- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-100-900.woff2") format("woff2-variations"),
       url("/fonts/archivo-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* fallback-faces:start - generated by builds/_fonts/fallback_metrics.py --write; do not edit by hand.
   Metric-matched fallbacks, so the swap to the web fonts does not move the layout:
   size-adjust from the hero text shaped in both fonts, line metrics from the woff2,
   unicode-range = the woff2's own coverage. */
@font-face { font-family:'Archivo Name Fallback'; src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Arimo'),local('Arimo Regular'); size-adjust:137.06%; ascent-override:64.06%; descent-override:15.32%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
@font-face { font-family:'Archivo Name Fallback Android'; src:local('Roboto'),local('Roboto Regular'),local('Roboto-Regular'); font-weight:400; size-adjust:140.97%; ascent-override:62.28%; descent-override:14.90%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
@font-face { font-family:'Archivo Lead Fallback'; src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Arimo'),local('Arimo Regular'); size-adjust:111.98%; ascent-override:78.41%; descent-override:18.75%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
@font-face { font-family:'Archivo Lead Fallback Android'; src:local('Roboto'),local('Roboto Regular'),local('Roboto-Regular'); font-weight:400; size-adjust:112.29%; ascent-override:78.19%; descent-override:18.70%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
@font-face { font-family:'Archivo Fallback'; src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Arimo'),local('Arimo Regular'); size-adjust:97.67%; ascent-override:89.90%; descent-override:21.50%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
@font-face { font-family:'Archivo Fallback Android'; src:local('Roboto'),local('Roboto Regular'),local('Roboto-Regular'); font-weight:400; size-adjust:98.46%; ascent-override:89.17%; descent-override:21.33%; line-gap-override:0.00%; unicode-range:U+000D,U+0020-007E,U+00A0-00FF,U+0102,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF; }
/* fallback-faces:end */

:root {
  --field: #1c1a33;   /* indigo die */
  --raised: #262447;
  --deep: #15132a;
  --rule: #3a3866;
  --ring: #4a477c;
  --pad-ring: #6f6ba6; /* hollow marks: 3.4:1 on the field */
  --line: #8a86c2;     /* form borders: 4.9:1 on the raised surface */
  --text: #f1effa;
  --muted: #b4b0d4;
  --gold: #f2c14e;     /* bond pads */
  --gold-soft: rgb(242 193 78 / 0.16);
  --ink: #0d0c1c;      /* device frames */
  --font-sys: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* the metric-matched fallbacks keep the hero from moving when Archivo swaps in */
  --font: "Archivo", "Archivo Fallback", "Archivo Fallback Android", var(--font-sys);
  --font-name: "Archivo", "Archivo Name Fallback", "Archivo Name Fallback Android", var(--font-sys);
  --font-lead: "Archivo", "Archivo Lead Fallback", "Archivo Lead Fallback Android", var(--font-sys);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--ring) var(--deep); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--field);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  /* Archivo covers every weight and width used; never fake one in a fallback */
  font-synthesis: none;
  font-size-adjust: from-font;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: 1rem; }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--gold); color: var(--field); padding: 0.75rem 1rem; font-weight: 700;
}
.skip:focus, .skip:hover { top: 1rem; color: var(--field); }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

.icon {
  inline-size: 1em; block-size: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* masthead */
.mast { border-bottom: 1px solid var(--rule); }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.mark {
  white-space: nowrap; font-weight: 750; font-stretch: 112%; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.5rem;
  color: var(--muted); text-decoration: none; font-size: 0.9375rem;
}
.nav a:hover { color: var(--gold); }
@media (max-width: 29.99rem) {
  .mast-in { gap: 0.5rem; }
  .mark { font-stretch: 96%; }
  .nav { gap: 0; }
  .nav a { padding-inline: 0.4375rem; font-size: 0.875rem; }
}
@media (min-width: 40rem) { .mark { font-stretch: 125%; } .nav a { padding-inline: 0.75rem; } }
@media (max-width: 23.3rem) {
  .mark { font-size: 0.875rem; font-stretch: 85%; }
  .nav a { padding-inline: 0.25rem; font-size: 0.875rem; }
}

/* shared type */
.h-sec {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 800; font-stretch: 122%;
  line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance;
}
.sec-intro { color: var(--muted); max-width: 40rem; margin-top: 0.75rem; text-wrap: pretty; }
.go {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--gold);
  font-weight: 650; text-decoration-thickness: 2px;
}
.go.quiet { color: var(--text); }
.go.quiet:hover { color: var(--gold); }

/* marks */
.pad {
  display: inline-block; width: 0.8125rem; height: 0.8125rem; border-radius: 50%;
  border: 2px solid var(--pad-ring); background: var(--field); flex: none; vertical-align: middle;
}
.pad.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
/* shaded: the same gold ring, filled with hatching instead of solid gold */
.pad.plan {
  border-color: var(--gold);
  background:
    repeating-linear-gradient(135deg, var(--gold) 0 1.5px, transparent 1.5px 3.5px),
    rgb(242 193 78 / 0.12);
}

.key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; color: var(--muted); font-size: 0.9375rem; }
.key-i { display: inline-flex; align-items: center; gap: 0.5rem; }
.key .pad.on { box-shadow: none; }

/* hero */
.hero { padding-top: 1.75rem; padding-bottom: 2.25rem; }
.hero-in { position: relative; }
.hero-text > .name { padding-right: 5.5rem; }
.name {
  font-family: var(--font-name);
  font-size: clamp(2.75rem, 1.5rem + 5.5vw, 6.5rem); font-weight: 820; font-stretch: 125%;
  line-height: 0.95; letter-spacing: -0.01em;
}
.lead {
  font-family: var(--font-lead);
  margin-top: 1.125rem; font-size: clamp(1.3125rem, 1rem + 1.2vw, 2rem); font-weight: 600;
  font-stretch: 108%; line-height: 1.3; max-width: 34rem; text-wrap: balance;
}
.bio { color: var(--muted); max-width: 36rem; margin-top: 0.875rem; font-size: 1.125rem; text-wrap: pretty; }
.hero-links { display: flex; flex-wrap: wrap; column-gap: 1.75rem; margin-top: 0.75rem; }
.portrait { position: absolute; top: 0; right: clamp(1rem, 4vw, 2.5rem); width: 4.5rem; }
.portrait img { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 4px var(--field), 0 0 0 6px var(--gold); }
.hero-key {
  margin-top: 1.75rem; padding: 0.875rem 1rem; border: 1px solid var(--rule); border-radius: 0.75rem;
  background: var(--raised);
}
.hk-h { font-weight: 650; font-stretch: 110%; margin-bottom: 0.375rem; }
.hero-key .key { color: var(--text); }
@media (min-width: 52rem) {
  .hero { padding-top: 4.5rem; padding-bottom: 4rem; }
  .hero-in { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
  .hero-text > .name { padding-right: 0; }
  .portrait { position: static; width: clamp(13rem, 22vw, 19rem); }
  .portrait img { box-shadow: 0 0 0 8px var(--field), 0 0 0 11px var(--gold); }
  .hero-key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; margin-top: 3rem; padding: 1rem 1.5rem; }
  .hk-h { margin-bottom: 0; }
}

/* groups */
.group { border-top: 1px solid var(--rule); padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 56rem) { .group { padding-top: 4.5rem; padding-bottom: 4.5rem; } }

/* coverage matrix (slot d) */
.cov { margin-top: 1.75rem; }
.cov > .key { margin-bottom: 1rem; }
.cov-scroll { display: none; }
.cov-table { border-collapse: collapse; }
/* small marks in a summary: 12px, a thin ring, hatching with clear gaps so
   "planned" never reads as "built" at phone size */
.s-pads .pad { width: 0.75rem; height: 0.75rem; border-width: 1.5px; box-shadow: none; }
.s-pads .pad.plan {
  background: repeating-linear-gradient(135deg, var(--gold) 0 1.25px, transparent 1.25px 3.25px), var(--field);
}

@media (min-width: 56rem) {
  /* 30 columns outgrow the page: the table scrolls sideways in its own box
     with the capability names held at the left; ten columns fit as they are */
  .cov-scroll {
    display: block; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-color: var(--ring) transparent; scrollbar-width: thin; padding-bottom: 0.5rem;
  }
  .cov-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--field); }
  .cov-table thead th { vertical-align: bottom; padding: 0 0 0.75rem; font-weight: 400; }
  .col-h {
    writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block;
    color: var(--muted); font-size: 0.9375rem; white-space: nowrap; line-height: 1.2;
  }
  .cov-table tbody tr { border-top: 1px solid var(--rule); }
  .cov-table tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .cov-table tbody th { text-align: left; padding-right: 2rem; font-weight: 400; }
  .cov-table tbody th a {
    display: flex; align-items: center; min-height: 3.25rem;
    font-weight: 650; font-stretch: 112%; font-size: 1.125rem; text-decoration: none; white-space: nowrap;
  }
  .cov-table tbody th a:hover { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold); }
  .cov-table td { width: 3.5rem; text-align: center; vertical-align: middle; position: relative; }
  .cov-table tbody td::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule);
  }
  .cov-table .pad { position: relative; width: 0.9375rem; height: 0.9375rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cov.anim tbody .pad.on {
    animation: pad-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--c) * 70ms + var(--r) * 40ms + 200ms);
  }
  @keyframes pad-in {
    from { transform: scale(0); }
    60% { transform: scale(1.35); }
    to { transform: scale(1); }
  }
}

/* drop-downs: one per capability, closed by default */
.caps-lead { margin-top: 2.5rem; color: var(--muted); font-size: 0.9375rem; display: flex; align-items: center; gap: 0.5rem; }
.caps-lead::before { content: ""; width: 1.75rem; height: 2px; background: var(--gold); flex: none; }
.caps { margin-top: 0.75rem; }
.cap { border-top: 1px solid var(--rule); }
.cap:last-child { border-bottom: 1px solid var(--rule); }
.cap > summary {
  list-style: none; cursor: pointer; touch-action: manipulation;
  /* the name column never narrows below its longest word, so a long row of
     marks (11 or more columns) wraps the marks, not "memberships" mid-word */
  display: grid; grid-template-columns: auto minmax(min-content, 1fr) auto; grid-template-areas: "c t p" ". s s";
  align-items: center; column-gap: 0.75rem; row-gap: 0.25rem; min-height: 3.5rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.cap > summary::-webkit-details-marker { display: none; }
/* the marker sits right before the label: a gold chevron that turns down when open */
.cap > summary::before {
  content: ""; flex: none; width: 0.75rem; height: 0.75rem; margin-right: 0.125rem;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  rotate: -45deg; translate: 0 0; grid-area: c;
}
.cap[open] > summary::before { rotate: 45deg; translate: 0 -0.2rem; }
@media (prefers-reduced-motion: no-preference) { .cap > summary::before { transition: rotate 0.2s, translate 0.2s; } }
.s-t { grid-area: t; font-weight: 700; font-stretch: 112%; font-size: 1.0625rem; line-height: 1.25; }
.s-names { grid-area: s; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
@media (min-width: 56rem) {
  /* the table above is the overview here: a summary is the name and its marks */
  .cap > summary { grid-template-areas: "c t p"; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .s-t { font-weight: 720; font-stretch: 115%; font-size: clamp(1.1875rem, 1rem + 0.9vw, 1.625rem); line-height: 1.15; }
  .s-names { display: none; }
}
/* hover only where there is a real hover: a tap must not leave a closed row looking open */
@media (hover: hover) { .cap > summary:hover .s-t { color: var(--gold); } }
.cap > summary { -webkit-tap-highlight-color: transparent; }
.s-pads { grid-area: p; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem; align-items: center; max-inline-size: 11rem; }
.cap[open] > summary .s-t { color: var(--gold); }
.cap-in { padding-bottom: 1.25rem; }
.cap-s { font-size: 1.125rem; max-width: 40rem; text-wrap: pretty; }

/* open and close: the block size slides where supported */
.cap::details-content { overflow: clip; contain: layout; interpolate-size: allow-keywords; }
.cap:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cap::details-content {
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s allow-discrete;
  }
}

/* the side-scrolling row */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; min-height: 44px; }
.row-hint { color: var(--muted); font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.row-hint::before { content: ""; width: 1.75rem; height: 2px; background: var(--gold); flex: none; }
.row-head.fits { display: none; }
.row-nav { display: flex; gap: 0.5rem; }
.row-nav button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--ring); border-radius: 50%; background: var(--raised); color: var(--text); cursor: pointer;
  touch-action: manipulation; font-size: 1.125rem;
}
.row-nav button:hover { border-color: var(--gold); color: var(--gold); }

@property --fade-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fade-end { syntax: "<length>"; inherits: false; initial-value: 0px; }

.row {
  margin-top: 0.5rem;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* a snapped entry starts clear of the edge fade, which falls on the gap and the neighbour */
  scroll-padding-inline: 1rem;
  padding: 0.25rem 0 0.75rem;
  scrollbar-color: var(--ring) transparent;
  scrollbar-width: thin;
  border-radius: 0.5rem;
  --fade-size: 1rem;
  mask:
    linear-gradient(black, black) no-clip subtract,
    linear-gradient(to right, black, transparent) 0 0 / var(--fade-start) 100% no-repeat no-clip,
    linear-gradient(to right, transparent, black) 100% 0 / var(--fade-end) 100% no-repeat no-clip;
  animation: reveal-fade-start linear both, hide-fade-end linear both;
  animation-timeline: scroll(self inline);
  animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
}
@keyframes reveal-fade-start { to { --fade-start: var(--fade-size); } }
@keyframes hide-fade-end { from { --fade-end: var(--fade-size); } }
.row.more-start { --fade-start: var(--fade-size); }
.row.more-end { --fade-end: var(--fade-size); }
@supports not (animation-timeline: scroll()) {
  .row { animation: none; transition: --fade-start 0.2s, --fade-end 0.2s; }
}
@media (prefers-reduced-motion: no-preference) { .row { scroll-behavior: smooth; } }
.row-list { display: flex; gap: 1rem; width: max-content; min-width: 100%; }
.entry {
  flex: 0 0 auto; width: min(78vw, 17.5rem); scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.entry.is-wide { width: min(86vw, 44rem); }
@media (min-width: 56rem) {
  .row-list { gap: 1.75rem; }
  .entry { width: 18rem; }
}
.e-status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text); font-weight: 600; }
.e-status .pad { width: 0.6875rem; height: 0.6875rem; box-shadow: none; }
.e-name { margin-top: 0.125rem; font-size: 1.0625rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.e-line { color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin-top: 0.25rem; text-wrap: pretty; }
.e-live { margin-top: auto; }
.e-live a { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; color: var(--gold); font-weight: 600; font-size: 0.9375rem; }
.e-none { color: var(--muted); font-size: 0.9375rem; min-height: 44px; display: flex; align-items: center; }

/* the window (slot c), re-dressed for the indigo field */
.window {
  --pad: 6px;
  --bar: 1.75rem;
  container-type: inline-size;
  display: grid; gap: 0.5rem; justify-items: stretch;
  inline-size: 100%; min-inline-size: 0;
}
.device, .box {
  --scr-w: calc(100cqi - 2 * var(--pad));
  /* short enough on a phone that an open drop-down is about one screen */
  --scr-h: min(calc(var(--scr-w) * 844 / 390), 40svh, 844px);
}
@media (min-width: 56rem) {
  .device, .box { --scr-h: min(calc(var(--scr-w) * 844 / 390), 46svh, 844px); }
}
.device {
  position: relative; inline-size: 100%;
  padding: 4px var(--pad) var(--pad);
  background: var(--ink); border-radius: 1.75rem;
  box-shadow: 0 0 0 1px var(--ring), 0 1.25rem 2.5rem -1.25rem rgb(0 0 0 / 0.6);
  transition: box-shadow 0.3s var(--ease);
}
.window[data-view="laptop"] .device { border-radius: 0.75rem; }
.window[data-view="laptop"] .device { --scr-h: calc(var(--scr-w) * 900 / 1440); }
.device-title {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  block-size: calc(var(--bar) - 4px); padding-inline: 1rem;
  color: var(--muted); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device-title .icon { inline-size: 0.7rem; block-size: 0.7rem; }
.screen {
  position: relative; inline-size: var(--scr-w); block-size: var(--scr-h);
  block-size: round(down, var(--scr-h), 1px);
  overflow: hidden;
  overscroll-behavior-y: auto; /* at its end, the scroll goes back to the page */
  background: #fff;
  border-radius: 0.25rem 0.25rem 1.375rem 1.375rem;
  scrollbar-width: thin; scrollbar-color: var(--pad-ring) var(--ink);
  container-type: scroll-state;
}
.window[data-view="laptop"] .screen { border-radius: 0.25rem 0.25rem 0.5rem 0.5rem; }
.screen img { inline-size: 100%; block-size: auto; }
html:not(.js) .screen, .window.is-active .screen { overflow-y: auto; }
.screen:focus-visible { outline-offset: calc(var(--pad) + 3px); }

/* shadows inside a selected window, only toward content that is there */
.screen::before, .screen::after {
  content: ""; display: block; position: sticky; block-size: 1rem; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity 0.2s;
}
.screen::before { inset-block-start: 0; margin-block-end: -1rem; background: radial-gradient(farthest-side at 50% 0, rgb(0 0 0 / 0.3), transparent); }
.screen::after { inset-block-end: 0; margin-block-start: -1rem; background: radial-gradient(farthest-side at 50% 100%, rgb(0 0 0 / 0.3), transparent); }
@container scroll-state(scrollable: block-start) { .screen::before { opacity: 1; } }
@container scroll-state(scrollable: block-end) { .screen::after { opacity: 1; } }

/* the tap target that lets a window take the scroll; a swipe over it still moves the page or the row */
.peek {
  position: absolute; inset: var(--bar) var(--pad) var(--pad); z-index: 2;
  display: flex; align-items: flex-end; justify-content: center; padding: 0 0 1rem;
  border: 0; border-radius: 0.25rem 0.25rem 1.375rem 1.375rem; background: transparent; cursor: pointer;
  touch-action: pan-x pan-y;
}
.peek:focus-visible { outline: none; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 44px; padding-inline: 1rem 1.125rem;
  border-radius: 999px; background: var(--ink); color: var(--text);
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 0 0 1px var(--gold), 0 0.5rem 1.25rem -0.25rem rgb(0 0 0 / 0.5);
  transition: background-color 0.2s, translate 0.3s var(--ease);
}
.pill .icon { color: var(--gold); }
.peek:hover .pill { background: #24214a; translate: 0 -2px; }
.peek:focus-visible .pill { outline: 3px solid var(--gold); outline-offset: 3px; }
.window.is-active .peek { display: none; }
.window.is-active .device { box-shadow: 0 0 0 3px var(--gold), 0 1.25rem 2.5rem -1.25rem rgb(0 0 0 / 0.6); }
.window.is-loading .screen { opacity: 0.75; }

/* Phone and Laptop: only where a laptop capture can be read */
.views { display: none; }
@media (min-width: 60rem) {
  .views { display: inline-flex; justify-self: start; padding: 3px; border: 1px solid var(--ring); border-radius: 8px; }
  html:not(.js) .views { display: none; }
}
.views button, .done {
  min-block-size: 44px; padding-inline: 0.875rem; border: 0; border-radius: 5px;
  background: transparent; color: var(--muted); font-weight: 650; font-size: 1rem; cursor: pointer;
}
.views button:hover { color: var(--text); background: rgb(255 255 255 / 0.08); }
.views button[aria-pressed="true"] { background: var(--gold); color: var(--field); }

.win-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-block-size: 44px;
  color: var(--muted); font-size: 0.875rem;
}
.win-ctl { display: inline-flex; align-items: center; gap: 0.625rem; }
.readout { font-variant-numeric: tabular-nums; }
.done { border: 1px solid var(--gold); color: var(--text); padding-inline: 1.125rem; }
.done:hover { background: var(--gold); color: var(--field); }
.done[hidden] { display: none; }

.nojs-links { font-size: 0.875rem; color: var(--muted); }
.nojs-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-block-size: 44px; min-inline-size: 44px; vertical-align: middle;
}
.js .nojs-links { display: none; }
html:not(.js) .needs-js { display: none; }
/* the form cannot send without the spam check, so without scripting the
   Send button goes too and the noscript line says why */
html:not(.js) .form .send { display: none; }

/* a box in a window's place: no public screen */
.box {
  position: relative; container-type: size;
  inline-size: 100%;
  block-size: calc(var(--scr-h) + var(--bar) + var(--pad));
  border-radius: 1.75rem; overflow: hidden;
}
.box-soon {
  border: 2px dashed var(--gold);
  background:
    repeating-linear-gradient(135deg, rgb(242 193 78 / 0.1) 0 2px, transparent 2px 12px),
    var(--field);
}
.box-private {
  border: 1px solid var(--ring);
  background:
    radial-gradient(circle, var(--ring) 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--raised);
}
/* the words run from the lower left corner to the upper right one */
.box-t {
  position: absolute; left: 50%; top: 50%;
  inline-size: hypot(100cqw, 100cqh);
  translate: -50% -50%;
  rotate: calc(-1 * atan2(100cqh, 100cqw));
  text-align: center; white-space: nowrap; line-height: 1;
  font-weight: 820; font-stretch: 118%; letter-spacing: 0.01em;
  font-size: calc(hypot(100cqw, 100cqh) / 8.9);
}
.box-soon .box-t { color: var(--gold); }
.box-private .box-t { color: var(--text); font-size: calc(hypot(100cqw, 100cqh) / 10.2); font-stretch: 105%; }
/* where windows carry the Phone and Laptop switch, a box starts level with the frames */
@media (min-width: 60rem) {
  .js .row .window.is-box::before { content: ""; block-size: 52px; }
}

/* apps */
.apps-in { display: grid; gap: 1.5rem; }
.apps-text .e-status { display: flex; margin-top: 1rem; font-size: 0.9375rem; }
.apps-s { margin-top: 0.75rem; font-size: 1.125rem; max-width: 34rem; text-wrap: pretty; }
.apps-box { width: min(78vw, 17.5rem); }
@media (min-width: 52rem) {
  .apps-in { grid-template-columns: minmax(0, 1fr) 18rem; gap: 4rem; align-items: center; }
  .apps-box { width: 18rem; }
}

/* security and SEO */
#every .key { margin-top: 1.5rem; }
.every-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
.h-list { font-size: 1.375rem; font-weight: 750; font-stretch: 118%; line-height: 1.1; }
.every { margin-top: 0.75rem; }
.every li {
  display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start;
  padding-top: 0.75rem; padding-bottom: 0.75rem; border-top: 1px solid var(--rule);
}
.every li:last-child { border-bottom: 1px solid var(--rule); }
.every .pad { margin-top: 0.25rem; }
.every .pad.on { box-shadow: none; }
@media (min-width: 52rem) { .every-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* about */
.about-in { display: grid; gap: 1rem; }
.about-p { color: var(--muted); max-width: 40rem; font-size: 1.125rem; text-wrap: pretty; }
.about-link { margin-top: 0.5rem; }
@media (min-width: 52rem) { .about-in { grid-template-columns: 18rem minmax(0, 1fr); gap: 4rem; } }

/* contact: the one invitation */
.contact { border-top: 1px solid var(--rule); background: var(--deep); padding-top: 3rem; padding-bottom: 3.5rem; }
.contact-in { display: grid; gap: 2rem; }
@media (min-width: 52rem) {
  .contact { padding-top: 4.5rem; padding-bottom: 5rem; }
  .contact-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
}
.form { display: grid; gap: 1.25rem; max-width: 36rem; }
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 650; }
.req { color: var(--muted); font-weight: 400; font-size: 0.9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem; font-size: max(1rem, 1em);
  background: var(--raised); color: var(--text); border: 1.5px solid var(--line); border-radius: 0.5rem;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff9d8a; }
/* the honeypot: off screen, never announced (contact-lib.php drops a filled one) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* the spam check's place: a fixed height that holds the 65px Turnstile widget,
   so nothing below it moves when it loads (site.js renders it on first use) */
.turnstile {
  display: flex; align-items: center; block-size: calc(65px + 1rem + 3px); padding: 0.5rem 0.5rem;
  border: 1.5px dashed var(--line); border-radius: 0.5rem; color: var(--muted); font-size: 0.9375rem;
  overflow: hidden;
}
.ts-note { padding-inline: 0.5rem; line-height: 1.4; }
.turnstile.is-live { border-style: solid; }
.turnstile.is-live .ts-note { display: none; }
.ts-slot:empty { display: none; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.btn {
  min-height: 48px; padding-inline: 1.75rem; border: 0; border-radius: 0.5rem;
  background: var(--gold); color: var(--field); font-weight: 750; font-stretch: 110%; cursor: pointer;
  touch-action: manipulation;
}
.btn:hover { background: #f7d27a; }
.f-note { color: var(--muted); font-size: 0.9375rem; }
noscript .f-note { color: var(--text); }
.f-status:empty { display: none; }
.f-status { color: var(--gold); font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--rule); background: var(--deep); padding-top: 1.5rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.9375rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; row-gap: 0.25rem; }
.foot-links { display: flex; gap: 1.25rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot-links a:hover { color: var(--gold); }
.promise { flex-basis: 100%; max-width: 44rem; }
.build { flex-basis: 100%; font-size: 0.875rem; color: var(--muted); }

/* the short pages: privacy, the form's answers, /demos/ */
/* a short page still ends on the footer, not on a band of field below it */
body:has(> main.page) { min-block-size: 100svh; display: flex; flex-direction: column; }
body:has(> main.page) > main { flex: 1 0 auto; }
.page { padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 56rem) { .page { padding-top: 4.5rem; padding-bottom: 5rem; } }
.page-in > p { margin-top: 1rem; }
.prose section { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.prose section p, .prose .plain { margin-top: 0.75rem; max-width: 42rem; text-wrap: pretty; }
.plain li { padding-block: 0.375rem; padding-left: 1.25rem; position: relative; }
.plain li::before {
  content: ""; position: absolute; left: 0; top: 0.95em; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; background: var(--gold);
}
.updated { color: var(--muted); font-size: 0.9375rem; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  *:not(.row), *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  * { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .pad.on { background: CanvasText; }
  .views button[aria-pressed="true"] { outline: 2px solid CanvasText; }
  .window.is-active .device { outline: 3px solid Highlight; }
}
