/* Candidate examples use natural height so translations and zoom never clip. */
.landing-document:has(.landing-page[data-audience="candidate"]) { overflow-y: auto !important; }
.landing-page[data-audience="candidate"] { overflow-y: auto; }
.landing-page[data-audience="candidate"] .landing-stage,
.landing-page .landing-view-candidate { height: auto; min-height: 100svh; }
.landing-page .landing-view-candidate { position: relative; inset: auto; }
.landing-view-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: start;
  gap: 14%;
  padding: clamp(155px, 29vh, 320px) 7.35% calc(40px + env(safe-area-inset-bottom, 0px));
}
.landing-view-candidate .candidate-hero-copy,
.landing-view-candidate .feature-carousel { position: relative; top: auto; left: auto; width: auto; min-width: 0; }
.landing-view-candidate .feature-carousel,
.landing-view-candidate .feature-stage { min-height: 0; }
.landing-view-candidate .feature-title { margin-top: 30px; line-height: 1.08; }
.landing-view-candidate .feature-description { font-size: 20px; line-height: 1.3; }
.landing-view-candidate .feature-block { display: flex; flex-direction: column; }
/* Controls belong to the carousel and remain reachable through document scroll. */
.landing-view-candidate .feature-indicator { margin-top: 20px; }

.product-vignette, .product-vignette * { box-sizing: border-box; }
.product-vignette {
  --pv-surface: rgba(8, 25, 65, .86);
  --pv-border: rgba(174, 214, 255, .22);
  --pv-soft: #c4d3eb;
  position: relative;
  width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(119, 204, 255, .34);
  border-radius: 18px;
  padding: 18px;
  background: radial-gradient(ellipse at 100% 0%, rgba(103, 78, 201, .2), transparent 60%), rgba(5, 19, 53, .94);
  box-shadow: 0 18px 45px rgba(2, 9, 35, .2), inset 0 1px rgba(223, 247, 255, .12);
  color: #f8fbff;
  font: 400 16px/1.35 var(--font-ui, "Afacad Flux", sans-serif);
}
.product-vignette :is(div, p, strong, span) { min-width: 0; }
.product-vignette p { margin: 8px 0 0; }
.product-vignette strong { font-weight: 600; }
.pv-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; margin-bottom: 16px; font-size: 14px; color: #c4d3eb; }
.pv-example { color: #b9c9e2; font-size: 12px; letter-spacing: .02em; }
.pv-label { display: block; font-size: 13px; font-weight: 600; color: #91e9f6; }
.pv-transformation { display: grid; grid-template-columns: minmax(0, .86fr) 20px minmax(0, 1.14fr); gap: 10px; align-items: center; }
.pv-source { color: var(--pv-soft); padding: 4px 0; }
.pv-source .pv-label { color: #c4d3eb; }
.pv-arrow { color: #70e9fa; font-size: 25px; text-align: center; }
.pv-result { padding: 16px; border: 1px solid rgba(119, 231, 250, .45); border-radius: 10px; background: linear-gradient(135deg, #123d69, #182a5b); }
.pv-bullet { position: relative; padding-left: 13px; font-weight: 500; }
.pv-bullet::before { content: ""; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: #91e9f6; }

.pv-footnote { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--pv-soft); }
.pv-check { flex: 0 0 auto; color: #87eed8; }

.pv-status { padding: 4px 10px; border: 1px solid rgba(210, 184, 255, .4); border-radius: 20px; background: rgba(139, 94, 210, .17); color: #e0cbff; font-size: 13px; }
.pv-founder { display: flex; gap: 12px; align-items: center; }
.pv-founder-symbol { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #5777b0; border-radius: 12px; background: linear-gradient(145deg, #274f77, #3e326d); color: #adeffc; font-size: 24px; }
.pv-founder strong { display: block; font-size: 21px; }
.pv-founder div > span { display: block; color: var(--pv-soft); font-size: 14px; }
.pv-match-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pv-match-reasons > div { padding: 12px 10px; border: 1px solid var(--pv-border); border-radius: 10px; background: var(--pv-surface); }
.pv-match-reasons :is(strong, small, .pv-check) { display: block; }
.pv-match-reasons strong { margin: 7px 0 4px; font-size: 17px; }
.pv-match-reasons small { color: var(--pv-soft); font-size: 14px; }

.pv-document-icon { flex: 0 0 18px; height: 24px; border: 1px solid #93d9ea; border-radius: 3px; background: repeating-linear-gradient(to bottom, transparent 0 4px, #78a3bb 4px 5px, transparent 5px 7px) center / 10px 15px no-repeat; }

/* Independent applications and their real Tracker statuses. */
.pv-application-list { display: grid; gap: 10px; }
.pv-application-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 17px 12px; border: 1px solid var(--pv-border); border-radius: 10px; background: var(--pv-surface); }
.pv-application-row strong { font-size: 17px; }
.pv-application-copy strong, .pv-application-copy small { display: block; }
.pv-application-copy small { margin-top: 4px; color: var(--pv-soft); font-size: 14px; }
.pv-status-applied { border-color: rgba(118, 231, 250, .35); background: rgba(63, 148, 180, .15); color: #a3edfa; }
.pv-status-offer { border-color: rgba(135, 238, 216, .4); background: rgba(63, 170, 145, .15); color: #a1efda; }

/* Interactive samples use the app's material-tab layout. */
.pv-support-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.pv-support-heading strong { font-size: 23px; }
.pv-support-heading > span { color: var(--pv-soft); font-size: 14px; }
.pv-material-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; border-bottom: 1px solid var(--pv-border); }
.pv-material-tabs button { appearance: none; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--pv-soft); font: 500 15px/1.2 var(--font-ui, "Afacad Flux", sans-serif); cursor: pointer; }
.pv-material-tabs button:hover { color: #fff; }
.pv-material-tabs button[aria-selected="true"] { color: #91e9f6; border-bottom-color: #91e9f6; }
/* Size to the longest sample at the current width, without tab-switch jumps. */
.pv-material-panels { display: grid; align-items: start; padding-top: 21px; }
.pv-material-panel { grid-area: 1 / 1; padding: 0 5px 4px 13px; border-left: 2px solid #577ba6; }
.pv-material-panel[hidden] { display: block; visibility: hidden; pointer-events: none; }
.pv-material-panel p { font-size: 17px; line-height: 1.5; }
.pv-material-panel:focus-visible { outline: 2px solid #91e9f6; outline-offset: 5px; }
.pv-prep-question + .pv-prep-question { margin-top: 20px; }
.pv-prep-question:last-child .pv-label { color: #c8b7f3; }

/* A career overview, with the profile at the centre of the composition. */
.product-vignette-care { container-type: inline-size; padding: 22px 18px; }
.pv-career-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr); grid-template-areas: "resume profile support" "tracker profile connect"; gap: 12px; align-items: stretch; }
/* Static gold edge light around a navy profile; no gold fill or hover state. */
.pv-career-profile { grid-area: profile; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 9px; padding: 20px 10px; border: 1px solid rgba(255, 214, 107, .6); border-radius: 24px; color: #f8fbff; background: linear-gradient(160deg, #163453, #102342 85%); box-shadow: 0 0 14px rgba(255, 190, 68, .28); }
.pv-career-profile strong { font-size: 20px; line-height: 1.15; }
.pv-career-profile > span:last-child { color: var(--pv-soft); font-size: 13px; }
.pv-career-avatar { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 50%; border: 1px solid rgba(145, 233, 246, .28); color: #a0eaf6; background: rgba(111, 212, 249, .08); }
.pv-career-avatar svg { width: 34px; height: 34px; }
.pv-career-map svg { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pv-career-tool { display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 15px 12px; border: 1px solid var(--pv-border); border-radius: 12px; background: var(--pv-surface); }
.pv-career-resume { grid-area: resume; }
.pv-career-support { grid-area: support; }
.pv-career-tracker { grid-area: tracker; }
.pv-career-connect { grid-area: connect; }
.pv-career-tool strong { font-size: 16px; line-height: 1.15; }
.pv-career-detail { color: var(--pv-soft); font-size: 14px; line-height: 1.3; }
.pv-career-icon { display: grid; place-items: center; width: 28px; height: 28px; color: #91dcea; }
.pv-career-icon svg { width: 24px; height: 24px; }
@container (max-width: 430px) {
  .pv-career-map { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "resume support" "profile profile" "tracker connect"; gap: 10px; }
  .pv-career-profile { padding: 16px; border-radius: 16px; display: grid; grid-template-columns: 48px auto; justify-content: center; column-gap: 15px; text-align: left; }
  .pv-career-avatar { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .pv-career-profile strong { align-self: end; }
  .pv-career-profile > span:last-child { align-self: start; }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .landing-view-candidate { gap: 5%; padding-inline: 5%; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .landing-view-candidate .candidate-hero-copy h1 { font-size: clamp(44px, 5vw, 60px); }
  .landing-view-candidate .feature-title { font-size: 34px; }
  .landing-view-candidate .feature-description { font-size: 18px; }
  .product-vignette { padding: 14px; }
  .pv-transformation { grid-template-columns: 1fr; gap: 10px; }
  .pv-transformation .pv-arrow { display: none; }
  .pv-transformation .pv-result { padding: 12px; }
  .pv-match-reasons { gap: 6px; }
  .pv-match-reasons > div { padding: 10px 7px; }
}
@media (max-width: 767px) {
  .landing-view-candidate { display: block; padding: 0 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
  .landing-view-candidate .candidate-background { background-image: var(--landing-candidate-electric-background-mobile); background-position: center bottom; }
  .landing-view-candidate .candidate-grade { background: rgba(3, 10, 38, .32); }
  .landing-view-candidate .feature-carousel { margin-top: 64px; padding-bottom: 0; }
  .landing-view-candidate .feature-title { margin-top: 24px; }
  .landing-view-candidate .feature-description { font-size: 19px; }
  .product-vignette { padding: 16px; }
}
@media (min-width: 768px) and (max-height: 820px) {
  .landing-view-candidate { padding-top: 140px; }
}
@media (max-width: 480px) {
  .pv-material-tabs { column-gap: 14px; }
  .pv-material-tabs button { font-size: 14px; }
  .pv-application-row { grid-template-columns: 18px minmax(0, 1fr); gap: 8px 10px; padding: 12px; }
  .pv-application-row .pv-status { grid-column: 2; justify-self: start; }
  .pv-caption { align-items: flex-start; }
  .pv-transformation { grid-template-columns: 1fr; gap: 12px; }
  .pv-transformation .pv-arrow { display: none; }
  .pv-result { padding: 14px; }
  .pv-match-reasons { grid-template-columns: 1fr; }
  .pv-match-reasons > div { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 6px; padding: 10px 12px; }
  .pv-match-reasons strong { margin: 0; }
  .pv-match-reasons small { grid-column: 2; margin-top: 2px; }
}
