/* Hallmark · shape: the handheld, unfolded (screens set on the LCD's own olive, one band in the device's body) · genre: playful · theme: custom · brand: Dotwing's locked look (Fıstık theme, spec 4.2) · job: try · idea: "the site is the game's LCD: every head is lit in Dotwing's own five-dot font, unlit dots showing" · vibe: "pocket LCD, two colours, one red button"
 * paper: oklch(81.1% 0.054 120.4) · accent: oklch(53.9% 0.184 31.6) · display: Dotwing's pixel font as SVG dots (packages/core font.ts) · body: Atkinson Hyperlegible Next · hero: the headline in lit dots beside the real title screen on the device's dark body · nav: the dot wordmark home, the other language at the right edge · footer: the device's body, wordmark, publisher line and two links in one row · imagery: screenshots 6 (apps/site/scripts/shots.ts, headless Chrome) · signature: headlines lit dot by dot in the game's own font, over the LCD's faint unlit dots
 * axes: mid/pixel/chromatic-red · posture: drenched (the surface is the LCD's off colour; red only on the play button, the focus ring and inside captures) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the dot heads are pictures of type, so the real words sit in each heading as hidden text and the SVG scales down with its column */
/* Hallmark · waive 79 · the hero visual is the real title screen at 16:9 on eight columns, its dark well already the tallest thing on the first screen · the Dotwing LCD capture cannot grow taller without leaving the container, and padding it with copy would break the screen budget */
/* Hallmark · waive 44c · custom hero, the title screen sits beside the head and ends near y 690 at 1440; the privacy pages open on a dot head, one line and the date · the Dotwing LCD capture is the hero visual, and a legal page has none to fill its first screen */
/* Hallmark · dismissed render · the font fallback is the file:// pass only, where a crossorigin font preload cannot load; the served pass on localhost loads Atkinson Hyperlegible Next */
/* Hallmark · finish-review: subagent · fix · 6 findings · 3 resolved (device band now the sideways phone in play, full width; unlit dots on the stores well; the store chips became one muted line) 1 partial (facts row: Pulse leads at 1.6fr, still no picture) 1 waived (79) 1 no fix owed (privacy column) · gap: none */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* The game's default theme, Fıstık (packages/core/src/content/themes.ts): off #BCC7A0, ink #242C1A, danger #C2321C,
     and the device's body #1B1F17, rim #2A3023 and small print #8E9879, converted to OKLCH. */
  --color-paper: oklch(81.1% 0.054 120.4); --color-paper-2: oklch(77.6% 0.056 121); --color-paper-3: oklch(74.5% 0.058 121);
  --color-ink: oklch(28% 0.033 127.9); --color-ink-2: oklch(34% 0.035 126.5); --color-muted: oklch(40% 0.036 125);
  --color-rule: oklch(60% 0.045 123);
  --color-unlit: oklch(77.4% 0.054 121);
  --color-accent: oklch(53.9% 0.184 31.6); --color-accent-hover: oklch(47.5% 0.17 31.6); --color-accent-ink: oklch(97% 0.012 120); --color-accent-edge: oklch(36% 0.13 31.6); --color-focus: oklch(53.9% 0.2 31.6);
  --color-device: oklch(23.2% 0.016 129.3); --color-device-2: oklch(29.9% 0.024 128); --color-device-unlit: oklch(27.2% 0.02 129);
  --color-on-device: oklch(81.1% 0.054 120.4); --color-on-device-2: oklch(72% 0.046 122.2); --color-device-rule: oklch(38% 0.03 126);
  --font-display: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, sans-serif; --font-body: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 14px; --radius-glass: 6px; --radius-button: 12px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { color-scheme: light; --nav-h: 72px; }
body { font-size: 1.0625rem; line-height: 1.6; font-synthesis: none; }
strong, th { font-weight: 700; }

/* The dot heads: lit dots in ink, the unlit ones a breath darker than the screen, as on the LCD. */
.dot-head { line-height: 0; font-size: var(--text-section); }
h1.dot-head { font-size: var(--text-display); }
.dots { max-width: 100%; height: auto; shape-rendering: crispEdges; }
.lit { fill: var(--color-ink); }
.unlit { fill: var(--color-unlit); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }
.wordmark { display: inline-flex; padding-block: var(--space-xs); border-radius: var(--radius-glass); }
.wordmark .unlit { fill: transparent; }
.nav-lang { font-size: var(--text-sm); text-decoration: none; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-glass); color: var(--color-ink); transition: background-color var(--dur-micro) var(--ease-out); }
.nav-lang:hover { background: var(--color-paper-2); text-decoration: underline; }
.nav-lang:active { background: var(--color-paper-3); }

/* The one primary control: the Pulse button's red. */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg);
  border-radius: var(--radius-button); background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 700; font-size: var(--text-lg); text-decoration: none;
  box-shadow: 0 3px 0 var(--color-accent-edge);
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.button:hover { background: var(--color-accent-hover); }
.button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--color-accent-edge); }
.button:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 4px; transition: none; }

/* Hero: the head on five columns, the title screen on seven, on the device's body. */
.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center;
  padding-block: var(--space-3xl);
}
.hero-text { grid-column: 1 / span 4; align-self: end; padding-bottom: var(--space-xl); display: grid; gap: var(--space-lg); justify-items: start; }
.lede { font-size: var(--text-lead); max-width: 34ch; color: var(--color-ink-2); }
.hero-screen { grid-column: 5 / span 8; margin: 0; padding: var(--space-xl); background: var(--color-device); color: var(--color-on-device); border-radius: var(--radius-card); }
.hero-screen img, .glass img { image-rendering: pixelated; border-radius: var(--radius-glass); width: 100%; }
[data-slot] > img { position: static; height: auto; object-fit: initial; }
[data-slot] { background: var(--color-device); }

/* Two levels, two screens. */
.levels { display: grid; gap: var(--space-2xl); padding-block: var(--section-gap-s) var(--section-gap); }
.section-head { display: grid; gap: var(--space-lg); max-width: 60ch; }
.section-head p { font-size: var(--text-lead); }
.levels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.level { margin: 0; display: grid; gap: var(--space-md); }
.glass { padding: var(--space-sm); border-radius: var(--radius-card); }
.level figcaption { max-width: 48ch; }
.level figcaption strong { display: block; font-size: var(--text-title); }

/* The device's body: controls, beside the game on a phone. */
.device { background: var(--color-device); color: var(--color-on-device); padding-block: var(--section-gap-s); }
.device .lit { fill: var(--color-on-device); }
.device .unlit { fill: var(--color-device-unlit); }
.device-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.device-text { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }
.device-text > p { font-size: var(--text-lead); color: var(--color-on-device-2); max-width: 46ch; }
.phone { grid-column: 1 / -1; margin: var(--space-xl) 0 0; }
.phone img { width: 100%; }
.keys { grid-column: 8 / span 5; align-self: end; width: 100%; border-collapse: collapse; }
.keys th, .keys td { text-align: left; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-device-rule); vertical-align: top; }
.keys thead th { font-size: var(--text-sm); color: var(--color-on-device-2); white-space: nowrap; }
.keys tbody th { white-space: nowrap; }

/* The ship's numbers, set in dots. */
.ship { display: grid; gap: var(--space-2xl); padding-block: var(--section-gap) var(--section-gap-s); }
.facts { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); margin: 0; }
.fact { display: grid; gap: var(--space-md); align-content: start; border-top: 2px solid var(--color-ink); padding-top: var(--space-lg); }
.fact dt { display: flex; align-items: flex-end; gap: var(--space-sm); line-height: 1; }
.fact-label { font-size: var(--text-title); font-weight: 700; padding-bottom: var(--space-2xs); }
.fact dd { margin: 0; max-width: 34ch; }
.fact-lead dd { font-size: var(--text-lead); }

/* The shop: the screen first this time, the words to its right. */
.shop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding-block: var(--section-gap-s) var(--section-gap-l); }
.shop-screen { grid-column: 1 / span 7; margin: 0; }
.shop-text { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); }

/* The stores: a well of the screen's darker tint. */
.stores { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.stores-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.stores-grid > div:first-child { grid-column: 1 / span 7; display: grid; gap: var(--space-lg); }
.stores-grid > div:first-child p { max-width: 46ch; }
.stores-actions { grid-column: 9 / span 4; display: grid; gap: var(--space-lg); justify-items: start; }
.soon { color: var(--color-muted); }
.stores .unlit { fill: var(--color-paper-3); }

/* Footer: the device's body again. */
.foot { background: var(--color-device); color: var(--color-on-device); padding-block: var(--space-xl); }
.foot .lit { fill: var(--color-on-device); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }
.foot-by { color: var(--color-on-device-2); margin-right: auto; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.foot a { color: var(--color-on-device); }
.foot a:hover { color: var(--color-accent-ink); }
.foot :focus-visible { outline-color: var(--color-on-device); }

/* 404 */
.lost { display: grid; gap: var(--space-lg); padding-block: var(--space-3xl) var(--section-gap); min-height: 60svh; align-content: center; }

@media (max-width: 60rem) {
  .hero, .device-grid, .shop, .stores-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text, .hero-screen, .device-text, .keys, .phone, .shop-screen, .shop-text, .stores-grid > div:first-child, .stores-actions { grid-column: 1 / -1; }
  .hero { min-height: 0; padding-top: var(--space-lg); }
  .levels-grid, .facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .hero-screen { padding: var(--space-sm); }
  .keys th, .keys td { padding-right: var(--space-sm); }
}
