/* Nudge brand tokens (generated) */
:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --raise: #eceef0;
  --fg: #111416;
  --fg-soft: #3a3f45;
  --muted: #6b737c;
  --line: #d1d5da;
  --accent: #e8622a;
  --accent-ink: #ffffff;
  --accent-1: #fce8df;
  --accent-2: #f5b99e;
  --accent-3: #ef8f65;
  --accent-4: #e8622a;
  --accent-5: #a83e13;
}

[data-theme="dark"] {
  --bg: #0f1114;
  --surface: #191c20;
  --raise: #22262c;
  --fg: #eceef0;
  --fg-soft: #b0b7bf;
  --muted: #6b737c;
  --line: #2e333a;
  --accent: #ef8f65;
  --accent-ink: #1a0d06;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1114;
    --surface: #191c20;
    --raise: #22262c;
    --fg: #eceef0;
    --fg-soft: #b0b7bf;
    --muted: #6b737c;
    --line: #2e333a;
    --accent: #ef8f65;
    --accent-ink: #1a0d06;
  }
}

:root {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --space: 1rem;
  --measure: 68ch;
  --radius: 12px;
  --h1-size: clamp(2.5rem, 5.5vw, 4rem);
  --h1-lh: 1.05;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); }
img, svg, video { max-width: 100%; height: auto; }

/* footer site map: its own container, an even column grid, headings on one baseline */
.footer-map { width: min(100% - 2rem, 72rem); margin-inline: auto; display: grid; align-items: start; gap: calc(var(--space) * 1.5); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.footer-map > * { min-width: 0; }
.footer-map ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-map .more { margin-top: 0.3rem; }
.footer-map .more a { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; }

/* the site map page: an index of the site, in columns */
.sitemap { padding-block: calc(var(--space) * 2) calc(var(--space) * 3); }
.sitemap .related { margin: 0; padding-block: calc(var(--space) * 1.5); }
.sitemap .related h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.sitemap .post-list { gap: 0.4rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.sitemap .post-list li { gap: 0.1rem; padding-bottom: 0; border-bottom: 0; }
.sitemap .post-list a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; }

/* the header's menu panels */
.navmenu { left: -0.75rem; min-width: 17rem; max-width: calc(100vw - 2rem); display: grid; gap: 0.15rem; padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 12px 32px -16px rgb(0 0 0 / 0.3); }
.navmenu a { padding: 0.45rem 0.6rem; border-radius: 6px; }
.navmenu a:hover { background: var(--raise); }
/* the last entry of a shortened menu: the way to the rest, on the site map */
.navmenu a.more { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; padding-top: 0.55rem; border-top: 1px solid var(--line); }
/* Inside the open phone drawer a menu flows in place of floating. */
@media (max-width: 720px) {
  .nav-toggle[open] + .nav .navmenu { box-shadow: none; border: none; background: transparent; padding: 0 0 0 0.85rem; }
}

/* the phone menu trigger: a control a visitor can see is tappable */
.nav-toggle > summary { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.4rem 0.75rem; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-display); font-size: 0.95rem; line-height: 1; }
.nav-toggle > summary:hover, .nav-toggle[open] > summary { border-color: currentColor; }

/* icons (Phase D2 increment H) */
.icon { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
.glyph .icon { display: block; width: 1.25rem; height: 1.25rem; }
.block h2 .icon { width: 0.8em; height: 0.8em; margin-right: 0.4em; vertical-align: -0.08em; color: var(--accent); }

/* engine: a .block is one block inside a page, never a band of the page */
.block { padding-block: 0; }
.block + .block { border-top: 0; }
.block:first-child { margin-top: 0; }

/* engine: what a product capture is, said beside it */
.shot-note { font-size: 0.85rem; line-height: 1.45; margin: var(--space) 0 0; }

/* engine: the product's state, said in the hero over the plan's own pitch */
.hero .state-note { font-size: 0.95rem; line-height: 1.5; margin: var(--space) 0; max-width: 46ch; }
/* engine: and at the top of a page the writer wrote, over its first claim */
article.page .state-note { font-size: 0.9rem; line-height: 1.5; margin: var(--space) 0 0; }
/* engine: and in the head of a page the engine composes, under its standfirst */
.page-head .state-note { font-size: 0.9rem; line-height: 1.5; margin: var(--space) 0 0; }

/* engine: the product's own screen at the top of a section index, under the standfirst */
.page-head > .narrow > .page-hero { margin: var(--space) 0 0; }

/* engine: the terms a reading list's line quotes are planned */
.post-list .row-terms { color: var(--fg-soft); }

/* engine: the pages a row of an index folds under it, because they say what it says */
.post-list .also { margin: 0.35rem 0 0; font-size: 0.9em; color: var(--muted); }
.post-list .also a { color: inherit; }

/* engine: what the plan's feature cards are, said over a band with no head */
.spotlights > .wrap > .scope-note { font-size: 0.85rem; line-height: 1.45; margin: 0 0 calc(var(--space) * -2); }

/* Nudge: the venture's own theme (contract rev 3) */
/* ============================================================
   Nudge — "the unread dot"
   A quiet ember notification in a dark Slack window.
   Dark-first, DM bubbles, thread rails, one warm point of
   attention per view. Inter body, Manrope display.
   ============================================================ */

/* ---------- custom properties (defined for BOTH schemes) ---------- */
:root {
  --t-muted: #5f6771;            /* AA-safe muted text */
  --t-accent-text: #bc4712;      /* AA-safe accent for text and links */
  --t-btn-bg: #c94e1c;
  --t-btn-hover: #b64415;
  --t-btn-ink: #ffffff;
  --t-tint: #fbe7dc;             /* ember tint panel */
  --t-tint-line: #f0c8ae;
  --t-wash: #f8efe9;             /* warm wash section */
  --t-bubble: #ffffff;           /* DM bubble surface */
  --t-bubble-line: #cdd2d7;
  --t-eyebrow: #6d6159;          /* warm label grey, AA on light bg */
  --t-header-bg: rgba(247, 248, 249, 0.88);
  --t-dot: #e8622a;              /* the unread dot */
  --t-ring: rgba(232, 98, 42, 0.4);
  --t-glow: rgba(232, 98, 42, 0.14);
  --t-shadow: 0 10px 30px rgba(17, 20, 22, 0.08);
  --t-shadow-sm: 0 2px 8px rgba(17, 20, 22, 0.05);
  --t-pre-bg: #14171a;
  --t-pre-fg: #e4e7ea;
  --t-pre-line: #2c3138;

  --measure: 66ch;
  --radius: 14px;
  --h1-size: clamp(2.6rem, 5.6vw, 4.4rem);
  --h1-lh: 1.03;
}

[data-theme="dark"] {
  --t-muted: #a2abb5;
  --t-accent-text: #f29a74;
  --t-btn-bg: #ef8f65;
  --t-btn-hover: #f5a683;
  --t-btn-ink: #1c120b;
  --t-tint: #2d2019;
  --t-tint-line: #4a3326;
  --t-wash: #15171b;
  --t-bubble: #1d2126;
  --t-bubble-line: #3a424c;
  --t-eyebrow: #c9c2bb;          /* warm label grey, AA on dark bg */
  --t-header-bg: rgba(15, 17, 20, 0.84);
  --t-dot: #ef8f65;
  --t-ring: rgba(239, 143, 101, 0.4);
  --t-glow: rgba(239, 143, 101, 0.1);
  --t-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  --t-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --t-pre-bg: #0a0c0e;
  --t-pre-fg: #dde1e5;
  --t-pre-line: #262b31;
}

/* ---------- base ---------- */
body {
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }

::selection { background: var(--t-tint); color: var(--fg); }

:focus-visible {
  outline: 2px solid var(--t-accent-text);
  outline-offset: 2px;
}

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.narrow {
  max-width: 45rem;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

main > section { padding-block: clamp(2.75rem, 6.5vw, 5rem); }
main > article { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }

/* home: every section shares one left edge with the wide container */
body[data-kind="home"] main > section > .narrow { max-width: 1160px; }
body[data-kind="home"] .problem p { max-width: 62ch; }
body[data-kind="home"] .how ol.steps { max-width: 46rem; }
body[data-kind="home"] .faq details { max-width: 46rem; }
body[data-kind="home"] .capture { margin-inline: 0; }

.muted { color: var(--t-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- eyebrow: the unread dot ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-eyebrow);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-dot);
}

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}
/* paragraph-length headings never sit at display size or full column */
.features .section-head h2,
.spotlights .section-head h2,
.gallery .section-head h2 {
  max-width: 44ch;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-head p.muted {
  margin: 0.8rem 0 0;
  max-width: 56ch;
  font-size: 1.02rem;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  background: var(--t-btn-bg);
  color: var(--t-btn-ink);
}
.button.primary:hover { background: var(--t-btn-hover); }
.button.secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--t-muted);
  background: var(--surface);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- header (split: brand + links left, CTA alone right) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--t-header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
}
.brand .mark { width: 30px; height: 30px; }
.logotype { font-family: var(--font-display); font-size: 1.4rem; }
.logotype .accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1 1 auto;
  font-size: 0.94rem;
  min-width: 0;
}
.nav > a,
.navgroup summary {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--fg-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav > a:hover,
.navgroup summary:hover { color: var(--fg); background: var(--raise); }

.navgroup { position: relative; }
.navgroup summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.navgroup summary::-webkit-details-marker { display: none; }
.navgroup summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.navgroup[open] summary { color: var(--fg); background: var(--raise); }
.navmenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 380px;
  max-height: 70vh;
  overflow: auto;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--t-shadow);
}
.navmenu a {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--fg-soft);
  text-decoration: none;
}
.navmenu a:hover { background: var(--raise); color: var(--fg); }
.nav details:last-of-type .navmenu { left: auto; right: 0; }

.nav a.cta {
  margin-left: auto;
  padding: 0.55rem 1.2rem;
  background: var(--t-btn-bg);
  color: var(--t-btn-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
}
.nav a.cta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin-right: 0.45rem;
  vertical-align: 0.12em;
  opacity: 0.85;
}
.nav a.cta:hover { background: var(--t-btn-hover); }

.nav-toggle summary {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}

@media (max-width: 1060px) {
  .nav { font-size: 0.86rem; gap: 0; }
  .nav > a, .navgroup summary { padding: 0.4rem 0.5rem; }
}

@media (max-width: 720px) {
  .site-header .wrap { gap: 0.75rem; padding-block: 0.55rem; }
  .brand { margin-right: auto; }
  .nav { flex: initial; font-size: 1rem; }
  .nav a.cta { margin-left: 0; }
  .nav-toggle[open] + .nav {
    padding: 0.5rem 0 1rem;
    gap: 0;
  }
  .nav-toggle[open] + .nav > a:not(.cta) {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-toggle[open] + .nav > details {
    border-bottom: 1px solid var(--line);
    padding: 0.45rem 0;
  }
  .nav-toggle[open] + .nav .navmenu {
    border: 0;
    box-shadow: none;
    background: transparent;
    max-width: none;
    max-height: none;
    padding: 0.25rem 0 0.5rem 0.9rem;
  }
  .nav-toggle[open] + .nav a.cta {
    margin-top: 0.9rem;
    justify-content: center;
    display: inline-flex;
  }
}

/* ---------- hero (editorial: full-width headline, bubble + shot below) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.75rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--t-glow), transparent 65%);
  pointer-events: none;
}
svg.motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(110% 95% at 88% 0%, #000 25%, transparent 68%);
  mask-image: radial-gradient(110% 95% at 88% 0%, #000 25%, transparent 68%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0;
  align-items: start;
}
.hero .wrap > div:first-child { display: contents; }
.hero .eyebrow { grid-column: 1 / -1; grid-row: 1; }
.hero h1 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: 21ch;
  font-size: var(--h1-size);
  line-height: var(--h1-lh);
  letter-spacing: -0.035em;
}
.hero .lead {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  position: relative;
  margin: 0;
  padding: 1.25rem 1.5rem 1.35rem;
  background: var(--t-bubble);
  border: 1px solid var(--t-bubble-line);
  border-radius: 20px 20px 20px 4px;
  box-shadow: var(--t-shadow);
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--fg);
}
/* the DM meta row: sender dot, name, time */
.hero .lead::before {
  content: "Nudge \00b7 7:42 PM";
  display: block;
  margin-bottom: 0.6rem;
  padding-left: 16px;
  background: radial-gradient(circle at 4.5px 52%, var(--t-dot) 4.5px, rgba(0, 0, 0, 0) 5px);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-eyebrow);
}
/* the DM tail, drawn in the bubble fill */
.hero .lead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 14px;
  height: 8px;
  background: var(--t-bubble);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero .actions {
  grid-column: 1;
  grid-row: 4;
  align-self: start;
  margin-top: 1.5rem;
}
.hero-media {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: start;
}
.hero-media .frame {
  max-width: 460px;
  margin-left: auto;
}

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero h1 { max-width: 16ch; }
  .hero .eyebrow { grid-row: auto; }
  .hero h1 { grid-row: auto; }
  .hero .lead, .hero .actions, .hero .eyebrow { grid-column: 1; grid-row: auto; }
  .hero-media { grid-column: 1; grid-row: auto; margin-top: 2.25rem; }
  .hero-media .frame { margin-inline: auto; max-width: 440px; }
}

/* the live-signal pulse on the hero dot (motion-safe only) */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow::before { animation: t-pulse 2.8s ease-out infinite; }
  @keyframes t-pulse {
    0%   { box-shadow: 0 0 0 0 var(--t-ring); }
    70%  { box-shadow: 0 0 0 11px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  }
  a, .button, summary, .card, .post-list a, .navmenu a, input[type="email"] {
    transition: color 0.15s ease, background-color 0.15s ease,
                border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  .button.primary:hover, .nav a.cta:hover { transform: translateY(-1px); }
}

/* ---------- frames: every screenshot wears an unread badge ---------- */
figure.frame {
  position: relative;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--t-shadow);
}
figure.frame .bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 11px 14px;
  background: var(--raise);
  border-bottom: 1px solid var(--line);
  border-radius: 15px 15px 0 0;
}
figure.frame .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
figure.frame .bar i:first-child { background: var(--t-dot); }
figure.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 15px 15px;
}
figure.frame::after {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--t-dot);
  box-shadow: 0 0 0 3px var(--bg), 0 0 18px 2px var(--t-ring);
}
.wash figure.frame::after { box-shadow: 0 0 0 3px var(--t-wash), 0 0 18px 2px var(--t-ring); }

/* ---------- wash sections ---------- */
.wash {
  background: var(--t-wash);
  border-block: 1px solid var(--line);
}

/* ---------- problem ---------- */
.problem p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.72;
  color: var(--fg-soft);
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--t-shadow-sm);
}
.card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0.45rem 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--fg-soft);
}
.card .eyebrow {
  margin: 0.9rem 0 0;
  font-size: 0.7rem;
}
.card .eyebrow + h3 { margin-top: 0.35rem; }

.glyph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--t-tint);
  border: 1px solid var(--t-tint-line);
  color: var(--t-accent-text);
}

/* ---------- spotlights ---------- */
.spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}
.spotlight.flip > :first-child { order: 2; }
.spotlight h2, .spotlight h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
}
.spotlight p { color: var(--fg-soft); }
.spotlight figure.frame { max-width: 480px; justify-self: center; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; gap: 1.75rem; }
  .spotlight.flip > :first-child { order: 0; }
}

/* ---------- steps: the thread rail ---------- */
ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 2.1rem 4rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--t-tint);
  border: 1px solid var(--t-tint-line);
  color: var(--t-accent-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.2rem - 1px);
  top: 2.75rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 1px;
  background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps h3 {
  margin: 0 0 0.35rem;
  padding-top: 0.45rem;
  font-size: 1.12rem;
}
.steps p { margin: 0; color: var(--fg-soft); font-size: 0.97rem; }

/* ---------- gallery ---------- */
.gallery .shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 760px) { .gallery .shots { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details {
  margin: 0 0 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--t-shadow-sm);
}
.faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--t-muted);
  border-bottom: 2px solid var(--t-muted);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details[open] summary { color: var(--t-accent-text); }
.faq details p {
  margin: 0 1.3rem 1.15rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--t-tint-line);
  color: var(--fg-soft);
  font-size: 0.97rem;
}

/* ---------- capture / cta: the big bubble ---------- */
.cta.wash { padding-block: clamp(3.5rem, 8vw, 5.75rem); }
.capture {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 6px;
  box-shadow: var(--t-shadow);
}
.capture::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--t-dot);
  box-shadow: 0 0 0 3px var(--t-wash), 0 0 18px 2px var(--t-ring);
}
.capture h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
}
.capture .muted { margin: 0 0 1.4rem; font-size: 0.98rem; }
.capture form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.capture input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.78rem 1.2rem;
  font: inherit;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.capture input[type="email"]::placeholder { color: var(--t-muted); }
.capture input[type="email"]:focus-visible {
  border-color: var(--t-accent-text);
  outline-offset: 1px;
}
.capture .note { margin: 1rem 0 0; font-size: 0.85rem; color: var(--t-muted); }
.capture .note a { color: var(--t-accent-text); }
.capture .thanks {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--t-accent-text);
}

/* ---------- post lists (blog index, latest, related) ---------- */
ul.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.post-list li:first-child { border-top: 1px solid var(--line); }
.post-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-dot);
}
.post-list a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}
.post-list a:hover {
  color: var(--t-accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-list .meta {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--t-muted);
  white-space: nowrap;
}
.post-list p {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  max-width: 60ch;
  font-size: 0.94rem;
  color: var(--fg-soft);
}
@media (max-width: 560px) {
  .post-list li { grid-template-columns: 1fr; }
  .post-list .meta { order: -1; }
}

p.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 0;
}
p.pager a {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
p.pager a:hover { border-color: var(--t-muted); background: var(--surface); }

/* ---------- spec page heads & content pages ---------- */
.page-head { padding-bottom: 0; }
.page-head h1,
article .narrow > h1,
article.page .narrow > h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.07;
  max-width: 24ch;
}
p.crumbs {
  margin: 0 0 1.4rem;
  font-size: 0.85rem;
  color: var(--t-muted);
}
p.crumbs a { color: var(--t-muted); text-decoration: none; }
p.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* the gutter gets a job: breadcrumb + date live in a meta rail
   to the left of the reading column on every inner page */
main > article > .narrow,
.page-head > .narrow {
  display: grid;
  grid-template-columns: 170px minmax(0, 42.5rem);
  column-gap: 3rem;
  max-width: calc(170px + 3rem + 42.5rem + 4rem);
}
main > article > .narrow > *,
.page-head > .narrow > * { grid-column: 2; min-width: 0; }
main > article > .narrow > p.crumbs,
.page-head > .narrow > p.crumbs {
  grid-column: 1;
  grid-row: 1;
  margin: 0.4rem 0 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--t-dot);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--t-eyebrow);
}
main > article > .narrow > p.crumbs a,
.page-head > .narrow > p.crumbs a { color: var(--t-eyebrow); }
main > article > .narrow > p.crumbs a:hover,
.page-head > .narrow > p.crumbs a:hover { color: var(--t-accent-text); }
main > article > .narrow > p.byline {
  grid-column: 1;
  margin: 0.55rem 0 0;
  text-align: left;
  color: var(--t-eyebrow);
}
/* reading measure inside the rail column */
.prose p, .prose ul, .prose ol, .prose blockquote { max-width: 68ch; }
main > article p.lead,
.page-head p.lead { max-width: 68ch; }

/* spec pages: body sections align to the same text column as the head */
@media (min-width: 921px) {
  .page-head ~ section:not(.cta) > .wrap,
  .page-head ~ section:not(.cta) > .narrow {
    max-width: calc(170px + 3rem + 42.5rem + 4rem);
    padding-inline: calc(2rem + 170px + 3rem) 2rem;
  }
  .page-head ~ section .grid.cols-3,
  .page-head ~ section .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head ~ section .spotlight { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-head ~ section .spotlight.flip > :first-child { order: 0; }
  .page-head ~ section .spotlight figure.frame { justify-self: start; }
  .page-head ~ section .gallery .shots { grid-template-columns: 1fr; }
}

/* the blog index gets the same rail: section label in the gutter */
body[data-kind="article_index"] main > section > .narrow {
  display: grid;
  grid-template-columns: 170px minmax(0, 42.5rem);
  column-gap: 3rem;
  max-width: calc(170px + 3rem + 42.5rem + 4rem);
}
body[data-kind="article_index"] main > section > .narrow > * { grid-column: 2; min-width: 0; }
body[data-kind="article_index"] main > section > .narrow > .section-head { display: contents; }
body[data-kind="article_index"] .section-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin: 0.4rem 0 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--t-dot);
  color: var(--t-eyebrow);
}
body[data-kind="article_index"] .section-head h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0.5rem;
}
body[data-kind="article_index"] .section-head p.muted {
  grid-column: 2;
  margin: 0 0 1.9rem;
}

@media (max-width: 920px) {
  main > article > .narrow,
  .page-head > .narrow,
  body[data-kind="article_index"] main > section > .narrow {
    display: block;
    max-width: 45rem;
  }
  body[data-kind="article_index"] main > section > .narrow > .section-head { display: block; }
  body[data-kind="article_index"] .section-head .eyebrow {
    margin: 0 0 0.85rem;
    padding-top: 0;
    border-top: 0;
  }
  main > article > .narrow > p.crumbs,
  .page-head > .narrow > p.crumbs {
    margin: 0 0 1.4rem;
    padding-top: 0;
    border-top: 0;
  }
  main > article > .narrow > p.byline { margin: 0.3rem 0 0; }
}
p.lead {
  margin: 0 0 1rem;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: var(--measure);
}

.page-hero { margin: 2rem 0; }
.page-hero figure.frame { max-width: 560px; }

section.block { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
main > article .narrow > section.block:first-of-type { margin-top: clamp(1.25rem, 3vw, 2rem); }
.block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}
.block h2 .icon { color: var(--t-accent-text); }
/* a plain note at the top of a block reads as a bordered aside row */
.block > p.muted {
  max-width: 68ch;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: 0 0 1.75rem;
}

/* ---------- prose ---------- */
.prose { max-width: var(--measure); }
.prose p { margin: 0.95em 0; line-height: 1.72; }
.prose h2 {
  margin: 1.9em 0 0.6em;
  font-size: 1.55rem;
}
.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.18rem;
}
.prose a {
  color: var(--t-accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 1em 0; }
.prose li { margin: 0.45em 0; }
.prose li::marker { color: var(--t-dot); font-weight: 700; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 1.1rem 1.35rem;
  background: var(--t-bubble);
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 4px;
  box-shadow: var(--t-shadow-sm);
  color: var(--fg-soft);
}
.prose blockquote p { margin: 0.4em 0; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--raise);
  padding: 0.12em 0.4em;
  border-radius: 6px;
}
.prose pre {
  margin: 1.4em 0;
  padding: 1.1rem 1.3rem;
  background: var(--t-pre-bg);
  color: var(--t-pre-fg);
  border: 1px solid var(--t-pre-line);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
}
.prose pre code { background: transparent; padding: 0; color: inherit; font-size: 1em; }

/* ---------- article furniture ---------- */
p.byline {
  margin: 0.3rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--t-muted);
}
figure.cover { margin: 1.9rem 0 2.25rem; }
figure.cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* ---------- callout: the DM aside ---------- */
aside.callout, .block.callout {
  background: var(--t-tint);
  border: 1px solid var(--t-tint-line);
  border-radius: 18px 18px 18px 4px;
  padding: 1.5rem 1.75rem;
}
.callout h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.callout h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-dot);
}
.callout .prose p { margin: 0.4em 0; color: var(--fg); }
.callout .prose a { color: var(--t-accent-text); }

/* ---------- tables ---------- */
.table-wrap {
  margin: 1.1rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: var(--t-shadow-sm);
}
.table-wrap table, .prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.table-wrap th, .prose th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--raise);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.table-wrap td, .prose td {
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg-soft);
  vertical-align: top;
}
.table-wrap tr:last-child td { border-bottom: 0; }
.prose table { border: 1px solid var(--line); }
.prose td:first-child, .table-wrap td:first-child { color: var(--fg); font-weight: 600; }

/* ---------- pricing ---------- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  width: 100%;
}
.card.plan {
  position: relative;
  padding: 1.9rem;
  border-radius: 18px 18px 18px 5px;
  box-shadow: var(--t-shadow);
}
.card.plan::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--t-dot);
  box-shadow: 0 0 0 3px var(--bg), 0 0 18px 2px var(--t-ring);
}
.plan h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.plan .price {
  margin: 0.6rem 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.plan .meta { margin: 0; font-size: 0.9rem; color: var(--t-muted); }
.plan > p { font-size: 0.94rem; }
ul.includes {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.includes li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--fg-soft);
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-dot);
}

/* ---------- sources / related ---------- */
.sources {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--t-muted);
}
.sources a { color: var(--t-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.sources ul { padding-left: 1.2rem; margin: 0.6rem 0 0; }
.sources li { margin: 0.4em 0; }
.related { margin-top: 2.75rem; }
.related h2 { font-size: 1.3rem; }

/* ---------- 404 ---------- */
body[data-kind="not_found"] main section { padding-block: clamp(5rem, 14vw, 9rem); }
body[data-kind="not_found"] .narrow { text-align: center; }
body[data-kind="not_found"] .section-head h2 {
  margin-inline: auto;
  font-size: clamp(2rem, 5vw, 2.8rem);
}
body[data-kind="not_found"] .section-head h2::before {
  content: "404";
  display: block;
  width: max-content;
  margin: 0 auto 1.1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--t-muted);
}
body[data-kind="not_found"] p { color: var(--fg-soft); }
body[data-kind="not_found"] .button {
  background: var(--t-btn-bg);
  color: var(--t-btn-ink);
  border-color: transparent;
}
body[data-kind="not_found"] .button:hover { background: var(--t-btn-hover); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-map {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  align-items: start;
  gap: 2.5rem;
  padding-block: 2.75rem 2.25rem;
}
.footer-map .eyebrow { font-size: 0.7rem; margin-bottom: 0.25rem; }
.footer-map ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
/* balance the long resources column so the three lists end together */
.footer-map > div:nth-child(3) ul {
  columns: 2;
  column-gap: 2.25rem;
}
.footer-map li { margin: 0.5rem 0; break-inside: avoid; }
.footer-map li:first-child { margin-top: 0; }
.footer-map a {
  color: var(--t-muted);
  text-decoration: none;
  font-size: 0.87rem;
  line-height: 1.45;
}
.footer-map a:hover { color: var(--t-accent-text); text-decoration: underline; }
@media (max-width: 820px) {
  .footer-map { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-map > div:nth-child(3) ul { columns: 1; }
}

.site-footer > .wrap:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.75rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.site-footer strong { font-family: var(--font-display); }
.site-footer > .wrap:last-child strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t-dot);
  margin-right: 0.5rem;
  vertical-align: 0.1em;
}
.site-footer .muted { color: var(--t-muted); }
.site-footer nav { display: flex; gap: 1.1rem; margin-left: auto; }
.site-footer nav a { color: var(--t-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--t-accent-text); text-decoration: underline; }
a.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--t-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
a.stamp:hover { color: var(--t-accent-text); }
a.stamp img { border-radius: 4px; }
@media (max-width: 640px) {
  .site-footer nav { margin-left: 0; }
  .site-footer > .wrap:last-child { flex-direction: column; align-items: flex-start; }
}

/* ---------- small screens, general ---------- */
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .card { padding: 1.25rem; }
  .steps li { padding-left: 3.4rem; }
  .steps li::before { width: 2.1rem; height: 2.1rem; }
  .steps li:not(:last-child)::after { left: calc(1.05rem - 1px); top: 2.45rem; }
  .capture form { flex-direction: column; }
  .capture .button { width: 100%; }
}

.capture .hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hidden, [hidden] { display: none !important; }
.nav-toggle summary { cursor: pointer; list-style: none; }
.nav-toggle summary::-webkit-details-marker { display: none; }
@media (min-width: 721px) {
  .nav-toggle { display: none !important; }
}
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: block !important; }
  .nav { display: flex !important; flex-wrap: wrap; align-items: center; }
  .nav-toggle:not([open]) + .nav > a:not(.cta),
  .nav-toggle:not([open]) + .nav > details { display: none !important; }
  .nav-toggle[open] + .nav { flex-basis: 100% !important; width: 100%; flex-direction: column; align-items: stretch; }
}

/* a phone app's screenshot: a phone, never a browser window */
figure.frame.phone { display: block !important; box-sizing: border-box !important; width: min(18.5rem, calc(80vh * var(--frame-ratio, 390 / 844))) !important; max-width: 100% !important; min-width: 0 !important; flex: 0 1 auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; align-self: start !important; margin-inline: auto !important; padding: 0.5rem !important; border-radius: min(2.5rem, 13%) / min(2.5rem, calc(13% * var(--frame-ratio, 390 / 844))) !important; overflow: hidden !important; }
figure.frame.phone::before, figure.frame.phone::after { content: none !important; display: none !important; }
figure.frame.phone > img { display: block !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: var(--frame-ratio, 390 / 844) !important; object-fit: cover !important; object-position: top center !important; margin: 0 !important; border-radius: min(2rem, 11%) / min(2rem, calc(11% * var(--frame-ratio, 390 / 844))) !important; }
.shots:has(> figure.frame.phone):not(:has(> figure.frame:not(.phone))) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)) !important; }
@supports (width: 1svh) { figure.frame.phone { width: min(18.5rem, calc(80svh * var(--frame-ratio, 390 / 844))) !important; } }

/* the header's menu labels */
.navgroup > summary { cursor: pointer; list-style: none; }
.navgroup > summary::-webkit-details-marker { display: none; }
.navgroup > summary > .chevron { display: inline-block; width: 0.62em; height: 0.62em; margin-left: 0.3em; vertical-align: -0.04em; opacity: 0.7; transition: transform 120ms ease-out; }
.navgroup[open] > summary > .chevron { transform: rotate(180deg); }
/* the phone menu trigger's mark: the bars while it is shut, the cross while it is open */
.nav-toggle > summary > .burger { display: inline-block; flex: none; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
.nav-toggle:not([open]) > summary > .burger > .cross { display: none; }
.nav-toggle[open] > summary > .burger > .bars { display: none; }

/* engine: a header menu opens as an overlay anchored under its own trigger, so the bar keeps its single row */
.navgroup { position: relative; }
.navmenu { position: absolute; top: calc(100% + 0.4rem); z-index: 20; }
header.site-header .wrap, header.site-header .nav, header.site-header .navgroup { overflow: visible; }
/* engine: the menu at the end of the bar opens back from its own end, so its panel cannot run past the window */
header.site-header .navgroup[data-bar-end] > .navmenu { left: auto; right: -0.75rem; }
/* the phone drawer is not a bar: inside it an open menu flows in place */
@media (max-width: 720px) {
  .nav-toggle[open] + .nav .navmenu { position: static !important; min-width: 0; }
}

/* engine: an open header menu is never taller than the window it opens in */
.navmenu { max-height: calc(100vh - 8rem); }
.navmenu { max-height: min(32rem, calc(100svh - 8rem)); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 720px) {
  .nav-toggle[open] + .nav .navmenu { max-height: none !important; overflow: visible !important; }
}

/* engine: the header's bar holds one row at desktop width, whatever a theme sets on it */
@media (min-width: 721px) {
  header.site-header .wrap { display: flex; flex-direction: row; flex-wrap: nowrap; }
  header.site-header nav.nav { display: flex; flex-direction: row; flex-wrap: nowrap; }
  header.site-header .wrap > .brand, header.site-header .wrap > nav.nav { flex-shrink: 1; }
  header.site-header .nav { min-width: 0; column-gap: clamp(0.5rem, 1.1vw, 1.25rem); }
  header.site-header .nav > a, header.site-header .nav > details > summary { white-space: nowrap; }
  :is(header.site-header nav.nav > a:not(.cta), header.site-header nav.nav > details > summary) { padding-inline: clamp(0.3rem, 0.8vw, 0.9rem); }
  :is(header.site-header nav.nav > a:not(.cta), header.site-header nav.nav > details, header.site-header nav.nav > details > summary, header.site-header nav.nav > details > summary > .navlabel) { margin-inline: 0; }
  header.site-header nav.nav > details { min-width: 0; }
  header.site-header nav.nav > details > summary { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; }
  header.site-header nav.nav > details > summary > .navlabel { padding-inline: 0; order: -1; }
  header.site-header nav.nav > details > summary > .chevron { margin-inline-end: 0; visibility: visible; order: 1; flex: none; }
  header.site-header .nav > a.cta { flex: none; }
}

/* engine: at desktop width the wordmark starts the header's row and the bar ends it, whatever a theme sets on the row */
@media (min-width: 721px) {
  header.site-header .wrap > nav.nav { flex: 0 1 auto; width: auto; margin-inline-start: auto; }
}

/* engine: the action's compact twin shows only on a narrow phone, and only with the menu shut */
@media (min-width: 541px) {
  header.site-header a.cta.cta-short { display: none; }
}
/* engine: on a narrow phone the header is one row, the brand with the menu trigger and a compact action beside it */
@media (max-width: 540px) {
  header.site-header .wrap { column-gap: 0.5rem; }
  header.site-header .nav-toggle > summary { gap: 0; min-width: 2.5rem; justify-content: center; padding-inline: 0.5rem; }
  header.site-header .nav-toggle > summary > .navlabel { display: none; }
  header.site-header .nav-toggle:not([open]) + .nav > a.cta:not(.cta-short) { display: none; }
  header.site-header .nav-toggle[open] + .nav > a.cta.cta-short { display: none; }
  header.site-header .nav-toggle:not([open]) + .nav > a.cta { padding-inline: clamp(0.5rem, 2vw, 1rem); }
  header.site-header .nav-toggle:not([open]) + .nav > a.cta.cta-short { font-size: min(1em, max(0.875rem, 3.6vw)); letter-spacing: normal; }
}

/* engine: the phone menu's trigger is the last box of the header's own row, so the cross is drawn where the bars were tapped */
@media (max-width: 720px) {
  header.site-header .wrap { display: flex; flex-flow: row wrap; align-items: center; justify-content: flex-end; }
  header.site-header .wrap > .brand { margin-right: auto; }
  header.site-header .nav-toggle { order: 2; }
  header.site-header .nav-toggle:not([open]) + .nav { order: 1; margin-left: auto; }
  header.site-header .nav-toggle[open] { margin-left: auto; }
  header.site-header .nav-toggle[open] + .nav { order: 3; }
}

/* engine: while the phone menu is shut every box of the header is as wide as what it holds, so none of them can take the row from the other two */
@media (max-width: 720px) {
  header.site-header .wrap > .brand { flex: 0 1 auto; width: auto; min-width: 0; }
  header.site-header .nav-toggle:not([open]) { flex: 0 0 auto; width: auto; }
  header.site-header .nav-toggle:not([open]) + .nav { flex: 0 1 auto; width: auto; min-width: 0; }
  header.site-header .nav-toggle:not([open]) + .nav > a.cta { width: auto; }
}

/* engine: while the phone menu is shut the box around the action draws nothing of its own, so what a theme wrote for the open drawer is never a fragment in the header */
@media (max-width: 720px) {
  header.site-header .nav-toggle:not([open]) + .nav { border: 0; background: none; box-shadow: none; padding: 0; margin-block: 0; }
  header.site-header .nav-toggle:not([open]) + .nav::before,
  header.site-header .nav-toggle:not([open]) + .nav::after { content: none; }
}

/* engine: while the phone menu is shut the action keeps no block margin of its own, so it sits on the row's own centre beside the trigger */
@media (max-width: 720px) {
  header.site-header .nav-toggle:not([open]) + .nav > a.cta { margin-block: 0; }
}

/* engine: every row of the open phone drawer, the action included, carries the engine's own room inside it, so every row's words begin on one edge and the one box a visitor can see is drawn around that room */
@media (max-width: 720px) {
  .nav-toggle[open] + .nav { padding-inline: 0; }
  header.site-header .nav-toggle[open] + .nav > a:not(.cta),
  header.site-header .nav-toggle[open] + .nav > details > summary,
  header.site-header .nav-toggle[open] + .nav > details > summary > .navlabel { padding-inline: 0; margin-inline: 0; text-align: left; text-indent: 0; justify-content: flex-start; justify-items: start; }
  header.site-header .nav-toggle[open] + .nav > a:not(.cta),
  header.site-header .nav-toggle[open] + .nav > details > summary { padding-inline: 1rem; }
  header.site-header .nav-toggle[open] + .nav > details > .navmenu { padding-inline-start: calc(1rem + 0.85rem); }
  header.site-header .nav-toggle[open] + .nav > a.cta { padding-inline: 1rem; text-align: left; text-indent: 0; justify-content: flex-start; justify-items: start; }
  header.site-header .nav-toggle[open] + .nav > a.cta:not(.cta-short) { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; }
  header.site-header .nav-toggle[open] + .nav > a.cta:not(.cta-short)::after { content: ""; flex: none; width: 1.1em; height: 1.1em; margin-inline-start: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000'%20stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.75 4.25 12.5 8l-3.75 3.75'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000'%20stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.75 4.25 12.5 8l-3.75 3.75'/%3E%3C/svg%3E") center / contain no-repeat; }
}

/* engine: the open phone drawer's action is a row of the drawer, on the rows' own edges and clear of the last of them */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > a.cta { align-self: stretch; width: auto; max-width: none; margin-inline: 0; margin-block-start: 1.25rem; }
}

/* engine: every row of the open phone drawer is a single-line row, tall enough for a thumb, with what it holds in the middle of that height */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > a:not(.cta-short),
  header.site-header .nav-toggle[open] + .nav > details > summary { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; min-height: 2.75rem; }
}

/* engine: in the open phone drawer the state of a menu's row is the engine's mark, against the row's far edge, turned over on the one row whose list is under it */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > details.navgroup > summary > .chevron { display: inline-block !important; visibility: visible !important; margin-inline-start: auto !important; margin-inline-end: 0 !important; transform: none !important; opacity: 0.7 !important; }
  header.site-header .nav-toggle[open] + .nav > details.navgroup[open] > summary > .chevron { transform: rotate(180deg) !important; opacity: 1 !important; }
}

/* engine: nothing a page says can push it wider than the window */
html { overflow-wrap: break-word; }
.button, .nav .cta { max-width: 100%; overflow-wrap: anywhere; }
.post-list a { overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; overflow-x: auto; }

/* engine: a container of the site's own takes the free space beside it evenly, so a page sits on the same middle of the paper its chrome does */
.wrap, .narrow { margin-inline: auto; }

/* engine: under 600px a table is a card per row, not columns a phone cannot hold */
@media (max-width: 600px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr { display: block !important; width: auto !important; }
  .table-wrap thead { display: none !important; }
  .table-wrap tr { padding-top: 0.6rem; padding-bottom: 0.6rem; padding-left: 0.9rem !important; padding-right: 0.9rem !important; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { display: block !important; width: auto !important; padding: 0; border-bottom: 0; line-height: 1.45; }
  .table-wrap td + td { margin-top: 0.6rem !important; }
  .table-wrap td.rowname, .table-wrap td:not([data-label]) { font-weight: 600; }
  .table-wrap td.rowname { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
  .table-wrap td[data-label]::before { content: attr(data-label); display: block !important; float: none !important; position: static !important; min-height: 1em !important; font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
}

/* engine: under 600px every group of the footer's map is a row of its own, opens on its own heading, and the shut ones read as one block */
@media (max-width: 600px) {
  footer.site-footer .footer-map { display: grid !important; grid-template-columns: 1fr !important; row-gap: 0 !important; }
  footer.site-footer .footer-map > * { margin-block: 0 !important; padding-block: 0 !important; }
  footer.site-footer .footer-map .eyebrow[aria-expanded="false"] { margin-block: 0 !important; }
  footer.site-footer .footer-map .eyebrow[aria-expanded="false"] ~ *, footer.site-footer .footer-map ul[hidden] { display: none !important; }
  .footer-map ul { margin: 0.2rem 0 0.9rem; gap: 0.2rem; }
  .footer-map li { line-height: 1.4; }
  .footer-map .eyebrow { margin-bottom: 0; }
  .footer-map .eyebrow[aria-expanded] { display: flex; align-items: center; min-height: 40px; border-top: 1px solid var(--line); cursor: pointer; }
  .footer-map > :first-child .eyebrow[aria-expanded] { border-top: 0; }
  .footer-map .eyebrow[aria-expanded]::after { content: ""; flex: none; margin-left: auto; width: 0.4em; height: 0.4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.12em) rotate(45deg); transition: transform 120ms ease-out; }
  .footer-map .eyebrow[aria-expanded="true"]::after { transform: translateY(0.06em) rotate(225deg); }
}

/* engine: the footer's map and its bottom row are one block in two boxes, so they share one container */
footer.site-footer > .footer-map, footer.site-footer > .wrap { width: min(100% - 2rem, 72rem) !important; max-width: none !important; margin-inline: auto !important; padding-inline: 0 !important; }
/* engine: and the map is part of the footer, never a panel inside it */
footer.site-footer > .footer-map { background: none !important; box-shadow: none !important; border-inline: 0 !important; }

/* engine: a row of one of the engine's own reading lists wears the site's own link treatment, and the line itself is not a theme's to take away */
main .post-list > li > a:any-link { text-decoration-line: underline !important; text-decoration-thickness: from-font; text-underline-offset: 0.15em; text-decoration-color: var(--accent); }

/* engine: the door inside the engine's line over the plan's cards wears the site's own link treatment, whatever a theme sets on it */
main .scope-note a:any-link { text-decoration-line: underline; text-decoration-thickness: from-font; text-underline-offset: 0.15em; text-decoration-color: var(--accent); }

/* engine: a section's own pages under the plan's cards stand clear of them, whatever a theme sets on its lists */
.use-cases .section-pages { margin-block-start: calc(var(--space, 1rem) * 2); }

/* engine: a row of one of the engine's own reading lists is one measure, and its title, date and summary share it */
.post-list li { max-width: var(--measure); display: grid; grid-template-columns: minmax(0, 1fr); }
.post-list li > a, .post-list li > .meta, .post-list li > p { grid-column: 1; }
.post-list li > a, .post-list li > p { max-width: none; width: auto; justify-self: stretch; }

/* engine: a row of one of the engine's own reading lists reads in one order at every width: its title, then its date, then its summary */
.post-list li > a, .post-list li > .meta, .post-list li > p { order: 0; }
.post-list li:has(> .meta) > a { grid-row: 1; }
.post-list li:has(> .meta) > .meta { grid-row: 2; }
.post-list li:has(> .meta) > p { grid-row: 3; }
.post-list li:not(:has(> .meta)) > a { grid-row: 1; }
.post-list li:not(:has(> .meta)) > p { grid-row: 2; }
.post-list li:has(> .meta) > p.also:not(:first-of-type) { grid-row: 4; }
.post-list li:not(:has(> .meta)) > p.also:not(:first-of-type) { grid-row: 3; }

/* engine: a page folded onto a row is part of that row's own line, so its link is set in the line and never as a second title */
.post-list .also a { font: inherit; letter-spacing: inherit; }
.post-list .also a:any-link { text-decoration-line: underline; text-decoration-thickness: from-font; text-underline-offset: 0.15em; text-decoration-color: var(--accent); }

/* engine: a row of one of the engine's own reading lists prints its own words in full: they wrap, and no box cuts them */
.post-list li { overflow: visible; height: auto; max-height: none; }
.post-list li > a, .post-list li > p { white-space: normal; overflow: visible; text-overflow: clip; height: auto; max-height: none; -webkit-line-clamp: none; line-clamp: none; }

/* engine: the column under a page head continues it, so it is not a second band of the page, and the step between them is the engine's own rem rather than the unit a theme bands with */
.page-head:has(+ .page-body) { padding-bottom: 1.5rem; }
/* engine: and it ends where its words do, so a short page never ends in a band of nothing */
.page-body { padding-top: 1rem; padding-bottom: 1.5rem; border-top: 0; min-height: 0; height: auto; aspect-ratio: auto; margin-block: 0; }
/* engine: said again on the column named as what it is and where it is, so an ordinary rule about the page's last section cannot outrank it by weight */
main > section.page-body:last-child { padding-top: 1rem; padding-bottom: 1.5rem; border-top: 0; min-height: 0; height: auto; aspect-ratio: auto; margin-block: 0; }
.page-body > .narrow { padding-block: 0; margin-block: 0; }
.page-body > .narrow > :last-child,
.page-body > .narrow > :last-child > :last-child,
.page-body > .narrow > :last-child > :last-child > :last-child,
.page-body > .narrow > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0; }
/* engine: and the boxes the engine itself puts at that edge hold no air and no floor of their own, so the step under the page's last words is the column's own padding and nothing else */
.page-body > .narrow,
.page-body > .narrow > :last-child,
.page-body > .narrow > :last-child > ul.post-list:last-child { padding-bottom: 0; min-height: 0; height: auto; aspect-ratio: auto; }
/* engine: and the air between the head's last words and that column's first words is the engine's own rhythm, whatever makes it, padding as well as margin */
.page-head:has(+ .page-body) > .narrow { margin-bottom: 0; padding-bottom: 0; }
.page-head:has(+ .page-body) > .narrow > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0; padding-bottom: 0; }
/* engine: and that padding is measured from the standfirst's LAST LINE: its own box carries the trailing half of its line box, which a generously led standfirst would otherwise add to the air */
.page-head:has(+ .page-body) > .narrow > :last-child { margin-bottom: min(0px, 0.6em - 0.5lh); }
/* engine: and that head holds the engine's own words: a box a stylesheet GENERATES on it or on the wrap it is poured into is neither its height nor its spacing, so it lands under the standfirst where no rule above can reach it */
main > section.page-head:has(+ .page-body)::before,
main > section.page-head:has(+ .page-body)::after,
main > section.page-head:has(+ .page-body) > div.narrow::before,
main > section.page-head:has(+ .page-body) > div.narrow::after { content: none; }
/* engine: and so does the column that continues it: a box a stylesheet GENERATES above that column's first words, on the column, on the wrap it is poured into or on the box that wrap opens with, lands in the same air and is neither their spacing nor their height either */
main > section.page-head + section.page-body::before,
main > section.page-head + section.page-body > div.narrow::before,
main > section.page-head + section.page-body > div.narrow > :first-child:not(ul.post-list)::before { content: none; }
/* engine: and so do the words that head closes with, one level inside its wrap, which is the reach the rule above has on the column's side: a box generated AFTER the head's last words lands under the standfirst, in the air the engine owns, and a mark left in those words' flow as a block takes a line of its own there */
main > section.page-head:has(+ .page-body) > div.narrow > :last-child::after { content: none; }
/* engine: and the head is as tall as what it holds, so no floor of its own can open that air under its standfirst */
.page-head:has(+ .page-body),
.page-head:has(+ .page-body) > .narrow,
.page-head:has(+ .page-body) > .narrow > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child,
.page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child > :last-child { min-height: 0; height: auto; aspect-ratio: auto; }
.page-body > .narrow > :first-child,
.page-body > .narrow > :first-child > :first-child,
.page-body > .narrow > :first-child > :first-child > :first-child,
.page-body > .narrow > :first-child > :first-child > :first-child > :first-child { margin-top: 0; }
/* engine: and that air is made INSIDE those two boxes, so the join between them is flush: neither a margin between the head and the column nor a gap the page lays its bands out by can open it from outside both */
.page-head:has(+ .page-body) { margin-bottom: 0; }
.page-head + .page-body { margin-top: 0; }
main:has(> .page-head + .page-body) { row-gap: 0; }
/* engine: and on an index, which is that column led by the engine's own reading list, the air is one of the list's own gaps over a rem, so it reads as the rhythm of the list whatever the theme spaces its rows by */
.page-head:has(+ .page-body > .narrow > ul.post-list:first-child) { padding-bottom: 1rem; }
.page-head + .page-body:has(> .narrow > ul.post-list:first-child) { padding-top: 0; }
.page-head + .page-body > .narrow > ul.post-list:first-child { padding-top: 0; grid-template-rows: 0; }
.page-head + .page-body > .narrow > ul.post-list:first-child::before { content: ""; display: block; height: 0; min-height: 0; margin: 0; padding: 0; border: 0; grid-column: 1 / -1; }
/* engine: and no rule is drawn across the top of that column, on any box above its first words, because what is over it is the page's own head, which it continues */
.page-body > .narrow, .page-body > .narrow > :first-child, .page-body > .narrow > :first-child > :first-child, .page-body > .narrow > :first-child > :first-child > :first-child, .page-body > .narrow > :first-child > :first-child > :first-child > :first-child { border-top: 0; }
/* engine: and where that column opens with a block of the engine's own, the air over its heading is a rem of the head's over the column's own rem, never a band of the page */
.page-head:has(+ .page-body > .narrow > .block:first-child) { padding-bottom: 1rem; }
.page-body > .narrow > .block:first-child,
.page-body > .narrow > .block:first-child > :first-child { padding-top: 0; }
/* engine: and a mark a theme hangs on one of this column's own block headings is part of that heading's line, sharing its baseline, never a line of its own */
.page-body > .narrow > .block > h2::before,
.page-body > .narrow > .block > h2::after { display: inline-block; vertical-align: baseline; }
/* engine: with the room beside it the engine gives the mark it puts in a block's heading itself (ICON_CSS), because the room a rail gave it went with the rail */
.page-body > .narrow > .block > h2::before { margin-inline-end: 0.4em; }
.page-body > .narrow > .block > h2::after { margin-inline-start: 0.4em; }
/* engine: and on a page that is only this column, the space under it is the engine's too */
main:has(> .page-body:last-child) { padding-bottom: 0; margin-bottom: 0; }
main:has(> .page-body:last-child) + footer { margin-top: 0; }

/* engine: the waitlist card's field is a line of text tall, whatever axis a theme stacks its form on */
.capture form input[type=email] { max-height: 4.5em; }

/* engine: under 600px a product capture is the picture itself, whole: its box is sized from it and nothing crops it */
@media (max-width: 600px) {
  .hero-media { max-width: 100% !important; min-width: 0 !important; }
  figure.frame:not(.phone) { max-width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
  figure.frame:not(.phone) > img { max-width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; object-fit: contain !important; }
}

/* engine: under 600px the hero is one column and a product capture fills the box it was given, so the one picture of the product is never a tile in a panel */
@media (max-width: 600px) {
  .hero.with-media .wrap { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; grid-auto-flow: row !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; }
  .hero.with-media .wrap > * { grid-column: 1 / -1 !important; grid-row: auto !important; flex: 0 1 auto !important; }
  .hero.with-media .hero-media:not(:has(> figure.frame.phone)) { height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; min-width: min(100%, 20rem) !important; }
  figure.frame:not(.phone) { margin-inline: 0 !important; min-width: min(100%, 20rem) !important; }
}

/* engine: under 600px a band of product captures is one column, so no capture is drawn past the page's edge */
@media (max-width: 600px) {
  .shots:has(> figure.frame:not(.phone)), .spotlight { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; grid-auto-flow: row !important; grid-auto-columns: minmax(0, 1fr) !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; }
  .shots:has(> figure.frame:not(.phone)) > *, .spotlight > * { grid-column: 1 / -1 !important; grid-row: auto !important; flex: 0 1 auto !important; }
}

/* engine: under 600px the box that holds a product capture fits the page, so no capture is drawn wider than the window */
@media (max-width: 600px) {
  *:has(> figure.frame:not(.phone)) { box-sizing: border-box !important; max-width: min(100%, 100vw) !important; min-width: 0 !important; margin-inline: 0 !important; }
}

/* engine: under 600px a product capture is painted where it was laid out, so nothing paints it past the page's edge */
@media (max-width: 600px) {
  *:has(> figure.frame:not(.phone)), figure.frame:not(.phone), figure.frame:not(.phone) > img { transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }
}

/* engine: under 600px a product capture's frame is an upright block and the picture is its own, filling it, so nothing lays the picture out wider than the frame that holds it */
@media (max-width: 600px) {
  figure.frame:not(.phone) { display: block !important; writing-mode: horizontal-tb !important; }
  figure.frame:not(.phone) > img { position: static !important; float: none !important; width: 100% !important; }
}

/* engine: under 600px a product capture and every box the page lays it out inside are in the page's own writing mode, so every bound the engine writes on it is read in the page's own axis */
@media (max-width: 600px) {
  figure.frame:not(.phone), :has(figure.frame:not(.phone)) { writing-mode: horizontal-tb !important; }
}

/* engine: the picture of the product in a page head the engine composes is drawn across that head's own reading column, in its flow */
section.page-head > .narrow > .page-hero { display: block !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-inline: 0 !important; float: none !important; position: static !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }
section.page-head > .narrow > .page-hero > figure.frame:not(.phone) { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-inline: 0 !important; float: none !important; position: static !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }
section.page-head > .narrow > .page-hero > figure.frame:not(.phone) > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }

/* engine: the frame of the picture in a page head the engine composes stays in that head's own flow, whatever shape the capture is */
section.page-head > .narrow > .page-hero > figure.frame { float: none !important; position: static !important; }

/* engine: the picture of the product in a page head the engine composes is painted in the room that head gives it, so the room is never blank paper under the standfirst */
section.page-head > .narrow > .page-hero,
section.page-head > .narrow > .page-hero > figure.frame,
section.page-head > .narrow > .page-hero > figure.frame > img { opacity: 1 !important; visibility: visible !important; content-visibility: visible !important; clip-path: none !important; filter: none !important; mix-blend-mode: normal !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }

/* engine: under 600px a product capture's frame fits the window wherever it is laid out, stays in its box's own flow and keeps the picture inside it */
@media (max-width: 600px) {
  *:has(> figure.frame:not(.phone)) { inset: auto !important; }
  figure.frame:not(.phone) { max-width: min(100%, 100vw) !important; position: relative !important; inset: auto !important; float: none !important; }
  figure.frame:not(.phone) > img { margin-inline: 0 !important; padding-inline: 0 !important; }
  section.page-head > .narrow > .page-hero > figure.frame:not(.phone) { max-width: min(100%, 100vw) !important; }
}

/* engine: a band whose only picture is a wide capture is one column, and the picture sits centred under the head on the band's own axis */
.gallery .shots:has(> figure.frame:not(.phone):only-child) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.gallery .shots > figure.frame:not(.phone):only-child { width: min(100%, 60rem); margin-inline: auto; }

/* engine: a step of a page's steps block keeps its name and its detail in the row's words column */
.block > ol.steps > li > strong, .block > ol.steps > li > p { grid-column: -2 / -1 !important; }

/* engine: a page's card set is two to a row, one where two will not fit, and an odd set's last card fills its row */
@supports (grid-template-columns: repeat(auto-fit, minmax(max(14rem, 40%), 1fr))) {
  .benefits:not(.strip-cells) { grid-template-columns: repeat(auto-fit, minmax(max(14rem, 40%), 1fr)); }
  .benefits:not(.strip-cells) > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* engine: a band left with one card is one column, and that card fills the row it sits on */
.benefits:not(.strip-cells):has(> .card:only-child), .plan-cards:has(> .card:only-child), .grid:has(> .card:only-child) { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.benefits:not(.strip-cells):has(> .card:only-child) > .card, .plan-cards:has(> .card:only-child) > .card, .grid:has(> .card:only-child) > .card { max-width: none; }

/* engine: a page's own questions are one block inside the page, never a band of it */
div.faq { padding-block: 0; margin-block: 0; border-top: 0; border-bottom: 0; min-height: 0; height: auto; }

/* engine: while the phone menu is shut every box of the header sits on the row's own centre, so the wordmark, the trigger and the action read as one row */
@media (max-width: 720px) {
  header.site-header .wrap > .brand,
  header.site-header .wrap > details.nav-toggle { align-self: center; margin-block: 0; }
  header.site-header .nav-toggle:not([open]) + .nav,
  header.site-header .nav-toggle:not([open]) + .nav > a.cta { align-self: center; }
}

@layer engine {
/* engine: a question and its answer of one of the engine's own questions bands are one measure, the pair's own */
.faq details { display: block !important; }
.faq details > summary, .faq details > p { width: auto !important; max-width: none !important; float: none !important; }
}

@layer engine {
/* engine: the words of a page print in full, so no box the engine's own copy is printed in cuts them */
main :is(h1, h2, h3, h4, p, li, blockquote, summary) { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; height: auto !important; max-height: none !important; -webkit-line-clamp: none !important; line-clamp: none !important; }
}

@layer engine {
/* engine: in the dark scheme the engine's own label is drawn in the pack's label ink lifted into its body ink, so it reads on the ground the pack gives it */
[data-theme="dark"] .eyebrow, [data-theme="dark"] .eyebrow::before, [data-theme="dark"] .eyebrow::after { color: var(--muted) !important; color: color-mix(in oklab, var(--muted) 30%, var(--fg)) !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eyebrow, :root:not([data-theme="light"]) .eyebrow::before, :root:not([data-theme="light"]) .eyebrow::after { color: var(--muted) !important; color: color-mix(in oklab, var(--muted) 30%, var(--fg)) !important; }
}
}

@layer engine {
/* engine: a table cell's words break between words and never inside one, so what a cell says is read to the end of its own words and the columns that ask for more room than the page has are reached by the box's own sideways scroll */
.table-wrap th, .table-wrap td, .table-wrap td[data-label]::before { overflow-wrap: break-word !important; word-break: normal !important; hyphens: manual !important; }
}

@layer engine {
/* engine: while the phone menu is shut every box of the header is laid out in the header's own row and drawn where that row put it, so no box of it is ever drawn over the action */
@media (max-width: 720px) {
  header.site-header .wrap > .brand,
  header.site-header .wrap > details.nav-toggle,
  header.site-header .nav-toggle:not([open]) + .nav,
  header.site-header .nav-toggle:not([open]) + .nav > a.cta { position: static !important; inset: auto !important; transform: none !important; translate: none !important; }
}
}

@layer engine {
/* engine: every row of the open phone drawer is laid out in the drawer's own ONE column and drawn where that column put it, so no row of it is ever drawn off the edge the rest of them share or beside the row before it */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav { flex-direction: column !important; flex-wrap: nowrap !important; }
  header.site-header .nav-toggle[open] + .nav > a { position: static !important; inset: auto !important; transform: none !important; translate: none !important; }
}
}

@layer engine {
/* engine: the open phone drawer's action is a row of the drawer at a weight no theme takes back: as wide as the rows it sits under and on their own edges */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > a.cta { align-self: stretch !important; justify-self: stretch !important; width: auto !important; min-width: 0 !important; max-width: none !important; margin-inline: 0 !important; }
}
}

@layer engine {
/* engine: every row of the open phone drawer begins on its own words at a weight no theme takes back, and no box of a theme's is laid out before them */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > a,
  header.site-header .nav-toggle[open] + .nav > details > summary,
  header.site-header .nav-toggle[open] + .nav > details > summary > .navlabel { text-align: left !important; text-indent: 0 !important; justify-content: flex-start !important; justify-items: start !important; }
  header.site-header .nav-toggle[open] + .nav > details > summary > .navlabel { padding-inline: 0 !important; margin-inline: 0 !important; }
  header.site-header .nav-toggle[open] + .nav > a::before,
  header.site-header .nav-toggle[open] + .nav > details > summary::before,
  header.site-header .nav-toggle[open] + .nav > details > summary > .navlabel::before { content: none !important; }
}
}

@layer engine {
/* engine: a row of one of the engine's own reading lists that prints no date is laid out in one column, so nothing stands to the left of its title */
.post-list li:not(:has(> .meta)) { grid-template-columns: minmax(0, 1fr) !important; }
.post-list li:not(:has(> .meta)) > * { grid-column: 1 !important; }
}

@layer engine {
/* engine: the title and the summary of a row of one of the engine's own reading lists are one measure, the row's own */
ul.post-list > li > a, ul.post-list > li > p { width: auto !important; max-width: none !important; float: none !important; justify-self: stretch !important; }
}

@layer engine {
/* engine: a row of one of the engine's own reading lists is its words, so a box a theme generates on the row holds nothing and a row with no date begins at its own leading edge */
.post-list li::before, .post-list li::after { content: none !important; }
.post-list li:not(:has(> .meta)) { padding-inline-start: 0 !important; text-indent: 0 !important; }
}

@layer engine {
/* engine: a reading list of the engine's own begins at the leading edge of the column it sits in, markers and all, and so does every row of it that prints no date */
.post-list { list-style: none !important; padding-inline-start: 0 !important; text-indent: 0 !important; }
.post-list:not(:has(> li > .meta)) { margin-inline-start: 0 !important; }
.post-list li:not(:has(> .meta)) { margin-inline-start: 0 !important; }
}

@layer engine {
/* engine: every box a product capture sits inside is as tall as what is inside it, so no box above the frame cuts the capture off part way down, at every width */
body *:has(figure.frame:not(.phone)), figure.frame:not(.phone), figure.frame:not(.phone) > img { height: auto !important; max-height: none !important; aspect-ratio: auto !important; }
}

@layer engine {
/* engine: under 600px every box a product capture sits inside is laid out inside the box that holds it and painted where it was laid out, so no box above the frame takes the picture past the page's edge */
@media (max-width: 600px) {
  body *:has(figure.frame:not(.phone)):not(:has(> figure.frame:not(.phone))) { box-sizing: border-box !important; max-width: min(100%, 100vw) !important; min-width: 0 !important; margin-inline: auto !important; inset-inline: auto !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; }
}
}

@layer engine {
/* engine: under 600px the page's own box is laid out where it was laid out and painted there, so nothing takes a product capture off the start edge of the page */
@media (max-width: 600px) { :is(html, body):has(figure.frame:not(.phone)) { margin-inline: auto !important; inset-inline: auto !important; transform: none !important; scale: none !important; translate: none !important; rotate: none !important; } }
}

@layer engine {
/* engine: a product capture's own box is as tall as the picture inside it and no taller, so no floor of a theme's stands a band of empty paper under the capture, at every width */
figure.frame, *:has(> figure.frame), figure.frame > img { min-height: 0 !important; }
}

@layer engine {
/* engine: on an index every step between the head's standfirst and its first entry is the engine's own rem and half rem, at a weight no selector or important word of a theme's takes back */
.page-head:has(+ .page-body > .narrow > ul.post-list:first-child) { padding-bottom: 1rem !important; }
.page-head + .page-body:has(> .narrow > ul.post-list:first-child) { padding-top: 0 !important; }
.page-head + .page-body > .narrow > ul.post-list:first-child { padding-top: 0.5rem !important; grid-template-rows: none !important; }
.page-head + .page-body > .narrow > ul.post-list:first-child::before { content: none !important; }
}

@layer engine {
/* engine: on a page that is the page head's own reading column and nothing else, the step between its last words and the footer is the engine's own rem and a half, at a weight no selector of a theme's takes back */
main > section.page-body:last-child { padding-bottom: 1.5rem !important; margin-bottom: 0 !important; }
.page-body > .narrow, .page-body > .narrow > :last-child, .page-body > .narrow > :last-child > ul.post-list:last-child { padding-bottom: 0 !important; }
.page-body > .narrow, .page-body > .narrow > :last-child, .page-body > .narrow > :last-child > :last-child, .page-body > .narrow > :last-child > :last-child > :last-child, .page-body > .narrow > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0 !important; }
main:has(> .page-body:last-child) { padding-bottom: 0 !important; margin-bottom: 0 !important; } main:has(> .page-body:last-child) + footer { margin-top: 0 !important; }
}

@layer engine {
/* engine: on a page head over the engine's own reading column, the air under the head's last words is the head's own padding and nothing else, at a weight no selector or important word of a theme's takes back */
.page-head:has(+ .page-body) > .narrow { margin-bottom: 0 !important; padding-bottom: 0 !important; } .page-head:has(+ .page-body) > .narrow > :last-child { padding-bottom: 0 !important; } .page-head:has(+ .page-body) > .narrow > :last-child > :last-child, .page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child, .page-head:has(+ .page-body) > .narrow > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0 !important; }
.page-head:has(+ .page-body) > .narrow > :last-child { margin-bottom: min(0px, 0.6em - 0.5lh) !important; }
}

@layer engine {
/* engine: at phone width the fold of the footer's map is the engine's own, at a weight no selector of a theme's takes back */
@media (max-width: 600px) {
  footer.site-footer .footer-map { display: grid !important; grid-template-columns: 1fr !important; row-gap: 0 !important; }
  footer.site-footer .footer-map > * { margin-block: 0 !important; padding-block: 0 !important; }
  footer.site-footer .footer-map .eyebrow[aria-expanded="false"] { margin-block: 0 !important; }
  footer.site-footer .footer-map .eyebrow[aria-expanded="false"] ~ *, footer.site-footer .footer-map ul[hidden] { display: none !important; }
}
}

@layer engine {
/* engine: no rule is drawn across the top of a page's own reading column, on the column, the wrap inside it or the chain of first children down through the engine's own markup there, because what is over it is the page head the column continues, at a weight no selector or important word of a theme's takes back */
.page-body, .page-body > .narrow, .page-body > .narrow > :first-child, .page-body > .narrow > :first-child > :first-child, .page-body > .narrow > :first-child > :first-child > :first-child, .page-body > .narrow > :first-child > :first-child > :first-child > :first-child { border-top: 0 !important; }
}

/* engine: this theme's own rules leave a row of the open phone drawer with no room inside it, so the engine's own room is given back to every row of that drawer, the action included, and the pill's ground is drawn around it again */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > a:not(.cta),
  header.site-header .nav-toggle[open] + .nav > details > summary,
  header.site-header .nav-toggle[open] + .nav > a.cta { padding-inline: 1rem !important; }
}

/* engine: this theme's own rules size or place a menu's panel for the bar, so inside the open phone drawer the panel is given back to the drawer: drawn where the drawer's own column put it, no wider than the box that holds it, with the drawer's own room at its far end and one column of rows that fits it */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > details { min-width: 0 !important; max-width: 100% !important; transform: none !important; translate: none !important; }
  header.site-header .nav-toggle[open] + .nav > details > .navmenu { box-sizing: border-box !important; width: auto !important; min-width: 0 !important; max-width: 100% !important; margin-inline: 0 !important; position: static !important; inset-inline: auto !important; transform: none !important; translate: none !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; padding-inline-end: 1rem !important; }
  header.site-header .nav-toggle[open] + .nav > details > .navmenu > a { min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: break-word !important; }
}

/* engine: in the open phone drawer the engine draws its own mark on every menu's row whatever this theme did about the bar's, so a menu's label generates nothing of the theme's own there and a visitor reads one mark */
@media (max-width: 720px) {
  header.site-header .nav-toggle[open] + .nav > details.navgroup > summary::before,
  header.site-header .nav-toggle[open] + .nav > details.navgroup > summary::after,
  header.site-header .nav-toggle[open] + .nav > details.navgroup > summary > .navlabel::before,
  header.site-header .nav-toggle[open] + .nav > details.navgroup > summary > .navlabel::after { content: none !important; }
}

/* engine: this theme draws a drop-down mark of its own on a menu's label and leaves the engine's own mark standing beside it, so on the bar the theme's box generates nothing and the one mark a visitor reads is the engine's */
@media (min-width: 721px) {
  header.site-header nav.nav > details.navgroup > summary::before,
  header.site-header nav.nav > details.navgroup > summary::after,
  header.site-header nav.nav > details.navgroup > summary > .navlabel::before,
  header.site-header nav.nav > details.navgroup > summary > .navlabel::after { content: none !important; }
}

/* engine: this theme's own rules can draw the panel of the menu at the end of the bar somewhere other than where the engine hung it, and that is the one panel with the window's edge beside it, so on the bar it is hung again from its own right edge, in the box the engine gave it and moved by nothing */
@media (min-width: 721px) {
  header.site-header nav.nav > details.navgroup[data-bar-end] { position: relative !important; }
  header.site-header nav.nav > details.navgroup[data-bar-end] > .navmenu { position: absolute !important; left: auto !important; right: -0.75rem !important; margin-inline: 0 !important; transform: none !important; translate: none !important; }
}

/* engine: this theme's own rules size a stacked table's cards or the label inside one, and under 600px a label's line IS the card's own width, so the cards are sized by the window again and each label takes the whole of the line it is given */
@media (max-width: 600px) {
  .table-wrap, .table-wrap table, .table-wrap tbody, .table-wrap tr { min-width: 0 !important; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr { width: auto !important; }
  .table-wrap td[data-label]::before { width: auto !important; min-width: 0 !important; max-width: none !important; }
}

/* engine: this theme's own rules hold a run of text to one line somewhere, and under 600px a card's lines read down the window, so every line of a stacked card wraps again */
@media (max-width: 600px) {
  .table-wrap td, .table-wrap td[data-label]::before { white-space: normal !important; }
}

/* engine: this theme lays the footer's bottom row out itself, so that row reads as a row of links again: it wraps as links, each as wide as its own label, with one gap between them */
footer.site-footer > .wrap > nav { display: flex !important; flex-wrap: wrap !important; gap: var(--space) !important; }
footer.site-footer > .wrap > nav > a { flex: 0 1 auto !important; width: auto !important; }

@layer engine {
/* engine: this theme gives a product capture a height of its own, so a wide capture's frame is as tall as the picture inside it again, at every width, and nothing cuts the capture off part way down */
figure.frame:not(.phone), *:has(> figure.frame:not(.phone)) { height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; }
figure.frame:not(.phone) > img { height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }
}

@layer engine {
/* engine: this theme paints or pushes a product capture about, so the picture inside a capture's frame is drawn where the engine laid it out again, at every width, and nothing takes the picture of the product past that frame's own edge */
figure.frame > img { transform: none !important; scale: none !important; translate: none !important; rotate: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }
}

@layer engine {
/* engine: this theme lays a product capture's picture out somewhere other than its own frame, so a capture's frame is an upright block and the picture is its own in-flow child again, at every width, and nothing lays the picture out wider than the frame that crops it */
figure.frame { display: block !important; writing-mode: horizontal-tb !important; }
figure.frame > img { position: static !important; float: none !important; }
}

@layer engine {
/* engine: this theme gives a product capture a size or a fit of its own, so a phone app's capture is drawn at the width the engine sized it to and its picture is fitted as the engine fitted it, at every width */
figure.frame.phone { width: min(18.5rem, calc(80vh * var(--frame-ratio, 390 / 844))) !important; max-width: 100% !important; min-width: 0 !important; flex: 0 1 auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; width: min(18.5rem, calc(80svh * var(--frame-ratio, 390 / 844))) !important; }
figure.frame.phone > img { width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: var(--frame-ratio, 390 / 844) !important; object-fit: cover !important; object-position: top center !important; }
}

/* engine: this theme can leave a card shorter than its row, so every card of one of the engine's card sets is as tall as the row it shares again */
:is(.benefits:not(.strip-cells), .plan-cards, .grid) > .card { align-self: stretch !important; height: auto !important; }

/* engine: this theme can put the two gaps inside a card out of step, so the parts of one of the engine's cards are one step apart again: a card's heading stands off its words exactly as its icon stands off the heading */
:is(.benefits, .grid) > .card > :is(.glyph, h3) { margin-block: 0 var(--space, 1rem) !important; }

@layer engine {
/* engine: under 600px a phone app's capture is drawn across the box it was given, up to the pixels it was taken at, so the words inside the picture can be read */
@media (max-width: 600px) {
  figure.frame.phone { width: min(100%, 100vw, 390px) !important; }
}
}

/* engine: the shape blocks a page review asked for (a figure band, a steps band, a comparison strip) */
.figure-band > .figure-band-body { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: calc(var(--space, 1rem) * 1.5) !important; align-items: start !important; min-width: 0 !important; max-width: 100% !important; }
.figure-band > .figure-band-body > .figure-band-words, .figure-band > .figure-band-body > .figure-band-media { grid-column: 1 !important; grid-row: auto !important; align-self: start !important; min-width: 0 !important; margin: 0 !important; }
@media (min-width: 760px) {
  .figure-band:not(.is-wide) > .figure-band-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important; }
  .figure-band:not(.is-wide) > .figure-band-body > .figure-band-words { grid-column: 1 !important; grid-row: 1 !important; }
  .figure-band:not(.is-wide) > .figure-band-body > .figure-band-media { grid-column: 2 !important; grid-row: 1 !important; }
}
.figure-band-media > figure.frame { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; position: static !important; transform: none !important; float: none !important; }
.figure-band-media > figure.frame > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; }
.figure-band-media > figure.frame.phone { width: min(16rem, 100%) !important; margin-inline: auto !important; }
/* engine: a band that CLOSES with the picture its own words name draws that box alone, after the words or the links it belongs to, with one step of clear space above it (components.band_shot_box, a div and never one of a page's own .block sections) */
div.figure-band { margin: calc(var(--space, 1rem) * 1.5) 0 0 !important; }
/* engine: and where that box LEADS a band's own cards rather than closing the band (the what-it-does band's picture, components.features_grid) it carries the same step of clear space below it, so the picture never sits against the first card */
div.figure-band:not(:last-child) { margin-bottom: calc(var(--space, 1rem) * 1.5) !important; }
.steps-band .steps > li > div { min-width: 0 !important; }
.steps-band .steps > li .step-shot { display: block !important; min-width: 0 !important; margin: var(--space, 1rem) 0 0 !important; }
.steps-band .steps > li .step-shot > figure.frame { box-sizing: border-box !important; width: 100% !important; max-width: 36rem !important; min-width: 0 !important; margin: 0 !important; position: static !important; transform: none !important; float: none !important; }
.steps-band .steps > li .step-shot > figure.frame > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; }
.steps-band .steps > li .step-shot > figure.frame.phone { width: min(13rem, 100%) !important; }

/* engine: a wide capture under its words at the column's width, never past its own size, whole at every width */
:is(.figure-band.is-wide .figure-band-media, .steps-band .steps > li .step-shot.is-wide) { box-sizing: border-box !important; width: 100% !important; max-width: min(100%, var(--shot-w, 100%)) !important; min-width: 0 !important; margin-inline: 0 !important; }
:is(.figure-band.is-wide .figure-band-media, .steps-band .steps > li .step-shot.is-wide) > figure.frame { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; position: static !important; transform: none !important; float: none !important; }
:is(.figure-band.is-wide .figure-band-media, .steps-band .steps > li .step-shot.is-wide) > figure.frame > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }

.comparison-strip > .strip-cells { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: var(--space, 1rem) !important; }
.comparison-strip > .strip-cells > .strip-cell { grid-column: auto !important; grid-row: auto !important; margin-block: 0 !important; min-width: 0 !important; }
@media (min-width: 760px) { .comparison-strip > .strip-cells { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* engine: a band of the site plan's cards as rows, each with its picture */
.feature-rows { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: calc(var(--space, 1rem) * 2) !important; margin: 0 !important; padding: 0 !important; }
.feature-rows > .feature-row { grid-column: 1 / -1 !important; grid-row: auto !important; display: block !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; margin: 0 !important; transform: none !important; float: none !important; }
/* and the cards it has no picture for at all, as the band's own grid, last in the list: the list's own gap is the space above it */
.feature-rows > .grid { grid-column: 1 / -1 !important; margin: 0 !important; min-width: 0 !important; }
.feature-row > .feature-row-body { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: calc(var(--space, 1rem) * 1.5) !important; align-items: start !important; min-width: 0 !important; max-width: 100% !important; }
.feature-row > .feature-row-body > .feature-row-words, .feature-row > .feature-row-body > .feature-row-media { grid-column: 1 !important; grid-row: auto !important; align-self: start !important; min-width: 0 !important; margin: 0 !important; }
.feature-row-media > figure.frame { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; position: static !important; transform: none !important; float: none !important; }
.feature-row-media > figure.frame > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; }
.feature-row.is-phone .feature-row-media > figure.frame.phone { width: min(16rem, 100%) !important; margin-inline: auto !important; }
.feature-row.is-art .feature-row-media > figure.illustration { box-sizing: border-box !important; display: block !important; width: min(24rem, 100%) !important; max-width: 100% !important; min-width: 0 !important; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; position: static !important; transform: none !important; float: none !important; }
.feature-row.is-art .feature-row-media > figure.illustration > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain !important; border-radius: var(--radius, 12px) !important; }
@media (min-width: 760px) {
  .feature-row.is-phone > .feature-row-body, .feature-row.is-art > .feature-row-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important; }
  .feature-row.is-phone > .feature-row-body > .feature-row-words, .feature-row.is-art > .feature-row-body > .feature-row-words { grid-column: 1 !important; grid-row: 1 !important; }
  .feature-row.is-phone > .feature-row-body > .feature-row-media, .feature-row.is-art > .feature-row-body > .feature-row-media { grid-column: 2 !important; grid-row: 1 !important; }
  .feature-row.is-phone.flip > .feature-row-body, .feature-row.is-art.flip > .feature-row-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) !important; }
  .feature-row.is-phone.flip > .feature-row-body > .feature-row-words, .feature-row.is-art.flip > .feature-row-body > .feature-row-words { grid-column: 2 !important; }
  .feature-row.is-phone.flip > .feature-row-body > .feature-row-media, .feature-row.is-art.flip > .feature-row-body > .feature-row-media { grid-column: 1 !important; }
}

/* engine: a wide capture under its words at the column's width, never past its own size, whole at every width */
:is(.feature-row.is-wide .feature-row-media) { box-sizing: border-box !important; width: 100% !important; max-width: min(100%, var(--shot-w, 100%)) !important; min-width: 0 !important; margin-inline: 0 !important; }
:is(.feature-row.is-wide .feature-row-media) > figure.frame { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; position: static !important; transform: none !important; float: none !important; }
:is(.feature-row.is-wide .feature-row-media) > figure.frame > img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }
