/* Hallmark · shape: Feature Stack · genre: modern-minimal · theme: Console (deal 1/3, seed recora-local-first-macos-screen-7ef8·8159799a·2026-11-02·r0) · job: try · draw: 31063f
 * hero: Counter · nav: banner over a sticky bar · footer: mast (swapped from index columns: no sitemap) · imagery: the product (10 UI captures, 3 export frames, 1 real export video) · signature: a real Recora export looping in the hero · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a recorder page can read as a feature list; argued from one problem (headphones lose the other side) shown as a track diff */
/* Hallmark · hero-review: skipped (hero lint clean) · finish-review: subagent · 7 findings · 6 resolved 1 partial (product captures stay small at 375 by nature) · gap: none · answered 58: 87 words on the diff screen, the table carries the argument */
@import url("./tokens.css");
@import url("./base.css");

/* Chrome ---------------------------------------------------------------- */

.banner {
  margin: 0;
  background: var(--color-paper-3);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.banner .container { display: block; padding-block: var(--space-xs); }

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--color-paper) 92%, transparent);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  backdrop-filter: blur(10px);
}
.bar__inner { display: flex; align-items: center; gap: var(--space-xl); min-height: 64px; }
.wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-ink);
}
.bar__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; font-size: var(--text-sm); }
.bar__links a { color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.bar__links a:hover { color: var(--color-accent); }

/* Controls -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-pill);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-weight: 500;
  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:hover { border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); border-color: transparent; }
.btn--small { min-height: 36px; padding: var(--space-xs) var(--space-md); font-size: var(--text-sm); }

.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-cool); }

/* Product pictures: a hairline frame, never a drawn window. */
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper-3);
}
figure { margin: 0; }
figcaption { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); max-width: 60ch; }

/* Hero ------------------------------------------------------------------ */

.hero { padding-block: var(--space-xl) var(--space-3xl); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-3xl);
  align-items: center;
  min-height: calc(100dvh - 64px - 34px - var(--space-xl) - var(--space-3xl));
}
/* The caption hangs below the video so the video, not the pair, centres on the text. */
.hero__shot { position: relative; }
.hero__media { position: relative; }
.play {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  min-height: 44px;
  padding: var(--space-xs) var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-2);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--color-paper-3) 82%, transparent);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out);
}
.play:hover { border-color: var(--color-muted); }
.btn:disabled, .btn[aria-disabled="true"], .play:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.play:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.hero__shot figcaption { position: absolute; top: 100%; left: 0; }
.hero h1 { max-width: 12ch; font-size: clamp(2.75rem, 3.6vw + 1rem, 4.75rem); }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }

.get { margin-top: var(--space-xl); }
.get__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: var(--space-3xl);
  margin: var(--space-lg) 0 0;
}
.get__facts dt { color: var(--color-muted); font-size: var(--text-sm); }
.get__facts dd { margin: var(--space-3xs) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.get__facts dd.measured { color: var(--color-cool); }


/* Sections --------------------------------------------------------------- */

.section { padding-block: var(--section-gap) 0; }
.section--band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-3); color: var(--color-ink); border-block: var(--rule-hair) solid var(--color-rule); }
.section--band + .section { padding-top: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead, .stack__pane .lead { color: var(--color-ink-2); }
.head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; }
.head--split h2 { grid-column: 1; }
.head--split .lead { grid-column: 2; justify-self: end; max-width: 40ch; }

/* Before and after: one surface, the changed rows on soft tints. */
.diff {
  display: grid;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-paper-2);
}
.diff__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 5fr);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.diff__row:first-child { border-top: 0; }
.diff__row > span { padding: var(--space-lg) var(--space-lg); color: var(--color-ink-2); }
.diff__row > span + span { border-left: var(--rule-hair) solid var(--color-rule); }
.diff__row [role="rowheader"] { color: var(--color-ink); font-weight: 500; }
.diff__row--head > span { padding-block: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.diff__row .measured { display: block; margin-top: var(--space-2xs); }
.minus { background: var(--color-bad-soft); }
.plus { background: var(--color-ok-soft); }
.minus::before, .plus::before { display: inline-block; width: 1.25em; font-family: var(--font-outlier); }
.minus::before { content: "-"; color: var(--color-bad); }
.plus::before { content: "+"; color: var(--color-ok); }

/* Recording: the recorder beside what it does, as plain rows. */
kbd { font-family: var(--font-outlier); font-size: 0.9em; padding: 0 var(--space-3xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; color: var(--color-ink); }
.rec { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.rec__facts { margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.rec__facts div { display: grid; gap: var(--space-3xs); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rec__facts dt { color: var(--color-muted); font-size: var(--text-sm); }
.rec__facts dd { margin: 0; color: var(--color-ink-2); }

/* Editor: four real crops, no boxes around them, the words underneath. */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "zoom zoom" "style timeline" "style cursor";
  grid-template-rows: auto auto 1fr;
  gap: var(--space-2xl) var(--gap-columns);
  align-items: start;
}
.tile figcaption { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-md); max-width: 52ch; }
.tile figcaption strong { display: block; margin-bottom: var(--space-3xs); color: var(--color-ink); font-weight: 500; }
.tile--zoom { grid-area: zoom; }
.tile--style { grid-area: style; }
.tile--timeline { grid-area: timeline; }
.tile--cursor { grid-area: cursor; }
.tile--cursor .shot { max-width: 420px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }

/* Feature stack: the pane holds still while the screens scroll past. */
.stack__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.stack__pane { position: sticky; top: calc(64px + var(--space-2xl)); display: grid; gap: var(--space-lg); justify-items: start; }
.stack__moments { display: grid; gap: var(--space-4xl); margin: 0; padding: 0; list-style: none; }
.stack__moments li { display: grid; gap: var(--space-sm); }
.stack__moments p { color: var(--color-muted); max-width: 52ch; }
.stack__moments .shot, .stack__moments .well { margin-top: var(--space-md); }
.well {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper-3);
}
.well img { width: min(64%, 520px); height: auto; }
.well--tall { aspect-ratio: auto; padding-block: var(--space-2xl); }
.well--tall img { width: min(56%, 460px); }

/* Where the files live, as a trail on one spine. */
.files { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.files .head { margin-bottom: 0; }
.trail { margin: 0; padding: 0; list-style: none; border-left: var(--rule-hair) solid var(--color-rule-2); }
.trail li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-3xl); padding: var(--space-md) 0 var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.trail li:last-child { border-bottom: 0; }
.trail .measured { font-size: var(--text-sm); overflow-wrap: anywhere; }
.trail__root { display: block !important; }
.trail__root .measured { color: var(--color-ink); }

/* Requirements as a plain table under its head. */
.needs__head { margin-bottom: var(--space-2xl); }
.needs__table { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-rule); }
.needs__table th, .needs__table td { padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: top; }
.needs__table th { width: 13rem; padding-right: var(--space-lg); color: var(--color-ink); font-weight: 500; }
.needs__table td { color: var(--color-ink-2); }

/* The close: the download over one last screen, cropped to its top. */
.close__text { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.close__shot picture { display: block; }

/* Footer ---------------------------------------------------------------- */

.foot { padding-block: var(--section-gap-s) var(--space-2xl); }
.foot__mark { font-family: var(--font-display); font-size: var(--text-display); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: var(--space-xl) 0 0; padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.foot__links a { color: var(--color-ink-2); text-decoration-color: var(--color-rule-2); transition: color var(--dur-short) var(--ease-out); }
.foot__links a:hover { color: var(--color-accent); }
.foot__legal { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 60rem) {
  .bar__links { display: none; }
  .bar__inner > .btn { margin-left: auto; }
  .hero { padding-block: var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .hero__shot figcaption { position: static; }
  .get__facts { grid-template-columns: repeat(3, auto); gap: var(--space-lg); margin-top: var(--space-md); }
  .hero .lead { margin-top: var(--space-md); }
  .get { margin-top: var(--space-lg); }
  .head--split, .stack__grid, .files, .rec { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .bento { grid-template-rows: none; grid-template-columns: minmax(0, 1fr); grid-template-areas: "zoom" "timeline" "style" "cursor"; }
  .tile--style .shot { max-width: 360px; }
  .diff__row > span[data-label]::before { content: attr(data-label); display: block; margin-bottom: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
  .minus[data-label]::before, .plus[data-label]::before { width: auto; font-family: var(--font-body); }
  .head--split .lead { grid-column: 1; justify-self: start; }
  .stack__pane { position: static; }
  .stack__moments { gap: var(--space-3xl); }
  .diff__row { grid-template-columns: minmax(0, 1fr); }
  .diff__row > span + span { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .diff__row--head { display: none; }
  .trail li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .needs__table th { width: auto; display: block; padding-bottom: 0; border-bottom: 0; }
  .needs__table td { display: block; }
}

/* Accounts: sign-in link in the bar, plans ------------------------------- */

.bar__aux { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); }
.bar__aux { margin-left: auto; }
.bar__links + .bar__aux { margin-left: 0; }
.bar__aux a { color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.bar__aux a:hover { color: var(--color-accent); }
.bar__aux a[aria-current="page"] { color: var(--color-ink); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.plan {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
}
.plan--best { border-color: color-mix(in oklab, var(--color-accent) 55%, var(--color-rule)); }
.plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.plan__name { margin: 0; max-width: none; font-size: var(--text-title); }
.tag { padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent); font-family: var(--font-outlier); font-size: var(--text-xs); }
.plan__price { display: flex; align-items: baseline; gap: var(--space-xs); font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: var(--text-md); font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.plan__note { color: var(--color-ink-2); font-size: var(--text-sm); }
.plan__list { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.plan__list li { padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.plan .btn { width: 100%; margin-top: auto; cursor: pointer; }
.plan__note { margin-bottom: var(--space-xs); }
.plans__foot { margin-top: var(--space-lg); color: var(--color-muted); }
.plans__foot a { color: var(--color-ink-2); }
.plans__foot a:hover { color: var(--color-accent); }
.status { min-height: 1.55em; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.status[data-kind="error"] { color: var(--color-error); }
button.btn { cursor: pointer; }

@media (max-width: 60rem) {
  .bar__inner { gap: var(--space-md); }
  .bar__aux, .bar__links + .bar__aux { margin-left: auto; gap: var(--space-md); }
  .bar__aux + .btn { margin-left: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: var(--space-lg); }
}
