/* CV Compiler /cv-format. Light page: a divided hero on warm off-white, bold sans headings with one
   highlighted phrase, hairline rules between bands, tiles of unequal width that hold a document.
   Page-only stylesheet: every rule is scoped by this file and the body class "cvf". */

@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"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-Bold.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --paper: #f7f4ee;
  --paper-light: #fdfcf9;
  --ink: #1c1a17;
  --ink-soft: #47433c;
  --ink-faint: #68635a;
  --purple: #4a2de0;
  --purple-dark: #3a20c2;
  --mark: #dcd5ff;
  --lilac: #f1eeff;
  --rule: rgba(28, 26, 23, 0.14);
  --rule-strong: rgba(28, 26, 23, 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-note: 1.0625rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.3125rem;
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.9375rem, 1.4rem + 2vw, 2.875rem);
  --fs-h1: clamp(3rem, 1.7rem + 5vw, 5rem);
  --fs-h1-out: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  --fs-btn: 1rem;
  --fs-brand: 1.1875rem;
  --fs-doc: 0.8125rem;
  --fs-doc-name: 1.3125rem;

  --gutter: 32px;
  --wrap: 1160px;
  --gap: clamp(64px, 8vw, 112px);
  --radius: 6px;
  --tile: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cvf {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.62;
  -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, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.nw { white-space: nowrap; }

.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: 700; letter-spacing: -0.032em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 0.98; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.018em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }

.cvf main a:not(.btn) { color: var(--purple-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cvf main a:not(.btn):hover { text-decoration-thickness: 2px; }
.micro { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; color: var(--ink-faint); }
.hl { background: linear-gradient(to top, var(--mark) 0, var(--mark) 0.42em, transparent 0.42em); border-radius: 2px; padding: 0 0.06em; }

/* ---------- 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(--purple); 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(28, 26, 23, 0.22);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(58, 32, 194, 0.26); }
.btn:active { transform: none; }
.btn[disabled] { background: #8f8ca6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--small { min-height: 44px; padding: 9px 18px; font-size: var(--fs-small); }
.btn--line {
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--line:hover { background: var(--lilac); box-shadow: inset 0 0 0 1.5px var(--purple-dark); color: var(--purple-dark); }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--rule); background: var(--white); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.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; transition: color 160ms var(--ease);
}
.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: text and upload on the warm panel, the scene on the light panel ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); border-bottom: 1px solid var(--rule); }
.hero__text {
  background: var(--paper); border-right: 1px solid var(--rule);
  padding: clamp(44px, 5.4vw, 84px) clamp(28px, 4.2vw, 68px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero__label { margin-bottom: 18px; }
.h1__out {
  display: block; margin-top: 0.5em; font-size: var(--fs-h1-out); font-weight: 600;
  line-height: 1.16; letter-spacing: -0.022em;
}
.hero__lead { margin-top: 22px; max-width: 34em; font-size: var(--fs-note); line-height: 1.58; color: var(--ink-soft); }
/* The scene keeps its own 8:7 proportion and is never cropped on wide screens. The panel colour matches
   the photograph's surface, so the picture stops growing at 880px and the panel carries on around it. */
.hero__art { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e6ddd7; }
.hero__art picture { display: block; width: 100%; max-width: 880px; }
.hero__art img { width: 100%; height: auto; }

/* ---------- Upload box (shared uploader hooks; presentation is this page's) ---------- */
.upload {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  max-width: 520px; margin-top: 28px; padding: 18px;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 10px;
  box-shadow: 0 18px 36px -26px rgba(28, 26, 23, 0.55);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.upload.is-drag { border-color: var(--purple); background: #f6f4ff; }
.upload__icon {
  flex: 0 0 46px; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius); background: var(--lilac); color: var(--purple-dark);
}
.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); }
/* Shared contract: icon and text on one row, then a full-width button, so the file details never squeeze. */
.upload__action { flex: 1 1 100%; min-width: 0; }
.upload__next {
  flex: 1 1 100%; padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft);
}
.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: 520px; 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;
}
.upload--wide { max-width: 720px; }
.upload--wide .upload__next { flex: 1 1 100%; }

/* ---------- Bands ---------- */
.band { border-bottom: 1px solid var(--rule); }
.band--paper { background: var(--paper); }
.band > .wrap { padding-top: var(--gap); padding-bottom: var(--gap); }
.kick { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.kick b { font-weight: 400; color: var(--purple-dark); }
.head { max-width: 820px; }
.head h2 + p { margin-top: 22px; }
.lede { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.prose { max-width: 740px; }
.prose > * + * { margin-top: 1.05em; }
.prose > h3 { margin-top: 2.1em; }
.prose > h3 + p { margin-top: 0.6em; }
.part { margin-top: clamp(44px, 5.5vw, 72px); }
.part > h3 + p, .part > h3 + .prose { margin-top: 0.6em; }

/* ---------- Short answer and the three decisions ---------- */
.answer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(36px, 6vw, 88px); align-items: start; }
.answer__body > * + * { margin-top: 1.05em; }
.answer__body p:first-child { font-size: var(--fs-lead); line-height: 1.52; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(44px, 5.5vw, 72px); border-top: 1px solid var(--ink); }
.three__h { grid-column: 1 / -1; padding: 14px 0 0; }
.three li { padding: 22px 32px 6px 0; }
.three li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.three li:last-child { padding-right: 0; }
.three h3 { display: flex; align-items: baseline; gap: 12px; }
.three h3 span { font-family: var(--mono); font-size: var(--fs-tag); font-weight: 400; letter-spacing: 0; color: var(--purple-dark); }
.three p { margin-top: 8px; color: var(--ink-soft); }
.three a { display: inline-block; margin-top: 12px; padding: 6px 0; font-size: var(--fs-small); font-weight: 600; }

/* ---------- The CV document used in the figures ---------- */
.cv {
  background: var(--white); border: 1px solid var(--rule-strong); border-radius: 3px;
  padding: 30px 32px 34px; box-shadow: 0 24px 46px -34px rgba(28, 26, 23, 0.5);
  font-family: var(--doc); font-size: var(--fs-doc); line-height: 1.46; color: #1f1f1f;
}
.cv__name { font-size: var(--fs-doc-name); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.cv__line { margin-top: 3px; color: #3d3d3d; }
.cv__sec { margin-top: 15px; }
.cv__h {
  padding-bottom: 3px; margin-bottom: 7px; border-bottom: 1px solid #1f1f1f;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
}
.cv__row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.cv__row + ul { margin-top: 3px; }
.cv__row b { font-weight: 700; }
.cv__date { flex: 0 0 auto; white-space: nowrap; }
.cv ul + .cv__row, .cv__sub + .cv__sub { margin-top: 9px; }
.cv li { position: relative; padding-left: 15px; }
.cv li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: #1f1f1f; }
.cv li + li { margin-top: 2px; }
.cv__subh { font-weight: 700; margin-bottom: 2px; }
.cv__sub + .cv__sub { margin-top: 9px; }

/* ---------- Figure: one CV in three formats ---------- */
.tile { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--tile); }
.band--paper .tile { background: var(--paper-light); }
.fmt { margin-top: clamp(32px, 4vw, 48px); padding: clamp(20px, 3vw, 36px); }
.fmt__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: clamp(20px, 2.6vw, 30px); }
.fmt__cap { max-width: 34em; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }
.fmt__cap b { color: var(--ink); font-weight: 600; }
.fmt__tabs { display: none; padding: 4px; background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.js .fmt__tabs { display: inline-flex; }
.fmt__tab {
  min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent;
  font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.fmt__tab:hover { color: var(--ink); background: var(--lilac); }
.fmt__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.fmt__panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.fmt__panel + .fmt__panel { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
.js .fmt__panel { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.js .fmt__panel.is-on { display: grid; }
.fmt__name { font-size: var(--fs-h3); }
.js .fmt__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fmt__note dt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.fmt__note dt:first-of-type { margin-top: 0; }
.js .fmt__note dt:first-of-type { padding-top: 14px; border-top-color: var(--ink); }
.fmt__note dd { margin-top: 6px; font-size: var(--fs-note); line-height: 1.55; color: var(--ink-soft); }
.fmt__order { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.fmt__order ol { margin-top: 8px; counter-reset: o; }
.fmt__order li { counter-increment: o; display: flex; gap: 12px; align-items: baseline; padding: 5px 0; font-size: var(--fs-small); font-weight: 500; }
.fmt__order li::before { content: counter(o); flex: 0 0 auto; font-family: var(--mono); font-size: var(--fs-micro); color: var(--purple-dark); }
@media (prefers-reduced-motion: no-preference) {
  .js .fmt__panel.is-on .cv > * { animation: cvf-rise 460ms var(--ease) both; }
  .js .fmt__panel.is-on .cv > *:nth-child(2) { animation-delay: 50ms; }
  .js .fmt__panel.is-on .cv > *:nth-child(3) { animation-delay: 100ms; }
  .js .fmt__panel.is-on .cv > *:nth-child(4) { animation-delay: 150ms; }
  .js .fmt__panel.is-on .cv > *:nth-child(5) { animation-delay: 200ms; }
  .js .fmt__panel.is-on .cv > *:nth-child(6) { animation-delay: 250ms; }
  @keyframes cvf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Two columns of prose under a figure ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(36px, 5vw, 72px); margin-top: 22px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid var(--rule-strong); }
.trio > div { padding: 22px 30px 4px 0; }
.trio > div + div { padding-left: 30px; border-left: 1px solid var(--rule); }
.trio > div:last-child { padding-right: 0; }
.trio p, .duo p { margin-top: 8px; color: var(--ink-soft); }
.duo p + p, .trio p + p { margin-top: 1.05em; }
.duo h3 + p { margin-top: 0.6em; }
.duo--flush { margin-top: 0; }
.prose--after { margin-top: 22px; }
.trio h4, .duo h4 { font-size: var(--fs-h4); }
.typed {
  margin-top: 14px; padding: 12px 14px; background: var(--white); border: 1px solid var(--rule-strong); border-radius: 3px;
  font-family: var(--doc); font-size: var(--fs-doc); line-height: 1.5; color: #1f1f1f;
}
.typed span { display: flex; justify-content: space-between; gap: 14px; }
.typed span + span { margin-top: 3px; }
.typed i { font-style: normal; white-space: nowrap; }

/* ---------- Tables ---------- */
.tbl { width: 100%; margin-top: 22px; border-collapse: collapse; border-top: 1px solid var(--ink); text-align: left; }
.tbl caption { caption-side: top; padding-bottom: 12px; text-align: left; font-size: var(--fs-small); color: var(--ink-soft); }
.tbl th, .tbl td { padding: 16px 28px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl thead th { padding-top: 12px; padding-bottom: 12px; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.tbl tbody th { width: 27%; font-weight: 600; }
.tbl td { color: var(--ink-soft); }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.aside-note { margin-top: 16px; max-width: 740px; font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Layout: starting set-up list ---------- */
.setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(36px, 5vw, 72px); margin-top: 22px; border-top: 1px solid var(--ink); }
.setup div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 4px 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.setup dt { font-weight: 600; }
.setup dd { color: var(--ink-soft); }

/* ---------- Figure: three alignment lines on a job-entry excerpt ---------- */
.align { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 68px); align-items: center; margin-top: 26px; padding: clamp(22px, 3.2vw, 40px); }
.align__text > * + * { margin-top: 1.05em; }
.legend { border-top: 1px solid var(--rule-strong); }
.legend li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-note); line-height: 1.45; }
.legend b, .guide b {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--mono); font-size: 0.6875rem; font-weight: 400; line-height: 1;
}
.align__switch { display: none; gap: 8px; margin-bottom: 14px; }
.js .align__switch { display: flex; flex-wrap: wrap; }
.align__switch button {
  min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--rule-strong); font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.align__switch button:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.align__switch button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.ex { position: relative; padding: 44px 30px 30px; }
.ex__body { position: relative; }
.ex__body > .cv__h { margin-bottom: 9px; }
.guide { position: absolute; top: -30px; bottom: -14px; width: 0; border-left: 1.5px solid var(--purple); opacity: 0.85; pointer-events: none; }
.guide b { position: absolute; top: -4px; left: -12px; }
.guide--a { left: -6px; }
/* Line B marks the bullet indent only, so it is drawn beside each list and never crosses a heading or job title.
   The span keeps just its badge at the foot of the excerpt. */
.guide--b { left: 10px; border-left: 0; }
.ex ul { position: relative; }
.ex ul::before { content: ""; position: absolute; left: 10px; top: 1px; bottom: 1px; border-left: 1.5px dashed var(--purple); opacity: 0.85; pointer-events: none; }
.guide--b b { top: auto; bottom: -8px; }
.guide--c { right: -6px; }
.ex__wash {
  position: absolute; top: 0; bottom: 0; right: 0; width: 50%; background: rgba(247, 244, 238, 0.94);
  border-left: 1px dashed var(--rule-strong); opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease);
}
.ex.is-left .ex__wash { opacity: 1; }
.ex.is-left .guide--c { opacity: 0; }
.align__tip { font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Steps and the starter file ---------- */
.steps { counter-reset: s; margin-top: 18px; max-width: 740px; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: var(--fs-tag); color: var(--purple-dark); padding-top: 0.25em; }
.starter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(44px, 5.5vw, 72px); overflow: hidden; }
.starter__text { padding: clamp(26px, 3.6vw, 48px) 0 clamp(26px, 3.6vw, 48px) clamp(22px, 3.6vw, 48px); align-self: center; }
.starter__text > * + * { margin-top: 1.05em; }
.starter__get { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.starter__small { font-size: var(--fs-small); color: var(--ink-soft); }
.starter__art { align-self: end; padding: clamp(26px, 3.6vw, 44px) clamp(22px, 3.6vw, 48px) 0 0; }
.starter__page { aspect-ratio: 1 / 0.98; overflow: hidden; border: 1px solid var(--rule-strong); border-bottom: 0; border-radius: 3px 3px 0 0; background: var(--white); box-shadow: 0 -6px 40px -24px rgba(28, 26, 23, 0.5); }
.starter__page img { width: 100%; }

/* ---------- Check your own CV ---------- */
.check { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px clamp(36px, 6vw, 88px); align-items: start; }
.check__body > * + * { margin-top: 1.05em; }
.check__list { border-top: 1px solid var(--ink); }
.check__list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.check__list b { display: block; font-weight: 600; }
.check__list span { display: block; margin-top: 2px; color: var(--ink-soft); }
.check .upload { margin-top: 30px; }

/* ---------- Questions ---------- */
.faq { column-count: 2; column-gap: clamp(36px, 6vw, 88px); margin-top: clamp(28px, 3.6vw, 44px); }
.faq details { break-inside: avoid; border-top: 1px solid var(--rule-strong); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 0;
  font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--lilac); color: var(--purple-dark); font-family: var(--mono); font-size: 1rem; line-height: 1;
  transition: background-color 160ms var(--ease);
}
.faq details[open] summary::after { content: "\2212"; background: var(--mark); }
.faq summary:hover::after { background: var(--mark); }
.faq details p { padding: 0 46px 22px 0; color: var(--ink-soft); }

/* ---------- Closing band and footer ---------- */
.close { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(36px, 6vw, 88px); align-items: center; }
.close__lead { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.close .upload { margin-top: 0; width: min(100%, 440px); justify-self: end; }
.foot { background: var(--white); }
.foot > .wrap { padding-top: 48px; padding-bottom: 36px; }
.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.08em; 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: 36px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: var(--fs-tag); color: var(--ink-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__text { padding-right: 32px; }
}
@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) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__text { border-right: 0; border-bottom: 1px solid var(--rule); padding: 40px var(--gutter) 40px; }
  .hero__art picture { max-width: none; }
  .answer, .check, .close { grid-template-columns: minmax(0, 1fr); }
  .close .upload { justify-self: start; }
  .fmt__panel, .js .fmt__panel.is-on { grid-template-columns: minmax(0, 1fr); }
  .fmt__note { margin-top: 4px; }
  .align { grid-template-columns: minmax(0, 1fr); }
  .starter { grid-template-columns: minmax(0, 1fr); }
  .starter__text { padding: 26px 22px 0; }
  .starter__art { padding: 28px 22px 0; }
  .trio { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .trio > div, .trio > div + div { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--rule-strong); }
  .faq { column-count: 1; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .three { grid-template-columns: minmax(0, 1fr); }
  .three li, .three li + li { padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--rule); }
  .three li:first-of-type { border-top: 0; }
  .duo, .setup { grid-template-columns: minmax(0, 1fr); }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: auto; }
  .tbl caption { display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
  .tbl th, .tbl td { padding: 0; border: 0; }
  .tbl tbody th { width: auto; font-size: var(--fs-h4); }
  .tbl td { margin-top: 8px; }
  .tbl td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; --fs-body: 1.0625rem; --fs-note: 1rem; --fs-lead: 1.1875rem; --fs-doc: 0.78125rem; --fs-doc-name: 1.1875rem; }
  .top__in { min-height: 64px; gap: 12px 10px; }
  .top__in > .btn { padding: 9px 14px; }
  .nav-toggle { padding: 8px 13px; }
  .hero__text { padding-top: 30px; padding-bottom: 32px; }
  .hero__label { margin-bottom: 12px; }
  .hero__lead { margin-top: 16px; }
  .upload { margin-top: 22px; padding: 14px; gap: 12px 14px; }
  .fmt { padding: 16px 14px 18px; margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .fmt__tabs { width: 100%; }
  .fmt__tab { flex: 1 1 0; padding: 8px 6px; font-size: var(--fs-tag); }
  .cv { padding: 20px 18px 22px; }
  .cv__row { flex-wrap: wrap; }
  /* When a date wraps under its entry, separate consecutive entries so the date reads with the line above. */
  .cv__row + .cv__row { margin-top: 6px; }
  /* The alignment excerpt must keep its dates on line C, so its titles wrap instead. */
  .ex .cv__row { flex-wrap: nowrap; }
  .ex .cv__row b { min-width: 0; }
  .align { padding: 20px 16px; }
  .ex { padding: 40px 18px 22px; }
  .setup div { grid-template-columns: minmax(0, 1fr); }
  .starter__get .btn { flex: 1 1 100%; }
  .faq summary { padding: 18px 0; }
  .faq details p { padding-right: 0; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .top__in > .btn { display: none; }
  .brand { font-size: var(--fs-h4); }
  .fmt__tab { font-size: var(--fs-micro); }
}
