/* Hallmark · shape: Feature Stack (swapped from Split Studio, the draw left out Split) · genre: editorial · theme: Formwork (deal 2/3, seed onstamp-timestamp-camera-app-f59b·12383afc·2026-11-29·r0) · job: try · draw: 1cca3b
 * hero: Counter (swapped from Corridor, the download sits beside the stamped photo) · nav: ink banner, wordmark and one action · footer: index columns (a real sitemap: app, check page, about, contact, privacy, terms) · imagery: the product, 9 captures (app screens and its own stamped output) · signature: the site log stamp burned onto a rebar photo, set big beside the download · formwork: cast
 * axes: mid/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a utility has little to argue; the page argues that a photo alone proves nothing and shows the stamp turning it into a record */
/* Hallmark · waive 47b · the app screens sit in a plain ink keyline, no phone frame; the stamped photos are what the app writes, not photography · product captures are the page's only pictures */
@import url("./tokens.css");
/* Hallmark · dismissed F4 · the dark segment is the selected tab of the delivery switcher, not a second filled button */
@import url("./base.css");

/* ---------- grain: the cast paper ---------- */
body { position: relative; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--texture-opacity); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { text-transform: uppercase; }
.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-plate-ink); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-xl);
  border: 2px solid var(--color-ink); border-radius: 0; font: 700 var(--text-md)/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 3px 0 var(--color-accent-deep); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--primary:active { translate: 0 3px; box-shadow: 0 0 0 var(--color-accent-deep); }
.btn--secondary { background: transparent; color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-3); }
.btn--secondary:active { translate: 0 1px; }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
.on-ink .btn:focus-visible, .on-ink a:focus-visible { outline-color: var(--color-accent); }
a:hover { color: var(--color-accent-deep); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .btn:active { translate: none; } }

/* ---------- nav: ink banner ---------- */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); color: var(--color-plate-ink); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font: 700 var(--text-xl)/1 var(--font-display); text-transform: uppercase; text-decoration: none; color: inherit; }
.wordmark svg { width: 28px; height: 28px; flex-shrink: 0; }
.bar nav ul { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.bar nav a:not(.btn) { color: var(--color-plate-ink); font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding-block: var(--space-xs); }
.bar nav a:not(.btn):hover { text-decoration: underline; color: var(--color-plate-ink); }
.bar nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.bar a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.bar .btn { min-height: 44px; padding: 0 var(--space-lg); font-size: var(--text-sm); }
@media (max-width: 40rem) { .bar .hide-s { display: none; } .bar nav ul { gap: var(--space-md); } }

/* ---------- hero: counter ---------- */
.hero { padding-block: var(--space-2xl); min-height: calc(100dvh - 64px); display: grid; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.4vw + 0.5rem, 6rem); line-height: 1.0; max-width: 11ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.shot { margin: 0; }
.shot__frame { aspect-ratio: 3 / 4; outline: 2px solid var(--color-ink); outline-offset: -2px; }
.shot__frame > img { filter: none; }
.hero .shot__frame { height: min(72dvh, 680px); max-width: 100%; }
.hero .shot { justify-self: start; }
.shot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero .shot__frame { height: auto; width: 100%; }
  .hero .shot { justify-self: stretch; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.head .lead { color: var(--color-ink-2); }
@media (max-width: 60rem) { .head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* switcher: the plain photo and the stamped one */
.switch__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.seg { display: inline-grid; grid-auto-flow: column; border: 2px solid var(--color-ink); background: var(--color-paper-2); }
.seg button { min-height: 48px; padding: 0 var(--space-lg); border: 0; background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.seg button:hover { background: var(--color-paper-3); }
.seg button[aria-selected="true"] { background: var(--color-ink); color: var(--color-plate-ink); }
.seg button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; position: relative; z-index: var(--z-raised); }
.facts { margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-paper-3); }
.facts li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-paper-3); }
.facts b { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.facts span { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); }
.pair .shot__frame { aspect-ratio: 4 / 5; }
.js .pair[data-mode] { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.js .pair[data-mode="plain"] .shot--stamped, .js .pair[data-mode="stamped"] .shot--plain { display: none; }
@media (max-width: 60rem) { .switch__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* pinned: three app screens */
.pin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); }
.pin__visual { position: sticky; top: calc(64px + var(--space-xl)); align-self: start; display: grid; justify-items: center; }
.pin__visual .screen { grid-area: 1 / 1; width: min(360px, 100%); transition: opacity var(--dur-long) var(--ease-out); }
.js .pin__visual .screen:not(.is-on) { opacity: 0; }
.screen { margin: 0; aspect-ratio: 720 / 1560; outline: 2px solid var(--color-ink); outline-offset: -2px; }
.screen > img { filter: none; }
.panels { display: grid; gap: var(--space-4xl); padding-block: var(--space-2xl) var(--space-4xl); margin: 0; list-style: none; padding-inline: 0; counter-reset: step; }
.panel { min-height: 60dvh; display: grid; align-content: center; gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-paper-3); }
.panel h3 { font-size: var(--text-section); max-width: 14ch; }
.panel p { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 46ch; }
.panel .figure { font: 500 var(--text-sm)/1.4 var(--font-outlier); color: var(--color-muted); }
.panel .screen { display: none; }
@media (prefers-reduced-motion: reduce) { .pin__visual .screen { transition: none; } }
@media (max-width: 60rem) {
  .pin__grid { grid-template-columns: minmax(0, 1fr); }
  .pin__visual { display: none; }
  .panels { gap: var(--space-3xl); padding-block: 0; }
  .panel { min-height: 0; }
  .panel .screen { display: block; width: min(320px, 100%); margin-top: var(--space-md); }
}

/* statement on the ink band */
.band-ink { background: var(--color-ink); color: var(--color-plate-ink); position: relative; isolation: isolate; }
.band-ink .statement { font: 700 var(--text-display)/1.02 var(--font-display); text-transform: uppercase; max-width: 16ch; margin: 0; overflow-wrap: break-word; min-width: 0; }
.band-ink .row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.band-ink p { color: var(--color-plate-ink); max-width: 46ch; }
.band-ink a:not(.btn) { color: var(--color-plate-ink); }
.band-ink a:not(.btn):hover { color: var(--color-accent); }
.band-ink .btn--secondary { color: var(--color-plate-ink); border-color: var(--color-plate-ink); }
.band-ink .btn--secondary:hover { background: color-mix(in oklab, var(--color-plate-ink) 12%, transparent); }
.band-ink .side { display: grid; gap: var(--space-lg); justify-items: start; }
@media (max-width: 60rem) { .band-ink .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* showcase: the PDF report */
.report { margin: 0; }
.report__frame { aspect-ratio: 16 / 9; outline: 2px solid var(--color-ink); outline-offset: -2px; background: var(--color-plate); }
.report__frame > img { filter: none; object-position: 50% 0; }
.report figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* table: free and pro */
.plans { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.plans th, .plans td { text-align: left; vertical-align: top; padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-paper-3); }
.plans thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.plans thead th:not(:first-child) { font: 500 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); }
.plans tbody th { font-weight: 500; width: 30%; }
.plans td { color: var(--color-ink-2); }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.plate { background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); padding: var(--space-xl); }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.needs div { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }
.needs b { display: block; font: 700 var(--text-2xl)/1.05 var(--font-display); text-transform: uppercase; }
.needs span { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 40rem) { .needs { grid-template-columns: minmax(0, 1fr); } }

/* close: the download beside one last photo */
.band-cast { background: var(--color-paper-2); }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: center; }
.close__grid h2 { font-size: var(--text-display); max-width: 12ch; }
.close__grid .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
@media (max-width: 60rem) { .close__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---------- footer: index columns ---------- */
.foot { background: var(--color-ink); color: var(--color-plate-ink); padding-block: var(--space-3xl) var(--space-xl); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--gap-columns); }
.foot h2 { font-size: var(--text-md); font-family: var(--font-body); font-weight: 500; text-transform: none; color: var(--color-plate-ink); opacity: 0.8; margin-bottom: var(--space-sm); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.foot a { color: var(--color-plate-ink); text-decoration: none; }
.foot a:hover { color: var(--color-accent); text-decoration: underline; }
.foot a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.foot p { color: var(--color-plate-ink); font-size: var(--text-sm); max-width: 38ch; }
.foot .small { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-plate-ink) 25%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
@media (max-width: 60rem) { .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- inner pages: a long document ---------- */
.doc { padding-block: var(--space-3xl) var(--section-gap); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); }
.doc h1 { font-size: var(--text-display-s); max-width: 12ch; }
.doc .meta { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.doc__aside { position: sticky; top: calc(64px + var(--space-xl)); align-self: start; }
.toc { margin: var(--space-xl) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); border-top: var(--rule-hair) solid var(--color-paper-3); padding-top: var(--space-md); }
.toc a { font-size: var(--text-sm); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-lg); }
.prose h2 { font-size: var(--text-title); line-height: 1.15; margin-top: var(--space-2xl); max-width: 30ch; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: var(--space-md); max-width: 65ch; color: var(--color-ink-2); }
.prose ul { padding-left: var(--space-lg); }
.prose li + li { margin-top: var(--space-xs); }
.prose strong { color: var(--color-ink); font-weight: 500; }
.prose a { color: var(--color-ink); }
.prose .lead { color: var(--color-ink); }
.mailplate { margin-top: var(--space-xl); }
.mailplate a { font: 700 clamp(1.5rem, 2.6vw + 0.5rem, 2.75rem)/1.1 var(--font-display); text-transform: none; overflow-wrap: break-word; color: var(--color-ink); text-decoration-thickness: 2px; }
.mailplate a:hover { color: var(--color-accent-deep); }
@media (max-width: 60rem) { .doc__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .doc__aside { position: static; } }
.foot__line { margin-top: var(--space-md); }
