/* Workforce: candidate-facing careers portal.
   Layout: full-bleed dark hero with a search console, then white bands on a 1200px grid;
   search uses a filter rail + results list; job pages use content + sticky apply card. */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --line: #e2e1e7;
  --fg: #0e0d0f;
  --fg-2: #45424e;
  --muted: #6c687a;
  --accent: #2b59ff;
  --accent-soft: #e8edff;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #a15c00;
  --err: #b42318;
  --err-soft: #fdecea;
  --hero: #0e0d0f;
  --hero-fg: #f9f9fa;
  --hero-muted: #a19cae;
  --hero-line: #2a2830;
  --focus: #2b59ff;
  --logo-dot: #15803d;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1440px;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0e11; --surface: #17161a; --surface-2: #201f25; --line: #2b2931;
    --fg: #f4f4f6; --fg-2: #cfcbd8; --muted: #9a95a8;
    --accent: #8aa4ff; --accent-soft: #1b2240; --ok: #4ade80; --ok-soft: #12301d;
    --warn: #f5b454; --err: #ff8a80; --err-soft: #3a1714;
    --hero: #060507; --hero-line: #232128; --focus: #8aa4ff; --logo-dot: #22a352;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0e11; --surface: #17161a; --surface-2: #201f25; --line: #2b2931;
  --fg: #f4f4f6; --fg-2: #cfcbd8; --muted: #9a95a8;
  --accent: #8aa4ff; --accent-soft: #1b2240; --ok: #4ade80; --ok-soft: #12301d;
  --warn: #f5b454; --err: #ff8a80; --err-soft: #3a1714;
  --hero: #060507; --hero-line: #232128; --focus: #8aa4ff; --logo-dot: #22a352;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.6 var(--body); }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--hero); }
.topbar { --logo-dot: #22a352; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--hero); color: var(--hero-fg); border-bottom: 1px solid var(--hero-line); }
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
/* WeWebMedia wordmark: same font, spacing and green dot as the wewebmedia.com header */
@font-face { font-family: "WWM Logo"; font-style: normal; font-weight: 400; font-display: block; src: url("wwm-logo.woff2") format("woff2"); }
.wwm-logo { display: inline-block; font: 400 24px/24px "WWM Logo", var(--display); letter-spacing: -0.01em; white-space: nowrap; color: inherit; }
.wwm-logo-ww { letter-spacing: -0.773em; }
.wwm-logo-dot { color: var(--logo-dot); }
.brand-tenant { font: 600 13px/1 var(--body); color: var(--hero-muted); padding-left: 12px; border-left: 1px solid var(--hero-line); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 6px; color: var(--hero-muted); }
.nav a:hover, .nav a.is-current { color: var(--hero-fg); background: rgba(255,255,255,.07); }
.nav .count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--hero-fg); color: var(--hero); font: 700 10px/1 var(--mono); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--hero-line); color: var(--hero-fg); border-radius: 6px; height: 38px; padding: 0 12px; font: 600 13px var(--body); cursor: pointer; }
@media (max-width: 860px) {
  .brand-tenant { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hero); border-bottom: 1px solid var(--hero-line); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 15px; }
}

/* ---------- hero ---------- */
.hero { background: var(--hero); color: var(--hero-fg); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted); }
.hero h1 { font-size: clamp(40px, 6.6vw, 96px); line-height: 1; letter-spacing: -.04em; margin-top: 22px; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--hero-muted); }
.hero-lede { color: var(--hero-muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; margin-top: 22px; }

.console { margin-top: clamp(28px, 4vw, 44px); background: var(--bg); color: var(--fg); border-radius: 14px; padding: 8px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; max-width: 900px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.console .field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px; border-radius: 9px; background: var(--surface); min-width: 0; }
.console label { font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.console input, .console select { border: 0; background: transparent; color: var(--fg); font: 600 15px/1.4 var(--body); padding: 0; width: 100%; outline: none; }
.console .wwm-btn { align-self: stretch; min-height: 56px; }
@media (max-width: 720px) { .console { grid-template-columns: 1fr; } .console .wwm-btn { min-height: 52px; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.quick span { font-size: 12px; color: var(--hero-muted); margin-right: 4px; }
.quick button { background: rgba(255,255,255,.06); color: var(--hero-fg); border: 1px solid var(--hero-line); border-radius: 999px; padding: 7px 14px; font: 600 12px var(--body); cursor: pointer; }
.quick button:hover { background: rgba(255,255,255,.12); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hero-line); margin-top: clamp(40px, 6vw, 64px); }
.stats div { padding: 22px 20px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--hero-line); }
.stats b { display: block; font: 700 clamp(26px, 3vw, 38px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats small { display: block; color: var(--hero-muted); font-size: 12px; margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; padding-left: 0; } .stats div { padding-bottom: 18px; } }

/* ---------- sections ---------- */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band.alt { background: var(--surface); }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.band-head h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.035em; margin-top: 12px; }
.band-head p { color: var(--muted); max-width: 46ch; }

.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team { background: var(--bg); padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-height: 210px; cursor: pointer; border: 0; text-align: left; font: inherit; color: inherit; transition: background .2s ease; }
.team:hover { background: var(--surface); }
.team .n { font: 600 12px var(--mono); color: var(--muted); }
.team h3 { font-size: 22px; margin-top: auto; }
.team p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.team .go { font: 700 12px var(--body); color: var(--accent); }
@media (max-width: 980px) { .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team { min-height: 170px; } }
@media (max-width: 480px) { .teams { grid-template-columns: 1fr; } .team { min-height: 0; } .team h3 { margin-top: 6px; } }

/* job rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.row:hover h3 { color: var(--accent); }
.row h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; transition: color .2s ease; }
.row .meta { margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; margin-right: 8px; }
.row .side { display: flex; align-items: center; gap: 14px; }
.row .salary { font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; gap: 10px; } .row .side { justify-content: space-between; } }

/* hiring steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { position: relative; padding: 20px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 600 12px var(--mono); color: var(--muted); margin-bottom: 26px; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.steps li:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.steps li:last-child p, .steps li:last-child::before { color: color-mix(in srgb, var(--bg) 65%, var(--fg)); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .steps li::before { margin-bottom: 12px; } }

.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.promises div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.promises div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.promises h3 { font-size: 22px; }
.promises p { color: var(--muted); margin-top: 8px; max-width: 44ch; }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } .promises div:nth-child(even) { padding-left: 0; border-left: 0; } }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px var(--body); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 22px 0; color: var(--fg-2); }

.community { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--hero); color: var(--hero-fg); border-radius: 16px; padding: clamp(28px, 5vw, 56px); }
.community h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; }
.community p { color: var(--hero-muted); margin-top: 12px; max-width: 46ch; }
.community form { display: flex; gap: 8px; flex-wrap: wrap; }
.community input { flex: 1 1 220px; min-width: 0; height: 48px; border-radius: 6px; border: 1px solid var(--hero-line); background: rgba(255,255,255,.06); color: var(--hero-fg); padding: 0 14px; font: 500 15px var(--body); }
.community input::placeholder { color: var(--hero-muted); }
.community .note { font-size: 12px; color: var(--hero-muted); width: 100%; margin-top: 4px; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } }

/* ---------- search page ---------- */
.page-head { background: var(--hero); color: var(--hero-fg); }
.page-head .wrap { padding-block: 36px 32px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.04em; }
.page-head .console { margin-top: 22px; max-width: none; box-shadow: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--hero-muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--hero-fg); }

.search-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-block: 36px 80px; }
.filters { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px) + 20px); align-self: start; }
.filters-toggle { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 16px; }
.fgroup:first-of-type { padding-top: 0; }
.fgroup h3 { font: 700 13px var(--body); letter-spacing: 0; margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--fg); margin: 0; }
.check .c { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); }
.check.is-empty { color: var(--muted); }
.filters .clear { margin-top: 16px; }
@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .filters { position: static; }
  .filters-toggle { display: inline-flex; }
  .filters-body { display: none; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
  .filters.is-open .filters-body { display: block; }
}

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.results-bar strong { font: 700 20px var(--display); letter-spacing: -.02em; }
.results-bar select { height: 38px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); font: 600 13px var(--body); padding: 0 10px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.active-chips .wwm-chip-btn { padding: 7px 12px; }

.card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card h3 { font-size: 22px; letter-spacing: -.02em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card .desc { color: var(--fg-2); margin-top: 6px; font-size: 14px; }
.card .meta { margin-top: 12px; }
.card .foot { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.card .acts { display: flex; flex-direction: column; align-items: end; gap: 10px; }
.card .salary { font-weight: 700; font-size: 14px; white-space: nowrap; }
.new-tag { font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); background: var(--ok-soft); padding: 4px 7px; border-radius: 4px; }
.save { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 6px; height: 34px; padding: 0 10px; font: 600 12px var(--body); cursor: pointer; }
.save:hover { border-color: var(--fg); }
.save svg { width: 14px; height: 14px; }
.save[aria-pressed="true"] svg { fill: currentColor; }
@media (max-width: 640px) { .card { grid-template-columns: 1fr; } .card .acts { flex-direction: row; justify-content: space-between; align-items: center; } }

.empty { padding: 48px 0; text-align: left; max-width: 520px; }
.empty h3 { font-size: 24px; }
.empty p { color: var(--muted); margin: 8px 0 20px; }
.empty .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- job page ---------- */
.job-head .wrap { padding-block: 36px 40px; }
.job-head h1 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -.045em; max-width: 16ch; }
.job-head .summary { color: var(--hero-muted); font-size: clamp(15px, 1.5vw, 18px); max-width: 60ch; margin-top: 16px; }
.job-head .meta { color: var(--hero-muted); margin-top: 20px; }
.job-head .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.job-head .save { border-color: var(--hero-line); color: var(--hero-fg); height: 48px; padding: 0 16px; font-size: 13px; }
.job-head .save:hover { border-color: var(--hero-fg); }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 48px 80px; }
.job-body section + section { margin-top: 40px; }
.job-body h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 14px; }
.job-body ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job-body li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.job-body li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--fg); }
.job-body .nice li::before { background: transparent; border: 1.5px solid var(--muted); }
.job-body .about { color: var(--fg-2); max-width: 64ch; }
.apply-card { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px) + 20px); align-self: start; border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--bg); }
.apply-card dl { margin: 0; display: grid; gap: 0; }
.apply-card dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.apply-card dt { color: var(--muted); font-size: 12px; padding-top: 2px; }
.apply-card dd { margin: 0; font-weight: 600; }
.apply-card .wwm-btn { width: 100%; margin-top: 18px; justify-content: space-between; }
.apply-card .links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--fg); font: 600 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--accent); }
.mini-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.mini-steps li { display: flex; gap: 10px; align-items: center; }
.mini-steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.mini-steps li:first-child { color: var(--fg); font-weight: 600; }
.mini-steps li:first-child::before { background: var(--ok); border-color: var(--ok); }
@media (max-width: 980px) { .job-layout { grid-template-columns: 1fr; gap: 32px; } .apply-card { position: static; order: -1; } }

/* ---------- apply flow ---------- */
.apply-top { border-bottom: 1px solid var(--line); background: var(--bg); }
.apply-top .wrap { padding-block: 28px 0; }
.apply-top h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.035em; }
.apply-top .mono { color: var(--muted); }
.stepper { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stepper li { position: relative; padding: 0 8px 16px 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.stepper li::after { content: ""; position: absolute; left: 0; right: 8px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--line); }
.stepper li.is-done { color: var(--fg); }
.stepper li.is-done::after { background: var(--fg); }
.stepper li.is-current { color: var(--fg); }
.stepper li.is-current::after { background: var(--accent); }
.stepper .num { display: block; font: 600 11px var(--mono); color: var(--muted); margin-bottom: 4px; }
@media (max-width: 720px) { .stepper li .lbl { display: none; } .stepper li.is-current .lbl { display: inline; position: absolute; white-space: nowrap; } .stepper li { padding-bottom: 30px; } }

.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-block: 36px 80px; }
.form-panel h2 { font-size: 26px; letter-spacing: -.02em; }
.form-panel > p { color: var(--muted); margin-top: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.f label, .f legend { display: block; font: 600 13px var(--body); margin-bottom: 6px; padding: 0; }
.f .req { color: var(--err); }
.f .opt { color: var(--muted); font-weight: 500; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=url], .f select, .f textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); padding: 0 12px; font: 500 15px var(--body); }
.f textarea { height: auto; min-height: 120px; padding: 12px; line-height: 1.5; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.f.has-err input, .f.has-err select, .f.has-err textarea { border-color: var(--err); }
.f .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.f .err { font-size: 12px; color: var(--err); margin-top: 6px; font-weight: 600; }
.f fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; cursor: pointer; }
.radios input { accent-color: var(--fg); margin: 0; }
.radios label:has(input:checked) { border-color: var(--fg); background: var(--surface); }
.drop { border: 1.5px dashed var(--line); border-radius: 10px; padding: 26px; text-align: center; background: var(--surface); cursor: pointer; transition: border-color .2s ease; }
.drop:hover, .drop.is-over { border-color: var(--fg); }
.drop strong { display: block; font-size: 15px; }
.drop span { font-size: 12px; color: var(--muted); }
.file-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.file-chip .ext { font: 700 10px/1 var(--mono); padding: 6px; border-radius: 4px; background: var(--fg); color: var(--bg); }
.file-chip .nm { font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .linkbtn { margin-left: auto; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-nav .right { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.saved-note { font-size: 12px; color: var(--muted); }

.review { margin-top: 24px; display: grid; gap: 14px; }
.review section { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review h3 { font-size: 17px; }
.review dl { margin: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .review dl { grid-template-columns: 1fr; } .review dd { margin-bottom: 8px; } }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--fg-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fg); flex-shrink: 0; }

.aside-job { border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px) + 20px); align-self: start; }
.aside-job h3 { font-size: 18px; margin-top: 8px; }
.aside-job .meta { margin-top: 10px; }
.aside-job p { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 980px) { .apply-layout { grid-template-columns: 1fr; } .aside-job { display: none; } }

/* ---------- candidate home ---------- */
.done-banner { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 12px; background: var(--ok-soft); color: var(--fg); margin-bottom: 28px; }
.done-banner .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: var(--bg); display: grid; place-items: center; flex-shrink: 0; font-weight: 800; }
.done-banner h2 { font-size: 22px; }
.done-banner p { color: var(--fg-2); margin-top: 4px; }
.apps { display: grid; gap: 14px; }
.app { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.app-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app h3 { font-size: 20px; }
.status { font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); align-self: start; }
.track { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.track li { font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.track li.on { color: var(--fg); font-weight: 600; border-top-color: var(--ok); }
.app .foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); align-items: center; }
@media (max-width: 560px) { .track { grid-template-columns: 1fr; } .track li { padding-top: 6px; } }

/* ---------- footer ---------- */
.foot-main { border-top: 1px solid var(--line); padding-block: 40px; }
.foot-main .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-main .brand { color: var(--fg); }
.foot-main .brand-tenant { color: var(--muted); border-left-color: var(--line); font-weight: 500; }
.foot-main p { font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; z-index: 80; transition: opacity .2s ease, transform .2s ease; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .toast, .team, .row h3 { transition: none; } }

/* ---------- account: nav ---------- */
.nav .nav-signin { color: var(--hero-fg); border: 1px solid var(--hero-line); margin-left: 6px; }
.nav .nav-signin:hover { border-color: var(--hero-fg); }
.nav .nav-me { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-fg); }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hero-fg); color: var(--hero); font: 800 10px/1 var(--body); letter-spacing: .02em; flex-shrink: 0; }
.avatar.lg { width: 48px; height: 48px; font-size: 16px; background: var(--fg); color: var(--bg); }
.wwm-btn.wwm-btn-block { width: 100%; justify-content: space-between; min-height: 52px; }

/* ---------- account: sign in / create account ---------- */
.auth { background: var(--surface); padding-block: clamp(32px, 6vw, 72px); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.auth-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 20px 40px -28px rgba(14,13,15,.25); }
.auth-card h1 { font-size: clamp(26px, 3vw, 34px); }
.auth-card .lede { color: var(--fg-2); margin-top: 8px; font-size: 15px; }
.auth-card .stack { margin-top: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface); border-radius: 10px; margin-bottom: 26px; }
.tabs button { border: 0; background: transparent; border-radius: 7px; padding: 10px 12px; font: 700 14px var(--body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 2px rgba(14,13,15,.12); }
.stack { display: grid; gap: 16px; }
.stack .f input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); padding: 0 14px; font: 500 15px var(--body); }
.stack .f input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.stack .f input[aria-invalid="true"] { border-color: var(--err); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw { position: relative; }
.pw input { padding-right: 64px !important; }
.pw .linkbtn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); color: var(--fg); font-size: 14px; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--muted); }
.auth-side { background: var(--hero); color: var(--hero-fg); border-radius: 16px; padding: clamp(24px, 3.4vw, 44px); }
.auth-side .eyebrow { color: var(--hero-muted); }
.auth-side h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 12px; max-width: 18ch; }
.auth-side ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.auth-side li { position: relative; padding-left: 30px; color: var(--hero-muted); font-size: 15px; }
.auth-side li strong { display: block; color: var(--hero-fg); font-weight: 700; margin-bottom: 2px; }
.auth-side li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #22a352; box-shadow: inset 0 0 0 4px var(--hero); border: 1.5px solid #22a352; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } .auth-side { order: 2; } }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }

/* ---------- candidate dashboard ---------- */
.dash-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.dash-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 48px); }
.dash-head h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 10px; }
.dash-head p { color: var(--fg-2); margin-top: 8px; font-size: 16px; }
.dash-head .wwm-btn { align-self: end; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-block: 32px 80px; align-items: start; }
.dash-main { display: grid; gap: 28px; min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dash-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.dash-stats b { display: block; font: 800 30px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash-stats span { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; }
.dash-sec { display: grid; gap: 12px; }
.dash-sec h2 { font-size: 20px; letter-spacing: -.015em; }
.app-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.app-card header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.app-card h3 { font-size: 18px; letter-spacing: -.015em; }
.app-card h3 a { text-decoration: none; }
.app-card h3 a:hover { color: var(--accent); }
.app-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.app-card.is-draft header { align-items: center; }
.pill { flex-shrink: 0; font: 700 12px/1 var(--body); padding: 7px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.pill.is-good { background: var(--ok-soft); color: var(--ok); }
.pill.is-closed { background: var(--surface-2); color: var(--muted); }
.progress { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.progress li { position: relative; display: grid; justify-items: start; gap: 8px; font-size: 13px; color: var(--muted); }
.progress li::before { content: ""; position: absolute; top: 7px; left: 16px; right: 0; height: 2px; background: var(--surface-2); }
.progress li:last-child::before { display: none; }
.progress li.done::before { background: var(--ok); }
.progress .dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.progress li.done .dot { background: var(--ok); border-color: var(--ok); }
.progress li.now { color: var(--fg); font-weight: 700; }
.progress li.now .dot { border-color: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.progress li.done { color: var(--fg-2); }
.progress.is-closed { opacity: .55; }
@media (max-width: 640px) {
  .progress { grid-template-columns: 1fr; gap: 10px; }
  .progress li { grid-template-columns: 16px 1fr; align-items: center; gap: 12px; }
  .progress li::before { top: 16px; bottom: -10px; left: 7px; right: auto; width: 2px; height: auto; }
  .app-card header { flex-direction: column; }
  .dash-stats b { font-size: 24px; }
  .dash-stats div { padding: 14px; }
}
.empty-card { background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 10px; justify-items: start; }
.empty-card h3 { font-size: 18px; }
.empty-card p { color: var(--muted); }
.dash-side { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px) + 20px); }
.profile-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 18px; }
.profile-card .who { display: flex; gap: 14px; align-items: center; }
.profile-card .who strong { display: block; font-size: 16px; }
.profile-card .who span:not(.avatar) { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.profile-card dl { margin: 0; display: grid; }
.profile-card dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.profile-card dt { color: var(--muted); }
.profile-card dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.profile-card .note { color: var(--muted); font-size: 13px; }
.profile-card .f label { display: block; font: 600 13px var(--body); margin-bottom: 6px; }
.row-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
@media (max-width: 980px) { .dash { grid-template-columns: 1fr; } .dash-side { position: static; order: -1; } }
