/* CV Compiler /cv-scanner. Composition reference: Hoplite (Saaspo), light.
   A left-aligned opening on a pale grey ground with angled violet and mint light
   behind one scene, one connected file-to-result figure, and one reading-order
   figure built from a real text extraction. No dark section and no card grid.
   Page-only stylesheet: every rule is scoped by this file and the body class "cvs". */

@font-face { font-family: "Space Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/uploads-pre-acq/fonts/SpaceMonoRegular/SpaceMonoRegular.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-SemiBold.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --ground: #f3f2ef;
  --panel-bg: #e9e8e4;
  --ink: #17161a;
  --ink-soft: #45434c;
  --ink-faint: #6a6772;
  --violet: #4a2de0;
  --violet-dark: #3a20c2;
  --violet-soft: #e9e4ff;
  --lilac: #f3f0ff;
  --mint: #7fe0b2;
  --mint-soft: #dcf6e8;
  --mint-ink: #0f5c3b;
  --sand-soft: #fdeccb;
  --sand-ink: #7a4a00;
  --sky-soft: #dbe9fb;
  --sky-ink: #1d4f8f;
  --rule: rgba(23, 22, 26, 0.13);
  --rule-strong: rgba(23, 22, 26, 0.3);
  --error: #a3211a;

  --sans: "Cerebri Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --doc: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --fs-micro: 0.75rem;
  --fs-tag: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h4: 1.0625rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 3.6vw, 4.5rem);
  --fs-btn: 1rem;
  --fs-brand: 1.1875rem;
  --fs-cv: 0.6875rem;

  --gutter: 32px;
  --wrap: 1160px;
  --gap: clamp(60px, 7vw, 104px);
  --radius: 8px;
  --panel: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cvs {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.js-only { display: none; }
.js .js-only { display: inline; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 1; padding: 12px 18px;
  background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2 { font-weight: 500; letter-spacing: -0.036em; }
h1 { font-size: var(--fs-h1); line-height: 1; }
h2 { font-size: var(--fs-h2); line-height: 1.08; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.28; font-weight: 600; letter-spacing: -0.018em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 600; letter-spacing: -0.008em; }

.cvs main a:not(.btn) { color: var(--violet-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cvs main a:not(.btn):hover { text-decoration-thickness: 2px; }
.micro { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.06em; line-height: 1.5; text-transform: uppercase; color: var(--ink-faint); }
.lede { font-size: var(--fs-lead); line-height: 1.48; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 26px; border: 0; border-radius: var(--radius);
  background: var(--violet); color: #fff; font-size: var(--fs-btn); font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(23, 22, 26, 0.22);
}
.btn:hover { background: var(--violet-dark); }
.btn[disabled] { background: #8f8ca6; cursor: not-allowed; box-shadow: none; }
.btn--small { min-height: 44px; padding: 9px 18px; font-size: var(--fs-small); }

/* ---------- Header ---------- */
.top { background: var(--ground); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand {
  font-family: var(--mono); font-weight: 400; font-size: var(--fs-brand); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap; margin-right: auto;
}
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a {
  display: inline-block; padding: 10px 0; font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle {
  display: none; align-items: center; min-height: 44px; padding: 8px 16px; background: transparent;
  border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--rule-strong);
  font-size: var(--fs-small); font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Hero: heading, lead and upload first, then the scene.
   The angled light sits behind the scene and never behind the text. ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 18%; right: -12%; top: 46%; bottom: 70px; pointer-events: none;
  background: linear-gradient(116deg, transparent 0 22%, rgba(74, 45, 224, 0.2) 36%, rgba(127, 224, 178, 0.34) 56%, transparent 74%);
  filter: blur(34px);
}
.hero > .wrap { position: relative; padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(36px, 4.6vw, 64px); }
.hero__text { max-width: 660px; }
.hero__lead { margin-top: 20px; max-width: 31em; font-size: var(--fs-lead); line-height: 1.48; color: var(--ink-soft); }
.hero__device { margin-top: 14px; font-size: var(--fs-small); color: var(--ink-soft); }
.hero__scene {
  margin-top: clamp(32px, 4.4vw, 60px); border-radius: var(--panel); overflow: hidden;
  background: #e4e3ec; box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -56px rgba(23, 22, 26, 0.55);
}
.hero__scene img { width: 100%; height: auto; font-size: var(--fs-small); color: var(--ink-faint); }
/* On a laptop or wider the scene sits beside the upload instead of under it, so the first
   screen has no empty right half and the scene no longer runs a full viewport tall.
   The image keeps width:100% and height:auto, so its 3:2 ratio and the whole phone are kept. */
@media (min-width: 901px) {
  .hero > .wrap {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 0 clamp(40px, 4vw, 64px); align-items: center;
  }
  .hero__scene { margin-top: 0; }
  /* Inset well inside the hero so the 34px blur fades out before .hero's overflow clip,
     instead of ending in a hard line against the header and the next section. */
  .hero::before { left: 40%; right: -6%; top: 90px; bottom: 90px; }
}

/* ---------- Upload box (shared uploader hooks; presentation is this page's) ---------- */
.upload {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  max-width: 500px; margin-top: 26px; padding: 18px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 0 0 1px var(--rule-strong), 0 22px 40px -30px rgba(23, 22, 26, 0.55);
}
.upload.is-drag { background: var(--lilac); box-shadow: 0 0 0 2px var(--violet); }
.upload__icon {
  flex: 0 0 46px; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius); background: var(--mint-soft); color: var(--mint-ink);
}
.upload__icon svg { width: 22px; height: 22px; }
.upload__text { flex: 1 1 0; min-width: 0; }
.upload__title { font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.upload__meta { margin-top: 2px; font-size: var(--fs-small); color: var(--ink-soft); }
.upload__action { flex: 1 1 100%; min-width: 0; }
.upload noscript { flex: 1 1 100%; }
.upload__status { flex: 1 1 100%; font-size: var(--fs-small); font-weight: 500; color: var(--error); }
/* Messages and the progress panel that the shared uploader inserts after the box. */
.upload + div { max-width: 500px; margin: 16px 0 0; font-size: var(--fs-small); font-weight: 500; }
.upload + div p { margin-bottom: 10px; }
.upload + div button {
  min-height: 44px; padding: 8px 18px; background: var(--white); border: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; cursor: pointer;
}

/* ---------- Sections ---------- */
.sec > .wrap { padding-top: var(--gap); }
.sec--white { margin-top: var(--gap); background: var(--white); }
.sec--white > .wrap { padding-bottom: var(--gap); }
.head { max-width: 760px; }
.head h2 + p { margin-top: 20px; }

/* ---------- 01 What the scanner checks: the file-to-result figure carries the lists;
   two short paragraphs after it add the reasoning and the deeper pages ---------- */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(30px, 4vw, 48px); }
.checks > div { padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.checks p { margin-top: 10px; color: var(--ink-soft); }

.flow {
  display: grid; grid-template-columns: minmax(0, 0.9fr) 40px minmax(0, 1.7fr) 40px minmax(0, 0.9fr); align-items: center;
  margin-top: clamp(34px, 4.4vw, 60px); padding: clamp(20px, 3.4vw, 44px);
  background: var(--panel-bg); border-radius: var(--panel);
}
.flow__col { position: relative; display: grid; gap: 14px; }
.flow__col--in { padding-right: 20px; border-right: 1px solid var(--rule-strong); }
.flow__col--out { padding-left: 20px; border-left: 1px solid var(--rule-strong); }
.node { position: relative; padding: 14px 16px 15px; background: var(--white); border-radius: 10px; box-shadow: 0 1px 0 rgba(23, 22, 26, 0.1); }
.node__k { display: block; margin-bottom: 3px; }
.node__t { font-weight: 600; line-height: 1.3; }
.node__d { margin-top: 3px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-soft); }
/* Each side node has a short stub to the vertical rule beside its column. */
.flow__col--in .node::after, .flow__col--out .node::after {
  content: ""; position: absolute; top: 50%; width: 20px; border-top: 1px solid var(--rule-strong);
}
.flow__col--in .node::after { left: 100%; }
.flow__col--out .node::after { right: 100%; }
/* The rule is trimmed to run only between the first and last stubs. */
.flow__col--in .node:first-child::before, .flow__col--in .node:last-child::before,
.flow__col--out .node:first-child::before, .flow__col--out .node:last-child::before {
  content: ""; position: absolute; width: 3px; height: 50%; background: var(--panel-bg);
}
.flow__col--in .node::before { left: calc(100% + 19px); }
.flow__col--out .node::before { right: calc(100% + 19px); }
.flow .node:first-child::before { top: -1px; }
.flow .node:last-child::before { bottom: -1px; }
.wire { align-self: stretch; position: relative; }
.wire::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--rule-strong); }
.core { padding: 20px 22px 22px; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--violet), 0 24px 40px -34px rgba(58, 32, 194, 0.6); }
.core__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.core__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 14px; }
.core__lists ul { margin-top: 8px; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }
.core__lists li { position: relative; padding: 4px 0 4px 16px; }
.core__lists li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 7px; height: 7px; border-radius: 2px; }
.core__lists .is-read li::before { background: var(--violet); }
.core__lists .is-says li::before { background: var(--mint-ink); }
.flow__cap { margin-top: 14px; font-size: var(--fs-tag); line-height: 1.5; color: var(--ink-faint); }

/* ---------- 02 Reading order: one CV in two layouts, with the order its text was read in ---------- */
.order-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 72px); margin-top: clamp(28px, 3.6vw, 44px); }
.order-text p { color: var(--ink-soft); }

.order { margin-top: clamp(30px, 4vw, 52px); padding: clamp(16px, 2.6vw, 30px); background: var(--ground); border-radius: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); }
.order__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.order__intro { flex: 1 1 260px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }
.order__seg { display: none; padding: 4px; background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.js .order__seg { display: inline-flex; }
.seg {
  min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent;
  font-size: var(--fs-tag); font-weight: 600; color: var(--ink-soft); cursor: pointer; white-space: nowrap;
}
.seg:hover { color: var(--ink); background: var(--lilac); }
.seg[aria-pressed="true"] { background: var(--ink); color: #fff; }

.pane { margin-top: 18px; }
.pane + .pane { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule-strong); }
.js .pane + .pane { margin-top: 18px; padding-top: 0; border-top: 0; }
.js .order[data-layout="two"] .pane[data-pane="one"],
.js .order[data-layout="one"] .pane[data-pane="two"] { display: none; }
.js .pane__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pane__pair { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(20px, 3vw, 40px); align-items: start; margin-top: 12px; }
.js .pane__pair { margin-top: 0; }

/* The example CV, set in HTML with the same words as the PDF that was extracted. */
.cvp {
  padding: 22px 22px 26px; background: var(--white); border-radius: 4px;
  box-shadow: 0 0 0 1px var(--rule-strong), 0 26px 44px -36px rgba(23, 22, 26, 0.55);
  font-family: var(--doc); font-size: var(--fs-cv); line-height: 1.5; color: #25263f;
}
/* Beside the long two-column list, the CV stays in view while the rows are read. */
@media (min-width: 901px) {
  .pane__pair > .cvp { position: sticky; top: 24px; }
}
.cvp__name { font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
.cvp__title { margin-top: 2px; font-size: 0.8125rem; }
.cvp__top { padding: 4px 6px 10px; margin: -4px -6px 12px; border-bottom: 1px solid #6550b9; }
.cvp__cols { display: grid; grid-template-columns: 31% minmax(0, 1fr); gap: 0 16px; align-items: start; }
.cvp__side { display: grid; gap: 12px; }
.blk { padding: 6px 7px 8px; border-radius: 3px; }
.blk + .blk { margin-top: 0; }
.cvp--one .blk + .blk { margin-top: 10px; }
.blk__h { margin-bottom: 5px; padding-bottom: 3px; border-bottom: 1px solid rgba(37, 38, 63, 0.18); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; color: #6550b9; }
.blk p + p { margin-top: 2px; }
.blk .job { font-weight: 700; }
.blk ul + .job { margin-top: 9px; }
.blk .when { font-size: 0.625rem; }
.blk ul { margin-top: 3px; }
.blk li { position: relative; padding-left: 10px; }
.blk li::before { content: "\2022"; position: absolute; left: 1px; }
.blk li + li { margin-top: 2px; }
.blk--contact { background: var(--violet-soft); }
.blk--exp { background: var(--mint-soft); }
.blk--skills { background: var(--sand-soft); }
.blk--edu { background: var(--sky-soft); }
.cvp__foot { margin-top: 16px; font-size: 0.5625rem; color: #55576a; }

/* The order list. Each row names its section in words as well as colour. */
.seq__h { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.seq__list { counter-reset: seq; }
.seq__list li {
  counter-increment: seq; display: grid; grid-template-columns: 26px 92px minmax(0, 1fr); align-items: baseline; gap: 0 10px;
  padding: 8px 0 9px; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); line-height: 1.4;
}
.seq__list li::before { content: counter(seq); font-family: var(--mono); font-size: var(--fs-micro); color: var(--ink-faint); }
.chip { justify-self: start; padding: 2px 8px 3px; border-radius: 999px; font-size: var(--fs-micro); font-weight: 600; line-height: 1.4; white-space: nowrap; }
.chip--name { background: var(--white); box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink-soft); }
.chip--contact { background: var(--violet-soft); color: var(--violet-dark); }
.chip--exp { background: var(--mint-soft); color: var(--mint-ink); }
.chip--skills { background: var(--sand-soft); color: var(--sand-ink); }
.chip--edu { background: var(--sky-soft); color: var(--sky-ink); }
.seq__t { color: var(--ink); overflow-wrap: anywhere; }
.seq__t i { font-style: normal; color: var(--ink-faint); }
.seq__sum { margin-top: 14px; font-size: var(--fs-small); font-weight: 600; line-height: 1.45; }
.order__cap { margin-top: 18px; font-size: var(--fs-tag); line-height: 1.5; color: var(--ink-faint); }

.order-after { max-width: 760px; margin-top: clamp(26px, 3.4vw, 40px); }
.order-after p { color: var(--ink-soft); }
.order-after p + p { margin-top: 14px; }

/* ---------- 03 Your file, and after the scan ---------- */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(28px, 3.6vw, 44px); }
.two > div { padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.two p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- 04 Questions: every answer visible ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(36px, 6vw, 88px); align-items: start; }
.faq > div { padding: 20px 0 22px; border-top: 1px solid var(--rule-strong); }
.faq > div:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq dt { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.018em; }
.faq dd { margin-top: 8px; max-width: 38em; color: var(--ink-soft); }

/* ---------- Close and footer ---------- */
.close > .wrap { padding-top: var(--gap); padding-bottom: var(--gap); }
.close__in { text-align: center; }
.close__in h2 { max-width: 14em; margin: 0 auto; }
.close__lead { max-width: 30em; margin: 16px auto 0; font-size: var(--fs-lead); line-height: 1.48; color: var(--ink-soft); }
.upload--center { margin-left: auto; margin-right: auto; text-align: left; }
.upload--center + div { margin-left: auto; margin-right: auto; text-align: left; }

.foot { background: var(--white); }
.foot > .wrap { padding-top: 44px; padding-bottom: 32px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px clamp(32px, 5vw, 72px); }
.foot__about { margin-top: 12px; max-width: 30em; font-size: var(--fs-small); color: var(--ink-soft); }
.foot__h { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.foot nav ul { margin-top: 10px; }
.foot nav a { display: inline-block; padding: 7px 0; font-size: var(--fs-small); color: var(--ink-soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: var(--fs-tag); color: var(--ink-faint); }

/* ---------- Motion: small hover and state transitions only, and none when reduced motion is set ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: background-color 160ms var(--ease); }
  .upload { transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease); }
  .seg, .nav a { transition: background-color 160ms var(--ease), color 160ms var(--ease); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; order: 2; }
  .top__in > .btn { order: 1; }
  .top__in { flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
  .nav { flex: 1 1 100%; order: 3; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 6px; }
  .nav a { display: block; padding: 11px 0; border-top: 1px solid var(--rule); font-size: var(--fs-body); }
}
@media (max-width: 900px) {
  .checks, .two, .order-text, .qa { grid-template-columns: minmax(0, 1fr); }
  .checks > div + div, .two > div + div { margin-top: 26px; }
  .order-text { gap: 14px; }
  .pane__pair { grid-template-columns: minmax(0, 1fr); }
  /* The connected figure becomes one vertical chain: inputs, the scan, results. */
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__col--in, .flow__col--out { padding: 0; border: 0; }
  .flow__col .node::after, .flow__col .node::before { display: none; }
  .wire { height: 30px; }
  .wire::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid var(--rule-strong); }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; --fs-body: 1rem; --fs-lead: 1.125rem; --fs-h3: 1.1875rem; --fs-cv: 0.625rem; --gap: 52px; }
  .top__in { min-height: 64px; gap: 12px 10px; }
  .top__in > .btn { padding: 9px 14px; }
  .nav-toggle { padding: 8px 13px; }
  .hero > .wrap { padding-top: 26px; padding-bottom: 30px; }
  .hero__lead { margin-top: 14px; }
  .upload { margin-top: 20px; padding: 14px; gap: 12px 14px; }
  /* The scene and the figures run closer to the screen edge so their content keeps its size.
     The image keeps its natural ratio, so the whole phone stays in view. */
  .hero__scene, .flow, .order { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .flow { padding: 14px; }
  .core { padding: 16px 16px 18px; }
  .core__lists { grid-template-columns: minmax(0, 1fr); }
  .order { padding: 12px; }
  .order__seg { width: 100%; }
  .seg { flex: 1 1 0; padding: 8px 6px; }
  .cvp { padding: 14px 12px 18px; }
  .cvp__cols { gap: 0 8px; }
  .blk { padding: 5px 5px 7px; }
  .seq__list li { grid-template-columns: 22px 84px minmax(0, 1fr); gap: 0 8px; padding: 6px 0 7px; line-height: 1.35; }
  .seq__sum { margin-top: 12px; }
  .order__cap { margin-top: 12px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .top__in > .btn { display: none; }
  .brand { font-size: var(--fs-h4); }
}
@media (forced-colors: active) {
  .blk, .chip, .node, .core { border: 1px solid CanvasText; }
}
