/* CV Compiler /cv-score. Composition reference: Motion (Saaspo), light.
   A centred opening on a white-to-lavender field with rounded lower corners, one scene that
   starts inside the field and ends on the white body, a broad lavender panel holding one exact
   scale, a tall figure beside headed paragraphs, a pale mint band of three steps and a light
   grid of questions. No dark surface. Normal page height.
   Page-only stylesheet: every rule is scoped by this file and the body class "cvsc". */

@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;
  --ink: #17161a;
  --ink-soft: #45434c;
  --ink-faint: #6a6772;
  --violet: #4a2de0;
  --violet-dark: #3a20c2;
  --violet-soft: #e9e4ff;
  --lavender: #d9d1fb;
  --lilac: #f5f2ff;
  --mint: #7fe0b2;
  --mint-mid: #bfeed7;
  --mint-soft: #e3f7ec;
  --mint-ink: #0f5c3b;
  --track: #eceaf3;
  --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;

  --fs-micro: 0.75rem;
  --fs-tag: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
  --fs-btn: 1rem;
  --fs-brand: 1.1875rem;

  --gutter: 32px;
  --wrap: 1160px;
  --gap: clamp(64px, 8vw, 120px);
  --inset: clamp(6px, 1vw, 14px);
  --radius: 8px;
  --field: clamp(24px, 3.2vw, 44px);
  --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cvsc {
  margin: 0; background: var(--white); 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%; }
h1, h2, h3, 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; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 2; 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; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.28; font-weight: 600; letter-spacing: -0.018em; }

.cvsc main a:not(.btn) { color: var(--violet-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cvsc main a:not(.btn):hover { text-decoration-thickness: 2px; }
.micro { display: block; 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.5; 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: the shared CV Compiler wordmark, section links and one action ---------- */
.top { background: var(--white); }
.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: a lavender field with rounded lower corners. Heading, lead and upload sit
   inside it. The scene starts inside the field and ends below it on the white body. ---------- */
.hero__field {
  margin: 0 var(--inset); padding-bottom: clamp(120px, 19vw, 280px);
  border-radius: 0 0 var(--field) var(--field);
  background: linear-gradient(180deg, #ffffff 0%, #f6f3ff 28%, var(--lavender) 100%);
}
.hero__text { padding-top: clamp(34px, 5vw, 72px); text-align: center; }
.hero__lead { max-width: 33em; margin: 22px auto 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.hero__more { margin-top: 16px; font-size: var(--fs-small); color: var(--ink-soft); text-wrap: balance; }
.hero__scene { max-width: 940px; margin: calc(-1 * clamp(96px, 16vw, 236px)) auto 0; }
/* The frame reserves the image's 3:2 box, so nothing moves when the file loads. */
.hero__frame {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 18px;
  background: linear-gradient(140deg, #f1edff 0%, #e6f6ee 100%);
  box-shadow: 0 0 0 1px var(--rule), 0 50px 80px -52px rgba(58, 32, 194, 0.5);
}
.hero__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  font-size: var(--fs-small); color: var(--ink-faint);
}
.hero__scene figcaption { margin-top: 12px; text-align: center; font-size: var(--fs-tag); line-height: 1.5; color: var(--ink-faint); }

/* ---------- Upload box (shared uploader hooks; presentation is this page's) ---------- */
.upload {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  max-width: 540px; margin: 28px auto 0; padding: 16px 16px 16px 18px; text-align: left;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--rule-strong), 0 26px 44px -30px rgba(58, 32, 194, 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: 0 0 auto; }
.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: 540px; margin: 16px auto 0; text-align: left; 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: a centred heading and one centred paragraph open each one ---------- */
.sec > .wrap { padding-top: var(--gap); }
.head { max-width: 800px; margin: 0 auto; text-align: center; }
.head h2 + p { margin-top: 20px; }

/* ---------- 01 What a CV score is: three plain columns, no boxes ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 56px); margin-top: clamp(36px, 4.6vw, 60px); }
.trio p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- 02 A good CV score: a broad lavender panel holding the scale ---------- */
.panel {
  margin-top: clamp(32px, 4.4vw, 56px); padding: clamp(22px, 4vw, 52px) clamp(16px, 4vw, 56px) clamp(26px, 4vw, 52px);
  border-radius: var(--field);
  background: linear-gradient(180deg, var(--violet-soft) 0%, var(--lavender) 100%);
}
/* The scale's name sits inside the card at its top left, where the plot leaves room. */
.scale__note { margin-bottom: clamp(4px, 1vw, 10px); }
.scale__card {
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3.4vw, 44px) clamp(18px, 2.4vw, 26px);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 30px 50px -40px rgba(58, 32, 194, 0.55);
}
/* The plot is drawn to scale. Both leader lines are centred on their true positions:
   the outer block ends at 90% of the plot, and the inner block at 85% (5 / 90 of its parent). */
.scale__aim, .scale__good { position: relative; }
.scale__aim { margin-right: 10%; }
.scale__good { margin-right: 5.5556%; }
.scale__aim::after, .scale__good::after {
  content: ""; position: absolute; top: 4px; bottom: 0; right: -1px; width: 2px; background: var(--ink);
}
.scale__label { padding: 0 14px 12px 0; text-align: right; font-size: var(--fs-small); line-height: 1.35; color: var(--ink-soft); }
.scale__label strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); }
/* The stretch below 85 is labelled at its left end, level with the 85 label. No leader line: it names a stretch, not a mark. */
.scale__below {
  position: absolute; left: 0; bottom: 0; max-width: 56%; padding-bottom: 12px; text-wrap: pretty;
  font-size: var(--fs-small); line-height: 1.35; color: var(--ink-faint);
}
.scale__below strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.012em; color: var(--ink-soft); }
.scale__track { position: relative; height: 14px; overflow: hidden; border-radius: 7px; background: var(--track); }
.scale__zone { position: absolute; top: 0; bottom: 0; }
.scale__zone--good { left: 85%; width: 5%; background: var(--mint-mid); }
.scale__zone--aim { left: 90%; width: 10%; background: var(--mint); }
/* A light tick every ten points, with the last one drawn as the right edge. */
.scale__ticks {
  height: 7px; margin-top: 6px; border-right: 1px solid var(--rule-strong);
  background: repeating-linear-gradient(to right, var(--rule-strong) 0, var(--rule-strong) 1px, transparent 1px, transparent 10%);
}
.scale__ends { position: relative; height: 1.5em; margin-top: 4px; font-family: var(--mono); font-size: var(--fs-micro); line-height: 1.5; color: var(--ink-faint); }
.scale__ends span { position: absolute; top: 0; }
.scale__ends span:nth-child(1) { left: 0; }
.scale__ends span:nth-child(2) { left: 50%; transform: translateX(-50%); }
.scale__ends span:nth-child(3) { right: 0; }
.scale__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scale { position: relative; }

.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 5vw, 72px); margin-top: clamp(26px, 3.4vw, 40px); }
.marks p { margin-top: 8px; color: var(--ink-soft); }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 6vw, 88px); margin-top: clamp(40px, 5vw, 64px); }
.pair p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- 03 How the score is worked out: a tall figure beside four headed paragraphs ---------- */
.works { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(36px, 6vw, 88px); align-items: start; margin-top: clamp(36px, 4.6vw, 60px); }
.mix { padding: clamp(18px, 2.6vw, 28px); background: var(--lilac); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--rule); }
@media (min-width: 901px) { .mix { position: sticky; top: 24px; } }
/* Each row joins one upright line by a bar. The three bars differ in thickness and carry no numbers. */
.mix__body { position: relative; padding-right: 44px; }
.mix__body::after {
  content: ""; position: absolute; right: 2px; top: 24px; bottom: 26px; width: 12px;
  background: var(--violet); border-radius: 0 6px 6px 0;
}
/* Five groups, each joined by its own bar. Writing and organisation are separate rows, each thinner
   than results, so no row implies that a combined group weighs less than it does. */
.mix__rows { display: grid; gap: 10px; }
.mix__row { position: relative; padding: 11px 16px 13px; background: var(--white); border-radius: 12px; box-shadow: 0 1px 0 rgba(23, 22, 26, 0.1); }
.mix__row::after { content: ""; position: absolute; left: 100%; top: 30px; width: 32px; height: var(--bar); transform: translateY(-50%); background: var(--violet); }
.mix__row--most { --bar: 12px; }
.mix__row--next { --bar: 8px; }
.mix__row--base { --bar: 5px; }
.mix__row--least { --bar: 3px; }
.mix__t { margin-top: 1px; font-weight: 600; line-height: 1.3; }
.mix__d { margin-top: 2px; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }
.mix__out { position: relative; margin-top: 14px; padding: 16px 18px 18px; background: var(--violet); border-radius: 12px; color: #fff; }
.mix__out::after { content: ""; position: absolute; left: 100%; bottom: 26px; width: 32px; height: 12px; background: var(--violet); }
.mix__out .mix__t { margin-top: 0; font-size: var(--fs-h3); letter-spacing: -0.018em; }
.mix__of { margin-top: 2px; font-family: var(--mono); font-size: var(--fs-tag); line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.mix__cap { margin-top: 14px; font-size: var(--fs-tag); line-height: 1.5; color: var(--ink-faint); }

.why + .why { margin-top: clamp(26px, 3.2vw, 40px); }
.why p { margin-top: 10px; color: var(--ink-soft); }
.works__more { margin-top: clamp(26px, 3.2vw, 40px); color: var(--ink-soft); }

/* ---------- 04 Raising the score: three numbered steps on a pale mint band ---------- */
.band { padding: clamp(32px, 5.4vw, 72px) clamp(18px, 5vw, 72px); border-radius: var(--field); background: var(--mint-soft); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 56px); margin-top: clamp(34px, 4.4vw, 56px); }
.steps__n { display: block; font-family: var(--mono); font-size: var(--fs-small); line-height: 1.5; color: var(--mint-ink); }
.steps h3 { margin-top: 6px; }
.steps p { margin-top: 10px; color: var(--ink-soft); }
.band__cta { margin-top: clamp(30px, 4vw, 48px); text-align: center; }

/* ---------- 05 Questions: every answer visible, in a light grid ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4.4vw, 52px); }
.faq > div { padding: clamp(20px, 2.6vw, 30px); background: var(--lilac); border-radius: 18px; }
.faq dt { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.018em; }
.faq dd { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Close and footer ---------- */
.close__field {
  margin: var(--gap) var(--inset) 0; padding: clamp(48px, 7vw, 96px) 0;
  border-radius: var(--field);
  background: linear-gradient(180deg, var(--violet-soft) 0%, var(--lavender) 100%);
}
.close__in { text-align: center; }
.close__lead { max-width: 30em; margin: 16px auto 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }

.foot { background: var(--white); }
.foot > .wrap { padding-top: 48px; 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); }
  .nav a { transition: color 160ms var(--ease); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .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) {
  .trio, .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .works { grid-template-columns: minmax(0, 1fr); }
  .mix { max-width: 560px; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .marks, .pair, .faq { grid-template-columns: minmax(0, 1fr); }
  .pair { gap: 28px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; --fs-body: 1rem; --fs-lead: 1.125rem; --fs-h3: 1.1875rem; --gap: 56px; }
  .top__in { min-height: 64px; gap: 12px 10px; }
  .top__in > .btn { padding: 9px 14px; }
  .nav-toggle { padding: 8px 13px; }
  .hero__text { padding-top: 26px; }
  .hero__lead { margin-top: 16px; }
  /* The button takes its own row, so the box stays readable at phone width. */
  .upload { margin-top: 22px; padding: 14px; gap: 12px 14px; }
  .upload__action { flex: 1 1 100%; }
  /* The same image file, cropped only slightly at each side (about 4.7% of its width), so all four
     side cards keep their words. It runs close to the screen edge, like the panels. Nothing is stretched. */
  .hero__scene { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .hero__frame { aspect-ratio: 34 / 25; border-radius: 14px; }
  /* The plot is too narrow for a third label; the passages below the panel cover scores under 85. */
  .scale__below { display: none; }
  /* Section openings read from the left on a phone; the hero and the close stay centred. */
  .sec .head { text-align: left; }
  /* Panels and the band run closer to the screen edge so their content keeps its width. */
  .panel, .band { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .band .head { text-align: left; }
  .band__cta { text-align: left; }
  .scale__label { padding-right: 10px; }
  .scale__label strong { font-size: 1.0625rem; }
  .mix { padding: 14px; border-radius: 18px; }
  .mix__body { padding-right: 36px; }
  .mix__row::after, .mix__out::after { width: 24px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .top__in > .btn { display: none; }
  .brand { font-size: 1.0625rem; }
}
@media (forced-colors: active) {
  .mix__row, .mix__out, .scale__card, .faq > div, .upload { border: 1px solid CanvasText; }
  .scale__zone--good, .scale__zone--aim, .mix__row::after, .mix__out::after, .mix__body::after { forced-color-adjust: none; }
}
