/* Hallmark · shape: Narrative Workflow (draw 184a30) · genre: modern-minimal · theme: brand · redesign: full · job: try
 * paper: oklch(97% 0.008 91) · accent: oklch(49% 0.094 131) · display: Bricolage Grotesque 700 · body: Atkinson Hyperlegible Next · hero: Counter · nav: edge-aligned (swapped from search-led: the site has no search) · footer: mast (swapped from index columns: two real links) · signature: the 10-steps-in-5-apps list driving the real packraven screen beside it
 * waive 44c, 79 · the hero screenshot runs to y 790 at 1440x900; the check measures the text column beside it
 * waive 49 · the release-step tabs are two-line rows by design, each a group name and its steps
 * axes: light/grotesk-heavy/chromatic-green · posture: Restrained · imagery: screenshots 14 (puppeteer, from packraven.app’s own captures, light and dark) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, the page argues “one app instead of five” and leans on the switcher to make it; kept every other section to one screen and one idea */
/* Hallmark · dropped the live app-capture loader (shadow-DOM HTML replicas, /captures/*.html and its script) · the captures were scaled to 0.6 to 0.7 and unreadable; they are 2x screenshots of the same views now */
/* Hallmark · hero paragraph kept at full length, split into whole sentences (copy: kept by the owner’s request); “One-Click, end to end testing” to “One-click, end-to-end testing”; “Edit all your files, too.” drops its full stop; “coming soon!” to “are coming soon.”; version options lose their middle dots · 63 names them */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/atkinson-next-latin.woff2") format("woff2-variations"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/atkinson-next-latin-ext.woff2") format("woff2-variations"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/jetbrains-mono-400.woff2") format("woff2"); }

:root { --display-weight: 700; --tracking-display: -0.025em; --nav-h: 72px; }
body { font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { color: var(--color-ink); }
h1 { font-size: clamp(2.75rem, 3.4vw + 1rem, 4.25rem); line-height: 1.02; max-width: 16ch; }
h2 { line-height: 1.04; max-width: 18ch; }
h3 { font-weight: 700; letter-spacing: -0.015em; }
.lead { color: var(--color-ink-2); margin-top: var(--space-md); }
.quiet { color: var(--color-muted); }
.file { font-family: var(--font-outlier); font-size: 0.92em; font-variant-numeric: tabular-nums; }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: 52px; padding-inline: var(--space-lg);
  border-radius: var(--radius-control); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.button.primary { background: var(--color-accent); color: var(--color-accent-ink); }
.button.primary:hover { background: var(--color-accent-hi); }
.button.secondary { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.button.secondary:hover { border-color: var(--color-ink-2); background: var(--color-paper-2); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.button.small { min-height: 44px; padding-inline: var(--space-md); font-size: 1rem; }
.button[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.dl-icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

a:not(.button) { color: var(--color-accent); text-decoration-color: color-mix(in oklab, var(--color-accent) 45%, transparent); }
a:not(.button):hover { text-decoration-color: currentColor; color: var(--color-accent-hi); }
a:not(.button):active { color: var(--color-ink); }
a:not(.button):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }

/* ---------- nav ---------- */
.site-nav { border-bottom: 1px solid var(--color-rule-soft); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: var(--space-md); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink) !important; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }
.raven .body, .raven .eye { fill: var(--color-ink); }
.raven .wing { fill: var(--color-wing); }
.raven .eye { fill: var(--color-paper); }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-link { color: var(--color-ink) !important; text-decoration: none; font-size: 1rem; }
.nav-link:hover { color: var(--color-accent) !important; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-control); background: transparent; color: var(--color-muted); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.theme-toggle:hover { color: var(--color-ink); background: var(--color-paper-2); }
.theme-toggle:active { background: var(--color-here); }
.theme-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle .filled { fill: currentColor; stroke: none; }
.theme-toggle g { display: none; }
html[data-theme-mode="light"] .theme-toggle .light, html[data-theme-mode="dark"] .theme-toggle .dark, html[data-theme-mode="auto"] .theme-toggle .auto { display: inline; }

/* ---------- screenshots ---------- */
.shot { margin: 0; aspect-ratio: var(--ratio, 1872 / 1364); border-radius: var(--radius-card); background: var(--color-paper-2); outline: 1px solid var(--color-frame); outline-offset: -1px; }
.shot > img { object-fit: cover; object-position: left top; }
.shot > .shot-dark { display: none; }
:root[data-theme="dark"] .shot > .shot-dark { display: block; }
:root[data-theme="dark"] .shot > .shot-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .shot > .shot-dark { display: block; }
  :root:not([data-theme]) .shot > .shot-light { display: none; }
}

/* ---------- hero: Counter ---------- */
.hero { padding-block: var(--space-2xl); min-height: calc(100dvh - var(--nav-h) - 1px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero .lead { max-width: 44ch; font-size: var(--text-lead); }
.download { margin-top: var(--space-xl); display: grid; justify-items: start; gap: var(--space-sm); }
.download .note { color: var(--color-muted); font-size: var(--text-sm); }
.hero-shot { --ratio: 1872 / 1364; width: 100%; max-height: calc(100dvh - var(--nav-h) - 2 * var(--space-2xl)); }

/* ---------- sections ---------- */
.feature, .compare, .get { padding-block: var(--section-gap-s); }
.feature.sync { padding-block: var(--section-gap) var(--section-gap-s); }
.feature.test { padding-block: var(--section-gap-s) var(--section-gap-l); }
.band { background: var(--color-paper-2); color: var(--color-ink); }

/* compare: the signature */
.compare-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.mine { position: sticky; top: var(--space-xl); }
.compare h2 { font-size: var(--text-section); }
.compare h2.ours { color: var(--color-accent); }
.compare h2:not(.ours) { color: var(--color-ink-2); }
.steps-head, .group { --c-app: 9.5rem; --c-view: 7.5rem; }
.steps-head { margin-top: var(--space-xl); display: grid; grid-template-columns: minmax(0, 1fr) var(--c-app) var(--c-view); gap: var(--space-md); padding: 0 var(--space-md) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.steps-head span:last-child { color: var(--color-accent); font-weight: 700; padding-left: var(--space-md); }
.steps { display: grid; border-top: 1px solid var(--color-rule); }
.group {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--c-view); gap: var(--space-md); align-items: stretch;
  width: 100%; padding: var(--space-md); text-align: left;
  background: transparent; color: var(--color-ink); border: 0; border-bottom: 1px solid var(--color-rule);
  border-radius: 0; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.group:hover { background: color-mix(in oklab, var(--color-here) 55%, transparent); }
.group:active { background: var(--color-here); }
.group[aria-selected="true"] { background: var(--color-here); }
.group:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.list { display: grid; gap: var(--space-2xs); align-content: start; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) var(--c-app); gap: var(--space-md); align-items: baseline; }
.step .what { min-width: 0; }
.step .app { color: var(--color-muted); font-size: var(--text-sm); }
.list .tag { font-size: var(--text-sm); color: var(--color-muted); }
.view-name { display: flex; align-items: center; padding-left: var(--space-md); border-left: 1px solid var(--color-rule); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--color-accent); }
.group[aria-selected="true"] .view-name { color: var(--color-accent-hi); border-left-color: var(--color-signal); }
.group[aria-selected="true"] .step .app { color: var(--color-signal-ink); }
.replaces { margin-top: var(--space-md); color: var(--color-ink-2); }
.mine .shot { margin-top: var(--space-xl); }
.panel[hidden] { display: none; }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.split-text { display: grid; gap: var(--space-md); }
.split-text .lead { margin-top: 0; }
.split-text h2 { margin-bottom: var(--space-xs); }

/* rows */
.rows-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.rows { margin: 0; border-top: 1px solid var(--color-rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.row dt { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.015em; }
.row dd { margin: 0; display: grid; gap: var(--space-md); color: var(--color-ink-2); }
.motd { max-width: 644px; }

/* showcase */
.head-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head-split p { color: var(--color-ink-2); max-width: 56ch; }
.shot.wide { width: 100%; }
.caption { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); max-width: 70ch; }

/* pair */
.edit h2 { margin-bottom: var(--space-2xl); }
.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.pair-item { display: grid; gap: var(--space-md); align-content: start; }
.pair-item .shot { margin-bottom: var(--space-xs); }
.pair-item p { max-width: 58ch; }

/* publish */
.ships { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: ship; }
.ships li { counter-increment: ship; padding-top: var(--space-md); border-top: 2px solid var(--color-accent); font-size: 1.0625rem; }
.publish .aside { margin-top: var(--space-xl); color: var(--color-muted); }
.after { margin-top: var(--space-3xl); padding-top: var(--space-3xl); border-top: 1px solid var(--color-rule); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: center; }
.after-text { display: grid; gap: var(--space-md); }
.after h3 { font-size: var(--text-2xl); }

/* get */
.get { padding-block: var(--section-gap) var(--section-gap-s); }
.get-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.get .download { margin-top: var(--space-xl); }
.choices { margin-top: var(--space-lg); width: 100%; display: grid; gap: var(--space-md); }
.version { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.pick { display: inline-flex; align-items: center; gap: var(--space-sm); }
.pick-label { font-size: var(--text-sm); color: var(--color-muted); }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; min-height: 44px; padding: 0 var(--space-xl) 0 var(--space-sm); border: 1px solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font-variant-numeric: tabular-nums; cursor: pointer; }
.select select:hover { border-color: var(--color-ink); }
.select select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.select select:disabled { opacity: 0.55; cursor: not-allowed; }
.select svg { position: absolute; right: var(--space-sm); width: 16px; height: 16px; pointer-events: none; fill: none; stroke: var(--color-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.files li a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto 20px; gap: var(--space-md); align-items: center; min-height: 56px; padding-inline: var(--space-sm); border-bottom: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.files li a:hover { background: var(--color-paper-2); }
.files li a:active { background: var(--color-here); }
.files li a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.files li a.here { background: var(--color-here); }
.files .os { font-weight: 700; display: grid; }
.files .detected { font-weight: 400; font-size: var(--text-sm); color: var(--color-signal-ink); }
.files .kind { color: var(--color-ink-2); }
.files .size { color: var(--color-muted); }
.get-icon { width: 18px; height: 18px; fill: none; stroke: var(--color-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.all { justify-self: start; }
.paths { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); padding-top: var(--space-xs); }
.paths li { display: grid; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 2px solid var(--color-accent); }
.paths p { color: var(--color-ink-2); }

/* footer: mast */
.site-footer { background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--space-3xl) var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); }
.mast { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 13vw, 12rem); line-height: 0.9; letter-spacing: -0.045em; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
.footer-links { grid-column: 2; grid-row: 2; display: flex; gap: var(--space-lg); justify-content: end; align-items: start; }
.footer-links a { color: var(--color-ink) !important; }
.notes { grid-column: 1; grid-row: 2; display: grid; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); max-width: 70ch; }

/* ---------- responsive ---------- */
@media (max-width: 75rem) {
  .ships { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
}
@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero-grid, .compare-grid, .split, .rows-grid, .head-split, .pair, .after, .get-grid, .row { grid-template-columns: minmax(0, 1fr); }
  .hero-grid, .compare-grid, .split, .rows-grid, .pair, .after, .get-grid { gap: var(--space-xl); }
  .hero-shot { max-height: none; }
  .mine { position: static; }
  .row { gap: var(--space-xs); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links, .notes { grid-column: 1; grid-row: auto; justify-content: start; }
}
@media (max-width: 40rem) {
  .nav-link { display: none; }
  .ships { grid-template-columns: minmax(0, 1fr); }
  .steps-head, .group { --c-app: 7rem; --c-view: 5.5rem; }
  .steps-head span:nth-child(2) { display: none; }
  .steps-head { grid-template-columns: minmax(0, 1fr) var(--c-view); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .files li a { grid-template-columns: minmax(0, 1fr) auto 20px; }
  .files .kind { grid-column: 1 / -1; grid-row: 2; font-size: var(--text-sm); padding-bottom: var(--space-xs); }
}
