:root {
    color-scheme: light;
    --canvas: #f7f4fa;
    --paper: #fff;
    --ink: #25182f;
    --muted: #5d5267;
    --green: #533474;
    --dark: #342047;
    --tint: #f0e9f7;
    --soft: #faf8fc;
    --line: #e9e2ee;
    --field-line: #d9cfe2;
    --table-head: #f6f1f9;
    --card-radius: 1rem;
    --shadow: 0 5px 18px #3420470a;
    --focus: #6c4bb3;
    --bad: #882e22;
    font-family: "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); min-height: 100vh; display: flex; flex-direction: column; }
.site-width { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner, .brand, .masthead nav, .actions { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 4.35rem; gap: 1rem; }
.brand img { display: block; width: 9.375rem; height: auto; }
.brand { gap: .7rem; text-decoration: none; color: var(--ink); line-height: 1.13; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; position: relative; border-radius: .7rem; color: var(--tint); background: var(--dark); }
.brand-mark::before, .brand-mark i, .brand-mark b { position: absolute; content: ""; display: block; }
.brand-mark::before { width: 1.4rem; height: 1rem; top: .87rem; border-top: 2px solid; border-radius: 50%; }
.brand-mark i { width: .85rem; height: .7rem; top: 1.15rem; border-top: 2px solid; border-radius: 50%; }
.brand-mark b { width: .22rem; height: .22rem; top: 1.5rem; border-radius: 50%; background: currentColor; }
.masthead nav { gap: .25rem; flex-wrap: wrap; justify-content: end; }
.masthead nav a, .masthead nav button { border: 0; background: transparent; border-radius: .55rem; padding: .55rem .8rem; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.masthead nav a:hover, .masthead nav a[aria-current], .masthead nav button:hover { background: var(--tint); color: var(--green); }
.masthead-caption { font-size: .9rem; color: var(--muted); font-weight: 600; }
.content { flex: 1; padding-block: clamp(1.25rem, 4vw, 3.5rem); }
.content:focus { outline: none; }
.site-footer { padding-block: 1.2rem 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.skip-link { position: fixed; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 1; padding: .7rem; background: white; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a { color: var(--green); text-underline-offset: .2em; }
h1, h2 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .7rem; font-weight: 680; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1rem; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--green); }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 42rem; }
.muted { color: var(--muted); }
.narrow { max-width: 44rem; margin-inline: auto; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: var(--shadow); padding: clamp(1.2rem, 3.2vw, 2.25rem); min-width: 0; }
.layout, .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .42fr); align-items: start; gap: 1rem; }
.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow); }
.hero .panel { display: flex; flex-direction: column; justify-content: center; border: 0; border-radius: 0; box-shadow: none; padding: clamp(1.5rem, 4vw, 3rem); }
.hero h1 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
.hero .rail { border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.hero .rail h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
.rail { min-width: 0; overflow-wrap: anywhere; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: var(--card-radius); padding: clamp(1.25rem, 3.2vw, 2.1rem); }
.rail p:not(.eyebrow) { color: var(--muted); }
.rail p:last-child, .panel p:last-child { margin-bottom: 0; }
.signal { margin: 0 0 1rem; }
.signal .brand-mark { background: var(--tint); color: var(--green); border: 1px solid #e6d9f0; border-radius: .85rem; width: 3rem; height: 3rem; }
.signal .brand-mark::before { top: 1.02rem; }
.signal .brand-mark i { top: 1.3rem; }
.signal .brand-mark b { top: 1.65rem; }
.steps { padding: 0; margin: 1.45rem 0; list-style: none; }
.steps li { border-inline-start: 2px solid var(--field-line); padding: .45rem .8rem; color: var(--muted); }
.steps li[aria-current] { color: var(--green); font-weight: 650; border-color: var(--green); background: var(--tint); }
.signed-in { border-top: 1px solid var(--line); padding-top: 1rem; }
.signed-in span, .signed-in strong { display: block; overflow-wrap: anywhere; font-size: .875rem; }
.signed-in span { color: var(--muted); }
.actions { gap: .65rem; flex-wrap: wrap; margin-block: 1.25rem; }
.actions:last-child { margin-bottom: 0; }
.button { font: inherit; display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .58rem .95rem; border: 1px solid var(--field-line); border-radius: .48rem; background: var(--paper); color: var(--dark); text-decoration: none; font-weight: 600; cursor: pointer; text-align: center; }
.button:hover { background: var(--tint); border-color: #cbb9d9; color: var(--green); }
.button.primary { color: white; background: var(--green); border-color: var(--green); }
.button.primary:hover { color: white; background: var(--dark); }
.button:disabled { cursor: wait; opacity: .65; }
.signin-button { margin-block: 1rem 1.1rem; align-self: start; }
.notice { border: 1px solid #cce0d4; border-left: .28rem solid var(--green); background: #eef7f0; border-radius: .65rem; padding: .85rem 1rem; margin-block: 1rem; }
.notice p:last-child { margin: 0; }
.notice.danger { color: var(--bad); border-color: #e5c9bf; border-left-color: var(--bad); background: #fcf0ed; }
.notice:empty { display: none; }
.state { display: inline-flex; gap: .45rem; align-items: center; font-size: .85rem; padding: .23rem .6rem; border-radius: 2rem; font-weight: 650; background: #eee5f6; color: var(--dark); white-space: nowrap; }
.state::before { content: ""; background: currentColor; width: .42rem; height: .42rem; border-radius: 50%; }
.state.active { background: #e2f3e6; color: #1c5929; }
.state.pending { background: #f6efd5; color: #67510f; }
.state.revoked { background: #f8e8e3; color: var(--bad); }
.facts { margin-block: 1.2rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.facts div { background: #f7f3fa; border: 1px solid #ebe3f1; padding: .75rem; border-radius: .65rem; overflow-wrap: anywhere; }
.facts dt { font-size: .86rem; color: var(--muted); }
.facts dd { margin: .15rem 0 0; font-weight: 650; }
.facts .wide { grid-column: 1 / -1; }
details { border-top: 1px solid var(--line); padding: .84rem 0; }
details summary { font-weight: 650; cursor: pointer; }
details[open] summary { margin-bottom: .7rem; }
details ol, .instructions { padding-inline-start: 1.4rem; }
li + li { margin-top: .35rem; }
pre { padding: .85rem; border-radius: .55rem; color: #f4eafa; background: #322041; white-space: pre-wrap; overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; }
input[type=file] { font: inherit; color: var(--muted); max-width: 100%; margin: .55rem 0; }
input[type=file]::file-selector-button { font: inherit; cursor: pointer; padding: .38rem .6rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--green); background: #f4edf9; }
label { display: block; font-weight: 650; }
input[type=search] { min-height: 2.75rem; width: min(100%, 24rem); padding: .5rem .75rem; border: 1px solid var(--field-line); border-radius: .48rem; font: inherit; }
.device-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
.device-options .button { width: 100%; min-height: 3.4rem; }
.choice-form { display: contents; }
.table-wrap { overflow-x: auto; margin-block-start: 1rem; border: 1px solid var(--line); border-radius: .7rem; }
table { width: 100%; border-collapse: collapse; text-align: start; font-size: .875rem; }
th, td { padding: .72rem .9rem; border-bottom: 1px solid var(--line); text-align: start; }
th { background: var(--table-head); color: var(--ink); font-size: .8rem; font-weight: 650; }
tbody tr:nth-child(even) { background: #fcfafc; }
tbody tr:hover { background: #f4edf8; }
tbody tr:last-child > * { border-bottom: 0; }
td { overflow-wrap: anywhere; }
.subsection { margin-block-start: 1.6rem; }
[hidden] { display: none !important; }
@media (max-width: 49rem) {
    .hero, .layout { grid-template-columns: minmax(0, 1fr); }
    .hero .rail { border-inline-start: 0; border-block-start: 1px solid var(--line); padding: 1.35rem 1.5rem; }
    .hero .signal { display: none; }
    .layout .rail { display: none; }
}
@media (max-width: 33rem) {
    .site-width { width: calc(100% - 1.6rem); }
    .masthead-inner { min-height: 4.2rem; flex-wrap: wrap; gap: .4rem .8rem; padding-block: .55rem; }
    .brand img { width: 8rem; }
    .masthead nav { justify-content: start; }
    .masthead nav a, .masthead nav button { min-height: 2.6rem; }
    .masthead nav a, .masthead nav button { padding: .45rem .52rem; font-size: .82rem; }
    .brand-mark { width: 2.3rem; height: 2.3rem; }
    .facts { grid-template-columns: minmax(0, 1fr); }
    .actions .button { width: 100%; }
    .site-footer { font-size: .77rem; }
}
