/* Hallmark · shape: Marquee Hero · genre: atmospheric · theme: Kiln (deal 3/3, seed redesign-hallmark-homepage-skill-ef3d·11c22dd4·2026-11-06·r0) · redesign: full · job: sign up · draw: 88173f
 * hero: Banner · nav: edge-aligned · footer: letter close · imagery: product pictures, no library photos · signature: the comparison slider, linter counts 26/11/18 → 0 · kiln: paper oklch(13% 0.012 40), ink oklch(94% 0.02 80), accent brand orange #FC4C02 as oklch(66% 0.23 37), display Fraunces (brand face) in place of Boska
 * axes: dark/high-contrast-serif/warm · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E5 S4 R3 V4 · weakest: R, the second half is catalogue-heavy (table + two rails); the theme table collapses after 10 rows behind a disclosure, the made rail is one horizontal run, and the short Questions rows reset the pace between the rails */
/* Hallmark · waive 83 · the pictures are the product's own builds, a gallery of its own work · the comparison pages must scroll whole inside a fixed 560px frame, and the visible cover is about a sixth of the page */
/* Hallmark · dismissed 58 · the page keeps the live homepage's inventory, fifty themes and seventeen builds; the rendered page shows 564 visible words and the y 4350 window 41, the linter's counts include hidden rows, closed answers and off-screen rail cards */
/* Hallmark · finish-review: fix · 6 findings · 5 resolved 1 partial · gap: none */
@import url("./tokens.css");
@import url("./base.css");

/* self-hosted fonts (latin subsets, variable files from Google Fonts) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("./fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("./fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("./fonts/geist-mono.woff2") format("woff2"); }

/* ---- nav: edge-aligned ---- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 88%, transparent); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; }
.wordmark { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-decoration: none; line-height: 1; }
.wordmark__slash { color: var(--color-accent); }
button.nav__install { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav__install:hover { background: var(--color-paper-3); border-color: var(--color-muted); }

/* ---- buttons ---- */
button.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); border: var(--rule-hair) solid transparent; font-weight: 500; cursor: pointer; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn--accent { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--accent:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--ghost { border-color: var(--color-rule); color: var(--color-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--color-muted); }
.btn:active, .nav__install:active, .install button:active { transform: translateY(1px); }
button:disabled, .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- hero: Banner ---- */
.hero { padding-block: var(--space-2xl) var(--space-2xl); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.hero h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); line-height: 1.02; max-width: 16ch; }
.hero .lead { font-size: var(--text-lead); color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.install { display: inline-flex; align-items: stretch; border-radius: var(--radius-well); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); overflow: hidden; }
.install code { font-family: var(--font-outlier); font-size: var(--text-sm); padding: var(--space-sm) var(--space-md); white-space: nowrap; }
.install button { border: 0; border-left: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); font-weight: 500; padding: 0 var(--space-md); min-height: 48px; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.install button:hover { background: var(--color-paper-3); }
.hero__proof { font-weight: 500; }
@media (max-width: 40rem) {
  .install { flex-direction: column; align-items: stretch; width: 100%; }
  .install code { font-size: var(--text-sm); padding: var(--space-sm); white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .install button { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); min-height: 44px; }
  .install--lg code { font-size: var(--text-sm); }
  .hero { padding-block: var(--space-2xl) var(--space-xl); }
}

/* ---- sections ---- */
.compare, .how, .themes, .same, .questions, .made { padding-block: var(--space-2xl); }
.compare { padding-top: var(--space-2xl); }
.sec-head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-2xl); max-width: 65ch; }
.sec-sub { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }

/* ---- comparison: Showcase, smoked paper ---- */
.compare { background: var(--color-paper-2); }
.cmp__tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
button.cmp__tab { min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); font-weight: 500; 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); }
.cmp__tab:hover { border-color: var(--color-muted); }
.cmp__tab.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.cmp__frame { --at: 78%; position: relative; height: 560px; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper); }
.cmp__scroll { height: 100%; overflow-y: auto; scrollbar-width: thin; }
.cmp__pages { position: relative; }
.cmp__img { display: block; width: 100%; height: auto; }
.cmp__img--over { position: absolute; top: 0; left: 0; }
.cmp__img--hm { position: relative; z-index: 1; clip-path: inset(0 0 0 var(--at)); }
.cmp__img--hm.cmp__img--over { position: absolute; }
.cmp__divider { position: absolute; top: 0; bottom: 0; left: var(--at); width: 2px; margin-left: -1px; background: var(--color-ink); z-index: 2; pointer-events: none; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--at); width: 48px; margin-left: calc(-1 * var(--space-lg)); z-index: 3; cursor: ew-resize; }
.cmp__grip { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--color-ink); color: var(--color-paper); display: flex; align-items: center; justify-content: center; }
.cmp__grip::before { content: ""; width: 14px; height: 14px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.cmp__counts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }
.cmp__count { display: grid; gap: var(--space-xs); }
.cmp__num { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1; }
.cmp__count-label { color: var(--color-muted); }
.cmp__scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3xs); height: 4px; margin-top: var(--space-md); }
.cmp__scale span { display: block; height: 4px; }
.cmp__scale-label { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-xs); }
.cmp__side { position: absolute; top: var(--space-sm); z-index: 4; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); padding: var(--space-2xs) var(--space-sm); font-size: var(--text-sm); font-weight: 500; pointer-events: none; }
.cmp__side--bare { left: var(--space-sm); }
.cmp__side--hm { right: var(--space-sm); }
@media (max-width: 40rem) { .cmp__frame { height: 420px; } }

/* ---- how: steps ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.step h3 { margin-block: 0 var(--space-sm); }
.step > p { color: var(--color-ink-2); }
.step__visual { margin-top: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-well); background: var(--color-paper-2); padding: var(--space-md); }
.chat__q { padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); margin-bottom: var(--space-sm); }
.chat__q code { font-family: var(--font-outlier); font-size: var(--text-sm); line-height: 1.5; overflow-wrap: anywhere; }
.chat__a { color: var(--color-ink-2); }
.step__visual--fan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); align-items: end; }
.fan { margin: 0; }
.fan img { border-radius: var(--radius-well); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.fan:first-child img { transform: rotate(-3deg); }
.fan:last-child img { transform: rotate(3deg); }
.fan--mid img { transform: translateY(-8px); }
.fan figcaption { text-align: center; color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-xs); }
.step__visual--plan { display: grid; gap: var(--space-2xs); }
.plan__bar { display: block; padding: var(--space-xs) var(--space-sm); background: var(--color-paper-3); border-radius: 6px; font-size: var(--text-xs); color: var(--color-ink-2); }
.plan__bar--hero { background: var(--color-ink); color: var(--color-paper); font-weight: 500; }
.plan__bar--foot { color: var(--color-muted); }
.step__visual--term p { font-family: var(--font-outlier); font-size: var(--text-xs); line-height: 1.7; color: var(--color-ink-2); overflow-wrap: anywhere; }
.step__visual--term p:first-child { color: var(--color-ink); }
.term__result { margin-top: var(--space-sm); }
.term__result code { display: inline-block; background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-well); padding: var(--space-3xs) var(--space-sm); font-weight: 500; }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- themes: log table ---- */
.theme-filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
button.theme-filter { min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); font-weight: 500; 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); }
.theme-filter:hover { border-color: var(--color-muted); }
.theme-filter.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.theme-table { width: 100%; border-collapse: collapse; }
.theme-table th, .theme-table td { padding: var(--space-sm) var(--space-md); text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: middle; }
.theme-table thead th { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.theme-table tbody th { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.theme-table tbody td:last-child { color: var(--color-muted); }
.theme-table tbody td img { width: 96px; height: 60px; object-fit: cover; border-radius: var(--radius-well); }
.js .theme-row--extra { display: none; }
.js tbody.is-open .theme-row--extra { display: table-row; }
.theme-row--filtered { display: none !important; }
.themes__more { margin-top: var(--space-lg); }
@media (max-width: 40rem) {
  .theme-table th, .theme-table td { padding-inline: var(--space-xs); }
}

/* ---- rails ---- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 560px; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); scrollbar-width: thin; }
.rail--made { grid-auto-columns: 320px; }
.rail__card { scroll-snap-align: start; min-width: 0; }
.rail__card a { display: block; text-decoration: none; }
.rail__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-card); }
.rail__theme { display: block; margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.rail__card h3 { margin-top: var(--space-xs); }
.rail__card p { color: var(--color-muted); }
@media (max-width: 40rem) {
  .rail { grid-auto-columns: 85vw; }
  .rail--made { grid-auto-columns: 78vw; }
}

/* ---- questions: rows ---- */
.questions__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xl); }
.questions .sec-head { margin-bottom: 0; }
.faq__list details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq__list details:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) 0; cursor: pointer; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; list-style: none; text-wrap: pretty; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__mark { flex: none; width: 20px; height: 20px; position: relative; transition: transform var(--dur-short) var(--ease-out); }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background: var(--color-ink); }
.faq__mark::before { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__mark::after { left: 0; top: 9px; width: 20px; height: 2px; }
details[open] .faq__mark { transform: rotate(45deg); }
.faq__list details p { color: var(--color-ink-2); padding-bottom: var(--space-md); max-width: 65ch; }
.faq__list details code { font-family: var(--font-outlier); font-size: 0.9em; }
@media (max-width: 60rem) { .questions__in { grid-template-columns: minmax(0, 1fr); } }

/* ---- footer: letter close ---- */
.foot { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-2xl); }
.wordmark--lg { font-size: clamp(2.5rem, 5vw, 4rem); }
.foot__line { margin-top: var(--space-sm); color: var(--color-ink-2); }
.foot__lead { display: grid; gap: var(--space-md); align-content: start; }
.foot__links { display: flex; gap: var(--space-lg); }
.foot__by { color: var(--color-muted); }
.install--lg code { font-size: var(--text-md); }
.ag-tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
button.pill { min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); font-weight: 500; 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); }
.pill:hover { border-color: var(--color-muted); }
.pill.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.ag { margin: var(--space-md) 0 0; }
.js [data-ag-panel] { display: none; }
.js [data-ag-panel].is-on { display: block; }
.ag div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.ag dt { color: var(--color-muted); font-size: var(--text-sm); }
.ag dd { margin: 0; display: flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.ag dd code { font-family: var(--font-outlier); font-size: var(--text-sm); overflow-wrap: anywhere; min-width: 0; }
button.copy { flex: none; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); font-size: var(--text-xs); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.copy:hover { border-color: var(--color-muted); }
@media (max-width: 60rem) { .foot__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .ag div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .install--lg code { font-size: var(--text-sm); }
}
