/* ==========================================================================
   KuduDoc v6 — People & HR (hr.html), page overrides on top of theme.css.
   v5 CSS sits in the lower layer (v5), so plain rules here win; !important only
   where theme.css itself uses it.
   24 Sep 2026 rewrite: no bento, no stat row, no "Not an HRIS" band; the flat blue
   panel now carries the promotion scenario.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. the opening: landing blue, mark poster, file straddling the edge
   The v5 hero is centred (like everything.html's opening) and carries the employee-file
   illustration. The blue is painted by two pseudo-elements on the figure, so the blue ends
   ~40% into the illustration wherever it lands, at any width: ::before is the flat blue,
   ::after the KuduDoc-mark poster on it. Both are cut to the viewport by overflow-x: clip.
   The copy block carries the top padding and reaches down to the illustration, and reports
   the blue as its background colour (clipped to its text, so nothing extra is painted): the
   nav (site.js) reads that and stays in its on-blue tone over the whole opening. */
.hr-page #hero.hr-hero {
  position: relative; z-index: 0; overflow-x: clip;
  padding-top: 0 !important; padding-bottom: 0; background: transparent; color: #fff;
}
.hr-hero .hr-hero-content {
  padding: 168px 0 44px;
  background-color: #2a64a0; -webkit-background-clip: text; background-clip: text;
}
.hr-hero .hr-hero-figure { position: relative; margin-top: 0; }
.hr-hero .hr-hero-figure::before,
.hr-hero .hr-hero-figure::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc((100% - 100vw) / 2); width: 100vw; bottom: 62%;
}
.hr-hero .hr-hero-figure::before { height: 3000px; background: #2a64a0; }
.hr-hero .hr-hero-figure::after {
  height: 1400px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 72'%3E%3Cg transform='translate(40 36) rotate(-8) skewX(-14) translate(-31 -32)' stroke-linecap='round' stroke-width='6.5'%3E%3Cpath d='M13 14V50' stroke='%23004e99' stroke-opacity='.16'/%3E%3Cpath d='M25 9V55' stroke='%23004e99' stroke-opacity='.22'/%3E%3Cpath d='M37 13V51' stroke='%23004e99' stroke-opacity='.13'/%3E%3Cpath d='M49 18V46' stroke='%23004e99' stroke-opacity='.18'/%3E%3C/g%3E%3C/svg%3E") right -6vw bottom -170px / auto 1020px no-repeat;
}
/* eyebrow: pale sky with the logo's small orange stroke */
.hr-hero .hr-hero-content > .kd-eyebrow {
  display: inline-flex; align-items: center; color: #d6eeff;
  font: 600 12.5px/1.3 var(--font-sans); letter-spacing: .15em; text-transform: uppercase;
}
.hr-hero .hr-hero-content > .kd-eyebrow::before {
  content: ""; flex: none; width: 3px; height: 13px; margin-right: 10px; border-radius: 2px;
  background: var(--orange); transform: skewX(-14deg) rotate(-8deg) translateY(1px);
}
/* H1: Montserrat 650, white, the quiet second line in pale sky, the orange rule */
.hr-hero .hr-h1 {
  font: 650 clamp(46px, 6vw, 86px)/.98 var(--font-display); letter-spacing: -.038em;
  color: #fff; margin: 22px 0 0;
}
.hr-hero .hr-h1 .kd-rule { margin: 18px auto 16px; background: var(--orange); }
.hr-hero .hr-h1 > .text-slate { color: #a9dcff; }
.hr-hero .hr-lead {
  max-width: 34ch; margin: 24px auto 0; color: rgba(236, 244, 252, .86);
  font: 400 clamp(19px, 1.8vw, 24px)/1.4 var(--font-sans); letter-spacing: -.012em;
}
.hr-hero .hr-cta { margin-top: 30px; }
.hr-hero .btn-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(191, 227, 255, .45); }
.hr-hero .btn-secondary:hover { background: rgba(191, 227, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(191, 227, 255, .7); }
.hr-hero .hr-cta-note { color: rgba(236, 244, 252, .92); margin-top: 16px; }
/* the illustration: a white card on the edge, the landing's capture shadow */
.hr-hero .hr-hero-mock {
  border: 0; border-radius: 20px;
  box-shadow: 0 2px 4px rgba(6, 22, 42, .08), 0 24px 60px -18px rgba(6, 22, 42, .38);
}
/* the missing record: one orange belongs to the seal, so the gap is marked in blue */
.hr-hero .hr-hero-mock .kd-doc-row.is-gap { border: 1px dashed #006bcb; background: #eef5fc; }
@keyframes hr-gap-pulse { 0%, 100% { outline-color: transparent; } 50% { outline-color: #006bcb; } }

/* ---------------------------------------------------------------- 2. one ground: no section paints a band */
.hr-page .hr-section { background: transparent; }
/* links in the leads: on the blue opening, white and underlined; on the pale ground, the link blue */
.hr-hero .hr-lead a { color: #fff; text-decoration: underline; text-decoration-color: rgba(191, 227, 255, .55); text-underline-offset: 4px; }
.hr-hero .hr-lead a:hover { text-decoration-color: #fff; }
.hr-page .hr-section .hr-lead a { color: #006bcb; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- 2a. the employee file checklist: the page's answer, first after the opening
   The heading and lead on the left, the list in one white card on the right; each line carries the
   logo's slanted stroke as its marker (no icons). */
.hr-page #checklist { padding-top: 112px; }
.hr-checklist { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
.hr-checklist-head > .kd-eyebrow { color: #006bcb; }
.hr-checklist-head .hr-h2 { text-wrap: balance; }
.hr-checklist-card { padding: 6px 30px 26px; }
.hr-checklist-list { list-style: none; margin: 0; padding: 0; }
.hr-checklist-list li {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  padding: 15px 0 15px 26px; border-bottom: 1px solid rgba(16, 45, 73, .08); font-size: 15px; line-height: 1.5;
}
.hr-checklist-list li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 4px; height: 14px; border-radius: 2px;
  background: #006bcb; transform: skewX(-14deg) rotate(-8deg);
}
.hr-checklist-list b { font-weight: 600; color: #102d49; }
.hr-checklist-list span { color: #56697f; font-size: 14px; }
.hr-checklist-list a { color: #006bcb; text-underline-offset: 3px; }
.hr-checklist-note { margin-top: 20px; font-size: 13.5px; line-height: 1.65; color: #3f5470; }

/* ---------------------------------------------------------------- 3. cards: white, hairline, soft layered shadow
   (surface-white is made transparent by theme.css, so card surfaces are set here) */
.hr-page :is(.hr-process, .hr-date-card, .hr-warning, .hr-retain, .hr-scenario-records, .hr-checklist-card) {
  background: #fff; border: 0; border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 1px 2px rgba(16, 45, 73, .05), 0 16px 40px -24px rgba(16, 45, 73, .32);
}
/* tints inside cards stay pale blue, never peach */
.hr-page .hr-scenario-end { background: #eef5fc; }
.hr-page .kd-chip-expiring { background: #eef5fc; color: #004e99; }

/* ---------------------------------------------------------------- 4. the lifecycle tour */
.hr-page .hr-sidenav .is-active { background: #fff; box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07); color: #102d49; }
.hr-page .hr-date-labels b { font-weight: 650; }
/* the rail's labels are plain text now (no numerals) */
.hr-page .hr-sidenav a { gap: 0; }
.hr-page .hr-tour-block > h2 { margin-top: 0; text-wrap: balance; }
.hr-page .hr-tour-block > ul + .hr-text-link { margin-top: 16px; }

/* ---------------------------------------------------------------- 5. the promotion scenario — a flat blue panel, not a full-bleed band */
.hr-page #scenario {
  width: calc(100% - 80px); max-width: 1240px; margin: 0 auto; border-radius: 28px;
  padding: 88px 0; background: #2a64a0; overflow: hidden; color: #fff;
}
#scenario .hr-scenario > div:first-child .kd-eyebrow { color: #d6eeff; }
#scenario .hr-scenario > div:first-child h2 { color: #fff; }
#scenario .hr-scenario > div:first-child .hr-lead { color: rgba(236, 244, 252, .86); }
/* the records card on the blue: white, with the landing's capture shadow */
#scenario .hr-scenario-records { box-shadow: 0 2px 4px rgba(6, 22, 42, .08), 0 24px 60px -18px rgba(6, 22, 42, .38); }
/* polish.js moves the drawing's label out of the card; the wrapper keeps it under the card, in the right
   column (it used to fall into the left column, under the copy), legible on the blue */
.hr-scenario-figure { min-width: 0; }
#scenario .hr-scenario-figure > .kd-mock-label { color: rgba(236, 244, 252, .82); border-left-color: rgba(191, 227, 255, .6); }

/* ---------------------------------------------------------------- 7. FAQ: the question text sits inside its card */
/* v5 zeroed the FAQ's top padding for the full-width band before it; the scenario is now a panel with no
   margin, so the FAQ carries its own space below it */
.hr-page .hr-faq { padding-top: 96px; }
.hr-page .hr-faq .accordion-item { padding-inline: 22px; }
.hr-page .hr-faq .accordion-item:first-child { border-top: 0; }
.hr-page .hr-faq .accordion-body { padding-right: 8px; }

/* ---------------------------------------------------------------- 8. closing: one blue band into the footer
   The wrap around .cta-gradient kept theme.css's closing padding, leaving a pale frame
   round a boxed CTA; the section and wrap now step aside so the band runs full-bleed. */
.hr-page #closing { padding: 0 !important; }
.hr-page #closing > .hr-wrap { max-width: none; padding: 0; }
/* v5 leaves .cta-gradient a two-column grid, which centred a shrink-wrapped copy box; as a block the
   copy lines up with the footer column, as the landing's closing does */
.hr-page #closing .cta-gradient { display: block; }
/* theme.css zeroes the band's padding inside #closing and the section is zeroed above, so the band carries
   the landing's closing padding itself (the copy otherwise sits on the top edge and the buttons on the footer) */
.hr-page #closing .cta-gradient { padding: 112px 40px 96px !important; }
/* the closing's primary action is the one orange pill, as on the landing */
.hr-page #closing .btn-onblue {
  color: #fff; border: 0; background: linear-gradient(180deg, #ff8f45 0%, #ff6a30 55%, #ff5528 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(160, 40, 10, .25), 0 1px 2px rgba(120, 30, 0, .25), 0 8px 22px -6px rgba(255, 90, 40, .55);
}
.hr-page #closing .btn-onblue:hover { color: #fff; background: linear-gradient(180deg, #ff9a55 0%, #ff7036 55%, #ff5a2c 100%); }

/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .hr-checklist { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hr-page #checklist { padding-top: 88px; }
  .hr-page #scenario { width: calc(100% - 32px); border-radius: 24px; padding: 64px 0; }
}
@media (max-width: 640px) {
  .hr-hero .hr-hero-content { padding: 124px 0 32px; }
  .hr-hero .hr-h1 { margin-top: 18px; }
  .hr-hero .hr-h1 .kd-rule { margin: 14px 0 12px; }
  .hr-hero .hr-lead { margin-left: 0; font-size: 18px; }
  .hr-hero .hr-hero-content > .kd-eyebrow { font-size: 11.5px; letter-spacing: .13em; align-items: flex-start; text-wrap: balance; }
  /* when the eyebrow wraps, the stroke leads the first line instead of floating between the two */
  .hr-hero .hr-hero-content > .kd-eyebrow::before { margin-top: 1px; }
  /* the closing copy on the page gutter, level with the footer brand */
  .hr-page #closing .cta-gradient { padding: 80px 20px 64px !important; }
  .hr-hero .hr-hero-figure::after { background-position: right -22vw bottom -150px; background-size: auto 980px; }
  .hr-page #scenario { width: calc(100% - 24px); border-radius: 22px; padding: 52px 0; }
  .hr-page .hr-faq .accordion-item { padding-inline: 16px; }
  .hr-page .hr-faq { padding-top: 56px; }
  .hr-page #checklist { padding-top: 64px; }
  .hr-checklist-card { padding: 2px 18px 20px; }
  .hr-checklist-list li { padding: 13px 0 13px 22px; font-size: 14.5px; }
  .hr-checklist-list li::before { left: 2px; top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-hero .hr-hero-mock .kd-doc-row.is-gap { animation: none; }
}

/* review (27 Sep 2026): on a phone the forced break left "needs" alone on its line; let the heading flow */
@media (max-width: 640px) { html body .hr-page h2.hr-h2 br { display: none; } }
