:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --ink: #171b27;
  --muted: #4e5363;
  --line: #c9cbd2;
  --blue: #233bd8;
  --blue-dark: #1425ac;
  --lime: #e8fc87;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.58; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
p { color: var(--muted); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }

.topbar { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.identity { display: inline-flex; align-items: center; gap: .65rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.identity img { flex: none; }
.identity small { color: var(--blue); font-size: .72em; letter-spacing: 0; }
.topnav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); font-size: .89rem; font-weight: 730; }
.nav-index { text-decoration-thickness: 1px; text-underline-offset: .3em; }
.languages { position: relative; z-index: 2; }
.languages summary { display: flex; align-items: center; gap: .65rem; padding: .45rem .72rem; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
.languages ul { position: absolute; inset: 100% 0 auto auto; min-width: 10rem; margin: .4rem 0 0; padding: .3rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 20px #141b2920; }
.languages a { display: block; padding: .35rem .65rem; text-decoration: none; }
.languages a:hover, .languages a[aria-current] { background: #ebeeff; color: var(--blue-dark); }
.chevron { width: .48rem; height: .48rem; flex: none; margin: -.2rem .2rem 0 .2rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
details[open] > summary .chevron { transform: rotate(225deg); margin-top: .2rem; }

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.75rem, 6vw, 5.5rem); }
.kicker { display: flex; gap: .55rem; align-items: center; color: var(--blue-dark); font: 700 .71rem/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.signal { width: .64rem; height: .64rem; flex: none; background: var(--blue); }
h1 { margin-top: .8rem; font-size: clamp(3.2rem, 6.1vw, 6.45rem); font-weight: 880; letter-spacing: -.078em; overflow-wrap: anywhere; }
.intro { max-width: 36ch; margin-top: 1.25rem; font-size: clamp(1.02rem, 1.55vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .9rem; padding: .73rem .9rem; border: 1px solid transparent; border-radius: 4px; font-weight: 740; font-size: .89rem; line-height: 1.25; text-decoration: none; }
.button span { flex: none; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-dark); }
.outline { border-color: #858aa0; }
.outline:hover { background: #e4e8ff; border-color: var(--blue); }
.hero-art { position: relative; background: #172769; overflow: hidden; border-radius: 5px; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-art figcaption { position: absolute; bottom: .85rem; left: .85rem; right: .85rem; display: flex; justify-content: space-between; color: #fff; font: 700 .69rem ui-monospace, monospace; letter-spacing: .11em; }
.hero-art figcaption span { padding: .42rem .48rem; background: #101942; }

.section { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4.25rem); scroll-margin-top: 1rem; }
.section h2 { margin-top: .55rem; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 820; overflow-wrap: anywhere; }
.section-copy > p:not(.kicker) { max-width: 55ch; margin-top: .75rem; }
.directory, .faq, .comparison { display: grid; align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.15rem, 4vw, 3.75rem); }
.category-picker { border: 1px solid #a5aef8; border-radius: 5px; background: #eeeffd; }
.category-picker summary { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 1rem 1.15rem; font-weight: 800; color: var(--blue-dark); }
.category-picker summary:hover { background: #e3e7ff; }
.category-picker ol { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 1px 0 0; list-style: none; background: #cbd0fb; }
.category-picker li { min-width: 0; }
.category-picker a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .55rem; height: 100%; padding: .65rem .7rem; background: #f9f9ff; font-size: .86rem; font-weight: 660; text-decoration: none; overflow-wrap: anywhere; }
.category-picker a:hover { background: var(--lime); }
.item-num { font: 700 .68rem ui-monospace, monospace; color: #4a55a2; }
.outbound { color: var(--blue-dark); }

.steps { margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: 5px; }
.steps li { padding: 1.25rem; background: #faf9f4; }
.step-number { display: inline-block; padding: .14rem .4rem; background: var(--lime); color: #203017; border-radius: 3px; font: 750 .72rem/1.5 ui-monospace, monospace; }
.steps h3 { margin-top: .65rem; font-size: 1.24rem; }
.steps p { margin-top: .55rem; font-size: .94rem; }

.worksheet { padding: 1rem; border: 1px solid #a5aef8; border-radius: 5px; background: #eeeffd; }
.worksheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.worksheet fieldset { margin: 0; padding: .65rem; min-width: 0; border: 1px solid #b8bdea; border-radius: 4px; }
.worksheet legend { padding: 0 .3rem; font-weight: 800; color: var(--blue-dark); }
.worksheet label { display: block; margin-bottom: .55rem; font-size: .78rem; font-weight: 730; }
.worksheet label:last-child { margin-bottom: 0; }
.worksheet input, .worksheet textarea { display: block; width: 100%; margin-top: .17rem; padding: .33rem .45rem; border: 1px solid #8a92b8; border-radius: 3px; background: #fff; color: var(--ink); font-size: 1rem; }
.worksheet textarea { resize: vertical; }
.reset { margin-top: .7rem; border-color: #858dbf; background: transparent; color: var(--blue-dark); }
.reset[hidden] { display: none; }
.reset:hover { background: #dce2ff; }

.faq-list { border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; font-weight: 750; }
.faq-list p { padding-bottom: .85rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.65rem 2.3rem; border-top: 1px solid var(--line); }
.footer p { margin-top: .45rem; font-size: .82rem; max-width: 68ch; }
.missing { margin-top: 5rem; }
.missing .button { margin-top: 1.5rem; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 48px); }
  .hero-art img { aspect-ratio: 1 / 1; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: 64px; }
  .nav-index { display: none; }
  .hero, .directory, .faq, .comparison { grid-template-columns: 1fr; }
  .hero { padding-top: 2.4rem; }
  h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .hero-art img { aspect-ratio: 3 / 2; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 490px) {
  .category-picker ol, .steps, .worksheet-grid { grid-template-columns: 1fr; }
}
