/* Hallmark · shape: Marquee Hero · genre: playful · theme: Arcade (deal 2/3, seed tyrian-forge-free-add-on-c4a5·e8df6a67·2026-11-06·r0) · job: try · draw: b40dcb
 * hero: Corridor · nav: masthead · footer: letter close · imagery: the product, built samples in tooltip-before, tooltip-after, drops and charsheet, captures pending in compass, navigation and hub · signature: the item tooltip before and after, with the drop tracker's prices added · arcade: oxblood/grille, ground and answer retuned by request (warm black, bronze), no RGB split
 * axes: dark/pixel/chromatic-ember · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a feature list could be any mod's; led with the tooltip the drop tracker really changes and named every plugin by what it does in game */
/* Hallmark · waive 81 · compass, navigation and hub slots hold no capture yet · the owner is capturing these in game and asked for slots meanwhile */
/* Hallmark · dismissed F1 · straight quotes are this project's house style for all its prose */
/* Hallmark · dismissed F4 · the selected tab is Arcade's cursor row, a selected menu line, not a second button */
/* Hallmark · dismissed 58 · the 84-word window straddles the plugin index and the platform wells, each under 80 alone */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --color-r-white: oklch(93% 0.01 315); --color-r-blue: oklch(74% 0.13 245); --color-r-purple: oklch(72% 0.15 305); --color-r-gold: oklch(84% 0.15 85);
  --color-up: oklch(76% 0.13 245); --color-down: oklch(72% 0.17 25);
  --mast-height: 8.5rem;
}

/* Product captures keep their own colours: the feature colours are the point. */
[data-slot][data-kind="product"]:has(> img) { background: var(--color-paper-2); }
[data-slot][data-kind="product"] > img { filter: none; mix-blend-mode: normal; }
[data-slot][data-kind="product"]:has(> img)::before { content: none; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

h1, .wordmark { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; }
h2, h3 { font-family: var(--font-body); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
h3 { line-height: 1.15; }
code { font-family: inherit; font-weight: 700; padding: 0 var(--space-2xs); background: var(--color-paper-3); border-radius: var(--radius-card); }

a:not(.btn):not(.wordmark) { text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); }
a:not(.btn):not(.wordmark):hover { color: var(--color-accent); }
a:not(.btn):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Controls: the press surface */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-card);
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.btn:hover { translate: -1px -1px; box-shadow: 7px 7px 0 var(--color-accent-2); }
.btn:active { translate: 3px 3px; box-shadow: 2px 2px 0 var(--color-accent-2); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
.btn--secondary { background: transparent; color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-micro) linear; } .btn:hover, .btn:active { translate: none; } }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); }
.release { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* Masthead */
.mast { border-bottom: var(--rule-bar) solid var(--color-rule); }
.mast__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); padding-block: var(--space-lg) var(--space-md); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-2xl); line-height: 1; color: var(--color-ink); text-decoration: none; }
.wordmark img { width: 40px; height: 40px; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.mast__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-xl); margin: 0; padding: 0; list-style: none; font-weight: 700; font-size: var(--text-sm); white-space: nowrap; }
.mast__links { align-items: center; }
.mast__links a:not(.btn) { display: inline-block; padding-block: var(--space-2xs); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); box-shadow: 4px 4px 0 var(--color-accent-2); }

/* Hero: the statement owns the screen */
.hero { display: grid; min-height: calc(100dvh - var(--mast-height)); border-bottom: calc(var(--rule-bar) * 3) solid var(--color-accent); }
.hero__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg); padding-block: var(--space-2xl) var(--space-3xl); text-align: center; }
.hero h1 { max-width: 13ch; font-size: clamp(3.25rem, 8.5vw, 8rem); line-height: 1.02; }
.hero .lead { color: var(--color-ink-2); }
.hero .actions { margin-top: var(--space-xs); }

/* Section rhythm */
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { color: var(--color-ink-2); }
.head--split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: calc(var(--gap-columns) * 2); align-items: end; }
.compare { padding-block: var(--section-gap) var(--section-gap-s); }
.features { padding-block: var(--section-gap-s) var(--section-gap); }
.plugins { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.platforms { padding-block: var(--section-gap-l) var(--section-gap); }

/* The screen texture, on wells and captures only */
.well::after, .shot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, color-mix(in oklab, var(--color-crt-r) 5%, transparent) 0 1px, color-mix(in oklab, var(--color-crt-g) 5%, transparent) 1px 2px, color-mix(in oklab, var(--color-crt-b) 5%, transparent) 2px 3px),
    repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--color-shade) 16%, transparent) 2px 3px); }

/* Before and after: two wells, two inks */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.well { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); min-height: 440px; margin: 0; padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-top: calc(var(--rule-bar) * 3) solid var(--color-accent); border-radius: var(--radius-card); }
.well--acid { border-top-color: var(--color-accent-2); }
.well figcaption { position: relative; z-index: 3; font-weight: 700; font-size: var(--text-md); color: var(--color-ink-2); }
.tip { position: relative; display: grid; margin-block: var(--space-lg) auto; gap: var(--space-2xs); align-self: center; width: min(100%, 30rem); padding: var(--space-lg); font-size: var(--text-lg); background: var(--color-shade); border: var(--rule-hair) solid var(--color-rule); line-height: 1.4; }
.tip__name { font-weight: 700; font-size: var(--text-xl); margin-bottom: var(--space-2xs); }
.tip__name--gold { color: var(--color-r-gold); }
.tip__muted { color: var(--color-muted); }
.tip__added { color: var(--color-accent); font-weight: 700; }
.tip__added:first-of-type { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }

/* Features: a switcher */
.features h2 { margin-bottom: var(--space-xl); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.tabs button { min-height: 48px; padding: 0 var(--space-lg); background: transparent; color: var(--color-ink); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.tabs button:hover { border-color: var(--color-ink); }
.tabs button[aria-selected="true"] { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-ink); }
.tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tabs button:active { translate: 1px 1px; }
.tabs button:disabled { opacity: 0.55; cursor: not-allowed; }
.panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; margin-top: var(--space-2xl); }
.panel__text { display: grid; gap: var(--space-md); }
.panel__text p { color: var(--color-ink-2); }
.panel__text h3 { font-size: var(--text-2xl); }

.shot { position: relative; aspect-ratio: 16 / 10; margin: 0; border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }
.shot > img { border-radius: var(--radius-card); }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl); background: var(--color-shade); }
.app__title { font-weight: 900; font-size: var(--text-xl); }
.app__rows { display: grid; margin: 0; padding: 0; list-style: none; }
.app__rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.app__rows li > :not(:first-child) { color: var(--color-muted); }
.r-white { color: var(--color-r-white); } .r-blue { color: var(--color-r-blue); } .r-purple { color: var(--color-r-purple); } .r-gold { color: var(--color-r-gold); }
.app__sheet { display: grid; margin: 0; }
.app__sheet div { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.app__sheet dt { color: var(--color-ink-2); }
.app__sheet dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.app__sheet .up { color: var(--color-up); } .app__sheet .down { color: var(--color-down); }

/* The plugin index, set as a game menu */
.plugins__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.plugins__head { display: grid; gap: var(--space-md); position: sticky; top: var(--space-2xl); }
.plugins__head p { color: var(--color-ink-2); }
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.menu li { display: grid; gap: var(--space-3xs); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.menu b { font-weight: 900; font-size: var(--text-lg); }
.menu span { color: var(--color-ink-2); }

/* Two players: Windows and Linux */
.players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.player { padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-top: calc(var(--rule-bar) * 3) solid var(--color-accent); border-radius: var(--radius-card); }
.player--acid { border-top-color: var(--color-accent-2); }
.player h3 { margin-bottom: var(--space-lg); font-size: var(--text-2xl); color: var(--color-accent); }
.player--acid h3 { color: var(--color-ink); }
.player dl { display: grid; margin: 0; }
.player dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.player dt { font-weight: 700; font-size: var(--text-sm); color: var(--color-muted); padding-top: var(--space-3xs); }
.player dd { margin: 0; }

/* The close: the download beside one last screen */
.close { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: calc(var(--rule-bar) * 3) solid var(--color-accent); }
.close__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.close__text { display: grid; gap: var(--space-lg); justify-items: start; }
.close__text .lead { color: var(--color-ink-2); }
.actions--stack { justify-content: flex-start; }

/* Footer: a letter close */
.foot { padding-block: var(--space-3xl); }
.foot__inner { display: grid; gap: var(--space-md); }
.foot__close { font-weight: 900; font-size: var(--text-3xl); letter-spacing: -0.02em; line-height: 1.1; }
.foot__legal { max-width: 65ch; font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  :root { --mast-height: 10rem; }
  .head--split, .panel, .plugins__inner, .close__inner, .pair, .players { grid-template-columns: minmax(0, 1fr); }
  .panel, .close__inner { row-gap: var(--space-xl); }
  .plugins__head { position: static; }
  .shot--hub { order: -1; }
}
@media (max-width: 40rem) {
  .menu { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .well, .player { padding: var(--space-lg); }
  .shot:has(> .app) { aspect-ratio: auto; }
  .app { position: relative; padding: var(--space-md); font-size: var(--text-sm); }
  .app__rows li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app__rows li > :nth-child(2) { display: none; }
  .player dl div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .actions { flex-direction: column; align-items: stretch; }
}
