/* The Prept Jobs board (/jobs, /job/...). Reads tokens.css only, like the home and
   extension pages; the first block is their reset, buttons and header, copied. */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
figure { margin: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: var(--fw-semibold); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--sp-4); }
@media (min-width: 40rem) { .wrap { padding-inline: var(--sp-5); } }
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: var(--fw-semibold); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.btn:hover { border-color: var(--ink-3); background: var(--sunken); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.small { min-height: 36px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-small); }
.btn.quiet { border-color: transparent; background: none; }
.btn.quiet:hover { background: var(--sunken); }

/* --------------------------------------------------------------- nav -- */
.nav { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line-soft); }
@supports (backdrop-filter: blur(1px)) { .nav { background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(12px); } }
.nav .wrap { display: flex; align-items: center; gap: var(--sp-4); height: 64px; }
.brand { font-family: var(--font-display); font-size: var(--fs-title); font-weight: var(--fw-semibold); text-decoration: none; letter-spacing: var(--ls-title); }
.nav-links { display: none; gap: var(--sp-5); margin-left: var(--sp-5); font-size: var(--fs-small); color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: var(--sp-2); align-items: center; }
.nav-links a { white-space: nowrap; }
/* nine items need 68rem; below that the header is the logo and the buttons, as on phones */
@media (min-width: 68rem) { .nav-links { display: flex; } }


/* ------------------------------------------------------------ the board -- */
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.note-line { color: var(--ink-3); font-size: var(--fs-label); }
.page-note { padding-block: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); min-height: 50vh; }
.page-note h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-note a, .count a, .thin-note a, .closed-note a, .source a, .attrib a { color: var(--accent); text-underline-offset: 3px; }

.board, .job { padding-block: var(--sp-7) var(--sp-8); }
.board > .eyebrow, .job > .eyebrow { display: block; margin-bottom: var(--sp-3); }
.board h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.06; letter-spacing: var(--ls-display); max-width: 20em; }
.count { color: var(--ink-2); margin-top: var(--sp-3); font-size: 1.0625rem; }
.thin-note { margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--ink-2); font-size: var(--fs-small); }

/* filters: plain details/links, so they work with no script */
.filters { position: relative; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-block: var(--sp-5) var(--sp-4); }
.fdrop { position: relative; }
.fdrop summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; min-width: 8.5rem; padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); position: relative; }
.fdrop summary::-webkit-details-marker { display: none; }
.fdrop summary::after { content: ""; position: absolute; right: var(--sp-3); top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); }
.fdrop[open] summary { border-color: var(--accent); }
.fdrop summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fl { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); }
.fv { font-size: var(--fs-small); font-weight: var(--fw-medium); padding-right: var(--sp-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14rem; }
.fpanel { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; min-width: 100%; width: max-content; max-width: min(22rem, 90vw); max-height: 22rem; overflow: auto; display: flex; flex-direction: column; padding: var(--sp-2); background: var(--raised); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--elev-3); }
.fdrop.wide .fpanel { width: 22rem; }
.fpanel a { text-decoration: none; padding: var(--sp-2) var(--sp-3); font-size: var(--fs-small); color: var(--ink-2); border-radius: var(--radius-sm); }
.fpanel a:hover { background: var(--sunken); color: var(--ink); }
.fpanel a[aria-current] { color: var(--accent); font-weight: var(--fw-semibold); }
.fgroup + .fgroup { margin-top: var(--sp-2); border-top: 1px solid var(--line-soft); padding-top: var(--sp-2); }
.fgroup { display: flex; flex-direction: column; }
.fh { margin: 0; }
.fh a { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink); display: block; }
.clear { font-size: var(--fs-small); color: var(--accent); text-underline-offset: 3px; margin-left: var(--sp-2); }
@media (max-width: 40rem) {
  .fdrop { position: static; flex: 1 1 calc(50% - var(--sp-2)); }
  .fdrop summary { min-width: 0; }
  .fv { max-width: 100%; }
  .fpanel, .fdrop.wide .fpanel { left: 0; right: 0; width: auto; max-width: none; top: auto; margin-top: 4px; }
}

/* rows */
.rows { list-style: none; margin: var(--sp-4) 0 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-5); align-items: baseline; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-weight: var(--fw-semibold); font-size: 1.0625rem; text-decoration: none; line-height: 1.35; }
.row-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.row-title:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.row-sub { display: flex; flex-wrap: wrap; gap: 0 var(--sp-3); color: var(--ink-2); font-size: var(--fs-small); }
.row-sub span + span::before { content: "\00b7"; margin-right: var(--sp-3); color: var(--ink-3); }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-1) var(--sp-3); font-size: var(--fs-label); color: var(--ink-3); text-align: right; }
.row-meta .m-lvl { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 var(--sp-2); }
.row-meta .m-sal { color: var(--ink-2); max-width: 18rem; }
.row-meta time { white-space: nowrap; }
@media (max-width: 40rem) {
  .row { grid-template-columns: 1fr; }
  .row-meta { justify-content: flex-start; text-align: left; }
  .row-meta .m-sal { max-width: 100%; }
}
.attrib { margin-top: var(--sp-4); font-size: var(--fs-label); color: var(--ink-3); }

/* the sign-up band after ten rows */
.band-row { list-style: none; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.signup { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); align-items: center; justify-content: space-between; padding: var(--sp-5); background: var(--surface); border: 1px solid var(--accent-line); border-radius: var(--radius-lg); box-shadow: var(--elev-2); }
.signup h2 { font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.signup p { margin-top: var(--sp-1); color: var(--ink-2); max-width: 40em; }

/* pager and related lists */
.pager { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-top: var(--sp-6); font-size: var(--fs-small); }
.pager a { text-decoration: none; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--sp-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.pager a:hover { border-color: var(--ink-3); }
.pager a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pager .gap { color: var(--ink-3); }
.related { border-top: 1px solid var(--line); padding-block: var(--sp-7); background: var(--surface); }
.rel-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.rel-col { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.rel-col h3 { font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-1); }
.rel-col a { font-size: var(--fs-small); color: var(--ink-2); text-underline-offset: 3px; }
.rel-col a:hover { color: var(--accent); }

/* the job page */
.job > * { max-width: 52rem; }
.crumb { font-size: var(--fs-small); color: var(--ink-3); margin-bottom: var(--sp-4); }
.crumb a { color: var(--ink-2); text-underline-offset: 3px; }
.job h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.08; letter-spacing: var(--ls-heading); }
.company { margin-top: var(--sp-2); font-size: 1.1875rem; color: var(--ink-2); }
.chips-row { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin-top: var(--sp-3); color: var(--ink-2); font-size: var(--fs-small); }
.chips-row span + span::before { content: "\00b7"; margin-right: var(--sp-4); color: var(--ink-3); }
.apply-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.apply-row .btn { white-space: normal; text-align: center; }
.closed-note { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-5); border: 1px solid var(--crit-line); background: var(--crit-soft); border-radius: var(--radius-lg); }
.closed-note strong { color: var(--crit); font-size: var(--fs-title); font-family: var(--font-display); font-weight: var(--fw-semibold); }
.block { margin-top: var(--sp-7); }
.block h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); margin-bottom: var(--sp-4); }
.k { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); margin: var(--sp-3) 0 var(--sp-2); }
.yrs { font-weight: var(--fw-semibold); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chips li { font-family: var(--font-mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); padding: 2px var(--sp-3); }
.chips.soft li { color: var(--ink-2); background: none; border-color: var(--line-strong); }
.desc { color: var(--ink-2); max-width: var(--measure); overflow-wrap: anywhere; }
.desc p + p { margin-top: var(--sp-4); }
.desc-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.desc.clamp { max-height: 40rem; overflow: hidden; position: relative; }
.desc.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; background: linear-gradient(to bottom, transparent, var(--ground)); pointer-events: none; }
.desc-toggle:checked ~ .desc.clamp { max-height: none; }
.desc-toggle:checked ~ .desc.clamp::after { display: none; }
.desc-more { margin-top: var(--sp-4); }
.desc-more .close-t, .desc-toggle:checked ~ .desc-more .open-t { display: none; }
.desc-toggle:checked ~ .desc-more .close-t { display: inline; }
.desc-toggle:focus-visible ~ .desc-more { box-shadow: var(--focus-ring); }
.source { margin-top: var(--sp-6); color: var(--ink-2); }
.job .rows { margin-top: 0; }

/* the Prept section (B6) */
.prept-apply h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: var(--ls-heading); max-width: 20em; }
.steps { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-6); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.step-art { width: min(100%, 15rem); margin-bottom: var(--sp-3); }
.step h3 { font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.step p { color: var(--ink-2); font-size: var(--fs-small); max-width: 26em; }
.prept-apply .cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: center; margin-top: var(--sp-6); }
.prept-apply .more { font-size: var(--fs-small); color: var(--accent); text-underline-offset: 3px; }
.phone-only { display: none; }
@media (max-width: 40rem), (hover: none) and (pointer: coarse) {
  .desk-only { display: none !important; }
  .phone-only { display: block; }
}
@media (max-width: 40rem) {
  .apply-row .btn, .prept-apply .cta-row .btn.primary { width: 100%; }
  .signup .btn { width: 100%; }
}
@media (max-width: 40rem) { .chips-row span + span::before, .row-sub span + span::before { display: none; } .row-sub { gap: 0 var(--sp-3); } .chips-row { gap: var(--sp-1) var(--sp-3); } }

/* ======================================================================
   The new homepage look ("B"). The pages pin <html data-v="b">. Tokens,
   header, footer hairline, buttons, hero, closer and card styles below are
   copied from index.html's inline CSS (scoped there under html[data-v="b"]).
   The gradient is decoration only: an <em> in a heading, a soft glow behind
   a section, a card border. Every primary button is the brand teal.
   ====================================================================== */
html[data-v="b"] { --b-violet: #7C6CFF; --b-pink: #FF4FA3; --b-coral: #FF6B57; --b-amber: #F5B942; --b-sky: #4CC3FF; --b-grad: linear-gradient(100deg, var(--accent) 0%, var(--b-violet) 55%, var(--b-pink) 100%); --b-mint: #5FBFAC; --b-cta: linear-gradient(100deg, #0B5D52 0%, #15897A 100%); --b-cta-ink: #FAFBFA; --b-cta-glow: #0B5D52; }
@media (prefers-color-scheme: dark) { html[data-v="b"]:not([data-theme="light"]) { --b-cta: linear-gradient(100deg, #5FBFAC 0%, #8ADBC9 100%); --b-cta-ink: #0F1312; --b-cta-glow: #5FBFAC; } }
html[data-v="b"][data-theme="dark"] { --b-cta: linear-gradient(100deg, #5FBFAC 0%, #8ADBC9 100%); --b-cta-ink: #0F1312; --b-cta-glow: #5FBFAC; }
@keyframes drift-a { from { transform: translateX(-70%) translateY(0) scale(1); } to { transform: translateX(-40%) translateY(4rem) scale(1.15); } }
@keyframes drift-b { from { transform: translateX(-10%) translateY(0) scale(1); } to { transform: translateX(-45%) translateY(3rem) scale(1.1); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes glow { 0%, 100% { box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--b-cta-glow) 70%, transparent), 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 50% { box-shadow: 0 18px 48px -12px color-mix(in srgb, var(--b-mint) 60%, transparent), 0 0 0 10px transparent; } }

/* header and footer, as the homepage renders them */
html[data-v="b"] .nav { border-bottom-color: transparent; }
html[data-v="b"] .nav .wrap { flex-wrap: nowrap; gap: var(--sp-3); }
html[data-v="b"] .brand { flex: none; display: inline-flex; align-items: center; gap: 8px; }
html[data-v="b"] .brand::before { content: "P"; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; padding-bottom: 2px; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 19px; line-height: 1; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 18px -10px var(--accent); transition: transform var(--dur-fast) var(--ease); }
html[data-v="b"] .brand:hover::before { transform: translateY(-1px) rotate(-4deg); }
html[data-v="b"] .nav-links { gap: var(--sp-4); margin-left: var(--sp-2); min-width: 0; }
html[data-v="b"] .nav-links a { position: relative; white-space: nowrap; padding-block: 4px; flex: none; transition: color var(--dur-fast) var(--ease); }
html[data-v="b"] .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease); }
html[data-v="b"] .nav-links a:hover::after, html[data-v="b"] .nav-links a[aria-current]::after { transform: scaleX(1); }
html[data-v="b"] .nav-cta { flex: none; gap: var(--sp-2); }
html[data-v="b"] .nav-cta .btn.small { white-space: nowrap; }
@media (min-width: 68rem) and (max-width: 76rem) { html[data-v="b"] .nav-links { gap: var(--sp-3); font-size: var(--fs-label); } }
html[data-v="b"] .pf { position: relative; border-top-color: transparent; }
html[data-v="b"] .pf::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--b-mint) 60%, transparent 100%); }
html[data-v="b"] .pf-brand .brand { color: var(--ink); }
html[data-v="b"] .pf-brand a.pf-mail { color: var(--accent); }

/* every primary button wears the brand teal gradient */
html[data-v="b"] .btn.primary { border: 0; color: var(--b-cta-ink); background: var(--b-cta); background-size: 200% 100%; box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--b-cta-glow) 60%, transparent); transition: background-position .6s var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
html[data-v="b"] .btn.primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--b-violet) 75%, transparent); }
html[data-v="b"] .btn.primary:active { transform: translateY(0); }
html[data-v="b"] .btn.primary:focus-visible { box-shadow: var(--focus-ring); }
html[data-v="b"] .btn { border-radius: var(--radius-md); }

/* hero: eyebrow, big serif H1 with a gradient <em>, soft aurora behind it */
html[data-v="b"] .hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--sp-8) var(--sp-5); }
.job-hero { padding-block: var(--sp-7) var(--sp-6); }
html[data-v="b"] .hero::before, html[data-v="b"] .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .5; }
html[data-v="b"] .hero::before { width: 44rem; height: 30rem; left: 50%; top: -14rem; transform: translateX(-70%); background: radial-gradient(closest-side, var(--accent), transparent 70%); animation: drift-a 14s ease-in-out infinite alternate; }
html[data-v="b"] .hero::after { width: 38rem; height: 28rem; left: 50%; top: -10rem; transform: translateX(-10%); background: radial-gradient(closest-side, var(--b-violet), transparent 70%); animation: drift-b 17s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { html[data-v="b"]:not([data-theme="light"]) .hero::before, html[data-v="b"]:not([data-theme="light"]) .hero::after { opacity: .36; } }
html[data-v="b"][data-theme="dark"] .hero::before, html[data-v="b"][data-theme="dark"] .hero::after { opacity: .36; }
.hero-b { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-4); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.04; letter-spacing: var(--ls-display); max-width: 16em; }
.hero-b h1 em { font-style: normal; background: var(--b-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; padding-bottom: .06em; }
.job-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: var(--ls-heading); max-width: 22em; }
.job-hero .company { color: var(--ink-2); }

.board { padding-block: var(--sp-5) var(--sp-8); }
.job { padding-block: var(--sp-6) var(--sp-7); }
.job-hero .job { padding-block: 0; }
.job-body { padding-block: 0 var(--sp-5); }
.job-hero + .job-body .block:first-child, .job-hero + .job-body .similar-first { margin-top: var(--sp-5); }
.job-hero .apply-row { margin-bottom: var(--sp-2); }

/* filters */
.fdrop summary { border-radius: var(--radius-md); transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.fdrop summary:hover { border-color: color-mix(in srgb, var(--b-violet) 50%, var(--line-strong)); }
.fpanel { border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--b-violet) 45%, transparent); }

/* rows are cards, as the homepage's proof cards */
.rows { border-top: 0; display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); }
.row { padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.row:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--b-violet) 45%, var(--line)); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--b-violet) 55%, transparent); }
.row-meta .m-lvl { border-radius: var(--radius-full); padding: 1px var(--sp-3); background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.band-row { border: 0; padding: var(--sp-3) 0; }

/* the sign-up band: the homepage's featured-plan card (gradient border, soft violet shadow) */
.signup { position: relative; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--b-grad) border-box; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--b-violet) 60%, transparent); }
.signup::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 100% 0%, color-mix(in srgb, var(--b-violet) 16%, transparent), transparent 70%); pointer-events: none; }
.signup > * { position: relative; }

/* pager, chips, closed note */
.pager a { border-radius: var(--radius-md); }
.pager a[aria-current] { background: var(--b-cta); color: var(--b-cta-ink); }
.chips li { border-radius: var(--radius-full); }
.closed-note { border-color: color-mix(in srgb, var(--b-coral) 45%, transparent); background: color-mix(in srgb, var(--b-coral) 9%, var(--surface)); }
.related { background: var(--ground); }
.thin-note { border-radius: var(--radius-lg); }
.desc.clamp::after { background: linear-gradient(to bottom, transparent, var(--ground)); }

/* "Apply with a resume made for this job" is the homepage closer */
html[data-v="b"] .closer { position: relative; overflow: hidden; isolation: isolate; margin-top: var(--sp-8); padding-block: var(--sp-9); background: var(--ground); border-block: 1px solid var(--line); }
html[data-v="b"] .closer::before, html[data-v="b"] .closer::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
html[data-v="b"] .closer::before { width: 40rem; height: 26rem; left: 50%; bottom: -12rem; transform: translateX(-80%); background: radial-gradient(closest-side, var(--b-violet), transparent 70%); animation: drift-a 16s ease-in-out infinite alternate; }
html[data-v="b"] .closer::after { width: 36rem; height: 24rem; left: 50%; bottom: -10rem; transform: translateX(0%); background: radial-gradient(closest-side, var(--accent), transparent 70%); animation: drift-b 19s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { html[data-v="b"]:not([data-theme="light"]) .closer::before, html[data-v="b"]:not([data-theme="light"]) .closer::after { opacity: .3; } }
html[data-v="b"][data-theme="dark"] .closer::before, html[data-v="b"][data-theme="dark"] .closer::after { opacity: .3; }
html[data-v="b"] .closer h2 { background: linear-gradient(100deg, var(--ink) 30%, var(--b-violet) 70%, var(--b-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.prept-apply { text-align: center; }
.prept-apply h2 { margin-inline: auto; }
.prept-apply .steps { text-align: center; }
.step { align-items: center; }
.step-art { margin-inline: auto; }
.step p { margin-inline: auto; }
.prept-apply .cta-row { justify-content: center; margin-top: var(--sp-7); }
.prept-apply .cta-row .btn { min-height: 60px; padding: var(--sp-4) var(--sp-7); font-size: 1.0625rem; }
html[data-v="b"] .prept-apply .cta-row .btn.primary { box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--b-cta-glow) 70%, transparent); animation: glow 2.6s ease-in-out infinite; }
.prept-apply .cta-row .more, .prept-apply .cta-row .phone-only { flex-basis: 100%; text-align: center; }
@media (max-width: 40rem) {
  html[data-v="b"] .hero { padding-block: var(--sp-7) var(--sp-4); }
  html[data-v="b"] .closer { padding-block: var(--sp-8); }
  .prept-apply .cta-row .btn { padding-inline: var(--sp-5); }
  .row { padding: var(--sp-4); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-v="b"] .hero::before, html[data-v="b"] .hero::after, html[data-v="b"] .closer::before, html[data-v="b"] .closer::after, .hero-b h1 em, html[data-v="b"] .prept-apply .cta-row .btn.primary { animation: none !important; }
}
/* fade the aurora out before the hero's bottom edge, so the glow has no hard line */
html[data-v="b"] .hero::before, html[data-v="b"] .hero::after { -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); }

/* search box and kind-of-work chips */
.search { display: flex; gap: var(--sp-2); width: min(100%, 38rem); margin-top: var(--sp-2); }
.search input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 var(--sp-4); font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-full); -webkit-appearance: none; appearance: none; }
.search input[type="search"]::placeholder { color: var(--ink-3); }
.search input[type="search"]:focus-visible { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.search .btn { border-radius: var(--radius-full); padding-inline: var(--sp-6); }
.searchnote { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.searchnote a { color: var(--accent); text-underline-offset: 3px; margin-left: var(--sp-2); }
.filters { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
.chiprow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--radius-full); background: var(--surface); color: var(--ink-2); font-size: var(--fs-small); text-decoration: none; transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: var(--fw-semibold); }
html[data-v="b"] .chip[aria-current] { background: var(--b-cta); border-color: transparent; color: var(--b-cta-ink); }
.chiprow.sub .chip { min-height: 32px; font-size: 13px; background: none; }
.chiprow.sub .chip[aria-current] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
html[data-v="b"] .chiprow.sub .chip[aria-current] { background: var(--accent-soft); color: var(--accent); }
.fdrops { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
@media (max-width: 40rem) { .search { flex-direction: column; } .search .btn { width: 100%; } }
