:root {
  color-scheme: light;
  --paper: #fbfafc;
  --ink: #292033;
  --violet: #623998;
  --muted: #645c6b;
  --line: #dfd9e4;
  --wash: #f0ebf7;
  --button-fill: linear-gradient(115deg, #432747, #65429a 72%, #7051a9);
  --serif: 'Instrument Serif', Georgia, serif;
  font: 100%/1.55 'DM Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse 75% 23rem at 77% -3rem, #ebe4f6 0%, transparent 100%), var(--paper);
}
[hidden] { display: none !important; }
a { color: var(--violet); text-underline-offset: .18em; }
a:hover { color: #3e226e; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 2; top: .6rem; left: .6rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(88%, 79rem); margin-inline: auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fffc;
}
.nav { display: flex; align-items: center; gap: 2rem; min-height: 5rem; }
.brand, .nav a, .footer nav a { color: var(--ink); text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.48rem; letter-spacing: -.055em; line-height: 1; font-weight: 750; white-space: nowrap; }
.brand img { width: 2rem; height: 2rem; object-fit: contain; }
.nav-links, .footer nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-links { margin-left: auto; }
.nav-links a, .footer nav a, .nav-cta { font-size: .94rem; font-weight: 600; }
.nav-links a:hover, .footer nav a:hover, .nav-links [aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.nav .nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border: 0; border-radius: 6rem; background: var(--button-fill); color: white; font-weight: 650; text-decoration: none; }
.nav .nav-cta { padding: .68rem 1.3rem; }
.nav .nav-cta:hover, .btn:hover { color: white; background: #492d69; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 550; }
h1 { font-size: clamp(3.6rem, 6.6vw, 6.65rem); line-height: .98; letter-spacing: -.07em; }
h2 { font-size: clamp(2.2rem, 3.7vw, 3.55rem); line-height: 1.05; letter-spacing: -.058em; }
h3 { font-size: 1.16rem; line-height: 1.23; letter-spacing: -.025em; }
em { font-family: var(--serif); color: var(--violet); font-weight: 400; letter-spacing: -.04em; }
p { text-wrap: pretty; }
.kicker { font-weight: 700; color: var(--violet); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.intro { color: var(--muted); max-width: 40rem; font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.5; }
.download-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.download-copy .intro, .guide-hero .intro, .not-found .intro { margin-top: 1.55rem; }
.download-copy .intro { max-width: 30rem; }
.download-copy .kicker { margin-bottom: 1.45rem; }
.btn { min-height: 3.1rem; padding: .8rem 1.6rem; }
.download-link { margin-top: 1.9rem; }
.download-link[aria-disabled="true"] { background: #635d67; cursor: default; }
.meta, .status { font-size: .9rem; }
.meta { margin-top: .85rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.payload-size { margin-top: .1rem; }
.status:not(:empty) { margin-top: .3rem; }
.retry { margin-top: .5rem; border: 1px solid var(--line); border-radius: .5rem; background: white; padding: .4rem .85rem; color: var(--ink); cursor: pointer; }
.inline-links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.inline-links a { font-size: .94rem; }
.portrait { align-self: stretch; min-height: 25rem; border-radius: 1.35rem; overflow: hidden; background: #76634f; }
.portrait img { display: block; width: 100%; height: 100%; max-height: 35rem; object-fit: cover; object-position: 50% 44%; }
.guide-hero { padding-block: clamp(3.5rem, 6vw, 6.5rem) clamp(2.7rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.guide-layout { display: grid; grid-template-columns: minmax(13rem, .56fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 7.6rem); padding-block: clamp(2.4rem, 5vw, 5rem) clamp(4rem, 7vw, 7.5rem); }
.guide-layout > *, .download-hero > * { min-width: 0; }
.contents { align-self: start; position: sticky; top: 1.6rem; display: grid; justify-items: start; gap: .7rem; }
.contents .kicker { color: var(--muted); margin: 0 0 .35rem; }
.contents a { font-weight: 550; text-decoration: none; color: var(--ink); }
.contents a:hover { color: var(--violet); text-decoration: underline; }
.guide-copy { max-width: 48rem; }
.guide-copy > section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.guide-copy > section, details[id] { scroll-margin-top: 2rem; }
.guide-copy h2 { font-size: clamp(1.95rem, 3.1vw, 2.9rem); }
.guide-copy p, .compact-list { color: #4c474f; }
.guide-copy h2 + p, .guide-copy p + p, .guide-copy > p { margin-top: .95rem; }
.guide-copy a { font-weight: 550; }
.steps, .compact-list { padding-left: 1.65rem; margin: 0; }
.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 2.75rem; counter-increment: steps; margin-bottom: 1.35rem; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before { content: counter(steps); display: grid; place-items: center; position: absolute; top: .01rem; left: 0; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--wash); color: var(--violet); font-size: .9rem; font-weight: 650; }
.steps p { margin-top: .42rem; }
.guide-copy h2 + .steps, .guide-copy h2 + .compact-list { margin-top: 1.45rem; }
.compact-list li + li { margin-top: .6rem; }
.compact-list li::marker { color: var(--violet); font-weight: 650; }
.guide-copy .callout { margin-block: 1.6rem; border-left: 3px solid #a782d3; padding: .9rem 1.15rem; background: #f2eef6; color: var(--ink); }
.diagnostics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.diagnostics article { padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; }
.diagnostics p { margin-top: .65rem; }
.meter { display: flex; align-items: center; gap: 3px; height: 27px; margin-bottom: .8rem; }
.meter i { display: block; width: 4px; border-radius: 4px; background: var(--violet); height: 4px; }
.meter.active i { height: 12px; }
.meter.active i:nth-child(2n) { height: 21px; }
.meter.active i:nth-child(3n) { height: 17px; }
.meter.active i:nth-child(4) { height: 26px; }
.detail-list { border-top: 1px solid var(--line); margin-block: 1.3rem; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; color: var(--ink); cursor: pointer; font-size: 1.08rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: 0 0 .45em; width: .45em; height: .45em; border: solid currentColor; border-width: 0 1.6px 1.6px 0; margin: -.25em .25em 0 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); margin-top: .25em; }
details > div { padding-bottom: 1.15rem; }
code { font-size: .94em; overflow-wrap: anywhere; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.35rem; padding-block: 2.15rem; border-top: 1px solid var(--line); }
.footer .brand { font-size: 1.18rem; }
.footer .brand img { width: 1.65rem; height: 1.65rem; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: start; justify-content: center; padding-block: 4rem; }
.not-found .intro { max-width: 32rem; }
@media (max-width: 52rem) {
  .shell { width: min(92%, 42rem); }
  .nav { gap: 1rem; }
  .nav-links, .footer nav { gap: 1rem; }
  .download-hero { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { min-height: 0; aspect-ratio: 1.9; }
  .guide-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .contents { position: static; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.1rem; }
  .contents .kicker { width: 100%; }
}
@media (max-width: 37rem) {
  .nav { min-height: 4rem; flex-wrap: wrap; padding-block: .8rem .5rem; gap: .65rem 1rem; }
  .nav .brand { margin-right: auto; }
  .nav-links { order: 2; width: 100%; margin-left: 0; }
  .nav-links a { padding-block: .25rem; }
  .nav .nav-cta { padding: .52rem 1rem; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .intro { font-size: 1.07rem; }
  .shell { width: calc(100% - 2.5rem); }
  .diagnostics { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: start; }
  .footer nav { flex-wrap: wrap; }
}
@media (max-width: 23rem) {
  .shell { width: calc(100% - 1.75rem); }
  h1 { font-size: 3.3rem; }
  .inline-links { gap: .5rem .85rem; }
}
.short-guide { width: min(100%, 48rem); margin: 0 auto; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 7vw, 7rem); }
.short-guide > .detail-list { margin: 0; }
.short-guide .compact-list { margin-bottom: .2rem; }
.download-guide > h2 { align-self: start; }
