/* HRjects marketing site. Light theme only: white ground, cobalt and amber. */
:root {
  --ink: #121A33; --text: #3D4667; --muted: #55608A; --line: #DDE2F2; --wash: #F3F5FC; --white: #fff;
  --cobalt: #2B45F5; --cobalt-deep: #1A2FC0; --cobalt-soft: #DCE2FF; --amber: #FFB020; --amber-soft: #FFE9BC;
  --good: #0B5A3E; --good-soft: #CDEFE2; --crit: #8A2A0B; --crit-soft: #FFE1D6;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden }
::selection { background: #FFD98A; color: var(--ink) }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px }
a { color: var(--cobalt); text-underline-offset: 4px }
a:hover { color: var(--cobalt-deep) }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance }
p { margin: 0 }
.num { font-variant-numeric: tabular-nums }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10 }
.skip:focus { left: 8px }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px) }
.narrow { max-width: 780px }
.section { padding-block: clamp(64px, 9vw, 128px) }
.wash { background: var(--wash) }
.dark { background: var(--ink); color: #fff }

.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 14px 24px; font-size: 16px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); cursor: pointer; border: 0; font-family: inherit }
.btn:hover { transform: translateY(-3px) }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -10px rgba(43, 69, 245, .7) }
.btn-primary:hover { color: #fff }
.btn-dark { background: var(--ink); color: #fff; padding: 12px 20px; font-size: 15px }
.btn-dark:hover { color: #fff }
.btn-amber { background: var(--amber); color: var(--ink) }
.btn-amber:hover { color: var(--ink) }
.link-strong { color: var(--ink); font-weight: 600 }
.pill { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; background: var(--amber-soft); color: #6B4300 }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 14px }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -.02em }
.brand:hover { color: var(--ink) }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(12px, 2vw, 26px); font-size: 15px; font-weight: 500 }
.site-header nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0 }
.site-header nav a:not(.btn):hover { color: var(--cobalt) }
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding-block: 48px 28px; font-size: 15px }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 6vw, 88px) }
.site-footer .about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; color: var(--text); max-width: 340px }
.site-footer .cols > div:not(.about) { display: flex; flex-direction: column; gap: 10px }
.site-footer h2 { font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 600 }
.site-footer a:not(.brand) { color: var(--ink); text-decoration: none }
.site-footer a:not(.brand):hover { text-decoration: underline }
.site-footer .legal { margin-top: 36px; color: var(--muted); font-size: 14px }

/* Landing: hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 104px) }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px }
.hero h1 { font-size: clamp(40px, 5.6vw, 78px); letter-spacing: -.038em; line-height: 1.02 }
.hero .sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); max-width: 34em }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px }
.hero .note { font-size: 14px; color: var(--muted) }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center }
.deck { position: relative; width: 34em; height: 31em; max-width: 100%; font-size: clamp(8px, 1.08vw, 15px); perspective: 120em }
.deck-tilt { position: absolute; left: 6em; top: 11em; width: 22em; height: 15em; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-38deg); animation: sway 16s cubic-bezier(.45, 0, .55, 1) infinite }
.layer { position: absolute; inset: 0; transform-style: preserve-3d }
.layer:nth-child(1) { transform: translateZ(0) } .layer:nth-child(2) { transform: translateZ(6em) } .layer:nth-child(3) { transform: translateZ(12em) } .layer:nth-child(4) { transform: translateZ(18em) }
.plate { position: absolute; inset: 0; background: #fff; border: 1px solid #D5DBEE; border-radius: 1.3em; padding: 1.2em; box-shadow: 1em 1em 2em rgba(18, 26, 51, .12); animation: plate 7s cubic-bezier(.45, 0, .55, 1) infinite }
.layer:nth-child(2) .plate { animation-delay: -1.4s } .layer:nth-child(3) .plate { animation-delay: -2.8s } .layer:nth-child(4) .plate { animation-delay: -4.2s }
.plate b { font-size: 1.05em }
.plate.case { background: #FFF4DC; border-color: #F2D9A0; box-shadow: 1.4em 1.4em 2.6em rgba(18, 26, 51, .16) }
.plate.go { background: var(--cobalt); color: #fff; border-color: var(--cobalt); box-shadow: 1em 1em 2.4em rgba(43, 69, 245, .35) }
.bars { margin-top: .9em; display: flex; gap: .6em; align-items: flex-end; height: 6em }
.bars i { width: 2.4em; background: var(--amber); border-radius: .4em }
.cols2, .cols3 { margin-top: .9em; display: grid; gap: .6em }
.cols2 { grid-template-columns: 1fr 1fr } .cols3 { grid-template-columns: 1fr 1fr 1fr }
.cols2 span, .cols3 span { display: flex; flex-direction: column; gap: .45em }
.cols2 i, .cols3 i { display: block; height: 1.6em; border-radius: .35em; background: #EEF0F7 }
i.a { background: var(--amber-soft) } i.c { background: var(--cobalt-soft) } i.g { background: var(--good-soft) }
.plate.go .big { font-size: 4.4em; font-weight: 700; letter-spacing: -.04em; line-height: 1 }
.plate.go .tag { background: var(--amber); color: var(--ink); font-weight: 700; padding: .25em .8em; border-radius: 99em; font-size: 1.1em; margin-left: .5em }
.plate.go .meter { margin-top: .9em; height: .8em; background: rgba(255, 255, 255, .28); border-radius: 99em }
.plate.go .meter i { display: block; width: 92%; height: 100%; background: #fff; border-radius: 99em }

/* Landing: moving band */
.ticker { background: var(--amber); color: var(--ink); padding-block: 20px; overflow: hidden }
.ticker-track { display: flex; width: max-content; font-size: clamp(19px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; animation: ticker 38s linear infinite }
.ticker-track > div { display: flex; align-items: center; gap: 40px; padding-right: 40px }
.ticker-track span:nth-child(even) { width: 10px; height: 10px; border-radius: 50%; background: var(--ink) }

/* Landing: shared section type */
.h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 700 }
.lede { margin-top: 16px; font-size: 18px; color: var(--text); max-width: 34em }
.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 80px) }
.split > * { flex: 1 1 380px; min-width: 0 }
.struck { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-size: clamp(18px, 1.7vw, 22px) }
.struck s { position: relative; text-decoration: none; color: #B4BCDD }
.struck s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; background: var(--amber); transform-origin: left; animation: draw 1.1s var(--ease) .3s both }
.struck s:nth-child(2)::after { animation-delay: .7s } .struck s:nth-child(3)::after { animation-delay: 1.1s }
.struck p { margin-top: 14px; font-weight: 600; max-width: 26em; line-height: 1.45 }

.journey { position: relative; margin-top: clamp(40px, 5vw, 72px) }
.journey .track { position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: #E3E7F5; border-radius: 99px }
.journey .track i { display: block; height: 100%; background: var(--cobalt); border-radius: 99px; transform-origin: left; animation: draw 3.2s var(--ease) .4s both }
.journey ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 24px }
.journey li { flex: 1 1 190px; min-width: 0; display: flex; flex-direction: column; gap: 12px }
.journey li::before { content: ""; position: relative; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--cobalt) }
.journey li:last-child::before { background: var(--amber); border-color: var(--ink); animation: pulse 2.4s var(--ease) infinite }
.journey h3 { font-size: 20px; letter-spacing: -.015em }
.journey p { font-size: 15px; color: var(--text) }

/* Landing: readiness demo */
.demo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(28px, 5vw, 72px) }
.demo > .side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px }
.demo .hank-line { display: flex; align-items: flex-end; gap: 20px; margin-top: 12px }
.demo .hank-line p { margin-bottom: 18px; font-weight: 600; max-width: 14em }
.card { flex: 1 1 440px; min-width: 0; background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(18, 26, 51, .28), 0 2px 6px rgba(18, 26, 51, .06); display: flex; flex-direction: column; gap: 20px }
.score-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px }
.score { font-size: clamp(52px, 6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1 }
.verdict { font-weight: 700; font-size: 18px; padding: 10px 20px; border-radius: 999px; background: var(--crit-soft); color: var(--crit); transition: background-color .4s var(--ease) }
.verdict.go { background: var(--good-soft); color: var(--good) }
.meter { height: 10px; background: #E3E7F5; border-radius: 99px; overflow: hidden }
.meter i { display: block; height: 100%; background: var(--cobalt); border-radius: 99px; transition: width .7s var(--ease) }
.checks { display: flex; flex-direction: column; gap: 8px }
.checks button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; text-align: left; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; cursor: pointer; transition: background-color .3s var(--ease) }
.checks button:hover { background: var(--wash) }
.checks .box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #9AA4C7; display: grid; place-items: center; transition: background-color .3s var(--ease) }
.checks .box svg { opacity: 0 }
.checks button[aria-pressed="true"] .box { background: var(--cobalt); border-color: var(--cobalt) }
.checks button[aria-pressed="true"] .box svg { opacity: 1 }
.checks .label { flex: 1; min-width: 0 }
.checks .pts { color: var(--muted) }
.small { font-size: 14px; color: var(--muted) }
.hank { display: block; max-width: 100%; height: auto }
.hank-idle { animation: breathe 4s ease-in-out infinite; transform-origin: 50% 100% }
.hank-hop { animation: hop 1.1s var(--ease) infinite; transform-origin: 50% 100% }
.hank-wave { transform-origin: 42px 120px; animation: wave 1.6s ease-in-out infinite }

/* Landing: rules, use cases, pricing, closing */
.rules { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line) }
.rule { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-block: 26px; border-bottom: 1px solid var(--line) }
.rule b { flex: 1 1 260px; min-width: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.015em }
.rule i { flex: 1 1 120px; height: 3px; background-image: linear-gradient(90deg, var(--cobalt) 50%, transparent 50%); background-size: 14px 3px; animation: dash 1s linear infinite }
.rule span { flex: 1 1 320px; min-width: 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--text) }
.teams { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px }
.teams a { text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; transition: transform .35s var(--ease), border-color .35s var(--ease) }
.teams a:hover { transform: translateY(-3px); border-color: var(--cobalt); color: var(--cobalt) }
.plans { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(18, 26, 51, .22), 0 2px 6px rgba(18, 26, 51, .05); overflow: hidden }
.plan { flex: 1 1 280px; min-width: 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid #E3E7F5 }
.plan h3 { font-size: 20px; letter-spacing: -.01em; display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px }
.plan .price b { font-size: 48px; letter-spacing: -.04em; line-height: 1 }
.plan .price span { font-size: 14px; color: var(--muted) }
.plan p { font-size: 15px; color: var(--text) }
.plan .foot { margin-top: auto; padding-top: 6px; font-weight: 600 }
.plan.feature { background: var(--ink); color: #fff; border-bottom: 0 }
.plan.feature p { color: #D9DDF0 } .plan.feature .price span { color: #C7CDE8 }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px }
.closing > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px }
.closing h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.038em; line-height: 1.03; max-width: 12em }

/* Reading pages */
.doc { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px) }
.doc h1, .page-head h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.035em }
.crumb { margin-bottom: 18px; font-size: 15px; font-weight: 600 }
.crumb a { text-decoration: none }
.lead { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); color: var(--text) }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted) }
.prose { margin-top: 36px; font-size: 17px; color: var(--text); line-height: 1.7 }
.prose > * + * { margin-top: 1.1em }
.prose h2 { color: var(--ink); font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.9em; letter-spacing: -.025em }
.prose h3 { color: var(--ink); font-size: 20px; margin-top: 1.6em; letter-spacing: -.015em; line-height: 1.25 }
.prose strong { color: var(--ink) }
.prose ul, .prose ol { padding-left: 1.3em }
.prose li + li { margin-top: .45em }
.prose blockquote { margin-inline: 0; padding: 16px 22px; background: var(--wash); border-radius: 14px; color: var(--ink) }
.table-scroll, .prose-table { overflow-x: auto }
table { border-collapse: collapse; width: 100%; font-size: 15.5px }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top }
th { color: var(--ink); font-weight: 600; white-space: nowrap }
.prose table { display: block; overflow-x: auto }

.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px) }
.list { padding-bottom: clamp(64px, 8vw, 112px) }
.group-title { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 40px 0 6px }
.rows { border-top: 1px solid var(--line) }
.rows a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding-left .4s var(--ease), background-color .4s var(--ease) }
.rows a:hover { padding-left: 16px; background: var(--wash) }
.rows b { flex: 1 1 300px; min-width: 0; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; line-height: 1.2 }
.rows span { flex: 2 1 340px; min-width: 0; color: var(--text); font-size: 16px }
.rows em { font-style: normal; color: var(--muted); font-size: 14px; flex-basis: 100% }
details { border-bottom: 1px solid var(--line) }
details summary { cursor: pointer; padding: 20px 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; list-style-position: outside }
details .prose { margin: 0 4px 22px; font-size: 16px }
.callout { margin-top: 44px; background: var(--wash); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px }
.callout p { font-size: 20px; font-weight: 600; letter-spacing: -.015em; max-width: 24em; line-height: 1.3 }
.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 80px 120px }

@keyframes sway { 0%, 100% { transform: rotateX(57deg) rotateZ(-40deg) } 50% { transform: rotateX(57deg) rotateZ(-31deg) } }
@keyframes plate { 0%, 100% { transform: translateZ(0) } 50% { transform: translateZ(1.6em) } }
@keyframes draw { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes dash { to { background-position: 28px 0 } }
@keyframes ticker { to { transform: translateX(-50%) } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, .55) } 60% { box-shadow: 0 0 0 12px rgba(255, 176, 32, 0) } }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(0) } 30% { transform: translateY(-14px) rotate(-4deg) } 60% { transform: translateY(0) rotate(3deg) } }
@keyframes breathe { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
@keyframes wave { 0%, 100% { transform: rotate(0) } 50% { transform: rotate(-16deg) } }
@media (max-width: 720px) {
  .site-header { position: static }
  .site-header nav { gap: 2px 16px; font-size: 14px }
  .journey .track { display: none }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } html { scroll-behavior: auto } }
