/* Layout: FirmSavvy navy and ice-blue identity, sticky always-visible nav, one view per page (hash routed), content in a 1120px column. */
:root {
  --bg:      #0A2350;
  --bg-2:    #0F2E63;
  --bg-3:    #12346E;
  --bg-4:    #163B78;
  --line:    rgba(255,255,255,0.09);
  --line-2:  rgba(255,255,255,0.16);
  --text:    #FFFFFF;
  --text-2:  #E3ECF5;
  --text-3:  #C3D3E4;
  --text-4:  #A9BDD3;
  --gold:    #0C295B;
  --gold-hi: #A9D5E8;
  --gold-bg: rgba(12,41,91,0.12);
  --green:   #3a5c47;
  --green-hi:#8fc8a4;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --mono:  'DM Mono', ui-monospace, Menlo, monospace;
  --sans:  'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text-2); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--gold-hi); text-underline-offset: 3px; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { color: var(--text); font-weight: 400; text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.serif { font-family: var(--serif); }
em.g { font-style: italic; color: var(--gold-hi); }
.muted { color: var(--text-3); }
.tabnum { font-variant-numeric: tabular-nums; }

/* ─── header ─── */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.strip { background: var(--gold); color: var(--bg); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding-block: 6px; padding-left: var(--gl); padding-right: var(--gr); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.05em; color: var(--text); text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); text-decoration: none; padding: 10px 12px; border-radius: 2px; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav a[aria-current="page"] { color: var(--gold-hi); box-shadow: inset 0 -1px 0 var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 26px; border-radius: 2px; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--bg); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { padding: 10px 16px; font-size: 0.7rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-line[disabled]:hover { border-color: var(--line-2); color: var(--text); }
.bar .btn { padding: 10px 16px; font-size: 0.7rem; }
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .bar .logo { order: 1; }
  .bar .btn { order: 2; margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin: 4px -12px 0; padding-bottom: 6px; flex-wrap: wrap; overflow: visible; gap: 0; }
  .nav a { padding: 8px 12px; }
}

/* ─── generic sections ─── */
.view[hidden] { display: none !important; }
.sec { padding-block: 88px; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 400; line-height: 1.12; margin-top: 12px; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 620px; line-height: 1.7; }
.page-top { padding-block: 64px 44px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-top h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin: 14px 0 18px; font-weight: 400; }
.glow { position: absolute; width: 640px; height: 640px; max-width: 100%; top: -260px; right: -120px; background: radial-gradient(ellipse, rgba(58,92,71,0.22) 0%, transparent 68%); pointer-events: none; }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-3); border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; margin-top: 26px; max-width: 760px; }
.note b { color: var(--gold-hi); font-weight: 500; }

/* ─── home ─── */
.hero { position: relative; overflow: hidden; text-align: center; padding-block: 96px 80px; }
.hero .glow { top: -200px; left: 50%; transform: translateX(-50%); right: auto; width: 760px; height: 760px; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 7.5vw, 6.4rem); line-height: 1.02; letter-spacing: -0.01em; margin: 24px auto 0; max-width: 860px; }
.hero h1 em { font-style: italic; color: var(--gold-hi); }
.rule { width: 44px; height: 1px; background: var(--gold); margin: 34px auto; }
.hero p.lead { margin: 0 auto; text-align: center; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero-tag { margin-top: 40px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg-2); padding: 34px 28px; }
.step .num { font-family: var(--serif); font-size: 3rem; color: var(--gold); opacity: .55; line-height: 1; }
.step h3 { font-family: var(--serif); font-size: 1.45rem; margin: 18px 0 10px; }
.step p { font-size: 0.95rem; color: var(--text-3); }
.split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 72px; align-items: start; }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; color: var(--text-2); }
.ticks li::before { content: '◆'; color: var(--gold); font-size: 0.6rem; padding-top: 7px; }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 30px; position: relative; overflow: hidden; }
.panel::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.kv { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 12px 18px; margin-top: 20px; }
.kv dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); padding-top: 3px; }
.kv dd { color: var(--text); }
.ok-line { display: flex; gap: 10px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--text-3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4a9e6b; box-shadow: 0 0 8px rgba(74,158,107,.7); flex-shrink: 0; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.trust > div { background: var(--bg); padding: 28px; }
.trust h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 400; }
.trust p { color: var(--text-2); font-size: 0.97rem; }
.closing { text-align: center; padding-block: 100px; }
.closing h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; line-height: 1.1; max-width: 700px; margin: 16px auto 18px; }
.closing p { max-width: 520px; margin: 0 auto 34px; color: var(--text-3); }

/* ─── job cards ─── */
.jobs { display: grid; gap: 12px; }
.job { background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 24px 26px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 28px; transition: border-color .2s, background .2s; }
.job:hover { border-color: var(--line-2); background: var(--bg-4); }
.job h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.18; font-weight: 500; }
.job .where { margin-top: 6px; color: var(--text-2); font-size: 0.97rem; }
.job .where .firm { color: var(--text); font-weight: 500; }
.tag-w { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(12,41,91,.4); padding: 1px 6px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.pay { text-align: right; }
.pay .amt { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--gold-hi); line-height: 1.1; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.pay .amt.none { color: var(--text-4); font-size: 1.15rem; font-weight: 400; font-style: italic; }
.pay .cap { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-2); background: rgba(255,255,255,0.05); border: 1px solid var(--line); padding: 4px 10px; border-radius: 2px; white-space: nowrap; }
.chip.plaintiff { color: var(--gold-hi); border-color: rgba(12,41,91,.45); background: var(--gold-bg); }
.chip.defense { color: var(--green-hi); border-color: rgba(74,158,107,.45); background: rgba(58,92,71,.18); }
.job-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.verified { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-3); }
.foot-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-actions small { font-size: 0.78rem; color: var(--text-4); }

/* filters */
.filters { background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; padding: 20px; display: grid; grid-template-columns: auto auto minmax(0,1fr) minmax(0,1fr); gap: 18px 22px; align-items: end; }
.fgroup { display: grid; gap: 8px; min-width: 0; }
.flabel { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; }
.seg button { background: transparent; border: 0; border-right: 1px solid var(--line-2); color: var(--text-2); padding: 10px 14px; font-size: 0.88rem; cursor: pointer; white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--bg); font-weight: 500; }
.seg button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,.05); color: var(--text); }
.select, .input { width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 2px; color: var(--text); font-family: var(--sans); font-size: 0.95rem; padding: 11px 14px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
textarea.input { resize: vertical; min-height: 110px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23aea99f'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.select option, .select optgroup { background: var(--bg-3); color: var(--text); }
.select:focus, .input:focus { border-color: var(--gold); }
.input::placeholder { color: var(--text-4); }
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin: 24px 0 14px; }
.result-bar .count { font-size: 1rem; color: var(--text); }
.result-bar .count b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--gold-hi); margin-right: 4px; }
.linkbtn { background: none; border: 0; color: var(--gold-hi); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 0.9rem; }
.empty { border: 1px dashed var(--line-2); padding: 40px 24px; text-align: center; color: var(--text-3); border-radius: 3px; }
.cta-pair { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 12px; margin-top: 40px; }
.cta-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.cta-card.feature { border-color: rgba(12,41,91,.4); background: linear-gradient(160deg, rgba(12,41,91,.10), var(--bg-2) 60%); }
.cta-card h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.cta-card p { color: var(--text-3); }
.cta-card .btn { justify-self: start; margin-top: 6px; }
.fine { font-size: 0.85rem; color: var(--text-4); margin-top: 32px; max-width: 820px; line-height: 1.7; }

/* ─── compensation ─── */
.disclaim { background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; margin-top: 30px; max-width: 900px; }
.disclaim .ico { width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 1rem; }
.disclaim h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.disclaim p { font-size: 0.93rem; color: var(--text-2); }
.headline-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.hcard { background: linear-gradient(165deg, var(--bg-4), var(--bg-3) 55%); border: 1px solid var(--line-2); border-radius: 3px; padding: 32px; position: relative; overflow: hidden; }
.hcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent 80%); }
.hcard .who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hcard .big { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; color: var(--text); line-height: 1; margin-top: 22px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hcard .big span { color: var(--gold); font-weight: 300; padding: 0 6px; }
.hcard .sub { color: var(--text-3); margin-top: 10px; font-size: 0.95rem; }
.scale { margin-top: 28px; }
.track { position: relative; height: 8px; background: rgba(255,255,255,0.07); border-radius: 4px; }
.track i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.ticks-row { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 0.66rem; color: var(--text-4); }
.hcard .n { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); }
.hcard .n b { color: var(--text); font-weight: 500; }
.grid-table { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.gt-row { display: grid; grid-template-columns: 130px 150px minmax(0,1fr) 80px 150px; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--bg); }
.gt-row:last-child { border-bottom: 0; }
.gt-row.head { background: var(--bg-2); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); padding-block: 14px; }
.gt-row .rng { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.gt-row .rng.dim { font-family: var(--sans); font-size: 0.93rem; font-weight: 400; color: var(--text-3); white-space: normal; }
.gt-row .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.pill { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--text-3); white-space: nowrap; justify-self: start; }
.pill.shown { color: var(--green-hi); border-color: rgba(74,158,107,.5); background: rgba(58,92,71,.18); }
.pill.limited { color: var(--gold-hi); border-color: rgba(12,41,91,.5); background: var(--gold-bg); }
.mini { list-style: none; display: grid; gap: 4px; margin-top: 8px; font-size: 0.86rem; color: var(--text-3); }
.mini b { color: var(--text-2); font-weight: 500; }
.chart { display: grid; gap: 6px; overflow: hidden; }
.chart-row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0,1fr); gap: 18px; align-items: center; }
.chart-row .lbl { font-size: 0.86rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-row .lbl small { color: var(--text-4); }
.chart-row .trk { position: relative; height: 22px; }
.chart-row .trk::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.chart-row .trk i { position: absolute; top: 7px; height: 8px; border-radius: 4px; background: var(--gold); opacity: .85; }
.chart-row .trk i.pl { background: var(--gold-hi); }
.chart-row .trk i.df { background: #6fae87; }
.chart-row .trk span { position: absolute; top: 2px; font-family: var(--mono); font-size: 0.64rem; color: var(--text-3); white-space: nowrap; }
.chart-band { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 18px 0 4px; }
.chart-axis { display: grid; grid-template-columns: minmax(0, 280px) minmax(0,1fr); gap: 18px; }
.chart-axis div:last-child { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.64rem; color: var(--text-4); border-top: 1px solid var(--line-2); padding-top: 6px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-3); }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; }
details.more { border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2); }
details.more + details.more { margin-top: 10px; }
details.more summary { cursor: pointer; padding: 18px 22px; font-weight: 500; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: '+'; color: var(--gold); font-family: var(--mono); }
details.more[open] summary::after { content: '−'; }
details.more .body { padding: 0 22px 22px; color: var(--text-2); }
.olist { display: grid; gap: 10px; padding-left: 20px; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.ledger td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ledger td:last-child { text-align: right; color: var(--text); }
.ledger tr.t td { color: var(--text); font-weight: 500; border-bottom: 0; }
.srcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.srcs div { background: var(--bg-3); border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; font-size: 0.88rem; color: var(--text-3); }
.srcs b { display: block; color: var(--text); font-weight: 500; }

/* ─── form pages ─── */
.form-layout { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 56px; align-items: start; }
.form-card { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 3px; padding: 34px; position: relative; }
.form-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-card h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; }
.form-card .intro { color: var(--text-3); margin: 8px 0 26px; font-size: 0.95rem; }
.fgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 16px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-4); margin-left: 4px; }
.req { color: var(--gold-hi); }
.check { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; font-size: 0.92rem; color: var(--text-2); cursor: pointer; line-height: 1.6; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg-2); margin-top: 2px; cursor: pointer; display: grid; place-content: center; }
.check input:checked { border-color: var(--gold); background: var(--gold); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px,-1px); }
.consent { border: 1px solid rgba(12,41,91,.4); background: var(--gold-bg); padding: 16px; border-radius: 2px; color: var(--text); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.form-actions small { color: var(--text-4); font-size: 0.85rem; }
.form-error { color: #f0b48c; font-size: 0.92rem; margin-top: 14px; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 20px 0; }
.success .seal { width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.success h2 { font-family: var(--serif); font-size: 2rem; margin-bottom: 10px; }
.success p { color: var(--text-2); max-width: 440px; margin: 0 auto; }
.receipt { margin-top: 24px; text-align: left; border: 1px dashed rgba(12,41,91,.55); padding: 14px 16px; font-size: 0.85rem; color: var(--text-3); border-radius: 2px; }
.receipt b { color: var(--gold-hi); font-weight: 500; display: block; margin-bottom: 4px; }
.process { list-style: none; display: grid; gap: 0; margin-top: 30px; border-left: 1px solid var(--line-2); }
.process li { position: relative; padding: 0 0 26px 28px; }
.process li:last-child { padding-bottom: 0; }
.process li::before { content: ''; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); }
.process h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 4px; }
.process p { color: var(--text-3); font-size: 0.95rem; }
.mail { background: #F5F8FB; color: #0C295B; border-radius: 3px; padding: 22px; margin-top: 30px; font-size: 0.9rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.mail .from { font-size: 0.78rem; color: #56657D; border-bottom: 1px solid #ddd8cc; padding-bottom: 10px; margin-bottom: 14px; }
.mail h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; color: #0C295B; }
.mail .it { padding: 10px 0; border-bottom: 1px solid #DCE6EF; }
.mail .it b { display: block; font-weight: 600; color: #0C295B; }
.mail .it span { color: #5b574f; font-size: 0.84rem; }
.mail .ft { font-size: 0.78rem; color: #56657D; margin-top: 12px; }
.firm-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.firm-cards > div { background: var(--bg-2); padding: 28px 24px; }
.firm-cards .ic { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.firm-cards h3 { font-family: var(--serif); font-size: 1.3rem; margin: 14px 0 8px; }
.firm-cards p { font-size: 0.93rem; color: var(--text-3); }

.legal { max-width: 740px; }
.legal h2 { font-family: var(--serif); font-size: 1.6rem; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.draft { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid rgba(12,41,91,.5); padding: 5px 10px; border-radius: 2px; }

footer { border-top: 1px solid var(--line); padding-block: 44px; background: var(--bg); }
.foot { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px 40px; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--text-3); text-decoration: none; font-size: 0.92rem; }
.foot-links a:hover { color: var(--gold-hi); }
.foot-meta { grid-column: 1 / -1; font-size: 0.84rem; color: var(--text-4); display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-meta .email { user-select: all; color: var(--text-3); }

@media (prefers-reduced-motion: no-preference) {
  .view:not([hidden]) { animation: rise .35s ease both; }
  @keyframes rise { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 960px) {
  .steps, .firm-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .split, .form-layout { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .gt-row { grid-template-columns: 100px 120px minmax(0,1fr) 56px; }
  .gt-row > :nth-child(5) { grid-column: 3 / -1; }
  .gt-row.head > :nth-child(5) { display: none; }
}
@media (max-width: 680px) {
  .sec { padding-block: 60px; }
  .hero { padding-block: 64px 56px; }
  .steps, .firm-cards, .trust, .headline-cards, .cta-pair, .fgrid { grid-template-columns: minmax(0,1fr); }
  .filters { grid-template-columns: minmax(0,1fr); }
  .job { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .pay { text-align: left; }
  .gt-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; }
  .gt-row > :nth-child(3), .gt-row > :nth-child(5) { grid-column: 1 / -1; }
  .gt-row.head { display: none; }
  .chart-row, .chart-axis { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .chart-axis div:first-child { display: none; }
  .hero-actions .btn { width: 100%; }
  .form-card, .hcard, .panel { padding: 24px; }
  .foot { grid-template-columns: minmax(0,1fr); }
  .seg { display: flex; }
  .btn { white-space: normal; text-align: center; }
  .seg button { flex: 1; padding-inline: 8px; }
}

/* ─── production additions ─── */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 14px; font-family: var(--mono); font-size: 0.75rem; }
.skip:focus { left: 12px; }
.view { animation: none !important; }
main { display: block; }
.btn-apply { background: var(--gold); color: var(--bg); border: 1px solid var(--gold); }
.btn-apply:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.apply-note { font-size: 0.8rem; color: var(--text-4); }
.loading { display: grid; gap: 12px; }
.skel { height: 148px; border-radius: 3px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--bg-3) 0%, var(--bg-4) 50%, var(--bg-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.error-box { border: 1px solid rgba(240,180,140,.4); background: rgba(240,180,140,.06); color: var(--text-2); padding: 24px; border-radius: 3px; }
.error-box .btn { margin-top: 14px; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer { background: var(--bg-2); padding: 30px 28px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: background .2s; }
.offer:hover { background: var(--bg-3); }
.offer .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.offer h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.offer p { color: var(--text-3); font-size: 0.97rem; }
.offer .go { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-hi); margin-top: 4px; }
.range-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rcard { background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 22px; display: grid; gap: 6px; }
.rcard .amt { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold-hi); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.rcard .t { color: var(--text); font-weight: 500; }
.rcard .f { color: var(--text-3); font-size: 0.9rem; }
.rcard a { font-size: 0.86rem; }
.callout { background: var(--bg-2); border: 1px solid var(--line-2); border-left: 2px solid var(--gold); padding: 20px 22px; border-radius: 2px; color: var(--text-2); max-width: 860px; }
.callout b { color: var(--text); font-weight: 600; }
.operator { font-size: 0.92rem; color: var(--text-3); margin-top: 14px; }
.operator a { color: var(--gold-hi); }
.foot-meta a { color: var(--text-3); }
.legal h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 18px 0 6px; }
.updated { font-size: 0.88rem; color: var(--text-4); margin-top: 10px; }
@media (max-width: 960px) { .offers { grid-template-columns: minmax(0,1fr); } }
noscript .error-box { margin: 20px 0; }

/* ─── compensation page v2 ─── */
.cs-wrap { margin-top: 28px; max-width: 900px; }
.cs-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.cs-cell { background: var(--bg-3); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.cs-n { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.cs-l { font-size: 0.84rem; color: var(--text-3); line-height: 1.4; }
.cs-seo { margin-top: 14px; max-width: 900px; font-size: 0.92rem; color: var(--text-3); }
.headline-cards.one { grid-template-columns: minmax(0, 760px); }
.hcard.med .medpair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.hcard.med .ml { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }
.hcard.med .mv { display: block; font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 2.8rem); color: var(--gold-hi); font-weight: 600; line-height: 1.1; margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; }
.hcard .how { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.hcard .how summary { cursor: pointer; font-size: 0.9rem; color: var(--gold-hi); }
.hcard .how .body { padding-top: 10px; font-size: 0.9rem; color: var(--text-2); }
.hcard .how th { text-align: left; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); font-weight: 400; padding: 6px 0; }
.hcard .how td:nth-child(2) { text-align: center; }
.meaning { margin-top: 16px; }
.comp-table .gt-row { grid-template-columns: 110px 130px minmax(0,1fr) 60px 60px 130px; }
.comp-table .gt-row.gnote { grid-template-columns: 110px minmax(0,1fr); }
.comp-table .c-wide { color: var(--text-3); font-size: 0.93rem; }
.comp-table .med2 { display: block; margin-bottom: 6px; }
.comp-table .med2 .rng { display: block; }
.comp-table .rng-cap { display: block; font-size: 0.78rem; color: var(--text-4); margin-top: 2px; }
.fp-intro { max-width: 860px; margin-bottom: 14px; }
.ptag-key { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ptag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--text-3); white-space: nowrap; }
.ptag.base { color: var(--green-hi); border-color: rgba(74,158,107,.5); background: rgba(58,92,71,.16); }
.ptag.min { color: var(--gold-hi); border-color: rgba(12,41,91,.5); background: var(--gold-bg); }
.ptag.bonus { color: #8a4f80; border-color: rgba(138,79,128,.55); background: rgba(138,79,128,.08); }
.ptag.unspec { color: var(--text-2); border-style: dashed; }
.firm-grid { display: grid; gap: 14px; }
.firm-pay { background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 20px 22px; }
.firm-pay header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; margin-bottom: 10px; }
.firm-pay h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--text); }
.fp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fp-n { font-size: 0.85rem; color: var(--text-3); }
.fr-list { list-style: none; display: grid; }
.fr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 18px; padding: 11px 0; border-top: 1px solid var(--line); align-items: start; }
.fr-main { display: grid; gap: 2px; min-width: 0; }
.fr-t a, .fr-t { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.fr-meta { font-size: 0.84rem; color: var(--text-3); }
.fr-note { font-size: 0.8rem; color: var(--text-4); }
.fr-pay { display: grid; justify-items: end; gap: 4px; text-align: right; }
.fr-amt { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-hi); font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.fr-more summary { cursor: pointer; font-size: 0.88rem; color: var(--gold-hi); padding: 10px 0 2px; border-top: 1px solid var(--line); }
.fr-none { font-size: 0.88rem; color: var(--text-3); margin-top: 8px; }
#compChart .chart-row { grid-template-columns: minmax(0, 340px) minmax(0,1fr); padding: 3px 0; }
#compChart .chart-row .lbl { white-space: normal; overflow: visible; line-height: 1.3; }
#compChart .chart-row .lbl small { display: block; }
#compChart .chart-axis { grid-template-columns: minmax(0, 340px) minmax(0,1fr); }
.chart-band span { color: var(--text-4); letter-spacing: 0.04em; text-transform: none; margin-left: 6px; }
.chart-row .trk span.v { position: absolute; top: 2px; font-family: var(--mono); font-size: 0.64rem; color: var(--text-3); white-space: nowrap; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
table.dist { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
table.dist th { text-align: left; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); font-weight: 400; background: var(--bg-2); padding: 12px 14px; }
table.dist td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--text-2); }
table.dist td:first-child { color: var(--text); }
table.dist th:not(:first-child), table.dist td:not(:first-child) { text-align: right; }
.dist-note { margin-top: 12px; max-width: 860px; font-size: 0.9rem; }
@media (max-width: 1100px) and (min-width: 761px) {
  .comp-table .gt-row { grid-template-columns: 100px 110px minmax(0,1fr) 52px 52px; }
  .comp-table .gt-row > * { grid-column: auto; }
  .comp-table .gt-row > .c-stat { grid-column: 3 / -1; }
  .comp-table .gt-row.head > :nth-child(6) { display: none; }
  .comp-table .gt-row.head > :nth-child(5) { display: block; }
}
@media (max-width: 760px) {
  .comp-table .gt-row > * { grid-column: auto; }
  .cs-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .comp-table .gt-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px 14px; }
  .comp-table .gt-row.head { display: none; }
  .comp-table .gt-row > .c-res, .comp-table .gt-row > .c-wide { grid-column: 1 / -1; }
  .comp-table .gt-row.gnote { grid-template-columns: minmax(0,1fr); }
  .comp-table [data-l]::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 4px; }
  .comp-table .num { text-align: left; }
  .comp-table .c-side::before { display: none !important; }
  .comp-table .gt-row .rng { white-space: normal; }
  .hcard.med .medpair { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .fr { grid-template-columns: minmax(0,1fr); }
  .fr-pay { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
  #compChart .chart-row, #compChart .chart-axis { grid-template-columns: minmax(0,1fr); }
}
.snap-note { margin-top: 10px; max-width: 900px; font-size: 0.85rem; color: var(--text-4); }
.snap-note:empty { display: none; }

/* ─── Balanced light/dark theme ───
   Content areas: warm ivory and stone with white cards and charcoal text.
   Dark charcoal stays on the navigation, page heroes and footer. */
:root {
  --bg:      #F5F8FB;   /* warm ivory page */
  --bg-2:    #EAF2F8;   /* stone bands */
  --bg-3:    #ffffff;   /* cards, inputs */
  --bg-4:    #F7FAFD;   /* card hover */
  --line:    rgba(12,41,91,0.11);
  --line-2:  rgba(12,41,91,0.20);
  --text:    #0C295B;   /* charcoal */
  --text-2:  #1E2D47;
  --text-3:  #44536B;
  --text-4:  #56657D;
  --gold:    #0C295B;   /* buttons, rules, borders */
  --gold-hi: #0C295B;   /* gold text on light: salary figures, accents */
  --gold-bg: rgba(12,41,91,0.12);
  --green-hi:#2e6a47;
  --ink-on-gold: #FFFFFF;
  --warn-text: #9a3f17;
  --shadow: 0 1px 2px rgba(12,41,91,0.05), 0 10px 28px rgba(12,41,91,0.06);
  color-scheme: light;
}
.top, .hero, .page-top, footer {
  --bg:      #0C295B;   /* charcoal */
  --bg-2:    #10306A;
  --bg-3:    #143877;
  --bg-4:    #18407F;
  --line:    rgba(255,255,255,0.09);
  --line-2:  rgba(255,255,255,0.16);
  --text:    #FFFFFF;
  --text-2:  #E3ECF5;
  --text-3:  #C3D3E4;
  --text-4:  #A9BDD3;
  --gold-hi: #A9D5E8;
  --gold-bg: rgba(12,41,91,0.14);
  --green-hi:#8fc8a4;
  color-scheme: dark;
  background: var(--bg);
  color: var(--text-2);
}
body { background: var(--bg); color: var(--text-2); }
body::after { opacity: 0.018; }
.top { background: rgba(255,255,255,0.97); }
.page-top { border-bottom: 0; }
footer { border-top: 0; }

/* text on gold stays charcoal in every area */
.btn-gold, .btn-apply, .seg button[aria-pressed="true"], .skip { color: var(--ink-on-gold); }
.check input:checked::after { border-color: var(--ink-on-gold); }
.form-error { color: var(--warn-text); }

/* cards sit on the light page with a soft lift */
.job, .hcard, .rcard, .form-card, .panel, .cta-card, .filters, .grid-table, details.more, .srcs div, .mail { box-shadow: var(--shadow); }
.job { border-color: var(--line); }
.job:hover { border-color: rgba(12,41,91,0.55); }
.hcard { background: var(--bg-3); border-color: rgba(12,41,91,0.45); }
.gt-row { background: var(--bg-3); }
.gt-row.head, details.more { background: var(--bg-2); }
details.more .body, details.more summary { background: var(--bg-3); }
.steps, .firm-cards, .trust, .offers { box-shadow: var(--shadow); }
.step, .firm-cards > div, .trust > div { background: var(--bg-3); }
.cta-card.feature { background: linear-gradient(160deg, rgba(12,41,91,.14), var(--bg-3) 62%); }
.cta-card { background: var(--bg-3); }
.mail { background: #FFFFFF; border: 1px solid var(--line); }
.callout { background: var(--bg-3); }
.stats { background: var(--bg-3); }
.offer { background: var(--bg-3); }
.offer:hover { background: var(--bg-4); }
.firm-cards > div, .step { transition: background .2s; }
.page-top .firm-cards > div { background: var(--bg-2); }
.page-top .firm-cards { box-shadow: none; }

/* readability and hierarchy: listings and pay lead */
body { font-size: 16.5px; line-height: 1.7; }
.lead { color: var(--text-2); }
.jobs { gap: 16px; }
.job { padding: 28px 30px; gap: 16px 32px; }
.job h3 { font-size: 1.6rem; }
.pay .amt { font-size: 2rem; font-weight: 600; color: var(--gold-hi); }
.pay .cap { color: var(--text-4); }
.chip { background: var(--bg-2); color: var(--text-2); }
.chip.plaintiff { color: var(--gold-hi); }
.rcard .amt, .gt-row .rng { color: var(--gold-hi); font-weight: 600; }
.hcard .big { color: var(--gold-hi); font-weight: 600; }
.hcard .big span { color: var(--gold); }
.stat .n { color: var(--text); }
.sec { padding-block: 96px; }
.result-bar .count b { color: var(--gold-hi); }
.chart-row .trk i.pl { background: #0C295B; }
.chart-row .trk i.df { background: #4f8f69; }
.legend i[style*="gold-hi"] { background: #0C295B !important; }
.hero .free { margin-top: 26px; font-size: 1rem; color: var(--text); font-weight: 500; letter-spacing: 0.01em; }
@media (max-width: 680px) { .sec { padding-block: 64px; } .pay .amt { font-size: 1.75rem; } }
.legend i[style*="6fae87"] { background: #4f8f69 !important; }
.eyebrow, .chart-band, .trust h3, .offer .k { color: var(--gold-hi); }
.hero h1 { max-width: 1040px; }

/* ─── Premium Spotlight ─── white cards, restrained gold, clear hierarchy */
.spot-sec { padding-block: 72px 80px; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.spot-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: 32px; }
.spot-head h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 400; line-height: 1.12; margin-top: 12px; color: var(--text); }
.spot-head.compact h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.spot-explain { max-width: 420px; color: var(--text-3); font-size: 0.97rem; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; }
.spot-card { background: #fff; border: 1px solid rgba(12,41,91,0.38); border-radius: 4px; padding: 34px 34px 28px; position: relative; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 2px rgba(12,41,91,0.05), 0 18px 44px rgba(12,41,91,0.09); transition: box-shadow .25s, border-color .25s, transform .25s; }
.spot-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--gold), #A9D5E8 55%, var(--gold)); }
.spot-card:hover { border-color: rgba(12,41,91,0.7); box-shadow: 0 1px 2px rgba(12,41,91,0.05), 0 24px 56px rgba(12,41,91,0.13); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .spot-card, .spot-card:hover { transition: none; transform: none; } }
.spot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.spot-badge { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-on-gold); background: var(--gold); padding: 5px 10px; border-radius: 2px; }
.spot-kind { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.spot-draft { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warn-text); border: 1px dashed var(--warn-text); padding: 3px 8px; border-radius: 2px; }
.spot-card h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.12; color: var(--text); }
.spot-card h3 a { color: inherit; text-decoration: none; }
.spot-card h3 a:hover { color: var(--gold-hi); }
.spot-emp { color: var(--text-3); font-size: 0.93rem; margin-top: -8px; }
.spot-pay { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 14px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spot-pay .amt { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 2.7rem); font-weight: 600; color: var(--gold-hi); line-height: 1; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.spot-pay .cap { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }
.spot-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; }
.spot-meta dt { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); }
.spot-meta dd { color: var(--text); font-size: 0.97rem; margin-top: 2px; }
.spot-hl { list-style: none; display: grid; gap: 7px; }
.spot-hl li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 0.95rem; }
.spot-hl li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.spot-actions .btn { flex: 1 1 180px; }
.spot-note, .spot-label-all, .spot-empty { font-size: 0.84rem; color: var(--text-4); }
.spot-inlist { margin: 36px 0 8px; }
.spot-label-all { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.spot-empty { margin-top: 4px; }
@media (max-width: 680px) {
  .spot-sec { padding-block: 52px 56px; }
  .spot-card { padding: 26px 22px 22px; }
  .spot-meta { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .spot-explain { max-width: none; }
}

/* ─── Spotlight job page ─── */
.job-top .back { display: inline-block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); text-decoration: none; margin-bottom: 22px; }
.job-top .back:hover { color: var(--gold-hi); }
.job-top h1 { max-width: 880px; }
.job-sub { color: var(--text-2); font-size: 1.05rem; }
.job-sub span { color: var(--gold); margin: 0 6px; }
.job-top-pay { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 6px; }
.job-top-pay .amt { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; color: var(--gold-hi); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.job-top-pay .cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.job-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 56px; align-items: start; }
.job-body { max-width: 720px; }
.job-body h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--text); margin: 0 0 14px; }
.job-body h2:not(:first-child) { margin-top: 40px; }
.job-body h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 26px 0 8px; }
.job-body p, .job-body li { color: var(--text-2); }
.job-body ul { padding-left: 20px; display: grid; gap: 8px; }
.job-aside { position: sticky; top: 96px; }
.job-aside .kv { grid-template-columns: minmax(0,0.9fr) minmax(0,1.3fr); }
.field .hint { display: block; color: var(--text-4); font-size: 0.82rem; margin-top: 6px; }
.draft-bar { background: #fbeee4; color: var(--warn-text); border-bottom: 1px solid rgba(154,63,23,.25); font-size: 0.88rem; text-align: center; padding: 10px var(--gr) 10px var(--gl); }
@media (max-width: 960px) {
  .job-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .job-aside { position: static; }
}
.spot-card[hidden], .spot-empty[hidden] { display: none; }
#apply { scroll-margin-top: 80px; }
@media (max-width: 960px) { #apply .form-card { order: -1; } }
.input.file { padding: 9px 12px; cursor: pointer; }
.input.file::file-selector-button { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 2px; padding: 8px 12px; margin-right: 12px; cursor: pointer; }
/* application card (matches Todd's mockup) */
.ap-card { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 30px 30px 24px; }
.ap-card::before { display: none; }
.ap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-card .ap-head h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.ap-lock { color: var(--text-3); display: inline-flex; }
.ap-card .intro { margin: 4px 0 22px; }
.ap-card .field label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.ap-card .field label .opt { font-weight: 600; color: var(--text-2); margin-left: 2px; }
.ap-input { border-radius: 10px; background: #fff; padding: 13px 16px; }
input.ap-input { border-radius: 999px; padding: 12px 20px; }
.ap-input::placeholder { color: var(--text-4); }
.ap-input:focus { border-color: var(--gold); }
.dropzone { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 26px 18px 24px; border: 2px dashed rgba(12,41,91,0.16); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: #F2F8FC; }
.dropzone:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.dropzone.has-file { border-style: solid; border-color: rgba(12,41,91,0.7); background: #F2F8FC; }
.dz-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-ico { color: var(--text-3); display: inline-flex; margin-bottom: 4px; }
.dz-main { color: var(--text); font-weight: 600; font-size: 1rem; }
.dz-sub { color: var(--text-3); font-size: 0.9rem; }
.dz-types { color: var(--text-4); font-size: 0.78rem; margin-top: 6px; }
.dz-file { color: var(--gold-hi); font-weight: 600; font-size: 0.92rem; word-break: break-all; margin-top: 6px; }
.dz-file:empty { display: none; }
.ack { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 8px; align-items: start; color: var(--text-3); font-size: 0.8rem; line-height: 1.5; margin-top: 16px; }
.ack svg { margin-top: 2px; color: var(--text-3); }
.ap-submit { width: 100%; margin-top: 18px; border-radius: 999px; padding: 15px 20px; background: #EEF3F8; color: var(--text-4); border: 1px solid #EEF3F8; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ap-submit.ready { background: var(--gold); border-color: var(--gold); color: var(--ink-on-gold); }
.ap-submit.ready:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #fff; }
.ap-submit:disabled { opacity: .8; cursor: progress; }
.ap-privacy { text-align: center; font-size: 0.8rem; color: var(--text-4); margin-top: 12px; }
.ap-card .form-error:not(:empty) { margin-top: 12px; }
@media (max-width: 680px) { .ap-card { padding: 24px 18px 20px; } }
.ap-card .dropzone .dz-sub, .ap-card .dropzone .dz-types { font-weight: 400; }
.ap-card .form-error:empty { display: none; }

/* ─── Option C: modern legal careers marketplace (same palette and fonts) ─── */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: logo + sans-serif navigation */
.top { background: #0C295B; backdrop-filter: none; border-bottom: 1px solid rgba(0,0,0,0.6); }
.bar { min-height: 70px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 1.62rem; }
.logo .wm { color: #FFFFFF; }
.logo .wm span { color: var(--gold); }
.nav { gap: 2px 22px; }
.nav a { font-family: var(--sans); font-size: 0.97rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #E3ECF5; padding: 10px 0; border-radius: 0; background: none !important; }
.nav a:hover { color: #ffffff; }
.nav a[aria-current="page"] { color: #ffffff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
.btn-firms { font-family: var(--sans); font-size: 0.93rem !important; font-weight: 600; letter-spacing: 0; text-transform: none; color: #FFFFFF; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 10px 18px !important; background: transparent; }
.btn-firms:hover { border-color: #A9D5E8; color: #A9D5E8; }
@media (max-width: 760px) {
  .logo { font-size: 1.4rem; gap: 10px; }
  .btn-firms { font-size: 0.85rem !important; padding: 8px 14px !important; }
  .nav { gap: 0 18px; margin: 4px 0 0; }
  .nav a { padding: 8px 0; }
}

/* layout */
.mk-wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }

/* hero */
.mk-hero { background: #0C295B; color: #E3ECF5; padding: 34px 0 30px; border-bottom: 1px solid #000; }
.mk-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 3.8vw, 3.1rem); line-height: 1.06; color: #FFFFFF; margin: 0; }
.mk-hero h1 em { color: #A9D5E8; }
.mk-sub { margin: 10px 0 0; max-width: 720px; color: #C3D3E4; font-size: 1.02rem; line-height: 1.55; }
.mk-search { margin-top: 22px; background: #ffffff; border-radius: 14px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.mk-search label { display: flex; align-items: center; gap: 12px; padding: 0 16px; color: #44536B; min-width: 0; }
.mk-q { flex: 3 1 300px; }
.mk-loc { flex: 1 1 200px; border-left: 1px solid rgba(12,41,91,0.12); }
.mk-search input, .mk-search select { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-family: var(--sans); color: #0C295B; padding: 16px 0; }
.mk-search input { font-size: 1.06rem; }
.mk-search select { font-size: 1rem; cursor: pointer; }
.mk-search input::placeholder { color: #56657D; }
.mk-search input::-webkit-search-cancel-button { cursor: pointer; }
.mk-search label:focus-within { box-shadow: inset 0 -2px 0 var(--gold); }
.mk-go { flex: 0 1 auto; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink-on-gold); background: var(--gold); border: 0; border-radius: 10px; padding: 0 30px; min-height: 54px; cursor: pointer; transition: background .18s; }
.mk-go:hover { background: #C7E4F1; }
.mk-pops { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mk-pops > span { color: #A9BDD3; font-size: 0.85rem; margin-right: 2px; }
.mk-pop { font-family: var(--sans); font-size: 0.86rem; font-weight: 500; color: #FFFFFF; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 8px 14px; min-height: 38px; cursor: pointer; transition: border-color .18s, background .18s, color .18s; }
.mk-pop:hover { border-color: var(--gold); }
.mk-pop[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink-on-gold); }
@media (max-width: 680px) {
  .mk-hero { padding: 24px 0 22px; }
  .mk-loc { border-left: 0; border-top: 1px solid rgba(12,41,91,0.12); }
  .mk-go { flex: 1 1 100%; }
  .mk-pops { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-right: calc(-1 * var(--gr)); }
  .mk-pop { flex: 0 0 auto; }
}

/* marketplace body */
.mk-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 28px; padding-bottom: 56px; }
.mk-filters { flex: 1 1 230px; max-width: 100%; }
.mk-main { flex: 999 1 600px; min-width: 0; display: grid; gap: 30px; }
.mk-rail { flex: 1 1 250px; max-width: 100%; display: grid; gap: 16px; }
@media (min-width: 1180px) { .mk-filters { position: sticky; top: 88px; } }

/* filters */
.mk-fbox { background: #ffffff; border: 1px solid rgba(12,41,91,0.1); border-radius: 14px; padding: 20px; }
.mk-fbox > summary { display: none; list-style: none; }
.mk-fbox > summary::-webkit-details-marker { display: none; }
.mk-fhead { display: flex; justify-content: space-between; align-items: center; }
.mk-fhead h2 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: #0C295B; }
.mk-clear { border: 0; background: none; color: var(--gold-hi); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 8px 0; min-height: 40px; }
.mk-fbox fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.mk-fbox legend, .mk-field > span { display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #44536B; margin-bottom: 8px; }
.mk-opt { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--sans); font-size: 0.95rem; text-align: left; padding: 10px 12px; min-height: 44px; margin-bottom: 4px; border-radius: 10px; cursor: pointer; background: #ffffff; color: #0C295B; border: 1px solid rgba(12,41,91,0.12); transition: border-color .15s, background .15s; }
.mk-opt b { font-weight: 500; color: #56657D; }
.mk-opt:hover { border-color: rgba(12,41,91,0.45); }
.mk-opt[aria-pressed="true"] { background: #0C295B; color: #FFFFFF; border-color: #0C295B; font-weight: 600; }
.mk-opt[aria-pressed="true"] b { color: #A9D5E8; }
.mk-opt[disabled] { opacity: 0.5; cursor: default; }
.mk-field { display: block; margin-top: 18px; }
.mk-field select { width: 100%; font-family: var(--sans); font-size: 0.95rem; color: #0C295B; padding: 11px 12px; border: 1px solid rgba(12,41,91,0.18); border-radius: 10px; background: #ffffff; min-height: 44px; }
.mk-switch { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; min-height: 44px; font-family: var(--sans); color: #0C295B; font-weight: 500; }
.mk-switch b { font-weight: 400; color: #56657D; }
.mk-switch input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
@media (max-width: 899px) {
  .mk-fbox { padding: 0; }
  .mk-fbox > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; min-height: 48px; cursor: pointer; font-family: var(--sans); font-weight: 700; color: #0C295B; }
  .mk-fbox > summary::after { content: '+'; font-weight: 400; font-size: 1.3rem; color: #56657D; }
  .mk-fbox[open] > summary::after { content: '−'; }
  .mk-fcount { margin-left: auto; margin-right: 12px; font-weight: 500; color: var(--gold-hi); font-size: 0.9rem; }
  .mk-fbox[open] { padding: 0 18px 18px; }
  .mk-fbox[open] > summary { margin: 0 -18px; }
  .mk-fhead h2 { display: none; }
}

/* section heads */
.mk-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.mk-sechead h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-hi); margin: 0; }
.mk-sechead p { margin: 0; font-size: 0.86rem; color: #44536B; }

/* Spotlight: dark premium cards */
.spot-inlist { margin: 0; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.spot-card { position: relative; overflow: hidden; background: #0C295B; color: #E3ECF5; border: 0; border-radius: 16px; padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 0; box-shadow: 0 16px 40px rgba(27,31,30,0.25); transition: transform .25s ease, box-shadow .25s ease; }
.spot-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 0; background: linear-gradient(90deg, #0C295B, #A9D5E8, #0C295B); }
.spot-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(27,31,30,0.38); border: 0; }
.spot-top { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.spot-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none; color: var(--ink-on-gold); background: var(--gold); padding: 5px 11px; border-radius: 999px; }
.spot-kind { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: #C3D3E4; }
.spot-card h3 { margin: 20px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 2.4vw, 2.05rem); line-height: 1.1; color: #FFFFFF; }
.spot-card h3 a { color: inherit; text-decoration: none; }
.spot-card h3 a:hover { color: #A9D5E8; }
.spot-pay { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0; border: 0; }
.spot-pay .amt { font-family: var(--sans); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.01em; color: #A9D5E8; line-height: 1.1; }
.spot-pay .cap { font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: #C3D3E4; }
.spot-pills { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spot-pills li { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; color: #FFFFFF; background: rgba(255,255,255,0.08); padding: 6px 11px; border-radius: 999px; }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 0; }
.btn-sp { flex: 1 1 150px; text-align: center; font-family: var(--sans); font-size: 0.95rem; font-weight: 700; padding: 13px 16px; border-radius: 10px; text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.btn-sp-gold { background: var(--gold); color: var(--ink-on-gold); }
.btn-sp-gold:hover { background: #C7E4F1; color: var(--ink-on-gold); }
.btn-sp-line { color: #FFFFFF; border: 1px solid rgba(255,255,255,0.24); font-weight: 600; }
.btn-sp-line:hover { border-color: #A9D5E8; color: #A9D5E8; }
.spot-draft { color: #f0b98f; border-color: #f0b98f; }
.spot-empty { margin: 10px 0 0; font-size: 0.9rem; color: #44536B; }

/* list header */
.mk-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.mk-bar h2 { font-family: var(--sans); font-size: 1.28rem; font-weight: 700; color: #0C295B; margin: 0; }
.mk-bar h2 span { font-size: 0.95rem; font-weight: 400; color: #44536B; }
.mk-sort { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.9rem; color: #44536B; }
.mk-sort select { font-family: var(--sans); font-size: 0.92rem; color: #0C295B; padding: 9px 12px; border: 1px solid rgba(12,41,91,0.18); border-radius: 10px; background: #ffffff; min-height: 44px; cursor: pointer; }

/* marketplace cards */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.mk-grid .skel { height: 220px; border-radius: 14px; }
.mk-grid .error-box, .mk-grid .empty { grid-column: 1 / -1; }
.job.mk-card { background: #ffffff; border: 1px solid rgba(12,41,91,0.1); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.job.mk-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(12,41,91,0.12); border-color: rgba(12,41,91,0.45); }
.mk-firm { display: flex; gap: 12px; align-items: center; min-width: 0; }
.mk-mono { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.02em; }
.mk-firm-name { font-family: var(--sans); font-weight: 600; color: #1E2D47; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-firm-loc { display: flex; align-items: center; gap: 4px; color: #44536B; font-size: 0.82rem; }
.job.mk-card h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 700; line-height: 1.3; color: #0C295B; margin: 0; }
.mk-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-tag { font-family: var(--sans); font-size: 0.76rem; font-weight: 500; color: #1E2D47; background: #EEF3F8; padding: 4px 10px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-tag.plaintiff { font-weight: 600; color: #0C295B; background: rgba(169,213,232,0.45); }
.mk-tag.defense { font-weight: 600; color: #245a3b; background: rgba(46,106,71,0.12); }
.mk-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(12,41,91,0.08); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mk-pay { font-family: var(--sans); font-weight: 700; font-size: 1.06rem; color: var(--gold-hi); }
.mk-pay.none { color: #56657D; font-weight: 600; }
.mk-paycap { font-size: 0.76rem; color: #56657D; }
.mk-apply { display: inline-flex; align-items: center; gap: 6px; color: #0C295B; font-family: var(--sans); font-weight: 600; font-size: 0.88rem; border: 1px solid rgba(12,41,91,0.18); padding: 9px 14px; border-radius: 999px; text-decoration: none; transition: border-color .18s, color .18s; }
.mk-apply:hover { border-color: var(--gold); color: var(--gold-hi); }
.mk-dates { font-size: 0.78rem; color: #56657D; margin-top: -4px; }
.mk-fine { margin-top: 16px; }
.mk-empty { grid-column: 1 / -1; background: #ffffff; border: 1px dashed rgba(12,41,91,0.22); border-radius: 14px; padding: 28px; text-align: center; color: #44536B; }
.mk-empty button { border: 0; background: none; color: var(--gold-hi); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; }

/* side rail */
.mk-rcard { border-radius: 14px; padding: 22px; }
.mk-rcard h2 { margin: 0; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: #0C295B; }
.mk-rcard p { margin: 6px 0 14px; font-size: 0.9rem; color: #44536B; }
.mk-rdark { background: #0C295B; color: #E3ECF5; }
.mk-rdark h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: #FFFFFF; }
.mk-rdark p { color: #E3ECF5; }
.mk-rdark b { color: #A9D5E8; }
.mk-rstone { background: #EAF2F8; }
.mk-rlink { color: var(--gold-hi); font-family: var(--sans); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.mk-rlink:hover { text-decoration: underline; }
.btn-mk { display: block; text-align: center; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; padding: 12px 16px; border-radius: 10px; text-decoration: none; transition: background .18s; }
.btn-mk-gold { background: var(--gold); color: var(--ink-on-gold); }
.btn-mk-gold:hover { background: #C7E4F1; color: var(--ink-on-gold); }
.btn-mk-dark { display: inline-block; background: #0C295B; color: #FFFFFF; padding: 13px 22px; margin-top: 18px; }
.btn-mk-dark:hover { background: #2b3231; color: #ffffff; }

/* firms band (home) */
.mk-firms { background: #ffffff; border-top: 1px solid rgba(12,41,91,0.1); border-bottom: 1px solid rgba(12,41,91,0.1); padding: 56px 0; }
.mk-firms-in { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.mk-firms-copy { flex: 1 1 320px; }
.mk-kicker { margin: 0; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-hi); }
.mk-firms h2 { margin: 8px 0 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; color: #0C295B; }
.mk-firms-copy p { color: #44536B; margin: 0; }
.mk-compare { flex: 1.3 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.mk-cmp { border: 1px solid rgba(12,41,91,0.12); border-radius: 14px; padding: 20px; }
.mk-cmp-k { margin: 0; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #44536B; }
.mk-cmp ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; color: #1E2D47; font-size: 0.92rem; }
.mk-cmp-spot { background: #0C295B; border-color: #0C295B; border-top: 4px solid var(--gold); }
.mk-cmp-spot .mk-cmp-k { color: #A9D5E8; }
.mk-cmp-spot ul { color: #E3ECF5; }
.top .wrap, footer .wrap { max-width: 1360px; }
.spot-actions { margin-top: auto; padding-top: 24px; }
.spot-pills { margin-bottom: 0; }
.btn-sp { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .bar { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .bar .logo { order: 1; }
  .bar .btn-firms { order: 2; margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; }
}
.logo { gap: 10px; }
@media (max-width: 760px) { .logo { gap: 9px; } }
.btn-firms { display: inline-block; white-space: nowrap; }
/* About page (Option C style) */
.ab-hero { padding: 48px 0 44px; }
.ab-kicker { margin: 0 0 12px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #A9D5E8; }
.ab-hero .mk-sub { max-width: 760px; color: #E3ECF5; font-size: 1.08rem; }
.ab-hero .mk-sub + .mk-sub { margin-top: 12px; }
.ab-body { padding-top: 36px; padding-bottom: 64px; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.ab-card { background: #ffffff; border: 1px solid rgba(12,41,91,0.1); border-radius: 16px; padding: 30px; }
.ab-card h2 { margin: 10px 0 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.12; color: #0C295B; }
.ab-card p:not(.mk-kicker) { margin: 0 0 12px; font-family: var(--sans); color: #1E2D47; font-size: 1rem; line-height: 1.6; }
.ab-card p:last-child { margin-bottom: 0; }
.ab-dark { background: #0C295B; border-color: #0C295B; position: relative; overflow: hidden; }
.ab-dark::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #0C295B, #A9D5E8, #0C295B); }
.ab-dark .mk-kicker { color: #A9D5E8; }
.ab-dark h2 { color: #FFFFFF; }
.ab-dark p:not(.mk-kicker) { color: #E3ECF5; }
.ab-dark a { color: #A9D5E8; font-weight: 600; }
.ab-operator { margin: 26px 0 0; font-family: var(--sans); font-size: 0.9rem; color: #56657D; }
.mk-area-empty button { margin-left: 4px; }

/* Compensation: regions represented in the figures */
.comp-regions { margin-top: 14px; font-size: .9rem; }


/* ─── FirmSavvy brand palette (Nov 2026): Deep Navy #0C295B, Ice Blue #A9D5E8, White #FFFFFF ───
   Light areas: white and pale ice surfaces, navy text and buttons.
   Dark areas (hero bands, page headers): navy with white text and ice-blue accents.
   Header and footer stay light so the full-colour logo always sits on white or ice. */
:root {
  --navy: #0C295B; --ice: #A9D5E8;
  --gold: #0C295B; --gold-hi: #0C295B; --gold-bg: rgba(169,213,232,0.30); --ink-on-gold: #FFFFFF;
  --text: #0C295B; --text-2: #1E2D47; --text-3: #44536B; --text-4: #56657D;
}
.hero, .page-top, .mk-hero, .spot-card, .mk-rdark, .mk-cmp-spot, .ab-dark {
  --bg: #0C295B; --bg-2: #10306A; --bg-3: #143877; --bg-4: #18407F;
  --line: rgba(255,255,255,0.12); --line-2: rgba(255,255,255,0.24);
  --text: #FFFFFF; --text-2: #E3ECF5; --text-3: #C3D3E4; --text-4: #A9BDD3;
  --gold: #A9D5E8; --gold-hi: #A9D5E8; --gold-bg: rgba(169,213,232,0.16); --ink-on-gold: #0C295B;
  color-scheme: dark;
}
.mk-search {
  --gold: #0C295B; --gold-hi: #0C295B; --ink-on-gold: #FFFFFF; color-scheme: light;
}
.mk-search .mk-go { background: #0C295B; color: #FFFFFF; }
.mk-search .mk-go:hover { background: #163B78; }
.top, footer {
  --bg: #FFFFFF; --bg-2: #F5F8FB; --bg-3: #FFFFFF; --bg-4: #F7FAFD;
  --line: rgba(12,41,91,0.12); --line-2: rgba(12,41,91,0.24);
  --text: #0C295B; --text-2: #1E2D47; --text-3: #44536B; --text-4: #56657D;
  --gold: #0C295B; --gold-hi: #0C295B; --gold-bg: rgba(169,213,232,0.30); --ink-on-gold: #FFFFFF;
  color-scheme: light; color: var(--text-2);
}
.top { background: rgba(255,255,255,0.97) !important; border-bottom: 1px solid rgba(12,41,91,0.12) !important; }
footer { background: #EAF2F8; border-top: 1px solid rgba(12,41,91,0.10); }
.strip { background: #A9D5E8; color: #0C295B; }
.nav a { color: #44536B; }
.nav a:hover { color: #0C295B; }
.nav a[aria-current="page"] { color: #0C295B; box-shadow: inset 0 -2px 0 #0C295B; }
.btn-firms { color: #0C295B; border-color: rgba(12,41,91,0.30); }
.btn-firms:hover { color: #0C295B; border-color: #0C295B; background: #EAF2F8; }
.btn-gold:hover { background: #163B78; border-color: #163B78; }
.hero .btn-gold:hover, .page-top .btn-gold:hover, .mk-hero .btn-gold:hover, .spot-card .btn-gold:hover, .ab-dark .btn-gold:hover { background: #C7E4F1; border-color: #C7E4F1; }
a { text-decoration-color: rgba(12,41,91,0.35); }
.hero a, .page-top a, .mk-hero a { text-decoration-color: rgba(169,213,232,0.55); }

/* logo: exact FS monogram + FirmSavvy wordmark image files */
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 0; }
.logo-mark { height: 36px; width: auto; display: block; flex: 0 0 auto; }
.logo-wm { height: 26px; width: auto; display: block; flex: 0 0 auto; }
footer .logo-mark { height: 30px; }
footer .logo-wm { height: 22px; }
@media (max-width: 760px) {
  .logo-mark { height: 30px; }
  .logo-wm { height: 22px; }
}

/* header lockup refinement (Nov 2 2026): monogram ~14% smaller, tighter gap; footer unchanged */
.top .logo { gap: 8px; }
.top .logo-mark { height: 31px; }
@media (max-width: 760px) { .top .logo { gap: 7px; } .top .logo-mark { height: 26px; } }
