:root {
  color-scheme: light;
  --bg: #f5f8fe;
  --surface: #fff;
  --text: #14223a;
  --muted: #526178;
  --accent: #245acb;
  --line: #cbd7eb;
  --soft: #eaf1ff;
  --danger: #b42318;
  font: 17px/1.65 system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .2em; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--surface); z-index: 2; }
.skip:focus { top: 12px; }
.shell { width: min(1080px, 100% - 48px); margin: 0 auto; }
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 26px; font-weight: 750; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.badge { border: 1px solid var(--line); border-radius: 40px; padding: 6px 12px; font-size: .8rem; white-space: nowrap; color: var(--muted); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); margin: 18px 0 24px; }
h2 { font-size: 1.55rem; margin-top: 2.2em; }
p { margin: 0 0 1.25em; }
.muted, .lede { color: var(--muted); }
.lede { font-size: 1.14rem; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 60px 0 64px; }
.hero > div { min-width: 0; }
.orbit { width: min(100%, 320px); height: auto; justify-self: center; padding: 24px; background: var(--soft); border-radius: 50%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 20px; background: var(--surface); color: var(--accent); font: inherit; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.danger { background: var(--danger); color: white; border-color: var(--danger); }
button:disabled { opacity: .5; cursor: not-allowed; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 56px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.card h2 { font-size: 1.2rem; margin: 0 0 16px; }
.card p { margin: 0; color: var(--muted); }
.document { max-width: 760px; margin: 36px auto 72px; }
.document h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 24px 0; }
.notice p:last-child { margin-bottom: 0; }
li { margin: 12px 0; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 28px 0 36px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer span { margin-right: auto; }
.footer a { display: inline-flex; align-items: center; min-height: 48px; }
#status { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 3em; }
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .header { padding: 18px 0; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 30px 0 36px; }
  .hero h1 { font-size: clamp(1.8rem, 10vw, 2.3rem); }
  .orbit { width: 160px; padding: 10px; grid-row: 1; justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .document { margin-top: 24px; }
  .actions > * { width: 100%; }
}
