/* hvck labs landing v15 (2026-11-19): the enterprise page as one loop, after Hack The Box's business page (Kacper's
   reference: "evaluate your team"). Our sections, re-ordered and named: 01 Evaluate (#ready), 02 Train (#rhythm),
   03 Drill (#how, #route), 04 Prove (#prove, new). #gap ends on the question and the loop's index.
   Square corners, Archivo for words, mono for the step numbers, orange as the one accent. Loaded last. */

/* the step marker over each section's heading */
.step { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; font-size: var(--t-label); font-weight: 600; line-height: 1; color: var(--ink); }
.step .mono { font-size: var(--t-mono); font-weight: 400; color: var(--o); }

/* #gap: the loop's index, four links on one hairline */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: clamp(64px, 7vw, 104px) 0 0; padding: 0; list-style: none; }
.loop a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 0 4px; border-top: 1px solid var(--line-2); color: var(--ink); text-decoration: none;
  transition: border-color .2s var(--ease); }
.loop .mono { color: var(--o); }
.loop b { font-size: var(--t-h4); font-weight: 600; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.15; }
.loop a > span:last-child { font-size: var(--t-small); line-height: 1.45; color: var(--dim); max-width: 28ch; }
.loop a:hover { border-top-color: var(--o); }
.loop a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.loop a:focus-visible { outline: 2px solid var(--o); outline-offset: 4px; }
@media (max-width: 900px) { .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 600px) { .loop { grid-template-columns: minmax(0, 1fr); gap: 0; } .loop a { padding: 16px 0 18px; } }

/* the short points beside a section's text (Evaluate, Prove): one hairline each */
.eval-l { margin: 0; padding: 0; list-style: none; }
.eval-l li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.eval-l li:last-child { border-bottom: 1px solid var(--line); }
.eval-l b { font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.eval-l span { font-size: var(--t-small); line-height: 1.45; color: var(--dim); max-width: 44ch; }
.teams-top > .eval-l { grid-column: 8 / -1; align-self: end; }
.prove-txt .eval-l { margin-top: 32px; }
@media (max-width: 900px) { .teams-top > .eval-l { margin-top: 40px; } }

/* 04 Prove: the text left, the figure right */
.prove-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.prove-txt { grid-column: 1 / span 5; }
.prove-txt .body { margin-top: 24px; }
.pv { grid-column: 7 / -1; margin: 0; padding-top: 6px; }
.pv-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 22px; font-size: var(--t-small); color: var(--faint); }
.pv-k b { margin-right: auto; font-weight: 560; color: var(--ink); }
.pv-k span { display: inline-flex; align-items: center; gap: 8px; }
.pv-tbl { width: 100%; border-collapse: collapse; }
.pv-tbl th, .pv-tbl td { padding: 22px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.pv-tbl tr:last-child th, .pv-tbl tr:last-child td { border-bottom: 1px solid var(--line); }
.pv-tbl th { padding-right: 24px; text-align: left; font-size: var(--t-body); font-weight: 560; line-height: 1.3; }
.pv-tbl th .t { display: block; margin-top: 4px; font-weight: 400; color: var(--faint); }
.pv-tbl td { text-align: right; white-space: nowrap; }
.pv-c { display: inline-flex; gap: 4px; vertical-align: middle; }
.pv-c i, .pv-k i { display: block; width: 12px; height: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.pv-c i.on, .pv-k i.on { background: var(--ink); box-shadow: none; }
.pv-c i.up, .pv-k i.up { background: var(--o); box-shadow: none; }
.pv-n { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 6px; width: 64px; margin-left: 18px; vertical-align: middle; font-size: var(--t-label); color: var(--faint); }
.pv-n b { font-size: var(--t-body); font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .prove-in { display: block; }
  .pv { margin-top: 56px; }
}
@media (max-width: 600px) {
  .pv-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); padding: 16px 0 18px; }
  .pv-tbl tr:last-child { border-bottom: 1px solid var(--line); }
  .pv-tbl th, .pv-tbl td, .pv-tbl tr:last-child th, .pv-tbl tr:last-child td { padding: 0; border: 0; }
  .pv-tbl td { margin-top: 12px; text-align: left; }
  .pv-c i { width: 14px; height: 14px; }
  .pv-k b { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .loop a { transition: none; } }

/* the launch list dialog (js/launch.js): one email, one button. The page's own skin (ink for individuals, paper for
   organizations), square corners, one hairline frame. */
.ld { width: min(560px, calc(100vw - 32px)); max-width: none; margin: auto; padding: clamp(28px, 4vw, 44px); border: 0; border-radius: 0;
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 80px rgb(0 0 0 / 35%); }
.ld::backdrop { background: rgb(8 8 8 / 72%); }
.ld [hidden] { display: none !important; }
.ld-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.ld-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ld-x:focus-visible { outline: 2px solid var(--o); outline-offset: 2px; }
.ld-k { margin: 0 0 16px; font-size: var(--t-label); font-weight: 560; color: var(--dim); }
.ld-h { margin: 0; font-size: clamp(36px, 4.2vw, 52px); font-weight: 650; font-stretch: 116%; letter-spacing: -0.035em; line-height: .98; }
.ld-sub { margin: 16px 0 28px; font-size: var(--t-body); line-height: 1.5; color: var(--dim); }
.ld-l { display: block; margin: 0 0 8px; font-size: var(--t-label); font-weight: 560; }
.ld-row { display: flex; gap: 8px; }
.ld-row input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: var(--t-body); box-shadow: inset 0 0 0 1px var(--line-2); }
.ld-row input::placeholder { color: var(--faint); }
.ld-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.ld-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--o); }
.ld-row .btn { flex: none; }
.ld-err { margin: 12px 0 0; font-size: var(--t-small); color: var(--dim); }
.ld-err.is-err { color: var(--ink); }
.ld-ts:empty { display: none; }
.ld-ts { margin-top: 12px; }
.ld-done { margin: 20px 0 0; font-size: var(--t-lede); line-height: 1.5; }
.ld-done:focus { outline: none; }
@media (max-width: 600px) {
  .ld-row { flex-direction: column; }
  .ld-row .btn { width: 100%; }
}
.xi.xo { fill: none; stroke: currentColor; stroke-width: 2; }

/* B2C grid, 2026-11-20 (Kacper): no machine names on the tiles (fw01 Firewall, ws01 Employee laptop...), and the titles
   bigger, so they read at a glance over the halftone. One size for every title pill and its key: the link tiles, the
   widgets' section links (The companion, Block its way in) and the video's label. */
[data-for="you"] .domain .pc-h { display: none; }
[data-for="you"] .domain { --tt: 17px; --th: 36px; }
@media (min-width: 1200px) { [data-for="you"] .domain { --tt: 19px; --th: 40px; } }
[data-for="you"] .domain .pc:not(.p-dc):not(.p-o) .pc-t { height: var(--th); padding: 0 12px 1px; font-size: var(--tt); font-weight: 600; font-stretch: 108%; letter-spacing: -0.015em; }
@container (min-width: 160px) or (max-height: 120px) {
  [data-for="you"] .domain .pc:not(.p-dc):not(.p-o) .pc-a { width: var(--th); height: var(--th); }
}
[data-for="you"] .domain .pc:not(.p-dc):not(.p-o) .pc-a svg { width: 16px; height: 16px; }
[data-for="you"] .domain .pc-w .hv-sec { height: var(--th); font-size: var(--tt); font-weight: 600; font-stretch: 108%; letter-spacing: -0.015em; }
[data-for="you"] .domain .pc-w .hv-sec-a { width: var(--th); }
[data-for="you"] .domain .pc-w .hv-sec-a svg { width: 16px; height: 16px; }
[data-for="you"] .domain .pc-w .hv-sec-t { padding: 0 12px 1px; }
[data-for="you"] .domain .hv-film-l { height: var(--th); }
[data-for="you"] .domain .hv-film-t { padding: 0 12px 1px; font-size: var(--tt); font-weight: 600; font-stretch: 108%; letter-spacing: -0.015em; }
[data-for="you"] .domain .hv-film-g { width: var(--th); }
[data-for="you"] .domain .hv-film-g svg { width: 14px; height: 14px; }
/* the video's length chip sat on the machine names' line; it goes with them */
[data-for="you"] .domain .hv-film-tc { display: none; }
/* the bigger label needs about 240px for "Watch the video" and its key: under 186px the tile shows the short label */
@container (max-width: 185px) {
  [data-for="you"] .domain .hv-film-tl { display: none; }
  [data-for="you"] .domain .hv-film-ts { display: inline; }
}

/* the CMAP27 bundle: one line at the top of the footer (2026-11-20; it was a whole section first) */
.foot-cmap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin: 0 0 clamp(56px, 6vw, 80px);
  padding: 0 0 24px; border-bottom: 1px solid var(--line); font-size: var(--t-small); line-height: 1.5; color: var(--dim); }
.foot-cmap b { font-weight: 600; color: var(--ink); }
.foot-cmap-a { display: inline-flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-cmap .link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; }

/* ============================================================================ 2026-11-20 batch (Kacper's review)
   The launch action is one orange button everywhere (hero, #scenarios, the self-check, the final CTA, the dialog);
   the top-right Sign up keeps its fill and gains an orange frame. */
.btn-o { background: var(--o); color: var(--c-ink); }
.btn-o:hover { background: var(--ink); color: var(--paper); }
.btn-o:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.acct-up { box-shadow: inset 0 0 0 2px var(--o); }
.acct-up:hover { box-shadow: none; }
.scen-act { margin-top: 40px; }

/* the B2C hero: CQURE's numbers as one compact line under the sub-line, above the buttons (the buttons' line is
   kali01's). One text line, so the headline keeps its size; the numbers bold, in ink. */
.hnum .hstat { display: flex; flex-wrap: wrap; width: auto; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.hnum .hstat li { display: inline-flex !important; flex-direction: row; align-items: baseline; gap: 6px; height: auto !important; padding: 0 14px !important;
  border-left: 1px solid var(--line-2) !important; font-size: var(--t-small); line-height: 1.3; color: var(--dim); white-space: nowrap; }
.hnum .hstat li:first-child { padding-left: 0 !important; border-left: 0 !important; }
.hnum .hstat b { font-size: var(--t-small); font-weight: 650; letter-spacing: 0; color: var(--ink); }
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .hero-bot .hnum { grid-column: 1 / -1; grid-row: 2; align-self: start; margin: 14px 0 0; display: block; }
  [data-for="you"][data-hero="b"] .hero-bot .acts { grid-row: 3; margin-top: 22px; }
  [data-for="you"][data-hero="b"] .hnum-in { height: auto; }
}
@media (max-width: 900px) { .hnum .hstat li { white-space: normal; } }

/* #gap: the 60+ is the team's own record, so it is introduced as such */
.st-k { display: block; margin: 0 0 12px; font-size: var(--t-small); font-weight: 560; color: var(--dim); }
/* #route's closing line: the stat's source, quiet */
.people .src { display: block; margin-top: 6px; color: var(--faint); }
.crew-act .btn { margin-top: 4px; }

/* the B2C grid, reshuffled: the eye goes top right, so the action sits there; the four sections in one row in reading
   order; the bottom row About us, the video and, bottom right, the switch to the organizations site */
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .p-o { grid-area: 2 / 5 / 3 / 7; }
  [data-for="you"][data-hero="b"] .p-fw { grid-area: 3 / 3 / 4 / 4; }
  [data-for="you"][data-hero="b"] .p-sw { grid-area: 3 / 4 / 4 / 5; }
  [data-for="you"][data-hero="b"] .p-ca { grid-area: 3 / 5 / 4 / 6; }
  [data-for="you"][data-hero="b"] .p-sql { grid-area: 3 / 6 / 4 / 7; }
  [data-for="you"][data-hero="b"] .p-ws { grid-area: 4 / 3 / 5 / 4; }
  [data-for="you"][data-hero="b"] .p-fs { grid-area: 4 / 4 / 5 / 5; }
  [data-for="you"][data-hero="b"] .p-dc { grid-area: 4 / 5 / 5 / 7; }
}
@media (min-width: 601px) and (max-width: 900px) {
  [data-for="you"][data-hero="b"] .p-o { grid-area: 2 / 1 / 3 / 3; }
  [data-for="you"][data-hero="b"] .p-fs { grid-area: 2 / 3 / 3 / 5; }
  [data-for="you"][data-hero="b"] .p-fw { grid-area: 3 / 1 / 4 / 2; }
  [data-for="you"][data-hero="b"] .p-sw { grid-area: 3 / 2 / 4 / 3; }
  [data-for="you"][data-hero="b"] .p-ca { grid-area: 3 / 3 / 4 / 4; }
  [data-for="you"][data-hero="b"] .p-sql { grid-area: 3 / 4 / 4 / 5; }
  [data-for="you"][data-hero="b"] .p-ws { grid-area: 4 / 1 / 5 / 3; }
  [data-for="you"][data-hero="b"] .p-dc { grid-area: 4 / 3 / 5 / 5; }
}
@media (max-width: 600px) {
  [data-for="you"] .domain .p-fw { order: 4; } [data-for="you"] .domain .p-sw { order: 5; }
  [data-for="you"] .domain .p-ca { order: 6; } [data-for="you"] .domain .p-sql { order: 7; }
  [data-for="you"] .domain .p-ws { order: 8; } [data-for="you"] .domain .p-fs { order: 9; }
  [data-for="you"] .domain .p-o { order: 20; } [data-for="you"] .domain .p-dc { order: 21; }
}
/* the longer titles (Certification & CPE points, Experts you grow with) wrap inside their pill */
[data-for="you"] .domain .pc:not(.p-dc):not(.p-o) .pc-t { height: auto; min-height: var(--th); padding: 7px 12px 8px; line-height: 1.12; white-space: normal; text-wrap: balance; }
/* the video's label in a narrow tile: the short label one size down, so "Get the vibe" fits beside its key */
@container (max-width: 200px) { [data-for="you"] .domain .hv-film-t { font-size: 15px; padding: 0 9px 1px; } }
/* under 1280px the stats line no longer fits the headline cell beside kali01: it steps out on desktop (tablets and
   phones show it under the buttons) */
@media (min-width: 901px) and (max-width: 1279px) { [data-for="you"][data-hero="b"] .hero-bot .hnum { display: none; } }
/* narrow desktops (901-1199): the tiles are ~145px wide; the titles one step down so the longest still fit */
@media (min-width: 901px) and (max-width: 1199px) { [data-for="you"] #domain { --tt: 16px; --th: 34px; } }
@container (max-width: 150px) { [data-for="you"] .domain .hv-film-t { font-size: 14px; padding: 0 8px 1px; } }
@media (min-width: 901px) and (max-width: 1000px) { [data-for="you"] #domain { --tt: 15px; --th: 32px; } [data-for="you"] .domain .pc:not(.p-dc):not(.p-o) .pc-t { padding: 6px 9px 7px; } }
/* phones: the switch ("Individuals | Organizations") and the action need the full width */
@media (max-width: 600px) { [data-for="you"] .domain .p-o, .domain .p-dc { grid-column: 1 / -1; } }
/* #route closing line stays left of the page wire (the enterprise stat is long) */
.hop-status .people { max-width: 460px; }
/* the stats are text, never a target; in the other compositions (A, C: options kept for comparison) they stay in the
   text column and wrap */
.hnum { pointer-events: none; }
[data-hero="a"] .hnum .hstat, [data-hero="c"] .hnum .hstat { max-width: min(460px, 100%); }
/* 2026-11-30: CQURE's proof line under #experts, no longer a mono line with dots: four facts in Archivo, the number in
   ink, a hairline between them (the same row as the B2C hero's .hstat) */
.cqure .cq-d { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 20px 0 0; padding: 0; list-style: none; }
.cqure .cq-d li { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 16px; border-left: 1px solid var(--line-2);
  font-size: var(--t-small); line-height: 1.3; color: var(--dim); white-space: nowrap; }
.cqure .cq-d li:first-child { padding-left: 0; border-left: 0; }
.cqure .cq-d b { font-weight: 650; color: var(--ink); }
/* phones: a wrapped row would start lines on a hairline, so the four facts sit two by two without rules */
@media (max-width: 700px) {
  .cqure .cq-d { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .cqure .cq-d li { display: block; padding: 0; border-left: 0; white-space: normal; }
  .cqure .cq-d b { white-space: nowrap; }
}
/* 2026-11-30: Enterprise Tickets ends in its own ask */
.tk-ask { margin-top: clamp(48px, 5vw, 72px); max-width: 60ch; }
.tk-ask .acts { margin-top: 24px; }
