/* ==========================================================================
   PlacementDeploy — CloudFoundation
   Design system: deep navy + signal yellow, Bricolage Grotesque display
   ========================================================================== */

:root {
  --navy: #0c0d22;
  --navy-2: #13152f;
  --navy-3: #1b1d3e;
  --navy-4: #262a55;
  --ink: #12122b;
  --ink-2: #24263f;
  --muted: #666a82;
  --muted-2: #8b8fa6;
  --line: #e6e7f0;
  --line-2: #d7d9e6;
  --paper: #f6f7fb;
  --paper-2: #eef0f7;
  --white: #ffffff;
  --yellow: #ffd93d;
  --yellow-2: #f5c518;
  --yellow-soft: #fff8d6;
  --indigo: #6c63ff;
  --indigo-soft: #efedff;
  --sky: #0ea5e9;
  --mint: #10b981;
  --mint-soft: #e7fbf3;
  --coral: #ff6b6b;
  --pink: #ff6ec4;
  --orange: #f59e0b;
  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(18, 18, 43, 0.05);
  --shadow: 0 14px 40px rgba(18, 18, 43, 0.08);
  --shadow-lg: 0 30px 80px rgba(9, 10, 30, 0.22);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }
::selection { background: var(--yellow); color: var(--navy); }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hide { display: none !important; }
.hide-sm { display: initial; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.16); }
.btn-primary:hover { background: #ffe466; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.14); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-soft { background: var(--indigo-soft); color: #4f46e5; }
.btn-soft:hover { background: #e4e1ff; }
.btn-danger { background: #fff1f1; color: #c81e1e; border-color: #ffd4d4; }
.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow:hover { gap: 10px; }

/* ------------------------------- topbar --------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 13, 34, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { height: 34px; width: auto; }
.brand-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.2); }
.brand-product { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.brand-product span { color: var(--yellow); }
.mainnav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.mainnav a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: 0.15s;
  white-space: nowrap;
}
.mainnav a:hover, .mainnav a.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.mainnav a.active { color: var(--yellow); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.login-link { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.login-link:hover { color: var(--yellow); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

.usermenu { position: relative; }
.avatar-btn { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; padding: 5px 12px 5px 5px; border-radius: 999px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; }
.avatar-name { font-size: 13px; font-weight: 600; }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 232px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.16s;
}
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.menu-head strong { font-size: 13.5px; }
.menu-head span { font-size: 12px; color: var(--muted); }
.menu a, .menu button {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500;
}
.menu a:hover, .menu button:hover { background: var(--paper); }
.menu button[data-logout] { color: #c81e1e; border-top: 1px solid var(--line); margin-top: 5px; border-radius: 0 0 9px 9px; }

/* -------------------------------- hero ---------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 70px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 82% 10%, rgba(108, 99, 255, 0.35), transparent 65%),
    radial-gradient(600px 400px at 8% 90%, rgba(255, 217, 61, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}
.hero > .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--indigo); }
.hero-title { font-size: clamp(40px, 5.3vw, 68px); line-height: 1.01; margin: 18px 0 20px; letter-spacing: -0.045em; }
.hero-title .mark { position: relative; color: var(--yellow); white-space: nowrap; }
.hero-title .mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px;
  background: rgba(255, 217, 61, 0.22); z-index: -1; border-radius: 4px;
}
.hero-sub { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 12px; font-weight: 600; color: #9ff0cf;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }

.searchbar {
  display: flex; align-items: center; gap: 10px; margin-top: 30px;
  background: #fff; border-radius: 16px; padding: 8px 8px 8px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 620px;
}
.searchbar svg { flex: 0 0 auto; color: var(--muted); }
.searchbar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none;
  font-size: 14.5px; padding: 10px 0; color: var(--ink);
}
.searchbar input::placeholder { color: #9a9db0; }
.searchbar .btn { padding: 12px 18px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-chips a, .quick-chips button {
  font-size: 12px; color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04);
  padding: 6px 11px; border-radius: 999px; transition: 0.15s;
}
.quick-chips a:hover, .quick-chips button:hover { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 25px; letter-spacing: -0.03em; }
.hero-stats span { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; }

.hero-visual { position: relative; min-height: 0; }
.float-card {
  background: #fff; color: var(--ink); border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.match-card { position: relative; z-index: 2; padding: 22px; width: 100%; max-width: 410px; margin-left: auto; }
.match-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.match-card-top span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); }
.match-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); font-weight: 600; }
.match-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.match-job { display: flex; gap: 12px; align-items: flex-start; }
.match-job .logo { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.match-job h3 { font-size: 17px; line-height: 1.2; }
.match-job p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.match-score { margin-left: auto; flex: 0 0 auto; }
.match-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.match-rows { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.match-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.match-row .bar { flex: 1; height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.match-row .bar i { display: block; height: 100%; border-radius: 999px; background: var(--indigo); }
.match-row b { width: 34px; text-align: right; font-size: 11px; color: var(--muted); font-weight: 600; }
.match-why { margin-top: 15px; background: var(--paper); border-radius: 11px; padding: 11px 13px; font-size: 11.8px; color: var(--muted); line-height: 1.5; }
.match-why strong { color: var(--ink); }
.match-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.match-proof b { display: block; font-size: 11.5px; letter-spacing: -0.01em; }
.match-proof span { font-size: 9.5px; color: var(--muted); }
.float-mini { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.float-mini b { display: block; font-size: 12.5px; line-height: 1.2; }
.float-mini span { font-size: 10.5px; color: var(--muted); }
.float-mini .mini-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.float-offer { left: 2px; bottom: 8px; animation: float 7s ease-in-out infinite; }
.float-pledge { right: 2px; bottom: 8px; animation: float 8s ease-in-out infinite reverse; }
.float-pledge .mini-icon { background: var(--yellow-soft); color: #a16207; }
.float-offer .mini-icon { background: var(--mint-soft); color: #047857; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------------- ring --------------------------------- */

.ring-wrap { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-wrap .ring-track { stroke: #eceef6; }
.ring-wrap .ring-value { stroke: var(--mint); stroke-linecap: round; transition: stroke-dashoffset 0.8s ease; }
.ring-text { position: absolute; text-align: center; line-height: 1; }
.ring-text b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.04em; }
.ring-text span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 3px; }
.ring-sm .ring-text b { font-size: 14px; }
.ring-sm .ring-text span { display: none; }
.ring-lg .ring-text b { font-size: 34px; }
.ring-lg .ring-text span { font-size: 9px; }

/* -------------------------------- chips --------------------------------- */

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; line-height: 1;
  padding: 6px 9px; border-radius: 7px;
  background: var(--paper); color: #4d5068;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip.yellow { background: var(--yellow-soft); border-color: #f6e8a4; color: #8a6410; }
.chip.green { background: var(--mint-soft); border-color: #c9f2df; color: #047857; }
.chip.indigo { background: var(--indigo-soft); border-color: #ddd9ff; color: #4f46e5; }
.chip.red { background: #fff1f1; border-color: #ffd9d9; color: #b91c1c; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); flex: 0 0 auto; }

/* ------------------------------- sections ------------------------------- */

.section { padding: 74px 0; }
.section.tight { padding: 48px 0; }
.section.paper { background: var(--paper); }
.section.white { background: #fff; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 14px; letter-spacing: -0.04em; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 30px; }
.section-head.split .section-head-copy { max-width: 660px; }
.section-head.split .link-arrow { margin-bottom: 6px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ------------------------------- job cards ------------------------------ */

.job-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: 0.18s; position: relative;
}
.job-card:hover { border-color: #c9cbe0; box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card.is-saved { border-color: #f3d97a; }
.job-top { display: flex; gap: 13px; align-items: flex-start; }
.logo {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 14px; font-weight: 800; letter-spacing: -0.03em;
  background: var(--navy); color: var(--yellow);
}
.logo.lg { width: 58px; height: 58px; border-radius: 15px; font-size: 17px; }
.job-title { font-size: 16.5px; line-height: 1.28; letter-spacing: -0.02em; }
.job-title a:hover { color: var(--indigo); }
.job-company { font-size: 12.8px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.job-company .sep { width: 3px; height: 3px; background: var(--line-2); border-radius: 50%; }
.job-salary { margin-left: auto; text-align: right; flex: 0 0 auto; }
.job-salary b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.job-salary span { font-size: 10.5px; color: var(--muted); }
.save-btn { border: 1px solid var(--line); background: #fff; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); flex: 0 0 auto; }
.save-btn:hover { border-color: var(--yellow-2); color: var(--navy); background: var(--yellow-soft); }
.save-btn.saved { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 14px; font-size: 11.8px; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-meta .salary-meta { color: var(--ink); font-weight: 700; font-size: 12.5px; letter-spacing: -0.01em; }
.job-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.job-foot { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding-top: 14px; border-top: 1px dashed var(--line); }
.job-foot .posted { font-size: 11px; color: var(--muted-2); }
.match-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 750; padding: 5px 9px; border-radius: 8px; background: var(--mint-soft); color: #047857; }
.match-pill.mid { background: #eef4ff; color: #1d4ed8; }
.match-pill.low { background: var(--yellow-soft); color: #8a6410; }
.job-card .seed-note { position: absolute; top: 0; right: 0; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #a3a6b8; background: var(--paper); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3px 7px; border-radius: 0 19px 0 8px; }

/* ------------------------------ track cards ----------------------------- */

.track-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 22px;
  background: #fff; border: 1px solid var(--line);
  transition: 0.18s;
}
.track-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--track-color, var(--indigo)); }
.track-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.track-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.track-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--track-bg, var(--indigo-soft)); color: var(--track-color, var(--indigo)); font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.track-count { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.track-card h3 { font-size: 18px; }
.track-card p { font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 38px; }
.track-roles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }

/* -------------------------------- pledge -------------------------------- */

.pledge-wrap { background: var(--navy); color: #fff; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 0.92fr 1.08fr; position: relative; }
.pledge-wrap::before { content: ""; position: absolute; width: 500px; height: 500px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(108, 99, 255, 0.35), transparent 70%); }
.pledge-copy { padding: 52px; position: relative; z-index: 1; }
.pledge-copy h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 16px 0 16px; }
.pledge-copy p { color: rgba(255, 255, 255, 0.68); font-size: 15.5px; }
.pledge-copy .pledge-points { margin-top: 26px; display: grid; gap: 11px; }
.pledge-copy .pledge-points div { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.pledge-copy .pledge-points svg { flex: 0 0 auto; color: var(--yellow); margin-top: 2px; }
.pledge-panel { background: #fff; color: var(--ink); margin: 20px 20px 20px 0; border-radius: 20px; padding: 30px; position: relative; z-index: 1; }
.pledge-panel .pledge-progress { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pledge-panel .pledge-progress b { display: block; font-family: var(--font-display); font-size: 15px; }
.pledge-panel .pledge-progress span { font-size: 11.5px; color: var(--muted); }
.pledge-items { display: grid; gap: 4px; }
.pledge-item { display: flex; gap: 11px; align-items: flex-start; padding: 9px 8px; border-radius: 9px; }
.pledge-item:hover { background: var(--paper); }
.check { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px; color: #fff; }
.check.done { background: var(--mint); border-color: var(--mint); }
.pledge-item b { font-size: 12.8px; font-weight: 600; display: block; }
.pledge-item span { font-size: 10.8px; color: var(--muted); }
.pledge-note { margin-top: 15px; font-size: 10.5px; color: var(--muted); display: flex; gap: 7px; align-items: center; }

/* ------------------------------ ecosystem ------------------------------- */

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; transition: 0.18s; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.app-card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.app-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: #fff; flex: 0 0 auto; }
.app-card h3 { font-size: 15px; }
.app-card .tag { font-size: 9.5px; letter-spacing: 0.07em; }
.app-card p { font-size: 12.2px; color: var(--muted); line-height: 1.5; flex: 1; }
.app-card .app-link { margin-top: 14px; font-size: 11.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.app-card .app-link:hover { color: var(--indigo); }

/* ------------------------------ cta bands -------------------------------- */

.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 26px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 20%, rgba(255, 217, 61, 0.16), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); max-width: 600px; }
.cta-band p { color: rgba(255, 255, 255, 0.65); margin-top: 10px; max-width: 560px; font-size: 14.5px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }

/* -------------------------------- footer -------------------------------- */

.footer { background: #08091a; color: rgba(255, 255, 255, 0.62); padding: 56px 0 26px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 46px; }
.footer h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 15px; }
.footer a { display: block; font-size: 13px; padding: 4px 0; color: rgba(255, 255, 255, 0.65); }
.footer a:hover { color: var(--yellow); }
.footer-brand img { height: 40px; width: auto; }
.footer-tag { font-size: 12.8px; line-height: 1.6; margin-top: 16px; max-width: 300px; color: rgba(255, 255, 255, 0.48); }
.footer-contact { margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 42px; padding-top: 20px; font-size: 10.5px; color: rgba(255, 255, 255, 0.34); }

/* ----------------------------- landing extras ---------------------------- */

.logo-strip { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.logo-strip span { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.logo-strip b { font-family: var(--font-display); font-size: 15px; color: #9a9db0; letter-spacing: -0.02em; }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.problem-num { font-family: var(--font-display); font-size: 11px; font-weight: 800; color: var(--indigo); letter-spacing: 0.1em; }
.problem-card h3 { font-size: 19px; margin: 14px 0 9px; }
.problem-card p { font-size: 12.8px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.step { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 16px; margin-bottom: 7px; }
.step p { font-size: 12px; color: var(--muted); }
.employer-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.employer-title { font-size: clamp(28px, 3.3vw, 40px); margin: 14px 0 14px; }
.employer-sub { font-size: 14.5px; color: var(--muted); }
.employer-points { display: grid; gap: 14px; margin-top: 24px; }
.employer-points b { display: block; font-size: 13.5px; }
.employer-points span { font-size: 11.8px; color: var(--muted); }
.employer-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.employer-form h3 { font-size: 21px; }
.employer-form > p { font-size: 11.8px; color: var(--muted); margin: 5px 0 18px; }
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 17px 0; font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: 12.8px; color: var(--muted); padding: 0 0 18px; max-width: 690px; }

/* ------------------------------- page hero ------------------------------- */

.page-hero { background: var(--navy); color: #fff; padding: 38px 0 34px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 80% 0%, rgba(108, 99, 255, 0.28), transparent 70%); }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.62); font-size: 14.5px; max-width: 640px; }
.page-hero .searchbar { margin-top: 22px; max-width: 760px; }
.breadcrumb { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); display: flex; gap: 7px; align-items: center; }
.breadcrumb a:hover { color: var(--yellow); }

/* ------------------------------- job search ------------------------------ */

.jobs-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 26px; align-items: start; padding: 34px 0 60px; }
.filter-panel { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - 110px); overflow: auto; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filter-head h3 { font-size: 15px; }
.filter-head button { font-size: 11px; color: var(--muted); background: none; border: 0; font-weight: 600; }
.filter-group { padding: 15px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border: 0; padding-bottom: 0; }
.filter-group h4 { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 12.8px; color: #3f4259; cursor: pointer; }
.check-row input { appearance: none; width: 15px; height: 15px; border: 1.5px solid var(--line-2); border-radius: 4px; margin: 0; flex: 0 0 auto; position: relative; }
.check-row input:checked { background: var(--navy); border-color: var(--navy); }
.check-row input:checked::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--yellow); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-row .count { margin-left: auto; font-size: 10.5px; color: var(--muted-2); }
.filter-actions { display: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results-head h2 { font-size: 20px; }
.results-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.results-freshness { font-size: 11.5px !important; color: var(--muted) !important; opacity: .85; }
.results-tools { display: flex; align-items: center; gap: 8px; }
.select {
  appearance: none; border: 1px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 9px; padding: 9px 30px 9px 12px; font-size: 12.5px; font-weight: 500;
}
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters .chip { background: var(--indigo-soft); border-color: #ddd9ff; color: #4f46e5; }
.active-filters .chip button { border: 0; background: none; color: inherit; padding: 0; font-size: 13px; line-height: 1; }
.job-list { display: grid; gap: 12px; }
.job-list .job-card { padding: 20px 22px; }
.job-list .job-title { font-size: 17.5px; }
.job-list .job-foot { margin-top: 14px; }
.empty-state { background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 60px 24px; text-align: center; }
.empty-state .empty-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow-soft); display: grid; place-items: center; margin: 0 auto 16px; font-size: 22px; }
.empty-state h3 { font-size: 19px; margin-bottom: 7px; }
.empty-state p { font-size: 13px; color: var(--muted); max-width: 380px; margin: 0 auto 18px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.pagination button { min-width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; }
.pagination button.active { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.pagination button:disabled { opacity: 0.4; }

/* ------------------------------- job detail ------------------------------ */

.job-detail { padding: 30px 0 70px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.detail-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-head h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; margin: 4px 0 8px; }
.detail-head .job-company { font-size: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-meta .chip { padding: 7px 10px; font-size: 11.5px; }
.detail-salary { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.detail-salary span { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose { font-size: 14px; color: #3c3f57; padding-top: 24px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 18px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); }
.prose .sample-note { background: var(--paper); border-left: 3px solid var(--yellow-2); padding: 12px 14px; border-radius: 0 9px 9px 0; font-size: 11.5px; color: var(--muted); margin-top: 24px; }
.detail-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 14.5px; margin-bottom: 12px; }
.match-big { display: flex; align-items: center; gap: 16px; }
.match-big .match-copy b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.match-big .match-copy span { font-size: 11.5px; color: var(--muted); }
.breakdown { margin-top: 16px; display: grid; gap: 8px; }
.breakdown-row { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--muted); }
.breakdown-row span { width: 62px; flex: 0 0 auto; }
.breakdown-row .bar { flex: 1; height: 5px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.breakdown-row .bar i { display: block; height: 100%; background: var(--indigo); border-radius: 999px; }
.breakdown-row b { width: 27px; text-align: right; color: var(--ink); font-size: 9.5px; }
.side-actions { display: grid; gap: 8px; margin-top: 16px; }
.side-note { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.gap-list { display: grid; gap: 8px; margin-top: 6px; }
.gap-item { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.gap-item .dot { background: var(--orange); }
.cross-card { background: linear-gradient(135deg, #12122b, #23265a); color: #fff; border: 0; }
.cross-card h3 { color: #fff; }
.cross-card p { font-size: 11.8px; color: rgba(255, 255, 255, 0.6); }
.cross-card .btn { background: var(--yellow); color: var(--navy); }
.similar-section { margin-top: 26px; }
.similar-section h2 { font-size: 22px; margin-bottom: 16px; }
.mobile-apply-bar { display: none; }

/* -------------------------------- forms --------------------------------- */

.field { display: grid; gap: 6px; }
.field label { font-size: 11.5px; font-weight: 650; color: #4b4e66; letter-spacing: 0.01em; }
.field .hint { font-size: 10.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; outline: none; transition: 0.15s;
}
.input::placeholder, .textarea::placeholder { color: #9a9db0; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.form-error { background: #fff1f1; border: 1px solid #ffd4d4; color: #b91c1c; padding: 10px 12px; border-radius: 9px; font-size: 12px; }
.form-success { background: var(--mint-soft); border: 1px solid #c9f2df; color: #047857; padding: 10px 12px; border-radius: 9px; font-size: 12px; }

/* ------------------------------- fit scan -------------------------------- */

.scan-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; padding: 40px 0 70px; align-items: start; }
.scan-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.scan-card h2 { font-size: 24px; margin-bottom: 6px; }
.scan-card .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.dropzone {
  border: 1.5px dashed #c9cbe0; border-radius: 16px; padding: 34px 20px; text-align: center;
  background: var(--paper); transition: 0.18s; cursor: pointer;
}
.dropzone:hover, .dropzone.dragging { border-color: var(--indigo); background: var(--indigo-soft); }
.dropzone .dz-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 12px; color: var(--indigo); }
.dropzone b { display: block; font-size: 14px; }
.dropzone span { font-size: 11.5px; color: var(--muted); }
.dropzone input { display: none; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); }
.or-divider::before, .or-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.scan-benefits { display: grid; gap: 12px; margin-top: 26px; }
.scan-benefit { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }
.scan-benefit .num { width: 24px; height: 24px; border-radius: 7px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex: 0 0 auto; }
.scan-benefit b { font-size: 12.8px; display: block; }
.scan-benefit span { font-size: 11.2px; color: var(--muted); }
.scan-side { background: var(--navy); color: #fff; border-radius: 22px; padding: 30px; position: relative; overflow: hidden; }
.scan-side::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -160px; background: radial-gradient(circle, rgba(108, 99, 255, 0.45), transparent 70%); }
.scan-side > * { position: relative; }
.scan-side h3 { font-size: 22px; margin-bottom: 8px; }
.scan-side p { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
.scan-preview { margin-top: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px; }
.scan-preview .preview-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.scan-preview .preview-head b { font-size: 13px; display: block; }
.scan-preview .preview-head span { font-size: 10.5px; color: rgba(255, 255, 255, 0.5); }
.scan-preview .ring-track { stroke: rgba(255, 255, 255, 0.12); }
.scan-preview .ring-text b { color: #fff; }
.scan-preview .ring-text span { color: rgba(255, 255, 255, 0.45); }
.scan-preview .preview-job { display: flex; align-items: center; gap: 9px; padding-top: 12px; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.scan-preview .preview-job .dot { background: var(--yellow); }
.scan-result { display: grid; gap: 18px; }
.result-hero { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; gap: 24px; align-items: center; }
.result-hero .result-copy { flex: 1; }
.result-hero h2 { font-size: 25px; margin-bottom: 6px; }
.result-hero p { font-size: 12.5px; color: var(--muted); }
.result-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gate { background: linear-gradient(135deg, #12122b, #24275a); color: #fff; border-radius: 20px; padding: 26px; display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.gate h3 { font-size: 19px; margin-bottom: 6px; }
.gate p { font-size: 12px; color: rgba(255, 255, 255, 0.62); max-width: 520px; }
.gate .btn { flex: 0 0 auto; }
.locked-matches { position: relative; }
.locked-matches .job-card:nth-child(n+2) { filter: blur(3px); opacity: 0.6; pointer-events: none; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.plan-card .week { font-size: 9.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--indigo); }
.plan-card h4 { font-size: 14px; margin: 6px 0 10px; }
.plan-card li { font-size: 11.5px; color: var(--muted); margin-left: 15px; margin-bottom: 5px; }
.plan-card .tool-link { margin-top: 10px; font-size: 10.5px; font-weight: 700; color: var(--indigo); }

/* --------------------------------- auth ---------------------------------- */

.auth { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-art { background: var(--navy); color: #fff; padding: 64px 56px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 500px at 20% 10%, rgba(108, 99, 255, 0.35), transparent 70%), radial-gradient(400px 300px at 90% 90%, rgba(255, 217, 61, 0.12), transparent 70%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, auto, 50px 50px, 50px 50px; }
.auth-art > * { position: relative; }
.auth-art h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 18px 0 14px; }
.auth-art p { color: rgba(255, 255, 255, 0.62); font-size: 14.5px; max-width: 420px; }
.auth-art .auth-quote { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 20px; margin-top: 30px; max-width: 430px; }
.auth-art .auth-quote p { font-size: 13px; color: rgba(255, 255, 255, 0.8); font-style: italic; }
.auth-art .auth-quote span { display: block; margin-top: 10px; font-size: 10.5px; color: rgba(255, 255, 255, 0.42); font-style: normal; }
.auth-art .auth-stats { display: flex; gap: 30px; margin-top: 34px; }
.auth-art .auth-stats b { display: block; font-family: var(--font-display); font-size: 24px; }
.auth-art .auth-stats span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.45); }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 30px; }
.auth-form { width: 100%; max-width: 410px; }
.auth-form h1 { font-size: 32px; margin-bottom: 6px; }
.auth-form .sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.auth-form .field { margin-bottom: 14px; }
.auth-form .btn { margin-top: 8px; }
.auth-alt { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 20px; }
.auth-alt a { color: var(--ink); font-weight: 650; border-bottom: 1px solid var(--yellow-2); }
.demo-box { margin-top: 24px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: 12px; padding: 13px 15px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.demo-box b { color: var(--ink); }
.demo-box code { background: #fff; border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; font-size: 10.5px; }

/* ------------------------------ app layout ------------------------------- */

.app-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; padding: 30px 0 70px; align-items: start; }
.side-nav { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.side-user { display: flex; gap: 11px; align-items: center; padding: 8px 9px 15px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.side-user .avatar { width: 36px; height: 36px; background: var(--navy); color: var(--yellow); font-size: 12px; }
.side-user b { display: block; font-size: 12.5px; line-height: 1.3; }
.side-user span { font-size: 10px; color: var(--muted); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: #4b4e66; }
.side-link:hover { background: var(--paper); color: var(--ink); }
.side-link.active { background: var(--navy); color: #fff; }
.side-link.active .side-ico { color: var(--yellow); }
.side-link .side-ico { width: 17px; height: 17px; display: grid; place-items: center; color: var(--muted); }
.side-link .side-badge { margin-left: auto; font-size: 9.5px; font-weight: 700; background: var(--yellow); color: var(--navy); padding: 2px 6px; border-radius: 999px; }
.side-sep { height: 1px; background: var(--line); margin: 10px 6px; }
.side-cta { margin-top: 12px; background: var(--paper); border-radius: 11px; padding: 13px; }
.side-cta b { font-size: 11.5px; display: block; }
.side-cta p { font-size: 10px; color: var(--muted); margin: 4px 0 9px; }
.side-cta .btn { font-size: 10.5px; padding: 7px 10px; }
.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.content-head h1 { font-size: clamp(25px, 3vw, 34px); }
.content-head p { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.content-head .head-actions { display: flex; gap: 8px; }

.welcome-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; display: flex; align-items: center; gap: 28px; position: relative; overflow: hidden; margin-bottom: 18px; }
.welcome-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(108, 99, 255, 0.4), transparent 70%); }
.welcome-card > * { position: relative; }
.welcome-copy { flex: 1; }
.welcome-copy .eyebrow { font-size: 9.5px; }
.welcome-copy h2 { font-size: clamp(23px, 2.6vw, 31px); margin: 8px 0 7px; }
.welcome-copy p { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); max-width: 460px; }
.welcome-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.welcome-stats { display: flex; gap: 26px; flex: 0 0 auto; }
.welcome-stats b { display: block; font-family: var(--font-display); font-size: 24px; }
.welcome-stats span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255, 255, 255, 0.45); }
.welcome-card .ring-track { stroke: rgba(255, 255, 255, 0.13); }
.welcome-card .ring-text b { color: #fff; }
.welcome-card .ring-text span { color: rgba(255, 255, 255, 0.45); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.kpi span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 650; }
.kpi b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.04em; margin-top: 4px; }
.kpi small { font-size: 10px; color: var(--muted); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.panel-head h3 { font-size: 16px; }
.panel-head a { font-size: 10.5px; font-weight: 650; color: var(--indigo); }
.panel-head .panel-sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

.pledge-track { display: grid; gap: 2px; }
.pledge-track .pt-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; }
.pledge-track .pt-item:hover { background: var(--paper); }
.pt-item .pt-copy { flex: 1; }
.pt-item b { font-size: 11.8px; font-weight: 600; display: block; }
.pt-item span { font-size: 10px; color: var(--muted); }
.pt-item .pt-due { font-size: 9px; color: var(--muted-2); white-space: nowrap; }
.progress { height: 7px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--mint); border-radius: 999px; transition: width 0.5s; }
.progress.yellow i { background: var(--yellow-2); }
.progress.indigo i { background: var(--indigo); }

.list-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border: 0; }
.list-row .logo { width: 36px; height: 36px; border-radius: 9px; font-size: 11px; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row b { font-size: 12.2px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row span { font-size: 10.2px; color: var(--muted); }
.list-row .lr-side { text-align: right; flex: 0 0 auto; }
.list-row .lr-side b { font-size: 12px; }
.list-row .lr-side span { font-size: 9.5px; }

.cross-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cross-item { border: 1px solid var(--line); border-radius: 12px; padding: 13px; display: flex; gap: 10px; align-items: flex-start; transition: 0.15s; }
.cross-item:hover { border-color: var(--line-2); background: var(--paper); }
.cross-item .app-icon { width: 30px; height: 30px; border-radius: 8px; font-size: 10px; }
.cross-item b { font-size: 11.5px; display: block; }
.cross-item span { font-size: 9.8px; color: var(--muted); line-height: 1.4; }

/* ------------------------------- dashboard ------------------------------- */

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr); gap: 16px; align-items: start; }
.dash-col { display: grid; gap: 16px; min-width: 0; }
.banner { display: flex; align-items: center; gap: 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 13px 16px; margin-bottom: 16px; }
.banner .banner-icon { width: 32px; height: 32px; border-radius: 9px; background: #fef3c7; display: grid; place-items: center; color: #92400e; flex: 0 0 auto; }
.banner b { font-size: 12.5px; display: block; }
.banner span { font-size: 11px; color: #92400e; }
.banner .btn { margin-left: auto; flex: 0 0 auto; }
.match-row-card { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 8px; background: #fff; transition: 0.16s; }
.match-row-card:last-child { margin-bottom: 0; }
.match-row-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.match-row-card b { display: block; font-size: 13px; line-height: 1.3; }
.match-row-card span { display: block; font-size: 10.3px; color: var(--muted); }
.market-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.market-row:last-child { border: 0; }
.market-row .city { width: 92px; color: var(--muted); }
.market-row .bar { flex: 1; height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.market-row .bar i { display: block; height: 100%; background: var(--indigo); border-radius: 999px; }
.market-row b { width: 26px; text-align: right; font-size: 10px; }
.stat-inline { display: flex; gap: 22px; margin-top: 14px; }
.stat-inline b { font-family: var(--font-display); font-size: 20px; display: block; }
.stat-inline span { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

/* -------------------------------- profile -------------------------------- */

.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 14px; }
.form-section h3 { font-size: 16px; margin-bottom: 4px; }
.form-section .section-sub { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }
.chip-input { display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px; background: #fff; }
.chip-input .skill-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--indigo-soft); color: #4f46e5; border-radius: 6px; padding: 4px 7px; font-size: 11px; font-weight: 600; }
.chip-input .skill-tag button { border: 0; background: none; color: inherit; padding: 0; font-size: 12px; line-height: 1; }
.chip-input input { flex: 1; min-width: 140px; border: 0; outline: none; padding: 4px; font-size: 12.5px; background: transparent; }
.completeness-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 22px; }
.completeness-card h3 { font-size: 15px; }
.completeness-card .comp-row { display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(255, 255, 255, 0.55); margin-top: 14px; }
.completeness-card .progress { background: rgba(255, 255, 255, 0.12); margin-top: 6px; }
.completeness-card .comp-actions { display: grid; gap: 7px; margin-top: 18px; }
.completeness-card .comp-actions a { font-size: 11.5px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 8px 10px; display: flex; justify-content: space-between; }
.completeness-card .comp-actions a:hover { background: rgba(255, 255, 255, 0.12); }
.resume-box { background: var(--paper); border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.resume-box .file-icon { width: 38px; height: 42px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--coral); }
.resume-box b { font-size: 11.5px; display: block; }
.resume-box span { font-size: 10px; color: var(--muted); }

/* ------------------------------ applications ----------------------------- */

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: none; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--yellow-2); }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 18px; margin-bottom: 10px; }
.app-top { display: flex; gap: 12px; align-items: flex-start; }
.app-top .job-title { font-size: 14.5px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.timeline { display: flex; gap: 0; margin-top: 15px; padding-top: 14px; border-top: 1px dashed var(--line); overflow-x: auto; }
.tl-step { flex: 1; min-width: 74px; position: relative; font-size: 9px; color: var(--muted-2); padding-top: 12px; }
.tl-step::before { content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.tl-step::after { content: ""; position: absolute; top: 3.5px; left: 10px; right: 0; height: 1.5px; background: var(--line); }
.tl-step:last-child::after { display: none; }
.tl-step.done { color: var(--ink); font-weight: 600; }
.tl-step.done::before { background: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.tl-step.done::after { background: var(--mint); }
.next-action { margin-top: 12px; background: var(--yellow-soft); border: 1px solid #f6e8a4; border-radius: 9px; padding: 9px 11px; font-size: 10.5px; color: #7a5a10; display: flex; gap: 7px; align-items: center; }

/* ------------------------------ employer/admin --------------------------- */

.stat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.stat-strip .kpi b { font-size: 22px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 12px; }
table.data th { text-align: left; padding: 11px 14px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; background: #fff; position: sticky; top: 0; }
table.data td { padding: 11px 14px; border-bottom: 1px solid #f1f2f8; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fbfbfe; }
table.data b { font-size: 11.8px; }
.table-person { display: flex; gap: 9px; align-items: center; }
.table-person .avatar { width: 28px; height: 28px; font-size: 9px; }
.table-actions { display: flex; gap: 6px; }
.mini-select { border: 1px solid var(--line); border-radius: 7px; padding: 5px 24px 5px 8px; font-size: 10.5px; background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; }
.admin-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.admin-side { background: var(--navy); color: #fff; padding: 22px 14px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; display: flex; flex-direction: column; }
.admin-side .admin-brand { padding: 0 10px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 12px; }
.admin-side .admin-brand b { font-family: var(--font-display); font-size: 15px; display: block; }
.admin-side .admin-brand span { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.admin-side button { display: flex; width: 100%; align-items: center; gap: 10px; background: none; border: 0; color: rgba(255, 255, 255, 0.62); padding: 9px 10px; border-radius: 8px; font-size: 12px; text-align: left; }
.admin-side button:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-side button.active { background: rgba(255, 255, 255, 0.1); color: var(--yellow); }
.admin-side .side-count { margin-left: auto; font-size: 9px; background: rgba(255, 255, 255, 0.12); padding: 1px 6px; border-radius: 999px; }
.admin-main { padding: 28px 30px 60px; min-width: 0; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-head h1 { font-size: 28px; }
.admin-head p { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 10px; }
.chart-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: flex-end; height: 100%; }
.chart-bar i { width: 100%; max-width: 34px; background: var(--indigo); border-radius: 4px 4px 0 0; min-height: 3px; opacity: 0.85; }
.chart-bar span { font-size: 8.5px; color: var(--muted); }
.chart-bar b { font-size: 8.5px; color: var(--ink); }
.chart-pair { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; height: 100%; }
.chart-pair i { width: 9px; border-radius: 3px 3px 0 0; min-height: 3px; display: block; }
.chart-legend { display: flex; gap: 14px; font-size: 9px; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.funnel-row { display: grid; grid-template-columns: 92px 1fr 34px; gap: 9px; align-items: center; font-size: 10.5px; color: var(--muted); padding: 5px 0; }
.funnel-row .bar { height: 9px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.funnel-row .bar i { display: block; height: 100%; border-radius: 999px; background: var(--indigo); }
.funnel-row b { text-align: right; font-size: 10px; color: var(--ink); }
.pending-card { border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; margin-bottom: 8px; }
.pending-card b { font-size: 11.5px; display: block; }
.pending-card span { font-size: 9.5px; color: var(--muted); }
.pending-card .flex { margin-top: 8px; }
.source-row .src-main { flex: 1; min-width: 0; }
.source-row b { font-size: 11.5px; display: block; }
.source-row span { font-size: 9.5px; color: var(--muted); display: block; }
.source-row .src-actions { display: flex; gap: 5px; flex: 0 0 auto; }
.bar-list { display: grid; gap: 9px; }
.bar-list-row { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 10px; font-size: 10.5px; color: var(--muted); }
.bar-list-row .bar { height: 7px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar-list-row .bar i { display: block; height: 100%; background: var(--indigo); border-radius: 999px; }
.bar-list-row b { text-align: right; color: var(--ink); font-size: 10px; }
.source-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.source-row:last-child { border: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.status-dot.ok { background: var(--mint); }
.status-dot.error { background: var(--coral); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 11, 28, 0.55); z-index: 80; opacity: 0; visibility: hidden; transition: 0.2s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: 440px; max-width: 92vw; background: #fff; z-index: 81; transform: translateX(100%); transition: 0.25s; padding: 26px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,0.2); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.drawer-head h3 { font-size: 20px; }
.drawer-close { border: 0; background: var(--paper); width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.admin-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px; align-items: start; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.badge-soft { display: inline-block; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.badge-soft.green { background: var(--mint-soft); color: #047857; }
.badge-soft.yellow { background: var(--yellow-soft); color: #8a6410; }
.badge-soft.red { background: #fff1f1; color: #b91c1c; }

/* -------------------------------- capture -------------------------------- */

.bookmarklet { display: inline-flex; align-items: center; gap: 9px; background: var(--yellow); color: var(--navy); border: 2px dashed rgba(18,18,43,0.3); padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 14px; cursor: grab; }
.code-box { background: var(--navy); color: #c9ccf5; border-radius: 12px; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; overflow: auto; max-height: 260px; white-space: pre-wrap; word-break: break-all; }
.capture-steps { counter-reset: step; display: grid; gap: 14px; }
.capture-step { display: flex; gap: 14px; align-items: flex-start; }
.capture-step::before { counter-increment: step; content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.capture-step b { font-size: 13px; display: block; }
.capture-step span { font-size: 11.5px; color: var(--muted); }

/* -------------------------------- toast --------------------------------- */

.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 11px; font-size: 12.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px; animation: toastIn 0.25s ease; max-width: 360px; }
.toast.error { background: #7f1d1d; }
.toast.success { background: #065f46; }
.toast .toast-close { margin-left: auto; border: 0; background: none; color: rgba(255,255,255,0.5); font-size: 15px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* -------------------------------- modal --------------------------------- */

.modal-backdrop { position: fixed; inset: 0; background: rgba(10, 11, 28, 0.6); z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 24px 0; }
.modal-head h3 { font-size: 19px; }
.modal-head p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.modal-body { padding: 18px 24px 24px; }
.modal-close { border: 0; background: var(--paper); width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }

/* ------------------------------- utilities ------------------------------- */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 26px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.flex-center { display: flex; align-items: center; gap: 8px; }
.grow { flex: 1; }
.small { font-size: 11px; }
.tiny { font-size: 9.5px; }
.bold { font-weight: 700; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.skeleton { background: linear-gradient(90deg, #eef0f7 25%, #f7f8fc 37%, #eef0f7 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
.spinner { width: 13px; height: 13px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.7s linear infinite; margin-right: 7px; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 1240px) {
  .mainnav a { padding: 9px 8px; font-size: 12.5px; }
  .brand-product { font-size: 17px; }
  .topbar-inner { gap: 16px; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; max-width: 520px; }
  .match-card { margin-left: 0; }
  .float-offer { left: 0; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .admin-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .admin-main { padding: 24px 20px 50px; }
}

@media (max-width: 900px) {
  .mainnav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 12px 20px 18px; border-bottom: 1px solid rgba(255,255,255,0.1);
    display: none;
  }
  .mainnav.open { display: flex; }
  .nav-toggle { display: block; }
  .topbar-actions { margin-left: 0; }
  .topbar-inner { gap: 10px; }
  .brand-logo { height: 28px; }
  .brand-product { font-size: 16px; }
  .hide-sm { display: none !important; }
  .hero { padding: 48px 0 60px; }
  .hero-stats { gap: 22px; }
  .grid-3, .grid-4, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .pledge-wrap { grid-template-columns: 1fr; }
  .pledge-copy { padding: 34px 28px; }
  .pledge-panel { margin: 0 20px 20px; }
  .jobs-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed; inset: 0 0 0 auto; width: 320px; max-width: 90vw; z-index: 85;
    border-radius: 0; max-height: none; transform: translateX(100%); transition: 0.2s; padding: 22px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.2); overflow-y: auto;
  }
  .filter-panel.open { transform: none; }
  .filter-actions { display: flex; gap: 8px; margin-top: 16px; }
  .filter-toggle { display: inline-flex; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .mobile-apply-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; z-index: 55; gap: 8px; align-items: center; }
  .mobile-apply-bar .btn { flex: 1; }
  .scan-layout { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-form-wrap { padding: 40px 22px; }
  .app-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; align-items: center; gap: 4px; padding: 8px; }
  .side-user, .side-sep, .side-cta { display: none; }
  .side-link { white-space: nowrap; padding: 8px 11px; }
  .side-link .side-badge { display: none; }
  .profile-grid, .dash-grid { grid-template-columns: 1fr; }
  .welcome-card { flex-direction: column; align-items: flex-start; gap: 18px; }
  .welcome-stats { width: 100%; justify-content: space-between; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: flex; flex-direction: row; gap: 4px; overflow-x: auto; padding: 10px 12px; }
  .admin-side .admin-brand { display: none; }
  .admin-side button { width: auto; white-space: nowrap; padding: 8px 10px; }
  .admin-side .side-count { display: none; }
  .admin-main { padding: 20px 16px 50px; }
  .admin-grid, .admin-grid-3 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .employer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section { padding: 54px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  .shell { padding: 0 16px; }
  .brand-logo { height: 25px; }
  .brand-sep { display: none; }
  .brand-product { font-size: 15px; }
  .topbar-actions { gap: 8px; }
  .login-link { display: none; }
  .avatar-name { display: none; }
  .avatar-btn { padding: 3px; background: none; border: 0; }
  .topbar-actions .btn-primary { padding: 9px 12px; font-size: 12px; }
  .hero-title { font-size: 34px; letter-spacing: -0.035em; }
  .hero-title .mark { white-space: normal; }
  .hero-sub { font-size: 14.5px; }
  .searchbar { padding: 6px 6px 6px 14px; border-radius: 14px; }
  .searchbar .btn { padding: 11px 14px; font-size: 12.5px; }
  .searchbar input { font-size: 13px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 21px; }
  .grid-2, .grid-3, .grid-4, .app-grid, .plan-grid { grid-template-columns: 1fr; }
  .job-salary { text-align: left; margin-left: 0; width: 100%; }
  .job-top { flex-wrap: wrap; }
  .job-salary { flex: 1 1 100%; margin-top: 10px; display: flex; gap: 8px; align-items: baseline; }
  .job-salary b { font-size: 13px; }
  .result-hero { flex-direction: column; align-items: flex-start; }
  .gate { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .detail-card { padding: 20px; }
  .detail-head { flex-wrap: wrap; }
  .detail-head .logo { width: 42px; height: 42px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .cross-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .content-head { flex-direction: column; align-items: flex-start; }
  .welcome-stats b { font-size: 20px; }
  .kpi b { font-size: 23px; }
  .toast-wrap { left: 12px; right: 12px; bottom: 12px; }
  .toast { max-width: none; }
  .jobs-layout { padding-top: 20px; }
  .job-list .job-card { padding: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}

/* --------------------------- action affordances -------------------------- */

.job-card[data-job-id] { cursor: pointer; }
.job-foot { flex-wrap: wrap; row-gap: 8px; }
.job-open { margin-left: 6px; white-space: nowrap; }
.job-open:hover { opacity: 0.9; }

.next-step {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--yellow-2);
  border-radius: 12px; padding: 13px 16px; margin-bottom: 14px;
}
.next-step[hidden] { display: none; }
.next-step-copy { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 240px; }
.next-step-tag {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8a6410; background: var(--yellow-soft); border: 1px solid #f6e8a4; padding: 3px 8px; border-radius: 20px;
  white-space: nowrap;
}
.next-step p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.next-step p b { color: var(--ink); }
.next-step-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .next-step-actions { width: 100%; }
  .next-step-actions .btn { flex: 1; justify-content: center; }
}

.src-link { font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.src-link:hover { color: var(--ink); }
