/* Agent Licenses. Guidebook look: deep teal hero band with white answer cards, Manrope
   for headings, system sans body, amber for money, soft cards and tables. Fresh. */
:root {
  --bg:#f5f8f9; --card:#ffffff; --bg-2:#eaf0f2; --line:#d6dfe4; --ink:#14212a; --ink-2:#4a5964; --ink-3:#7d8b95;
  --teal:#0d5f63; --teal-2:#0a494c; --teal-3:#0f7a7e; --teal-soft:#d9eeee; --mint:#2fbf9f; --amber:#c2600a; --amber-soft:#fff1de; --ok:#1f8a5b;
  --max:74rem; --display:"Manrope", "Segoe UI", Inter, -apple-system, sans-serif; --body:"Segoe UI", Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow:0 1px 2px rgba(20,33,42,.06), 0 8px 24px -12px rgba(20,33,42,.18);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font: 17px/1.62 var(--body); -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; max-width: 24ch; text-wrap: balance; }
h2 { font-size: 1.5rem; font-weight: 800; margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; }
h2 .n { flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: var(--teal); color: #fff; font-size: .95rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.4rem; }
p { margin: .5rem 0 .9rem; max-width: 68ch; }
strong { font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }

/* header */
.top { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo svg { color: var(--teal); }
.top nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .92rem; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; font-weight: 600; }
.top nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* hero band */
.hero { background: linear-gradient(135deg, var(--teal-2) 0%, var(--teal) 55%, var(--teal-3) 100%); color: #fff; padding: 2.4rem 0 2.6rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -12rem; top: -12rem; width: 34rem; height: 34rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,159,.35), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .crumbs { color: rgba(255,255,255,.75); margin: 0 0 .9rem; }
.hero .crumbs a { color: inherit; }
.hero .kicker { color: var(--mint); }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 60ch; }
.hero .checked { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.hero .checked i { background: var(--mint); }
.kicker { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 800; margin: 0 0 .6rem; }
.checked { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem .3rem .7rem; color: var(--ink-2); margin: .2rem 0 1rem; }
.checked i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); flex: none; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }

/* answer cards on the hero */
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; margin: 1.6rem 0 0; }
.answers div { background: var(--card); color: var(--ink); border-radius: 12px; padding: .95rem 1.05rem .9rem; box-shadow: var(--shadow); border-top: 4px solid var(--mint); }
.answers b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.answers > div > span { display: block; font-size: .8rem; color: var(--ink-2); margin-top: .3rem; line-height: 1.3; }
.answers .fig { display: inline; font-size: inherit; color: inherit; }
.answers .money { border-top-color: var(--amber); }
.answers .money b { color: var(--amber); }

/* layout */
main { padding: 1.8rem 1.4rem 3rem; }
main.has-side { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.side { position: sticky; top: 4.8rem; font-size: .88rem; }
.side-h { font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; margin: 0 0 .5rem; }
.side ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.side li a { display: block; padding: .32rem .85rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; }
.side li a:hover { color: var(--teal); border-left-color: var(--teal); }
.crumbs { font-size: .82rem; color: var(--ink-3); margin: 0 0 1rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs span { margin: 0 .3rem; }
article > .note:first-child { margin-top: 0; }

/* sourced figures and read lines */
.fig { border-bottom: 1px dotted var(--teal-3); cursor: help; }
.fig.long { border-bottom: 0; }
.read { font-size: .8rem; color: var(--ink-3); margin: -.2rem 0 1rem; max-width: none; padding-left: .8rem; border-left: 3px solid var(--teal-soft); }
.read a { color: var(--ink-2); }

/* steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0; max-width: 66ch; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 1.3rem 3.4rem; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: var(--teal); color: #fff; font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
ol.steps li::after { content: ""; position: absolute; left: 1.1rem; top: 2.5rem; bottom: .1rem; border-left: 2px dashed var(--line); }
ol.steps li:last-child::after { display: none; }
ol.steps h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
ol.steps p { margin: 0; }

/* tables */
table { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 46rem; margin: .8rem 0 1rem; font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); background: var(--bg-2); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.num { font-weight: 700; }
tr.total td { font-weight: 800; background: var(--amber-soft); }
td small { color: var(--ink-3); font-weight: 400; }
.bars td .bar { display: inline-block; height: .6rem; background: linear-gradient(90deg, var(--teal-3), var(--mint)); border-radius: 4px; vertical-align: middle; margin-right: .5rem; }

/* callouts, lists */
.note { background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: .8rem 1.1rem; margin: 1.1rem 0; max-width: 68ch; font-size: .95rem; }
.warn { background: var(--amber-soft); border-left-color: var(--amber); }
ul.plain { padding-left: 1.2rem; max-width: 68ch; }
ul.plain li { margin: .35rem 0; }
.sources { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.3rem; margin: 1rem 0; font-size: .9rem; box-shadow: var(--shadow); }
.sources ol { margin: .4rem 0 0; padding-left: 1.3rem; }
.sources li { margin: .3rem 0; }
.sources li a { word-break: break-all; }
dl.faq dt { font-family: var(--display); font-weight: 800; margin-top: 1.1rem; font-size: 1.02rem; }
dl.faq dd { margin: .25rem 0 0; max-width: 66ch; color: var(--ink-2); }

/* home */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .55rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.states li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.states li a { text-decoration: none; font-weight: 700; color: var(--ink); flex: 1; }
.states li a:hover { color: var(--teal); }
.states li i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); flex: none; }
.states li.soon { color: var(--ink-3); background: transparent; }
.states li.soon i { background: var(--line); }
.states li small { font-size: .74rem; color: var(--ink-3); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem; margin: 1.2rem 0 .5rem; }
.principles div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.principles b { display: block; font-family: var(--display); font-weight: 800; margin-bottom: .3rem; }
.principles p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.legend { font-size: .82rem; color: var(--ink-3); }
.legend i { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; vertical-align: middle; margin: 0 .3rem 0 .6rem; }

footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 1.6rem 0 2.6rem; font-size: .88rem; color: var(--ink-2); margin-top: 2rem; }
footer .fine { font-size: .8rem; color: var(--ink-3); }

@media (max-width: 900px) {
  main.has-side { display: block; }
  .side { position: static; margin-bottom: 1.5rem; }
  .side ol { display: flex; flex-wrap: wrap; gap: .35rem; border: 0; }
  .side li a { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .75rem; margin: 0; background: var(--card); }
  .top nav { margin-left: 0; width: 100%; }
  .hero { padding: 1.8rem 0 2rem; }
  .answers { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .answers b { font-size: 1.25rem; }
}
