:root {
  --page: #f4f1ea; --card: #ffffff; --ink: #14213d; --text: #23262c; --muted: #5f6673;
  --accent: #0e6b62; --tint: #f1f6f4; --rule: #e4e0d6; --pill-border: #cfe3de;
  --hero: #14213d; --hero-text: #ffffff; --hero-muted: #c5cbd8; --button: #6fd0c3; --button-text: #10231f;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f1216; --card: #1a1e24; --ink: #f4f5f6; --text: #e6e8eb; --muted: #a4abb5;
    --accent: #6fd0c3; --tint: #20282b; --rule: #2c3138; --pill-border: #2f4a46; --hero: #16213f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.55 var(--sans); }
a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.banner { background: var(--tint); border-bottom: 1px solid var(--rule); font-size: 13px; padding: 8px 0; color: var(--muted); }
.top { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; justify-content: space-between; padding: 20px 0 16px; }
.brand { font: 700 22px/1.2 var(--serif); color: var(--ink); }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); font-size: 15px; }
nav a[aria-current] { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; }
.hero { background: var(--hero); border-radius: 14px; padding: 40px 28px 34px; color: var(--hero-text); }
.hero h1 { color: inherit; font-size: clamp(38px, 8vw, 58px); line-height: 1.04; }
.hero p { margin: 14px 0 22px; max-width: 34em; font-size: 18px; color: var(--hero-muted); }
.signup { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.signup input { flex: 1 1 210px; min-width: 0; padding: 12px 14px; font: inherit; border: 1px solid transparent; border-radius: 10px; background: #fff; color: #14213d; }
.signup button { padding: 12px 18px; font: 700 15px var(--sans); border: 0; border-radius: 10px; background: var(--button); color: var(--button-text); cursor: pointer; }
.signup-note { margin: 10px 0 0; font-size: 13px; color: var(--hero-muted); }
.signup-note:empty { display: none; }
.signup-consent { margin: 12px 0 0 !important; font-size: 13px !important; }
.signup-consent a { color: inherit; text-decoration: underline; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.signup button:disabled, .primary:disabled { opacity: .6; cursor: default; }
.primary { padding: 12px 18px; font: 700 15px var(--sans); border: 0; border-radius: 10px; background: var(--accent); color: var(--card); cursor: pointer; }
#link-note { margin: 12px 0 0; font-size: 15px; }
#link-note:empty { display: none; }
.section { margin-top: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 6px 12px; }
.section-head h2, .page-title + .section-head h2 { font-size: 20px; font-style: italic; font-weight: 400; }
.section-head a { font-size: 14px; white-space: nowrap; }
.page-title { font-size: clamp(32px, 7vw, 44px); line-height: 1.1; padding: 16px 6px 6px; }
.page-intro { padding: 0 6px; margin: 4px 0 20px; color: var(--muted); max-width: 38em; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; margin-bottom: 12px; overflow-wrap: anywhere; }
.card h3 { font-size: 21px; line-height: 1.26; margin-bottom: 8px; }
.card h3 a { color: inherit; }
.card.lead h2 { font-size: clamp(24px, 5vw, 30px); line-height: 1.2; margin-bottom: 12px; }
.card p { margin: 0 0 14px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .09em; color: var(--accent); }
.pill { display: inline-block; background: var(--tint); border: 1px solid var(--pill-border); border-radius: 999px; padding: 3px 10px; font-size: 10px; line-height: 1.3; font-weight: 700; letter-spacing: .09em; color: var(--accent); text-transform: uppercase; }
.pill.draft { color: var(--muted); border-color: var(--rule); }
.why { background: var(--tint); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 12px 14px; margin-bottom: 14px; font-size: 15px; }
.why strong { display: block; font-size: 11px; letter-spacing: .09em; color: var(--accent); text-transform: uppercase; margin-bottom: 4px; }
.meta { font-size: 13px; color: var(--muted); }
.more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.more li { padding: 10px 0; border-bottom: 1px solid var(--rule); font: 700 16px/1.3 var(--serif); color: var(--ink); }
.more li:last-child { border-bottom: 0; padding-bottom: 0; }
.job { padding: 16px 0; border-top: 1px solid var(--rule); }
.job:first-child { border-top: 0; padding-top: 0; }
.job:last-child { padding-bottom: 0; }
.job a { font-size: 17px; line-height: 1.35; }
.job .tags { margin-bottom: 8px; }
.filters { padding: 0 6px 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.filter-row span, .filter-row label { min-width: 76px; }
.filter-row select { flex: 0 1 280px; min-width: 0; max-width: 100%; font: 600 14px var(--sans); padding: 7px 10px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); color: var(--text); }
.job[hidden], .card [hidden] { display: none; }
.firm-picker { position: relative; flex: 0 1 280px; min-width: 0; max-width: 100%; }
.firm-picker summary { list-style: none; cursor: pointer; font: 600 14px var(--sans); padding: 7px 10px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); color: var(--text); }
.firm-picker summary::-webkit-details-marker { display: none; }
.firm-picker summary::after { content: "\25BE"; float: right; color: var(--muted); }
.firm-panel { position: absolute; z-index: 5; left: 0; right: 0; margin-top: 4px; max-height: 300px; overflow-y: auto; padding: 8px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.firm-panel label { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 6px; border-radius: 6px; font-size: 14px; color: var(--text); cursor: pointer; }
.firm-panel label:hover { background: var(--tint); }
.firm-panel input { flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.firm-clear { width: 100%; padding: 6px; margin-bottom: 4px; font: 600 13px var(--sans); border: 0; border-radius: 6px; background: var(--tint); color: var(--accent); cursor: pointer; }
.firm-clear[hidden] { display: none; }
.chip { font: 600 13px var(--sans); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--card); }
.note { font-size: 13px; color: var(--muted); padding: 2px 6px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 24px; margin: 26px 0 8px; }
.prose h3 { font-size: 19px; margin: 20px 0 6px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose blockquote { margin: 0 0 14px; padding: 2px 0 2px 14px; border-left: 3px solid var(--accent); color: var(--muted); }
.empty { color: var(--muted); }
footer { margin-top: 36px; padding: 18px 0 34px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
footer p { margin: 0 0 6px; max-width: 44em; }
@media (max-width: 520px) { .hero { padding: 30px 20px 26px; } .card { padding: 20px; } .filter-row span, .filter-row label { min-width: 100%; } .filter-row select, .firm-picker { flex: 1 1 100%; } }
