/* AAG Development LLC site. One stylesheet, system fonts, no external requests, no JavaScript.
   Extended 2026-11-20 for the Political Text Filter pages with the app icon's navy and gold.
   Contrast (measured, WCAG): white on --navy 12.3:1, white on --navy-deep 15.9:1,
   --gold on --navy-deep 8.9:1, --navy-deep ink on --gold fill 8.9:1, --gold-ink on white 5.9:1,
   --gold-ink on --gold-tint 6.4:1, --muted on --bg 6.8:1 and on --surface 6.3:1,
   --on-navy-muted on --navy 8.2:1. Gold is never small text on a light ground (1.8:1). */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f5f7;
  --text: #1b1d21;
  --muted: #555b66;
  --border: #d9dce1;
  --link: #0b57d0;
  --link-visited: #6a3fb5;
  --focus: #0b57d0;
  --measure: 42rem;
  /* Brand: the app icon's gradient and slash. */
  --navy: #22335e;
  --navy-deep: #18213d;
  --gold: #f2b84b;
  --gold-ink: #8a5a00; /* gold-family text on light grounds */
  --gold-tint: #fdf6e6; /* a warm band behind dark ink */
  --on-navy: #ffffff;
  --on-navy-muted: #c9d3ea;
  --band: #f4f6fb; /* cool light band; --text 16.9:1, --muted 6.3:1 on it */
  --heading: var(--text);
  --card: #ffffff;
  --shadow: 0 1px 2px rgb(24 33 61 / 0.06), 0 8px 24px rgb(24 33 61 / 0.08);
  --wide: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --line: #7f889b; /* connector, 3.6:1 on --bg, 3.3:1 on --band */
  --border-strong: #c3c8d1;
  --icon-bg: #e4e9f5;
  --icon-ink: #22335e; /* 10.1:1 on --icon-bg */
  --tag-ink: #7a5200; /* 6.9:1 on --bg, 6.4:1 on --band */
  --band-divider: transparent;
  --drawer-edge: #22335e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121722;
    --surface: #1a2135;
    --text: #d9dee8; /* 13.3:1 on --bg, 11.8:1 on --band */
    --heading: #f2f5fa; /* 14.5:1 on --band */
    --muted: #a7acb6;
    --border: #2e3b66;
    --link: #8ab4f8;
    --link-visited: #c4a7f5;
    --focus: #8ab4f8;
    --gold-ink: #f2b84b; /* 10.4:1 on --bg */
    --band: #18213d; /* --text 11.8:1, --muted 7.0:1 */
    --card: #1c2747;
    --band-divider: #2e3b66;
    --tag-ink: #f2b84b;
    --drawer-edge: #7a8bc4; /* 4.8:1 on --band */
    --on-navy-muted: #c9d3ea;
    --shadow: none;
    --line: #6b7a99; /* 4.2:1 on --bg, 3.7:1 on --band */
    --border-strong: #3a4878;
    --icon-bg: #1f2a47;
    --icon-ink: #f2b84b;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  isolation: isolate;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
}

.skip-link:focus {
  left: 1rem;
  z-index: 10;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1rem;
}

.wrap-wide {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

header.site {
  border-bottom: 1px solid var(--border);
}

header.site .wrap,
header.site .wrap-wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand .by {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.875rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
}

nav li + li {
  margin-top: 0;
}

main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

main.product {
  padding-top: 0;
  padding-bottom: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.4rem;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

a:visited {
  color: var(--link-visited);
}

a:focus-visible,
.brand:focus-visible,
.btn:focus-visible,
.shot a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: none;
  color: var(--heading);
  border-bottom-color: var(--gold-ink);
}

.lede {
  font-size: 1.1875rem;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.card h2 {
  margin-top: 0.25rem;
}

main.company {
  padding-top: clamp(2rem, 6vw, 3.5rem);
}

.company .card {
  background: var(--card);
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.25rem;
}

.company .card .note-line {
  color: var(--muted);
  font-size: 0.9375rem;
}

.company .card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.company .card li + li {
  margin-top: 0;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.card-head img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  flex: none;
}

.card-head h2 {
  margin: 0;
}

.card-head + p {
  margin-top: 1rem;
}

/* ---- Product pages ------------------------------------------------------------------------- */

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.25rem, 6vw, 4.5rem);
  border-bottom: 4px solid var(--gold);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  color: var(--on-navy);
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  max-width: 16ch;
}

.hero p {
  color: var(--on-navy-muted);
  font-size: 1.1875rem;
  max-width: 34rem;
}

.hero .free {
  color: var(--on-navy);
  font-weight: 650;
  margin: 0;
}

.cta-group {
  margin-top: 1.75rem;
}

.cta-group .actions {
  margin-top: 0.875rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero .text-link,
.hero .text-link:visited {
  color: var(--on-navy);
}

.hero .text-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The hero's real app screen in a plain rounded bezel (generic, not any maker's device art). */
.hero-device {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.hero-device .device {
  max-width: none;
  border: 1px solid rgb(255 255 255 / 0.18);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero a:not(.btn) {
  color: var(--on-navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary,
.btn-primary:visited {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: #f6c86a;
}

.btn-quiet,
.btn-quiet:visited {
  color: var(--on-navy);
  border: 1.5px solid rgb(255 255 255 / 0.55);
}

.btn-quiet:hover {
  border-color: var(--on-navy);
}

.hero .btn:focus-visible {
  outline-color: var(--gold);
}

/* The path of one text: three cards, each with a small drawing of its step (aria-hidden). Gold
   marks only Junk. --line strokes are 3.6:1 on --bg. */
.route {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: route;
}

.route li {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  counter-increment: route;
}

.route .mini {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 120px;
  margin: 0 0 1.25rem;
}

.route strong {
  display: block;
  position: relative;
  padding-left: 2.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--heading);
  text-wrap: balance;
}

.route strong::before {
  content: counter(route);
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--on-navy);
  position: absolute;
  left: 0;
  top: 0;
}

.route span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

.route mark {
  background: var(--gold);
  color: var(--navy-deep); /* 8.9:1 */
  padding: 0 0.25em;
  border-radius: 4px;
}

.mn-bubble {
  fill: var(--icon-bg);
  stroke: var(--icon-ink);
  stroke-width: 1.5;
}

.mn-avatar {
  fill: var(--card);
  stroke: var(--icon-ink);
  stroke-width: 1.5;
}

.mn-bar {
  fill: var(--line);
}

.mn-quiet {
  opacity: 0.55;
}

.mn-q {
  fill: var(--icon-ink);
  font-size: 14px;
  font-weight: 700;
}

.mn-path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mn-path-strong {
  stroke: var(--gold-ink);
  stroke-width: 2.5;
}

.mn-dashed {
  stroke-dasharray: 2 6;
}

.mn-check {
  fill: none;
  stroke: var(--icon-ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mn-node {
  fill: var(--navy);
  stroke: var(--gold);
  stroke-width: 2;
}

.mn-mega {
  fill: #ffffff;
}

.mn-slash {
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linecap: round;
}

.mn-junk {
  fill: var(--gold);
}

.mn-junk-bar {
  fill: rgb(24 33 61 / 0.5);
}

.mn-tray {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid var(--band-divider);
}

@media (min-width: 46rem) {
  .section {
    padding: 80px 0;
  }
}

.section > .wrap-wide > h2:first-child,
.section h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

.section-intro {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
}

.band {
  background: var(--band);
}

.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0 3rem;
}

.features > li {
  margin: 0;
  padding: 28px 0 28px 3.75rem;
  border-top: 1px solid var(--border-strong);
  position: relative;
}

.features .feature-lead h3 {
  font-size: 1.375rem;
}

.features .feature-lead .ico {
  background: var(--gold);
  stroke: var(--navy-deep); /* 8.9:1 on the gold tile */
}

.features .ico {
  position: absolute;
  left: 0;
  top: 28px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 12px;
  background: var(--icon-bg);
  stroke: var(--icon-ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.features p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.features p {
  max-width: 40rem;
}

.features p:last-child {
  margin-bottom: 0;
}

/* Steps beside the real app screens. */
.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

.steps > li {
  margin: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
  justify-items: start;
  counter-increment: step;
}

.steps h3 {
  margin: 0;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.steps h3::before {
  content: counter(step);
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
  background: var(--navy);
  color: var(--on-navy);
}

.steps p {
  margin: 0;
}

.shot {
  margin: 0;
}

/* A plain rounded bezel around a real screen: radius 36, navy #18213d. Each screen is shown whole
   (the claim-safe crop), with no fade. */
.device {
  width: 100%;
  max-width: 280px;
  padding: 10px;
  border-radius: 36px;
  background: #18213d;
  box-shadow: var(--shadow);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 26px;
  background: #ffffff;
}

.shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 280px;
}

.shot .full {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  white-space: nowrap;
}

/* "See everything the filter does": a native disclosure, open and closed without JavaScript.
   The chevron and the Show/Hide word follow [open] in CSS only. */
.drawer {
  margin: 2.5rem 0 0;
}

.drawer summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: 56px;
  padding: 0.6rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--card);
  border: 1.5px solid var(--drawer-edge);
  border-radius: var(--radius);
}

.drawer[open] summary {
  border-radius: var(--radius) var(--radius) 0 0;
}

.drawer summary::-webkit-details-marker {
  display: none;
}

.drawer .chev {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 0.25rem;
  transition: transform 0.15s ease;
}

.drawer[open] .chev {
  transform: rotate(45deg);
}

.drawer summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.drawer .count {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-deep); /* 8.9:1 on the gold pill */
  background: var(--gold);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}

.drawer .toggle-label {
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--link);
}

.drawer .when-open,
.drawer[open] .when-closed {
  display: none;
}

.drawer[open] .when-open {
  display: inline;
}

.drawer-body {
  display: grid;
  gap: 1.25rem 2.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--drawer-edge);
  border-top: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}

.drawer-group h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--icon-ink);
  background: var(--icon-bg);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  margin: 0 0 0.6rem;
}

.drawer-group ul {
  margin: 0;
  padding-left: 1.4rem;
}

.drawer-group li {
  font-size: 1rem;
  line-height: 1.5;
}

.drawer-group li + li {
  margin-top: 0.25rem;
}

.drawer-group li::marker {
  color: var(--gold-ink);
}

/* Enhanced Protection: the copy beside a drawing of the app's own section. */
.ep-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ep h2 {
  margin-top: 0;
}

.ep .tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tag-ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.ep p:last-child {
  margin-bottom: 0;
}

.panel {
  margin: 0;
  width: 100%;
  max-width: 30rem;
  justify-self: center;
}

/* Drawn in the app's own light grouped-list look on every scheme, like the screenshots. */
.panel-rows {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  background: #ffffff;
  color: #1b1d21;
  border: 1px solid #d9dce1;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.panel-rows li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  font-size: 0.9875rem;
}

.panel-rows li + li {
  border-top: 1px solid #e3e5e9;
}

.panel-status {
  color: #555b66; /* 6.8:1 on white */
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* An off switch: grey track (#c7cad1, 1.6:1 decorative; the caption says each is off). */
.toggle {
  flex: none;
  position: relative;
  width: 51px;
  height: 31px;
  border-radius: 999px;
  background: #e3e5e9;
  box-shadow: inset 0 0 0 1.5px #c7cad1;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
}

.panel figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}

/* Questions: answer pairs in a grid, so neither column runs long. */
.faq-grid {
  display: grid;
  gap: 0 48px;
  align-items: start;
  margin-top: 0.5rem;
}

.qa p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Wide screens: one question per row, the question beside its answer, so no column runs ragged. */
@media (min-width: 60rem) {
  .faq-grid {
    grid-template-columns: none;
  }

  .qa {
    display: grid;
    grid-template-columns: 20rem minmax(0, 40rem);
    gap: 0 48px;
    align-items: start;
  }

  .qa h3 {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .qa p {
    grid-column: 2;
  }
}

.qa {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-strong);
}

.qa h3 {
  margin: 0 0 0.5rem;
}

.qa p:last-child {
  margin-bottom: 0;
}

/* The closing box: contact on the left, who it's for and why on the right. */
.closing-split {
  display: grid;
  gap: 2rem 3rem;
}

.closing-side {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.closing-side h2 {
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
}

.closing-side p {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.closing-side p:last-child {
  margin-bottom: 0;
}

.closing a:not(.btn):visited {
  color: var(--on-navy);
}

@media (min-width: 60rem) {
  .closing-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .closing-side {
    padding: 0 0 0 3rem;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.18);
  }
}

.two-col {
  display: grid;
  gap: 2rem;
}

.faq h3 {
  margin-top: 1.75rem;
}

.faq h3:first-of-type {
  margin-top: 1rem;
}

.closing {
  background: var(--navy-deep);
  color: var(--on-navy);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.closing h2 {
  margin-top: 0;
  color: var(--on-navy);
}

.closing p:last-of-type {
  margin-bottom: 0;
}

.closing p {
  color: var(--on-navy-muted);
}

.closing a:not(.btn) {
  color: var(--on-navy);
}

/* Long-form pages (how it decides, why, trust). */
.diagram {
  margin: 1.5rem 0 1.75rem;
  padding: 1rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Phones get the same drawing stacked, so its labels stay about 14px. */
.diagram .dg-tall {
  display: none;
  max-width: 320px;
  margin: 0 auto;
}

/* The wide drawing only where its box is at least its 660-unit width, so labels stay 14px. */
@media (max-width: 48rem) {
  .diagram .dg-wide {
    display: none;
  }

  .diagram .dg-tall {
    display: block;
  }
}

.dg-node {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 1.5;
}

.dg-node-key {
  stroke: var(--navy);
  stroke-width: 2;
}

.dg-notch {
  fill: var(--border);
}

.dg-title {
  fill: var(--text);
  font-size: 16px;
  font-weight: 650;
}

.dg-sub,
.dg-muted {
  fill: var(--muted);
}

.dg-sub {
  font-size: 14px;
}

.dg-label {
  fill: var(--text);
  font-size: 14px;
}

.dg-line {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.75;
}

.dg-back {
  stroke: var(--line);
  stroke-dasharray: 4 5;
}

.dg-head {
  fill: var(--text);
}

/* Long pages share the header's left edge (same --wide container and gutter) and keep a
   readable measure inside it. */
main.doc {
  max-width: var(--wide);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 4rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

main.doc > * {
  max-width: 46rem;
}

/* Long pages with a contents list: on wide screens it becomes a sticky rail on the right (CSS
   only; with JS off and on phones it stays in the flow under the lede). */
@media (min-width: 75rem) {
  main.doc.has-rail {
    display: grid;
    grid-template-columns: minmax(0, 46rem) 17rem;
    column-gap: 3rem;
    align-items: start;
  }

  main.doc.has-rail > * {
    grid-column: 1;
  }

  main.doc.has-rail > .toc {
    grid-column: 2;
    grid-row: 1 / span 200;
    position: sticky;
    top: 1.5rem;
    margin: 0.5rem 0 0;
  }

  main.doc.has-rail > .toc ul {
    grid-template-columns: none;
  }

  main.doc.has-rail > .toc li {
    font-size: 0.9375rem;
    line-height: 1.4;
  }
}

.doc h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-top: 0;
}

.doc h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 64px 0 16px;
}

.doc h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--gold);
}

.doc .closing h2 {
  margin-top: 0;
}

.doc .closing h2::after {
  display: none;
}

.closing-doc {
  margin-top: 64px;
}

.back-row {
  margin: 1.5rem 0 0;
}

.back-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.back-row a::before {
  content: "\2190";
  margin-right: 0.4rem;
}

.doc .kinds {
  padding-left: 1.25rem;
}

.note {
  border-left: 4px solid var(--gold);
  background: var(--band);
  padding: 0.85rem 1.1rem;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
}

.note p:last-child {
  margin-bottom: 0;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin: 1.5rem 0;
}

.toc ul {
  display: grid;
  gap: 0.15rem 2rem;
  padding-left: 1.2rem;
  margin: 0;
}

.toc li + li {
  margin-top: 0;
}

.toc a {
  display: inline-block;
  padding: 0.3rem 0;
}

@media (min-width: 46rem) {
  .toc ul {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Tables never break words mid-word: a labelled scroll region on wide screens, cards on phones. */
.table-scroll {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 36rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface);
  font-weight: 650;
}

th:first-child,
td:first-child {
  min-width: 11rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* A marker beside the cell's own words: the words carry the meaning, the colour repeats it. */
td.yes::before,
td.no::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  vertical-align: 0.05em;
}

td.yes::before {
  background: var(--gold);
  box-shadow: 0 0 0 1.5px var(--gold-ink);
}

td.no::before {
  box-shadow: inset 0 0 0 2px var(--line);
}

td .v {
  font-size: 0.875rem;
  font-weight: 700;
}

.table-note {
  margin-top: -0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

footer.site .wrap,
footer.site .wrap-wide {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

footer.site p {
  margin: 0 0 0.5rem;
}

@media (min-width: 46rem) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features .feature-lead,
  .features .feature-wide {
    grid-column: 1 / -1;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .drawer-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .route {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .ep-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}



/* Under 26rem the drawer summary cannot hold the title (223px at 16px), the pill (62px) and the
   Show/Hide word (37px) on one line, so the word goes; the chevron and the native expanded state
   still say whether it is open. */
@media (max-width: 26rem) {
  .drawer .toggle-label {
    display: none;
  }
}

/* Phones: one-line eyebrow and banner, full-width primary button, one-row drawer summary. */
@media (max-width: 40rem) {
  .drawer summary {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
  }

  .drawer .count {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    white-space: nowrap;
  }

  .drawer .toggle-label {
    font-size: 0.875rem;
  }

  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .cta-group .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-group .btn {
    width: 100%;
  }

  .cta-group .text-link {
    justify-content: center;
  }

  .hero-device {
    max-width: 100%;
  }
}

/* Phones: still one table, header pinned while its rows scroll by; smaller type, no min widths. */
@media (max-width: 40rem) {
  table {
    min-width: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .table-scroll {
    overflow: visible;
  }

  th,
  td {
    padding: 0.6rem 0.55rem;
  }

  th:first-child,
  td:first-child {
    min-width: 0;
  }

  thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 1px 0 var(--border);
  }
}

@media (max-width: 30rem) {
  h1 {
    font-size: 1.6875rem;
  }
}

@media (prefers-color-scheme: dark) {
  /* Component overrides, after the base rules so they win the cascade. */
  .hero {
    background: linear-gradient(180deg, #1b2a4f 0%, var(--navy-deep) 100%);
  }

  .route strong::before {
    background: #2c3d6b;
  }

  .mn-node {
    fill: #2c3d6b;
  }

  .device {
    box-shadow: 0 0 0 1px #2e3b66;
  }

  .dg-node-key {
    stroke: var(--gold);
  }

  .company .card {
    border-top-color: var(--gold);
  }

  .steps h3::before {
    background: var(--gold);
    color: var(--navy-deep);
  }

  .closing {
    background: #22335e;
    border: 1px solid #3a4a7c;
  }

  /* App screens stay light (they show the app as it is), dimmed a little on a dark page. */
  .device img {
    filter: brightness(0.92);
  }

  .brand img,
  .card-head img {
    box-shadow: 0 0 0 1px #3a3f4a;
  }
}

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

@media print {
  :root {
    --bg: #ffffff;
    --text: #000000;
    --muted: #333333;
    --border: #999999;
    --band: #ffffff;
    --card: #ffffff;
    --surface: #ffffff;
  }

  body {
    font-size: 11pt;
  }

  .skip-link,
  header.site nav,
  .actions {
    display: none;
  }

  .hero,
  .closing {
    background: none;
    color: #000000;
    border: 0;
    padding: 0 0 1rem;
  }

  .hero p,
  .hero .free,
  .hero h1,
  .hero .eyebrow,
  .closing p {
    color: #000000;
  }

  .hero-device,
  .route .mini,
  .drawer .toggle-label,
  .drawer .chev,
  .shot .full {
    display: none;
  }

  .route li,
  .drawer summary,
  .drawer-body {
    box-shadow: none;
    border-color: #999999;
  }

  .route strong::before {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }

  .device {
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .features .ico {
    background: none;
  }

  .drawer::details-content {
    content-visibility: visible;
    height: auto;
  }


  .panel-rows {
    box-shadow: none;
  }

  .features > li,
  .steps > li,
  .shot,
  tr,
  .note {
    break-inside: avoid;
    box-shadow: none;
  }

  .device img {
    max-width: 240px;
    border: 1px solid #999999;
  }

  a[href^="mailto:"]::after,
  main a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}

/* Pre-launch availability note under the hero buttons. */
.hero .hero-note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--on-navy-muted);
}

@media print {
  .hero .hero-note {
    color: #000000;
  }
}

/* ---- Deja View (/deja-view/) --------------------------------------------------------------
   Same navy and gold as the rest of the site, one idea carried through: a filled mark means
   built, a dashed ring means being built (the key, the panel, the features, the step labels).
   The hero drawing sits on the navy hero in both schemes, so it uses fixed on-navy colours:
   gold stations (#f2b84b) with navy-deep numbers (8.9:1), the building in #e4e9f5 with #9aa7c7
   roof lines, a dotted #c9d3ea visit order (8.2:1 on --navy).
   Measured contrast of the new grounds: --muted #555b66 on --dv-band #e9eef8 6.1:1, --tag-ink
   #7a5200 on it 5.9:1; dark --muted #a7acb6 on #1b2647 6.5:1. The screens band is --navy-deep:
   #ffffff 15.9:1, #c9d3ea 11.3:1, link #f2b84b 8.9:1. */
:root {
  --dv-band: #e9eef8;
  --dv-screens: #18213d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --dv-band: #1b2647;
    --dv-screens: #22335e;
  }
}

/* Visually hidden, still read aloud and still checked against the ledger. */
.dv-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.dv .hero .dv-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--on-navy);
}

.dv-name img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25);
}

.dv .hero .eyebrow {
  margin-bottom: 1rem;
}

.dv .hero h1 {
  max-width: 18ch;
}

/* The status line: a plain statement with a gold rule, not a control. */
.dv .hero .dv-status {
  margin: 1.5rem 0 0;
  padding: 0.1rem 0 0.1rem 0.9rem;
  border-left: 3px solid var(--gold);
  color: var(--on-navy);
  font-weight: 700;
  font-size: 1.0625rem;
}

.dv .hero .actions {
  margin-top: 1.75rem;
}

.dv-art {
  margin: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.dv-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.dv-art figcaption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--on-navy-muted);
}

.dv-lot {
  fill: rgb(255 255 255 / 0.05);
  stroke: rgb(201 211 234 / 0.3);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
}

/* A mulch bed along the front of the house: where stations hide. */
.dv-bed {
  fill: none;
  stroke: rgb(242 184 75 / 0.35);
  stroke-width: 10;
  stroke-linecap: round;
}

.dv-house {
  fill: #e4e9f5;
  stroke: #e4e9f5;
  stroke-width: 2;
  stroke-linejoin: round;
}

.dv-roof {
  fill: none;
  stroke: #9aa7c7;
  stroke-width: 2;
  stroke-linecap: round;
}

.dv-route {
  fill: none;
  stroke: #c9d3ea;
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}

.dv-st circle {
  fill: #f2b84b;
  stroke: #18213d;
  stroke-width: 3;
}

/* Station 1, the start, carries an outer ring. */
.dv-st .dv-st-first {
  stroke: #ffffff;
  stroke-width: 3;
}

.dv-st text {
  fill: #18213d;
  font-size: 17px;
  font-weight: 750;
  text-anchor: middle;
}

/* The problem, and who it is for, in one tighter section. */
.dv-problem-section {
  padding: 40px 0;
}

@media (min-width: 46rem) {
  .dv-problem-section {
    padding: 56px 0;
  }
}

.dv-problem {
  display: grid;
  gap: 0.5rem 3rem;
}

.dv-problem h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.dv-problem-body {
  max-width: 44rem;
}

.dv-problem-body p {
  color: var(--text);
  font-size: 1.0625rem;
}

.dv-problem-body .dv-big {
  color: var(--heading);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  text-wrap: balance;
}

.dv-who {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-strong);
}

.dv-who h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dv-who p {
  margin: 0 0 0.4rem;
}

.dv-who strong {
  color: var(--heading);
}

/* Built and being built: two marks, used everywhere a stage is shown. */
.dv-band-strong {
  background: var(--dv-band);
}

.dv-mark {
  flex: none;
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
}

.dv-mark-built {
  background: var(--navy);
}

.dv-mark-building {
  border: 2.5px dashed var(--tag-ink);
}

.dv-key {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--card);
  font-size: 1.0625rem;
  color: var(--text);
}

.dv-key li {
  margin: 0;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.dv-next {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem 1.35rem 3.5rem;
  border: 2px dashed var(--tag-ink);
  border-radius: var(--radius);
  background: var(--card);
}

.dv-next::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 1.55rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2.5px dashed var(--tag-ink);
}

.dv-tag {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-ink);
}

.dv-next h3 {
  margin: 0.15rem 0 0.3rem;
  font-size: 1.375rem;
}

.dv-next p:last-child {
  margin: 0;
  color: var(--text);
}

.dv-groups {
  display: grid;
  gap: 2rem 3rem;
  margin-top: 2.25rem;
}

.dv-group > h3 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dv-built {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 2.5rem;
}

.dv-built > li {
  margin: 0;
  position: relative;
  padding: 1.1rem 0 1.1rem 2.1rem;
  border-top: 1px solid var(--border-strong);
}

.dv-built > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--navy);
}

.dv-built h4 {
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--heading);
}

.dv-built p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.dv-group-quiet h4 {
  font-size: 1.0625rem;
}

/* How it will work: four numbered steps; each label carries its stage marks. */
.dv-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: dvstep;
}

.dv-steps > li {
  margin: 0;
  position: relative;
  padding: 0 0 1.75rem 3.5rem;
  counter-increment: dvstep;
}

.dv-steps > li::before {
  content: counter(dvstep);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--bg);
  color: var(--heading);
  border: 2px solid var(--heading);
}

.dv-steps > li::after {
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.25rem;
  bottom: 0;
  border-left: 2px solid var(--border-strong);
}

.dv-steps > li:last-child::after {
  display: none;
}

.dv-steps p {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--heading);
}

.dv-steps .dv-stage {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--text);
}

.dv-s-built,
.dv-s-building {
  white-space: nowrap;
}

.dv-s-built::before,
.dv-s-building::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  vertical-align: -0.08rem;
}

.dv-s-built::before {
  background: var(--navy);
}

.dv-s-building {
  color: var(--tag-ink);
}

.dv-s-building::before {
  border: 2px dashed var(--tag-ink);
}

a.dv-s-building,
a.dv-s-building:visited {
  display: inline-block;
  min-height: 24px;
  padding: 0.15rem 0;
  color: var(--tag-ink);
}

/* Screens: a navy band, each screen near its real size, a muted caption under each. */
.dv-screens {
  background: var(--dv-screens);
  color: var(--on-navy);
}

.dv-screens h2 {
  color: var(--on-navy);
}

.dv-screens .section-intro {
  color: var(--on-navy-muted);
}

.dv-shot {
  margin: 2rem 0 0;
}

.dv-plan-row {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: start;
}

.dv-shot img {
  display: block;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2), 0 12px 32px rgb(0 0 0 / 0.25);
}

.dv-shot-plan img {
  max-width: 480px;
}

.dv-shot-held img {
  max-width: 745px;
}

.dv-shot-held picture {
  display: block;
}

/* The plan's key, written out as text in the screen's own wording and colours. */
.dv-legend {
  max-width: 24rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  color: #1c1f23;
  border-radius: 12px;
}

.dv-legend-title {
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.dv-legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.dv-legend li {
  margin: 0;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.dv-sw {
  flex: none;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
}

.dv-sw-located {
  background: #17537a;
}

.dv-sw-not {
  border: 3px solid #b25e00;
}

.dv-sw-route {
  height: 0;
  margin-top: 0.6rem;
  border-radius: 0;
  border-top: 2px dashed #7a8794;
}

.dv-sw-note {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0.15rem 0.175rem 0;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgb(178 94 0 / 0.45);
  border: 2px solid #b25e00;
}

.dv-shot figcaption {
  margin-top: 0.85rem;
  max-width: 46rem;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--gold);
  background: rgb(255 255 255 / 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--on-navy-muted);
  font-size: 0.9375rem;
}

/* The full-size link sits on its own line, so its 44px target does not stretch the
   caption's line box. */
.dv-shot figcaption a,
.dv-shot figcaption a:visited {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  margin-bottom: -0.35rem;
  font-weight: 600;
  color: var(--gold);
}

.dv-screens a:focus-visible {
  outline-color: var(--gold);
}

/* Closing: contact on the left, the two questions on the right. */
.dv-closing h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.dv-qa + .dv-qa {
  margin-top: 1rem;
}

.dv-qa h3 {
  margin: 0 0 0.3rem;
  font-size: 1.0625rem;
  color: var(--on-navy);
}

.dv-qa p {
  margin: 0;
}

@media (min-width: 46rem) {
  .dv-built {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .dv-problem {
    grid-template-columns: 16rem minmax(0, 1fr);
  }

  .dv-plan-row {
    grid-template-columns: minmax(0, 480px) minmax(0, 24rem);
  }

  .dv-group-quiet .dv-built {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Steps side by side, the track running across. */
  .dv-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 1.5rem;
  }

  .dv-steps > li {
    padding: 3.25rem 0 0;
  }

  .dv-steps > li::after {
    left: 2.25rem;
    right: -1.5rem;
    top: calc(1.125rem - 1px);
    bottom: auto;
    border-left: 0;
    border-top: 2px solid var(--border-strong);
  }
}

@media (prefers-color-scheme: dark) {
  .dv .hero {
    background: linear-gradient(180deg, #2a3d6e 0%, #1f2e58 100%);
  }

  .dv-mark-built,
  .dv-built > li::before,
  .dv-s-built::before {
    background: var(--gold);
  }

  .dv-shot img {
    filter: brightness(0.86);
    box-shadow: 0 0 0 1px #3a4878;
  }

  .dv-legend {
    filter: brightness(0.9);
  }
}

@media print {
  body.dv-page a[href^="mailto:"]::after {
    content: none;
  }

  .dv .hero {
    padding-top: 12px;
  }

  .dv .hero .dv-name {
    color: #000000;
  }

  /* Short sections print whole, so a heading never ends a page alone. */
  .dv-problem,
  .dv-steps,
  .dv-key,
  .dv-how {
    break-inside: avoid;
  }

  /* The drawing prints in ink. */
  .dv-lot {
    fill: none;
    stroke: #999999;
  }

  .dv-house {
    fill: #eeeeee;
    stroke: #333333;
  }

  .dv-roof,
  .dv-route {
    stroke: #666666;
  }

  .dv-bed {
    stroke: #cccccc;
  }

  .dv-st circle,
  .dv-st .dv-st-first {
    fill: #ffffff;
    stroke: #000000;
  }

  .dv-st text {
    fill: #000000;
  }

  .dv-art {
    max-width: 320px;
    justify-self: start;
    break-inside: avoid;
  }

  .dv-art figcaption {
    color: #333333;
  }

  .dv-shot figcaption a {
    display: none;
  }

  .dv .hero .dv-status {
    color: #000000;
    border-color: #000000;
  }

  .dv-screens,
  .dv-band-strong {
    background: none;
    color: #000000;
  }

  .dv-screens h2,
  .dv-screens .section-intro,
  .dv-shot figcaption {
    color: #000000;
  }

  .dv-built > li,
  .dv-next,
  .dv-steps > li,
  .dv-shot,
  .dv-legend,
  .dv-closing {
    box-shadow: none;
    break-inside: avoid;
  }

  .dv h2,
  .dv h3,
  .dv h4,
  .dv-key {
    break-after: avoid;
  }

  .dv-steps > li::before {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }

  .dv-qa h3,
  .dv-closing h2,
  .dv-closing a:not(.btn),
  .dv-closing a:not(.btn):visited {
    color: #000000;
  }
}

/* Company home only: the Deja View card's status line reads as body text with its mark. */
#deja-view .note-line {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

#deja-view .note-line::before {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px dashed var(--tag-ink);
  transform: translateY(0.1rem);
}

/* Company home only: the footer links are a spaced list with no separators, so none can start
   or end a line. (The header links wrap onto a second row on phones, as before.) */
.footer-links {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer-links li {
  margin: 0;
}

/* The company header (home, 404, privacy: the pages whose header uses .wrap) holds five links
   since Deja View joined. Its content box is 640px (42rem less the 1rem gutters): the brand is
   183px and the links 373px, so the header's own gap goes from 24 to 16px and the links' gap from
   20 to 14px to keep brand and links on one row from 46rem up (12px to spare). Phones wrap as
   before. The product pages' headers use .wrap-wide and are untouched. */
@media (min-width: 46rem) {
  header.site .wrap {
    column-gap: 1rem;
  }

  header.site .wrap nav ul {
    column-gap: 0.875rem;
  }
}
