/* HiringSonar site + app. One system for every page, shared with home.css.
   Ultramarine brand, indigo ink, marigold for "new" and for the main action on blue, mint for "done".
   Type: Cabinet Grotesk (display) + Switzer (text), both Indian Type Foundry via Fontshare.
   Radius grammar: pills for actions, chips, badges and tabs; 12px for inputs; 20px for surfaces.
   Public pages open with a blue page head; app screens get a quiet white bar. */

:root {
  --blue: #3633e8; --blue-deep: #2522b5; --blue-ink: #1b1880; --blue-tint: #ececff; --blue-tint-2: #dcdcff;
  --on-blue: #ffffff; --on-blue-soft: #d3d2fe;
  --ink: #16153a; --ink-soft: #57567a; --paper: #f7f7fb; --white: #ffffff; --line: #e2e2ee; --line-2: #d0d0e2;
  --sun: #ffc93c; --sun-hover: #ffd866; --sun-ink: #2a1d00; --sun-text: #8a5a00;
  --mint: #14a06b; --mint-tint: #e3f6ee; --mint-ink: #0b5f40;
  --danger: #b42318; --danger-bg: #fde7e4;
  --display: "Cabinet Grotesk", "Switzer", system-ui, sans-serif;
  --font: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --m: clamp(1.25rem, 4vw, 2.5rem);
  --page: 1180px;
  --r-pill: 999px; --r-input: 12px; --r-surface: 20px;
  --t-small: .9375rem; --t-body: 1.0625rem; --t-sub: clamp(1.25rem, 1.7vw, 1.5rem);
  --t-h2: clamp(1.75rem, 2.8vw, 2.5rem); --t-h1: clamp(2.5rem, 5.4vw, 4.75rem);
  /* older names some templates still read */
  --mist: var(--paper); --mist-2: var(--line); --ink-2: var(--ink-soft); --ink-3: var(--ink-soft);
  --surface: var(--white); --surface-2: var(--paper); --ground: var(--paper);
  --act: var(--blue); --act-ink: var(--white); --act-hover: var(--blue-deep);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: from-font; }
img { max-width: 100%; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ph :focus-visible { outline-color: var(--sun); }
.wrap { max-width: var(--page); margin-left: auto; margin-right: auto; padding: 0 var(--m); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .75rem; text-wrap: balance; }
h1 { font-size: var(--t-h2); }
h2 { font-size: var(--t-sub); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.lede { font-size: var(--t-sub); line-height: 1.45; margin: 0 0 1.5rem; max-width: 46ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--t-small); }
code { background: var(--blue-tint); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ---------------------------------------------------------------- bar */
.h-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem max(var(--m), calc((100% - var(--page)) / 2 + var(--m)));
  background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.ph .h-bar { background: transparent; color: var(--on-blue); border-bottom: 0; padding-top: 1.375rem; padding-bottom: 0; }
.h-over { position: absolute; inset: 0 0 auto; z-index: 3; background: transparent; border-bottom: 0; }
.h-mark { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.h-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); font-size: 1rem; font-weight: 500; }
.h-nav a, .h-link { text-decoration: none; color: var(--ink-soft); background: none; border: 0; font: inherit; cursor: pointer; padding: 0;
  transition: color .2s var(--ease); white-space: nowrap; }
.h-nav a:hover, .h-link:hover, .h-nav a[aria-current="page"] { color: var(--ink); }
.h-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--blue); }
.h-nav .h-btn { color: var(--white); background: var(--blue); padding: .625rem 1.125rem; border-radius: var(--r-pill); font-weight: 600;
  transition: background-color .2s var(--ease), transform .16s var(--ease); }
.h-nav .h-btn:hover { color: var(--white); background: var(--blue-deep); }
.h-nav .h-btn:active { transform: scale(.97); }
.ph .h-nav a, .ph .h-link, .h-over .h-nav a, .h-over .h-link { color: var(--on-blue-soft); }
.ph .h-nav a:hover, .ph .h-nav a[aria-current="page"], .h-over .h-nav a:hover { color: var(--on-blue); }
.ph .h-nav a[aria-current="page"] { text-decoration-color: var(--sun); }
.ph .h-nav .h-btn, .h-over .h-nav .h-btn { background: var(--white); color: var(--blue-ink); }
.ph .h-nav .h-btn:hover, .h-over .h-nav .h-btn:hover { background: var(--sun); color: var(--sun-ink); }
.h-count { display: inline-block; min-width: 1.375rem; padding: 0 .375rem; border-radius: var(--r-pill); background: var(--sun); color: var(--sun-ink);
  font-weight: 700; font-size: .8125rem; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .h-bar { flex-wrap: wrap; row-gap: .625rem; }
  .h-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: .5rem 1.125rem; }
  .h-nav .h-btn { margin-left: auto; }
  .h-over .h-nav, .ph .h-nav { width: auto; }
  .h-over .h-nav a:not(.h-btn), .ph .h-nav a:not(.h-btn) { display: none; }
}

/* ---------------------------------------------------------------- page head (public pages) */
.ph { position: relative; overflow: hidden; background: var(--blue); color: var(--on-blue); }
.ph::after { content: ""; position: absolute; right: -14rem; top: -14rem; width: 40rem; height: 40rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 0 29.5%, rgba(255, 255, 255, .12) 30% 30.3%, transparent 30.8% 44.5%, rgba(255, 255, 255, .1) 45% 45.3%, transparent 45.8% 59.5%, rgba(255, 255, 255, .08) 60% 60.3%, transparent 60.8%); }
.ph-body { position: relative; z-index: 1; max-width: var(--page); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--m) clamp(3rem, 6vw, 5rem); }
.ph h1 { font-size: var(--t-h1); letter-spacing: -0.03em; line-height: 1; max-width: 16ch; margin: 0; }
.ph .lede { margin: 1.5rem 0 0; color: var(--on-blue-soft); max-width: 52ch; }
.ph .ph-meta { margin: 1.25rem 0 0; color: var(--on-blue-soft); font-size: var(--t-small); }
.ph-body a:not(.btn) { color: var(--on-blue); }
.ph .card a:not(.btn) { color: var(--ink); }
.ph .ph-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.ph .ph-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
@media (max-width: 860px) { .ph .ph-split { grid-template-columns: 1fr; } }
.ph-photo { display: block; }

main { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(6rem, 10vw, 10rem); }
main.plain { padding-top: clamp(2rem, 4vw, 3.5rem); }
.home main { padding: 0; }

/* ---------------------------------------------------------------- buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .375rem; min-height: 2.75rem; padding: 0 1.25rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); color: var(--ink);
  font: 600 var(--t-small)/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.btn-ghost { background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 0 .5rem; }
.btn-ghost:hover { background: transparent; border-color: transparent; color: var(--blue); }
.btn-lg { min-height: 3.25rem; padding: 0 1.625rem; font-size: 1rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.ph .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.ph .btn-primary:hover { background: var(--sun-hover); border-color: var(--sun-hover); }
.ph .btn:not(.btn-primary):not(.btn-ghost) { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--on-blue); }
.ph .btn:not(.btn-primary):not(.btn-ghost):hover { border-color: var(--on-blue); background: rgba(255, 255, 255, .08); }
.ph .card .btn:not(.btn-primary):not(.btn-ghost) { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.ph .card .btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ph .card .btn-primary:hover { background: var(--blue-deep); }
form.inline { display: inline; }
label { display: block; font-weight: 600; font-size: var(--t-small); margin: 0 0 .5rem; }
.field { margin: 0 0 1.375rem; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: var(--t-small); margin-top: .375rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=range]),
textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2);
  border-radius: var(--r-input); padding: .75rem .875rem; min-height: 3rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.ph input, .ph select { background: rgba(255, 255, 255, .1); color: var(--on-blue); border-color: rgba(255, 255, 255, .3); }
.ph select option { color: var(--ink); }
.ph input::placeholder { color: var(--on-blue-soft); }
.ph input:focus, .ph select:focus { background: rgba(255, 255, 255, .16); border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 201, 60, .25); }
.ph label { color: var(--on-blue-soft); }
.ph .card input, .ph .card select { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.ph .card label { color: var(--ink); }
textarea { min-height: 11rem; resize: vertical; line-height: 1.5; }
input[type=file] { font: inherit; padding: .75rem 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-block; padding: .625rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--white);
  font-size: var(--t-small); font-weight: 600; cursor: pointer; user-select: none; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.choice span:hover { border-color: var(--blue); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: .625rem; align-items: flex-start; font-weight: 400; font-size: var(--t-body); }
.check input { margin-top: .3125rem; width: 18px; height: 18px; accent-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0 0 1.375rem; }
legend { font-weight: 600; font-size: var(--t-small); margin-bottom: .5rem; padding: 0; }

/* ---------------------------------------------------------------- surfaces */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-surface); padding: clamp(1.25rem, 2.4vw, 2rem); }
.card + .card { margin-top: .75rem; }
.card h2 { margin-bottom: .875rem; }
.ph .card { color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(12, 10, 80, .55); }
.grid-2 { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.split { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 340px; } }

.flash { background: var(--ink); color: var(--white); padding: .875rem 1.125rem; border-radius: 14px; margin-bottom: 1.5rem; font-weight: 600; }
.notice { background: var(--blue-tint); color: var(--blue-ink); padding: 1rem 1.25rem; border-radius: 16px; margin-bottom: .75rem; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice strong { font-weight: 700; }

/* ---------------------------------------------------------------- freshness badges + job rows */
.sticker { display: inline-flex; align-items: center; justify-content: center; min-width: 3.25rem; height: 1.875rem; padding: 0 .625rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .8125rem; flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sticker.fresh, .sticker.early { background: var(--sun); color: var(--sun-ink); }
.sticker.today { background: var(--blue-tint); color: var(--blue-ink); }
.sticker.old { background: var(--paper); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.feed { list-style: none; margin: 0; padding: 0 .25rem; display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-surface); }
.feed > li + li { border-top: 1px solid var(--line); }
.row { display: flex; gap: 1.125rem; align-items: center; padding: 1.125rem 1.25rem; border-radius: 16px; transition: background-color .2s var(--ease); }
.row:hover { background: var(--paper); }
.row-main { min-width: 0; flex: 1; }
.row-title { font-family: var(--display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; text-decoration: none; display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-title:hover { color: var(--blue); }
.row-sub { color: var(--ink-soft); font-size: var(--t-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-pay { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-pay small { font-weight: 400; color: var(--ink-soft); font-size: var(--t-small); }
.row-actions { display: flex; gap: .375rem; flex: none; align-items: center; }
.why { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .5rem; }
.tag { font-size: .8125rem; padding: .1875rem .625rem; border-radius: var(--r-pill); background: var(--mint-tint); color: var(--mint-ink); font-weight: 600; }
@media (max-width: 640px) {
  .row { flex-wrap: wrap; padding: 1rem; gap: .75rem; }
  .row-actions { width: 100%; padding-left: 4rem; flex-wrap: wrap; }
  .row-title, .row-sub { white-space: normal; }
  .row-pay { width: 100%; padding-left: 4rem; }
}

/* ---------------------------------------------------------------- tabs */
.tabs { display: flex; gap: .375rem; margin: 0 0 1.25rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: .625rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: var(--t-small); white-space: nowrap; background: var(--white); transition: border-color .15s var(--ease); }
.tabs a:hover { border-color: var(--blue); }
.tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------------------------------------------------------------- tables, stats, bars */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-surface); overflow: hidden; }
.table th, .table td { text-align: left; padding: .875rem 1.125rem; font-size: var(--t-small); vertical-align: top; }
.table td { border-top: 1px solid var(--line); }
.table th { background: var(--paper); color: var(--ink-soft); font-weight: 600; }
.table tr:hover td { background: #fbfbfe; }
.table-wrap { overflow-x: auto; }
.table-wrap .table { min-width: 640px; }
.status { display: inline-block; font-size: .8125rem; font-weight: 600; padding: .1875rem .625rem; border-radius: var(--r-pill); background: var(--paper);
  color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); text-transform: capitalize; white-space: nowrap; }
.status.sent, .status.queued, .status.invited, .status.interviewing, .status.task_sent { background: var(--blue-tint); color: var(--blue-ink); box-shadow: none; }
.status.replied, .status.interview, .status.offer, .status.booked, .status.shortlisted { background: var(--mint-tint); color: var(--mint-ink); box-shadow: none; }
.status.failed, .status.rejected { background: var(--danger-bg); color: var(--danger); box-shadow: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 1.25rem 1.375rem; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.25rem, 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: .375rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-soft); font-size: var(--t-small); }
.bars { list-style: none; padding: 0; margin: 0; }
.bars li { display: grid; grid-template-columns: 150px 1fr 52px; gap: .75rem; align-items: center; padding: .375rem 0; font-size: var(--t-small); }
.bars .track { height: 12px; border-radius: var(--r-pill); background: var(--blue-tint); overflow: hidden; }
.bars .fill { height: 100%; border-radius: var(--r-pill); background: var(--blue); }
.bars li > span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.progress { height: 8px; border-radius: var(--r-pill); background: var(--blue-tint); overflow: hidden; margin: .5rem 0 1.25rem; }
.progress span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--blue); transition: width .4s var(--ease); }

/* ---------------------------------------------------------------- details / faq */
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.125rem 1.375rem; margin-bottom: .5rem; }
details summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; cursor: pointer; font-size: var(--t-body); list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); }
details p { margin: .75rem 0 0; max-width: 62ch; }
details.card summary::after { content: none; }

/* ---------------------------------------------------------------- post text, prose */
.post-text { white-space: pre-wrap; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.125rem, 2vw, 1.75rem);
  font-size: var(--t-body); line-height: 1.6; }
.card .post-text { background: var(--paper); border-color: transparent; }
.prose { max-width: 720px; font-size: 1.125rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.02em; margin: 3.5rem 0 1rem; }
.prose h3 { font-size: var(--t-sub); margin: 2rem 0 .625rem; }
.prose p, .prose li { line-height: 1.7; }
.prose li { margin-bottom: .375rem; }
.prose a { font-weight: 600; color: var(--blue); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; font-size: var(--t-small); background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .75rem .875rem; vertical-align: top; }
.prose td { border-top: 1px solid var(--line); }
.prose th { background: var(--paper); color: var(--ink-soft); font-weight: 600; }
.prose blockquote { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--blue-tint); border-radius: 16px; color: var(--blue-ink); }
.prose blockquote p { margin: 0 0 .5rem; }
.prose code { background: var(--blue-tint); }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.125rem; margin: 0 0 .625rem; }
.links a { font-weight: 600; }
.tip-list { padding-left: 1.25rem; }
.tip-list li { margin-bottom: .5rem; }
.pager { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 2rem; }

/* ---------------------------------------------------------------- footer */
.f { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); padding: 3.5rem max(var(--m), calc((100% - var(--page)) / 2 + var(--m))) 1.75rem; font-size: .9375rem; }
.f-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.f-mark { font-family: var(--display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; }
.f-brand p { margin: .75rem 0 .875rem; color: var(--ink-soft); max-width: 32ch; }
.f-brand a:not(.f-mark) { color: var(--ink-soft); }
.f-col { display: flex; flex-direction: column; gap: .625rem; }
.f-col h2 { font-family: var(--font); font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 .25rem; }
.f-col a { color: var(--ink-soft); text-decoration: none; }
.f-col a:hover, .f-brand a:hover { color: var(--blue); }
.f-meta { display: flex; justify-content: space-between; gap: 1.25rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .8125rem; }
@media (max-width: 860px) {
  .f-in { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .f-meta { flex-direction: column; gap: .375rem; }
}

/* ---------------------------------------------------------------- motion */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }
.ph .rise { transition-duration: .45s; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .rise { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- job lists */
.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: .75rem; align-items: end; margin-top: 2.5rem; }
.filters label { margin-bottom: .375rem; }
.filters .btn { min-height: 3rem; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters .f-q { grid-column: 1 / -1; } .filters .btn { grid-column: 1 / -1; } }
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.list-head h2 { font-size: var(--t-h2); font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.legend { display: flex; flex-wrap: wrap; gap: .375rem .625rem; align-items: center; margin: 0; font-size: var(--t-small); color: var(--ink-soft); }
.legend .sticker { min-width: 0; height: 1.625rem; font-size: .75rem; margin-left: .375rem; }
.empty { padding: 2.5rem; }
.empty .btn { margin-top: .5rem; }

/* ---------------------------------------------------------------- job page */
.jd-head { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.jd-head h1 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); max-width: 20ch; }
.jd-head .lede { margin-top: 1rem; }
.jd-sticker { flex-direction: column; width: clamp(5.5rem, 8vw, 7rem); height: clamp(5.5rem, 8vw, 7rem); border-radius: 50%; padding: 0;
  font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 800; line-height: .9; }
.jd-sticker small { font-family: var(--font); font-size: .8125rem; font-weight: 600; margin-top: .25rem; }
.ph .jd-sticker.old, .ph .jd-sticker.today { background: rgba(255, 255, 255, .14); color: var(--on-blue); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.jd-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.jd-facts span { background: rgba(255, 255, 255, .12); color: var(--on-blue); padding: .5rem .875rem; border-radius: var(--r-pill); font-size: var(--t-small); font-weight: 600; }
.jd-summary { font-size: var(--t-sub); line-height: 1.45; margin: 0 0 1.25rem; max-width: 46ch; }
.card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card-dark .btn:not(.btn-primary) { background: transparent !important; border-color: rgba(255, 255, 255, .35); color: var(--white); }
.card-dark .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.card-dark .btn-primary:hover { background: var(--sun-hover); }
.card-dark a:not(.btn) { color: var(--white); }
.mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .875rem; }
.mini a { display: block; font-weight: 600; text-decoration: none; }
.mini a:hover { color: var(--blue); }
@media (max-width: 640px) { .jd-head { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- sections on inner pages */
.sec-title { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 1.75rem; }
.fc-sec + .fc-sec, .fc-band + .fc-sec { margin-top: clamp(6rem, 10vw, 10rem); }
.fc-steps { display: grid; gap: .75rem; }
.fc-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-surface); padding: clamp(1.5rem, 3vw, 2.5rem); }
.fc-step:nth-child(4) { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.fc-step h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.fc-step p { margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .fc-step { grid-template-columns: 1fr; gap: .75rem; } }
.fc-shot { margin: 0; background: var(--white); color: var(--ink); padding: 1.5rem; border-radius: var(--r-surface); box-shadow: 0 30px 60px -30px rgba(12, 10, 80, .55); }
.fc-shot-head { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .875rem; }
.fc-shot-head span { color: var(--ink-soft); font-size: var(--t-small); }
.fc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .375rem; }
.fc-list li { display: grid; grid-template-columns: 9.5em 1fr auto; gap: .875rem; align-items: center; background: var(--paper); padding: .75rem .875rem;
  border-radius: 14px; font-size: var(--t-small); }
.fc-list li.lit { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }
.fc-list li.lit small { color: var(--ink-soft); }
.fc-list li.dim { opacity: .62; }
.fc-name { font-weight: 700; }
.fc-name small { display: block; font-weight: 400; color: var(--ink-soft); }
.fc-list b { font-family: var(--display); font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .fc-list li { grid-template-columns: 1fr auto; } .fc-why { grid-column: 1 / -1; grid-row: 2; } }
.fc-band { background: var(--ink); color: var(--white); margin-top: clamp(6rem, 10vw, 10rem); padding: clamp(4.5rem, 8vw, 8rem) 0; }
.fc-band .lede { color: #c4c3e0; }
.fc-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (max-width: 860px) { .fc-band-in { grid-template-columns: 1fr; } }
.fc-task { background: var(--white); color: var(--ink); padding: 1.75rem; border-radius: var(--r-surface); }
.fc-task p { margin: 0 0 .875rem; }
.fc-task-t { font-weight: 700; }
.fc-grade { display: flex; gap: 1rem; align-items: center; background: var(--mint-tint); color: var(--mint-ink); padding: .875rem 1rem; border-radius: 14px;
  margin: 0 !important; font-size: var(--t-small); }
.fc-grade b { font-family: var(--display); font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.fc-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(1.5rem, 4vw, 4.5rem); margin: 0; }
.fc-uses div { padding: 0; }
.fc-uses dt { font-family: var(--display); font-size: var(--t-sub); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: .625rem; }
.fc-uses dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .fc-uses { grid-template-columns: 1fr; } }
.fc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .fc-two { grid-template-columns: 1fr; } }
.signin { color: var(--ink); }
.signin p { margin: .875rem 0 0; }
.signin-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.signin-notes p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .signin-notes { grid-template-columns: 1fr; } }
.doc { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 340px); justify-content: space-between; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.doc-side { position: sticky; top: 1.5rem; display: grid; gap: .75rem; }
.doc-toc h2 { font-size: var(--t-body); margin-bottom: .75rem; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.doc-toc a { display: block; padding: .5rem .75rem; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: var(--t-small);
  color: var(--ink-soft); transition: background-color .2s var(--ease), color .2s var(--ease); }
.doc-toc a:hover { background: var(--blue-tint); color: var(--blue-ink); }
.card-dark p { margin: 0 0 1rem; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc-side { position: static; } }
.si { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 760px) { .si { grid-template-columns: 1fr; } }
.screen-q h1 { font-size: var(--t-h2); }
.q-title { font-size: clamp(1.5rem, 2.4vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1.25rem; }
.grid-2 > .card + .card { margin-top: 0; }
.settings-grid { align-items: start; }
/* long titles (blog posts, job pages) step down so they stay on two lines */
.ph h1.h-long { font-size: clamp(2.125rem, 4vw, 3.75rem); max-width: 24ch; }

/* ---------------------------------------------------------------- small shared pieces */
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.fit { font-size: .8125rem; padding: .1875rem .625rem; border-radius: var(--r-pill); background: var(--blue); color: var(--white); font-weight: 600;
  font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- resume score */
.resume-page { max-width: 860px; }
.rv-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.rv-score { --c: var(--blue); position: relative; display: grid; place-items: center; align-content: center; width: 9.5rem; height: 9.5rem; border-radius: 50%;
  background: radial-gradient(closest-side, var(--white) 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), var(--blue-tint) 0); }
.rv-score.good { --c: var(--mint); }
.rv-score.low { --c: #e0782f; }
.rv-score b { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rv-score span { font-size: .8125rem; color: var(--ink-soft); }
.rv-verdict { margin: 0 0 .75rem; font-size: var(--t-sub); line-height: 1.4; font-family: var(--display); font-weight: 700; }
.rv-strengths { margin: 0 0 .75rem; padding: 0; list-style: none; display: grid; gap: .375rem; }
.rv-strengths li { position: relative; padding-left: 1.5rem; }
.rv-strengths li::before { content: ""; position: absolute; left: 2px; top: .45rem; width: 10px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.rv-h { margin: 2.5rem 0 1rem; font-size: var(--t-h2); font-weight: 800; }
.rv-fixes { list-style: none; margin: 0; padding: 0; counter-reset: fx; display: grid; gap: .75rem; }
.rv-fixes li { counter-increment: fx; position: relative; padding-left: 4rem; margin: 0 !important; }
.rv-fixes li::before { content: counter(fx); position: absolute; left: 1.25rem; top: 1.25rem; display: grid; place-items: center; width: 1.875rem; height: 1.875rem;
  border-radius: 50%; background: var(--blue); color: var(--white); font: 700 .9375rem/1 var(--display); }
.rv-fixes h3 { margin-bottom: .25rem; }
.rv-fixes p { margin: 0; color: var(--ink-soft); }
.rv-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 1rem; }
@media (max-width: 560px) { .rv-top { grid-template-columns: 1fr; justify-items: start; } }
