/* Key Cabinet: cream, mint, and coral around familiar download controls. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--foreground); font: 16px/1.6 var(--font-sans); }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.05; letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 5; padding: .75rem 1rem; background: var(--page); border: 2px solid var(--ink); border-radius: var(--radius-md); }
.skip:focus { top: 1rem; }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none; }
.bar ul, .foot ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: .9375rem; }
.bar ul a, .foot ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.35rem; border: 2px solid var(--ink); border-radius: var(--btn-radius, 999px); background: var(--ink); color: var(--on-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:active { background: color-mix(in oklab, var(--ink) 78%, var(--page)); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:active { background: color-mix(in oklab, var(--ink) 12%, transparent); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.meta { font-size: .875rem; color: var(--soft); }
.meta .version { font: inherit; color: inherit; }
.note { font-size: .8125rem; color: var(--soft); }
.chip { display: inline-block; padding: .05rem .6rem; border: 1.5px solid currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 650; line-height: 1.5; white-space: nowrap; }

details { border-top: var(--rule); }
details:last-child { border-bottom: var(--rule); }
summary { min-height: 52px; padding-block: .85rem; font-weight: 650; cursor: pointer; }
details p { max-width: 48rem; padding: 0 0 1.1rem 1.1rem; color: var(--soft); }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-block: 1.25rem 2rem; border-top: var(--rule); }
.foot ul { font-size: .875rem; }
.foot p { flex-basis: 100%; font-size: .8125rem; color: var(--soft); }

@media (hover: hover) { .bar ul a:hover, .foot ul a:hover { text-decoration: underline; } }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: box-shadow var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease); }
}
@media (forced-colors: active) { .btn, .chip { border-color: ButtonText; } }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2.5rem); }
  .bar ul { gap: 0 1rem; font-size: .875rem; }
}

/* Fun & Playful, scoped palette. One play rule: the vault is a cabinet. Item types are drawers with tactile label plates,
   each type keeps its own shape, and download actions sit where a drawer pull would. Mint, coral, and cream, drawn in ink. */
:root {
  --cb-cream: light-dark(oklch(0.968 0.024 86), oklch(0.19 0.016 86)); --cb-drawer: light-dark(oklch(0.935 0.034 82), oklch(0.245 0.025 82)); --cb-mint: light-dark(oklch(0.86 0.09 170), oklch(0.30 0.05 170));
  --cb-mint-deep: light-dark(oklch(0.44 0.08 172), oklch(0.78 0.09 172)); --cb-coral: light-dark(oklch(0.74 0.15 34), oklch(0.68 0.13 34)); --cb-coral-deep: light-dark(oklch(0.52 0.16 33), oklch(0.80 0.11 33));
  --page: var(--cb-cream); --ink: var(--primary); --on-ink: var(--primary-foreground); --soft: var(--muted-foreground);
  --focus: var(--cb-coral-deep); --edge: 2px solid var(--ink); --rule: var(--edge);
}
h1, h2 { font-weight: 850; letter-spacing: -.055em; }
.bar ul { font-weight: 650; }
.k { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.f-coral { fill: var(--cb-coral); } .f-mint { fill: var(--cb-mint); } .f-paper { fill: var(--card); } .f-none { fill: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem 4rem; align-items: center; padding-block: 2.5rem 3.5rem; }
.hero h1 { font-size: 6rem; line-height: .92; }
.hero h1 em { font-style: normal; color: var(--cb-coral-deep); background: linear-gradient(transparent 70%, var(--cb-mint) 70% 92%, transparent 92%); }
.lead { max-width: 32rem; margin-top: 1.75rem; font-size: 1.1875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.btn { box-shadow: 0 4px 0 var(--cb-coral); }
.btn:active { box-shadow: 0 1px 0 var(--cb-coral); }
.btn-quiet { box-shadow: 0 4px 0 var(--cb-mint); }
.caption { margin-top: 1rem; font-size: .875rem; color: var(--soft); }

.cab { width: 100%; max-width: 410px; justify-self: center; }
.cab-body { padding: .9rem 1rem 1rem; background: var(--cb-mint); border: var(--edge); border-radius: 26px 26px 8px 8px; }
.crest { display: block; width: 52px; height: 52px; margin: 0 auto .7rem; }
.drawers { display: grid; gap: .6rem; }
.dr { display: flex; align-items: center; gap: .85rem; min-height: 70px; padding: .55rem .9rem; background: var(--cb-drawer); border: var(--edge); border-radius: 12px; }
.dr.out { margin-inline: -1.6rem 1.6rem; background: var(--card); box-shadow: 6px 6px 0 var(--ink); }
.plate { padding: .15rem .65rem; background: var(--card); border: var(--edge); border-radius: 6px; box-shadow: inset 0 -3px 0 color-mix(in oklab, var(--ink) 12%, transparent); color: var(--ink); font-size: .875rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dr.out .plate { background: var(--cb-cream); }
.dr svg { flex: none; width: 52px; height: 34px; margin-left: auto; }
.dr::after { content: ""; flex: none; width: 34px; height: 12px; border: var(--edge); border-radius: 999px; background: var(--card); }
.plinth { margin: 0 -1.5rem; padding: .7rem 1rem .8rem; border-radius: 12px; background: var(--ink); color: var(--on-ink); text-align: center; line-height: 1.35; }
.plinth strong { display: block; font-size: 1.0625rem; }
.plinth span { font-size: .875rem; opacity: .82; }
.cab figcaption { max-width: 24rem; margin: .9rem auto 0; text-align: center; font-size: .8125rem; color: var(--soft); }

.dl { display: grid; grid-template-columns: 21rem minmax(0, 1fr); gap: 1.5rem 3rem; padding-block: 1rem 4rem; }
.dl h2 { font-size: 4.25rem; line-height: .95; }
.dl-side p { margin-top: 1rem; font-size: .9375rem; }
.dl-side .note { margin-top: .75rem; }
.rows { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name act" "body body"; gap: .75rem 1.5rem; align-items: center; padding: 1.25rem 1.5rem 1.35rem; background: var(--cb-drawer); border: var(--edge); border-radius: 18px; }
html[data-download-platform="mac"] .row-mac, html[data-download-platform="windows"] .row-win { background: var(--card); box-shadow: 7px 7px 0 var(--cb-mint-deep); }
.row [data-platform-recommendation] { padding: .05rem .6rem; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--cb-mint); font-weight: 750; }
.name { grid-area: name; }
.name h3 { display: inline; margin-right: .6rem; font-size: 2.5rem; font-weight: 850; letter-spacing: -.05em; vertical-align: middle; }
.name .chip { vertical-align: middle; color: var(--ink); background: var(--card); }
.row .btn, .row .text-link { grid-area: act; }
.body { grid-area: body; }
.body .meta { margin-top: .4rem; }
.only { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.only li { padding: .05rem .6rem; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); font-size: .8125rem; font-weight: 700; }
.strong { font-weight: 700; color: var(--foreground); }

.how { padding-block: 3.5rem; border-block: var(--edge); background: var(--card); }
.how-grid { display: grid; grid-template-columns: 21rem minmax(0, 1fr); gap: 2rem 3rem; }
.how h2 { font-size: 3rem; line-height: 1; }
.how-grid > div > p { margin-top: .9rem; color: var(--soft); }
.moves li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: .25rem 2rem; align-items: start; padding-block: 1.1rem; border-top: var(--edge); }
.moves li:first-child { padding-top: 0; border-top: 0; }
.verb { font-size: 4.25rem; font-weight: 850; letter-spacing: -.055em; line-height: .9; }
.moves li:nth-child(1) .verb { color: var(--cb-coral-deep); }
.moves li:nth-child(2) .verb { color: var(--cb-mint-deep); }
.moves li:nth-child(3) .verb { color: var(--ink); }
.moves li:nth-child(4) .verb { color: var(--cb-coral-deep); }
.moves h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.moves p { margin-top: .35rem; font-size: .9375rem; }

.lower { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 3.5rem; align-items: start; padding-block: 3.5rem; }
.server { padding: 2rem; background: var(--cb-mint); border: var(--edge); border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); }
.lower h2 { font-size: 2.5rem; line-height: 1; }
.server p { margin-top: 1rem; }
.server .text-link { margin-top: .5rem; }
.faq h2 { margin-bottom: 1rem; }
.foot { border-top-width: 2px; }

@media (forced-colors: active) { .dr::after, .plinth { forced-color-adjust: none; background: Canvas; color: CanvasText; border: 2px solid CanvasText; } }
@media (max-width: 1000px) {
  .hero, .dl, .how-grid, .lower { grid-template-columns: 1fr; }
  .hero h1 { font-size: 4.75rem; }
  .cab { max-width: 380px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 1.25rem; }
  .hero h1 { font-size: 3.6rem; }
  .lead { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; }
  .dr.out { margin-inline: -.9rem .9rem; }
  .plinth { margin-inline: -.75rem; }
  .dl h2 { font-size: 3rem; }
  .row { grid-template-columns: 1fr; grid-template-areas: "name" "body" "act"; padding: 1.1rem; }
  .row .btn { width: 100%; }
  .name h3 { font-size: 2rem; }
  .how h2, .lower h2 { font-size: 2.25rem; }
  .moves li { grid-template-columns: 1fr; }
  .verb { font-size: 3rem; }
  .server { padding: 1.4rem; }
}

html { scroll-padding-top: 1.5rem; }
.brand img, .crest { filter: var(--logo-filter, none); }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) { --logo-filter: brightness(0) invert(1); } }
:root[data-mode="dark"] { --logo-filter: brightness(0) invert(1); }
@media (max-width: 380px) {
  .cab-body { padding-inline: .65rem; }
  .dr { padding-inline: .5rem; gap: .4rem; }
  .plate { padding-inline: .4rem; font-size: .75rem; }
  .dr svg { width: 40px; }
  .dr::after { width: 24px; }
}
@media (hover: hover) { .btn:hover { background: color-mix(in oklab, var(--ink) 88%, var(--page)); } .btn-quiet:hover { background: color-mix(in oklab, var(--ink) 8%, var(--page)); } }
