:root {
  --navy: #0E1A2B; --navy-2: #16263C; --bg: #F4F6FA; --card: #FFFFFF; --line: #E2E6EE; --ink: #0E1A2B; --muted: #5A6377;
  --indigo: #3B4CCA; --indigo-ink: #2E3CA6; --gold: #F5A524; --green: #12866A; --green-soft: #DDF1EA; --red: #B42318; --red-soft: #FBE3E3;
  --display: 'Montserrat', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--body); }
a { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 14px; }

header { background: var(--navy); }
header .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 800 21px var(--display); letter-spacing: -0.02em; }
header nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
header nav a { color: #C9D0E2; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
header nav a:hover, header nav a[aria-current="page"] { color: #fff; }
header nav a.join { background: var(--gold); color: var(--navy); margin-left: 6px; }
header nav a.join:hover { background: #F7B547; color: var(--navy); }

.title { background: var(--navy); color: #fff; padding: 28px 0 60px; }
.crumbs { font-size: 14px; color: #8F98AF; margin: 0 0 18px; }
.crumbs a { color: #C9D0E2; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.title h1 { font: 800 clamp(34px, 5vw, 54px)/1.06 var(--display); letter-spacing: -0.03em; margin: 0; max-width: 20ch; }
.title .lede { margin: 18px 0 0; color: #C9D0E2; font-size: 19px; max-width: 60ch; }
.title .meta { margin: 14px 0 0; color: #8F98AF; font-size: 14.5px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 44px; padding-bottom: 88px; align-items: start; }
article { min-width: 0; max-width: 780px; }
article h2 { font: 700 26px/1.25 var(--display); margin: 48px 0 12px; scroll-margin-top: 20px; }
article h2:first-child { margin-top: 0; }
article h3 { font: 700 19px/1.35 var(--display); margin: 28px 0 8px; }
article p, article li { color: #2B3346; }
article ul, article ol { margin: 0 0 16px; padding-left: 22px; }
article li { margin: 6px 0; }
article strong { color: var(--ink); }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: 12px; padding: 18px 22px; margin: 0 0 28px; font-size: 17.5px; }
.answer p:last-child { margin-bottom: 0; }

aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.side { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; font-size: 15px; }
.side b { display: block; font: 700 16px var(--display); margin-bottom: 8px; }
.side ol, .side ul { margin: 0; padding-left: 18px; color: var(--muted); }
.side li { margin: 4px 0; }
.side a { color: var(--muted); text-decoration: none; }
.side a:hover { color: var(--indigo); }
.side.cta { background: var(--navy); border-color: var(--navy); color: #C9D0E2; }
.side.cta b { color: #fff; }
.side.cta p { margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 15.5px var(--body); text-decoration: none; border-radius: 10px; padding: 12px 20px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #F7B547; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }

.agenda { margin: 8px 0 24px; }
.agenda-bar { display: flex; height: 56px; border-radius: 12px; overflow: hidden; gap: 2px; background: var(--line); }
.agenda-bar div { display: flex; align-items: center; justify-content: center; color: #fff; font: 700 13px var(--body); min-width: 0; white-space: nowrap; overflow: hidden; }
.agenda-bar .rev { background: #5D6887; }
.agenda-bar .ids { background: var(--indigo); }
.agenda-bar .end { background: var(--green); }
.agenda-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.agenda-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.steps { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.steps .min { font: 700 15px var(--display); color: var(--indigo); font-variant-numeric: tabular-nums; }
.steps .min small { display: block; font: 500 13px var(--body); color: var(--muted); }
.steps b { display: block; color: var(--ink); }

.tbl { width: 100%; overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font: 700 15px var(--display); background: var(--bg); color: var(--ink); }
tbody th { font-weight: 600; color: var(--ink); width: 34%; }
table.wide { min-width: 1180px; font-size: 14px; }
table.wide tbody th { width: 150px; }
table.wide td { width: 16%; }
table.wide th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
table.wide thead th:first-child { background: var(--bg); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.y::before, td.n::before, td.p::before { display: inline-block; width: 18px; font-weight: 800; }
td.y::before { content: '\2713'; color: var(--green); }
td.n::before { content: '\2013'; color: var(--muted); }
td.p::before { content: '~'; color: #B45309; }
.note { font-size: 14px; color: var(--muted); }
pre.code { background: var(--navy); color: #E2E6EE; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin: 8px 0 18px; }
article code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg); padding: 1px 5px; border-radius: 5px; }
pre.code code { background: none; padding: 0; font: inherit; color: inherit; }
article tbody th code { white-space: nowrap; }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 24px; }
.pick { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.pick h3 { margin: 0 0 8px; font-size: 17px; }
.pick ul { margin: 0; }
.pick.us { border-color: var(--indigo); box-shadow: inset 0 3px 0 var(--indigo); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 24px; }
.cards a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--indigo); }
.cards b { display: block; font: 700 17px var(--display); margin-bottom: 4px; }
.cards span { color: var(--muted); font-size: 15px; }

.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 17px/1.4 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--indigo); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '-'; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.band { background: var(--navy); color: #fff; padding: 64px 0; }
.band h2 { font: 800 clamp(28px, 3.6vw, 40px)/1.1 var(--display); margin: 0; max-width: 22ch; }
.band p { margin: 14px 0 0; color: #C9D0E2; font-size: 18px; max-width: 54ch; }
.band .ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
footer { background: var(--navy); color: #8F98AF; font-size: 14.5px; border-top: 1px solid #263150; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
footer nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
footer a { text-decoration: none; color: #C9D0E2; }
footer a:hover { color: #fff; }
.tm { flex-basis: 100%; font-size: 13px; color: #6F7891; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 28px; }
  aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  header nav a.hide-sm { display: none; }
  .title { padding-bottom: 44px; }
  .title .lede { font-size: 17px; }
  .picks { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .agenda-bar div.sm { font-size: 0; }
  article h2 { font-size: 23px; }
}
@media print {
  header, footer, aside, .band { display: none; }
  .title { background: none; color: #000; padding: 0 0 16px; }
  .title .lede { color: #333; }
  .layout { display: block; padding: 0; }
}
.tscroll { position: relative; margin: 8px 0 24px; }
.tscroll .tbl { margin: 0; }
.tscroll-btn { display: none; position: absolute; top: 6px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 0 6px 18px rgba(16, 24, 40, .16); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.tscroll.can-scroll .tscroll-btn { display: flex; }
.tscroll-btn:disabled { opacity: 0; pointer-events: none; }
.tscroll-left { left: calc(var(--c1, 150px) + 8px); }
.tscroll-right { right: 8px; }
.tscroll.can-scroll:not(.at-end)::after { content: ''; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 56px; border-radius: 0 14px 14px 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--card)); pointer-events: none; z-index: 2; }
.tpick { margin: 8px 0 24px; }
.tpick .tbl { margin: 0; overflow: visible; }
.tpick-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.tpick-lead { font-size: 14px; color: var(--muted); margin-right: 4px; }
.tpick-tabs button { font: 600 14px var(--display); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.tpick-tabs button:hover { border-color: var(--ink); }
.tpick-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tpick table.wide { min-width: 0; width: 100%; table-layout: fixed; }
.tpick table.wide th:first-child { width: 24%; position: static; box-shadow: none; }
.tpick table.wide :is(th, td):nth-child(2) { width: 38%; background: #F3F6FF; }
.tpick table.wide thead th:nth-child(2) { background: #E8EEFF; vertical-align: middle; }
.tpick table.wide td { width: auto; }
.tpick table.wide thead th:nth-child(n+3) { padding: 6px 8px; }
.tpick [hidden] { display: none; }
.tnav { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tnav-name { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; min-width: 0; }
.tnav-name b { font: 700 15px var(--display); }
.tnav-name small { font-size: 12px; font-weight: 500; color: var(--muted); }
.tnav-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.tnav-btn:hover { border-color: var(--ink); }
.tpick-tabs button:focus-visible, .tnav-btn:focus-visible, .tscroll-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tpick-in { animation: tpickIn .22s ease-out; }
@keyframes tpickIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .tpick table.wide { font-size: 13.5px; }
  .tpick table.wide th, .tpick table.wide td { padding: 10px 8px; }
  .tpick table.wide th:first-child { width: 27%; }
  .tpick table.wide :is(th, td):nth-child(2) { width: 36.5%; }
  .tpick-lead { width: 100%; }
  .tnav-btn { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .tpick-in { animation: none; } }
