:root {
    color-scheme: dark;
    --background: #090f16;
    --surface: #101c29;
    --text: #f6f8fb;
    --muted: #b3c4d2;
    --line: #304254;
    --gold: #ffbb24;
    --blue: #64bbff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font: 17px/1.7 "Segoe UI", Arial, sans-serif;
}

a { color: var(--blue); }
a:hover { color: #a6dcff; }

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 10;
    padding: 8px 12px;
    background: #fff;
    color: #07111a;
}
.skip-link:focus { top: 12px; }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 12px clamp(20px, 4vw, 60px);
    border-bottom: 1px solid var(--line);
    background: #070c12;
}

.brand img { display: block; width: clamp(150px, 17vw, 210px); height: auto; }

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 22px;
}

.site-header nav a,
.login-link {
    color: #dce8f0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.site-header nav a[aria-current="page"],
.site-header nav a:hover,
.login-link:hover { color: var(--gold); }

.login-link { white-space: nowrap; }

.article-wrap { max-width: 800px; margin: 0 auto; padding: 54px 24px 84px; }

.article-header { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(36px, 5.4vw, 58px); line-height: 1.13; letter-spacing: -.035em; }
.article-deck { margin: 22px 0 14px; color: #d5e5f0; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.article-meta { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.article-meta span { margin: 0 7px; color: var(--gold); }

.article-body { padding-top: 14px; }
.article-body p { margin: 20px 0; }
.article-body h2 { margin: 42px 0 12px; font-size: 25px; line-height: 1.25; }
.article-body h2::before { content: ""; display: inline-block; width: 4px; height: 21px; margin-right: 11px; border-radius: 4px; background: var(--gold); vertical-align: -2px; }
.article-body ul { margin: 12px 0 24px; padding-left: 25px; }
.article-body li { margin: 11px 0; padding-left: 3px; }
.article-body li::marker { color: var(--gold); }
.article-body strong { color: var(--gold); }

/* Questions and answers: one open at a time is not required; each opens on click. */
.faq { display: grid; gap: 10px; margin: 18px 0 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq details[open] { border-color: #4b6680; }
.faq summary { position: relative; padding: 15px 48px 15px 18px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 18px; color: var(--gold); font-size: 24px; font-weight: 500; transform: translateY(-50%); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 12px; }
.faq details > p, .faq details > ul { margin: 0 18px 16px; color: #d5e5f0; }
.faq details > p:first-of-type { margin-top: 2px; }

.article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
}

.article-actions a { text-decoration: none; }
.article-actions a span { font-size: 12px; font-weight: 500; }
.primary-action { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 11px 16px; border-radius: 9px; background: var(--gold); color: #0c141d; }
.primary-action:hover { background: #ffd15d; color: #0c141d; }

.site-footer { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 760px) {
    .site-header { justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
    .site-header nav { order: 3; width: 100%; gap: 8px 15px; }
    .article-wrap { padding: 34px 18px 60px; }
    .article-body h2 { margin-top: 34px; }
}
