/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5 */
/* Hallmark · genre: editorial · macrostructure: Workbench · theme: custom-hourmeter-utility · enrichment: Tier A · nav: N1a · footer: Ft1 */

:root {
  --color-page: #f5f5f7;
  --color-paper: #ffffff;
  --color-ink: #111111;
  --color-red: #e8192c;
  --color-red-pressed: #c71426;
  --color-red-tint: #fdecee;
  --color-muted: #f0f1f3;
  --color-border: #e4e5e9;
  --color-secondary: #5b6370;
  --color-muted-text: #9ca3af;
  --color-success: #15803d;
  --color-dark-card: #1f1f23;
  --color-focus: #1d4ed8;
  --font-display: "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --space-2xs: 0.35rem;
  --space-xs: 0.65rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 4rem;
  --space-2xl: 7rem;
  --space-3xl: 11rem;
  --shadow-soft: 0 1.25rem 3.5rem rgba(17, 17, 17, 0.12);
  --rule: 1px solid var(--color-border);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--color-page); color: var(--color-ink); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }

.site-header { align-items: center; background: var(--color-paper); border-bottom: var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-md); min-height: 76px; padding: var(--space-sm) clamp(var(--space-md), 4vw, 5rem); position: relative; z-index: 3; }
.brand { align-items: center; display: inline-flex; font-size: 1.05rem; font-weight: 800; gap: var(--space-xs); letter-spacing: -0.045em; min-width: 0; }
.brand img { border-radius: 0.65rem; flex: none; }
nav { display: flex; gap: var(--space-md); justify-content: center; }
nav a, .header-cta, .footer-links a { color: var(--color-secondary); font-size: 0.84rem; font-weight: 600; transition: color 0.15s ease-out; white-space: nowrap; }
nav a:hover, .footer-links a:hover { color: var(--color-red); }
.header-cta { justify-self: end; color: var(--color-ink); transition: color 0.15s ease-out; }
.header-cta:hover { color: var(--color-red); }
.header-cta span { color: var(--color-red); font-size: 1.1em; }

.hero { background: var(--color-red); color: var(--color-paper); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); min-height: min(780px, calc(100vh - 76px)); overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(var(--space-xl), 8vw, var(--space-3xl)) clamp(var(--space-md), 7vw, 8rem); position: relative; z-index: 1; }
.eyebrow { align-items: center; display: flex; font-size: 0.7rem; font-weight: 800; gap: var(--space-xs); letter-spacing: 0.095em; margin: 0 0 var(--space-md); text-transform: uppercase; }
.eyebrow span { background: currentColor; height: 0.55rem; width: 0.55rem; }
.eyebrow--dark { color: var(--color-secondary); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-style: normal; letter-spacing: -0.072em; min-width: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.35rem, 5vw, 7.6rem); font-weight: 900; line-height: 0.88; margin-bottom: var(--space-lg); max-width: 10ch; }
h1 mark { background: var(--color-ink); color: var(--color-paper); display: inline-block; line-height: 1.02; margin-top: 0.12em; padding: 0 0.06em 0.045em; }
.hero-intro { color: var(--color-paper); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; margin-bottom: var(--space-lg); max-width: 35ch; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: var(--space-md); }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 0.95rem; font-weight: 800; gap: var(--space-xs); justify-content: center; min-height: 52px; padding: 0.8rem 1.25rem; transition: background-color 0.15s ease-out; white-space: nowrap; }
.button--light { background: var(--color-paper); color: var(--color-ink); }
.button--light:hover { background: var(--color-muted); }
.button--light:active { background: var(--color-border); }
.button--primary { background: var(--color-red); color: var(--color-paper); }
.button--primary:hover { background: var(--color-red-pressed); }
.button--primary:active { background: var(--color-red-pressed); }
.text-link { align-items: center; color: var(--color-paper); display: inline-flex; font-size: 0.9rem; font-weight: 750; gap: var(--space-xs); white-space: nowrap; }
.text-link--dark { color: var(--color-ink); }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.hero-proof { background: var(--color-ink); min-height: 100%; overflow: hidden; padding: clamp(var(--space-md), 4vw, 4rem); position: relative; }
.hero-rule { background: var(--color-paper); height: 1px; opacity: 0.35; position: absolute; right: clamp(var(--space-md), 4vw, 4rem); top: 18%; width: 40%; }
.hero-proof > p { color: var(--color-paper); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; margin: 0; text-transform: uppercase; }
.hero-shot { border: 1px solid var(--color-dark-card); box-shadow: var(--shadow-soft); margin: clamp(3rem, 9vw, 8rem) auto 0; max-width: 330px; overflow: hidden; transform: rotate(5deg); transform-origin: 50% 100%; }
.hero-shot img { width: 100%; }
.status-note { align-items: center; color: var(--color-paper); display: flex; font-size: 0.75rem; font-weight: 700; gap: var(--space-xs); letter-spacing: 0.04em; margin-top: var(--space-lg); }
.dot { background: var(--color-success); border: 2px solid var(--color-paper); border-radius: 50%; height: 0.75rem; width: 0.75rem; }

.truth { background: var(--color-paper); padding: var(--space-3xl) clamp(var(--space-md), 7vw, 8rem); }
.truth-heading { align-items: end; display: grid; gap: var(--space-xl); grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); margin-bottom: var(--space-3xl); }
h2 { font-size: clamp(2.75rem, 5.2vw, 6rem); font-weight: 900; line-height: 0.92; margin-bottom: 0; }
.truth-heading > p { color: var(--color-secondary); font-size: 1rem; line-height: 1.65; margin-bottom: 0; max-width: 33ch; }
.process { border-top: var(--rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process article { border-right: var(--rule); padding: var(--space-lg) var(--space-lg) 0 0; }
.process article + article { padding-left: var(--space-lg); }
.process article:last-child { border-right: 0; }
.process-number, .story-index { color: var(--color-red); display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: var(--space-xl); }
.process h3 { font-size: 1.7rem; line-height: 1; margin-bottom: var(--space-sm); }
.process p { color: var(--color-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; max-width: 29ch; }

.workbench { background: var(--color-page); padding: var(--space-3xl) clamp(var(--space-md), 7vw, 8rem); }
.section-kicker { max-width: 60rem; margin-bottom: var(--space-2xl); }
.section-kicker h2 { max-width: 12ch; }
.screen-story { align-items: center; border-top: var(--rule); display: grid; gap: clamp(var(--space-lg), 8vw, var(--space-3xl)); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); min-height: 57rem; padding: var(--space-2xl) 0; }
.screen-story--maintenance { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.screen-story--maintenance .story-copy { grid-column: 2; grid-row: 1; }
.screen-story--maintenance .screen-figure { grid-column: 1; grid-row: 1; }
.story-copy h3 { font-size: clamp(2.25rem, 4.2vw, 5rem); font-weight: 900; line-height: 0.95; margin-bottom: var(--space-md); }
.story-copy > p:not(.story-index) { color: var(--color-secondary); font-size: 1.03rem; line-height: 1.65; max-width: 33ch; }
.screen-figure { margin: 0; min-width: 0; position: relative; }
.screen-figure--tall { max-width: 420px; }
.screen-story--garage .screen-figure--tall { margin-left: auto; }
.screen-figure img { border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); width: 100%; }
.screen-figure figcaption { align-items: center; color: var(--color-secondary); display: flex; font-size: 0.73rem; font-weight: 700; gap: var(--space-xs); line-height: 1.4; margin-top: var(--space-sm); }
.annotation-line { background: var(--color-red); height: 2px; width: 2.5rem; }
.screen-story--maintenance .screen-figure { margin-right: auto; }
.screen-story--records { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.record-pair { align-items: end; display: grid; gap: clamp(var(--space-sm), 2vw, var(--space-xl)); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screen-figure--pair:first-child { transform: translateY(-4rem); }
.screen-figure--pair figcaption { justify-content: center; }
.mid-cta { align-items: center; border-top: var(--rule); display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; margin-top: var(--space-2xl); padding-top: var(--space-xl); }
.mid-cta p { color: var(--color-ink); font-size: 1.1rem; font-weight: 600; margin: 0; max-width: 32ch; }

.closing { background: var(--color-ink); color: var(--color-paper); display: flex; justify-content: space-between; min-height: 570px; overflow: hidden; padding: clamp(var(--space-xl), 8vw, 8rem); position: relative; }
.closing-copy { max-width: 50rem; position: relative; z-index: 1; }
.closing-copy img { border-radius: 1.15rem; margin-bottom: var(--space-xl); }
.closing h2 { font-size: clamp(3rem, 6vw, 7rem); margin-bottom: 0.3em; max-width: 11ch; }
.closing-copy > p:not(.eyebrow) { color: var(--color-muted-text); font-size: 1.1rem; line-height: 1.6; max-width: 37ch; }
.closing-actions { align-items: center; display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-lg); }
.closing-mark { align-self: end; color: var(--color-red); font-size: clamp(9rem, 28vw, 25rem); font-weight: 900; letter-spacing: -0.17em; line-height: 0.65; margin: 0 -0.1em -0.12em 0; position: relative; }
.closing-mark span { color: var(--color-paper); }

.contact { background: var(--color-paper); padding: var(--space-3xl) clamp(var(--space-md), 7vw, 8rem); }
.contact h2 { margin-bottom: 0.3em; max-width: 16ch; }
.contact > p:not(.eyebrow) { color: var(--color-secondary); font-size: 1.05rem; line-height: 1.65; margin-bottom: var(--space-lg); max-width: 45ch; }

.site-footer { background: var(--color-paper); border-top: var(--rule); padding: var(--space-lg) clamp(var(--space-md), 4vw, 5rem); }
.footer-top { align-items: end; display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; }
.brand--footer { margin-bottom: var(--space-xs); }
.footer-top > div > p { color: var(--color-secondary); font-size: 0.76rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.footer-links__download { color: var(--color-red); }
.footer-links__download:hover { color: var(--color-red-pressed); }
.footer-bottom { align-items: center; border-top: var(--rule); display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); justify-content: space-between; margin-top: var(--space-lg); padding-top: var(--space-md); }
.copyright { color: var(--color-secondary); font-size: 0.76rem; margin: 0; white-space: nowrap; }
.copyright a { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 0.2em; transition: color 0.15s ease-out; }
.copyright a:hover { color: var(--color-red); }
.site-credit { color: var(--color-muted-text); font-size: 0.72rem; margin: 0; }
.site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.site-credit a:hover { color: var(--color-secondary); }

a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

.legal { background: var(--color-paper); padding: var(--space-2xl) clamp(var(--space-md), 7vw, 8rem) var(--space-3xl); }
.legal-header { border-bottom: var(--rule); margin-bottom: var(--space-2xl); max-width: 68ch; padding-bottom: var(--space-lg); }
.legal-header .eyebrow { margin-bottom: var(--space-md); }
.legal h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 0.98; margin-bottom: var(--space-sm); max-width: none; }
.legal-updated { color: var(--color-secondary); font-size: 0.9rem; margin: 0; }
.legal-body { margin: 0 auto; max-width: 68ch; }
.legal-body h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin: var(--space-2xl) 0 var(--space-sm); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--color-ink); font-size: 1rem; line-height: 1.7; margin: 0 0 var(--space-md); }
.legal-body ul { color: var(--color-ink); font-size: 1rem; line-height: 1.65; margin: 0 0 var(--space-md); padding-left: 1.25rem; }
.legal-body li { margin-bottom: var(--space-xs); }
.legal-body li > strong { font-weight: 700; }
.legal-body a { color: var(--color-red); text-decoration: underline; text-underline-offset: 0.2em; }
.legal-body a:hover { color: var(--color-red-pressed); }
.legal-back { margin-bottom: var(--space-2xl); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: var(--space-2xl); }
  .hero-proof { min-height: 39rem; }
  .hero-shot { margin-top: var(--space-xl); max-width: 280px; }
  .truth-heading, .screen-story, .screen-story--maintenance, .screen-story--records { grid-template-columns: minmax(0, 1fr); }
  .truth-heading { align-items: start; }
  .screen-story { min-height: auto; }
  .screen-story--maintenance .story-copy, .screen-story--maintenance .screen-figure { grid-column: auto; grid-row: auto; }
  .screen-story--maintenance .screen-figure, .screen-story--garage .screen-figure--tall { margin-left: auto; margin-right: auto; }
  .screen-story--records { gap: var(--space-xl); }
  .record-pair { max-width: 38rem; }
}

@media (max-width: 560px) {
  .site-header { min-height: 66px; padding-block: var(--space-xs); }
  .brand { font-size: 0.98rem; }
  .brand img { height: 36px; width: 36px; }
  .header-cta { font-size: 0.78rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.5rem); }
  .hero-proof { min-height: 32rem; }
  .hero-shot { max-width: 225px; }
  .truth, .workbench, .contact { padding-bottom: var(--space-2xl); padding-top: var(--space-2xl); }
  .legal { padding-bottom: var(--space-2xl); padding-top: var(--space-xl); }
  .legal-header { margin-bottom: var(--space-xl); }
  .truth-heading { gap: var(--space-md); margin-bottom: var(--space-2xl); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process article, .process article + article { border-bottom: var(--rule); border-right: 0; padding: var(--space-lg) 0; }
  .process article:last-child { border-bottom: 0; }
  .process-number { margin-bottom: var(--space-md); }
  .screen-story { gap: var(--space-xl); padding: var(--space-2xl) 0; }
  .screen-figure--tall { max-width: 290px; }
  .record-pair { gap: var(--space-sm); }
  .screen-figure--pair:first-child { transform: translateY(-2rem); }
  .mid-cta { margin-top: var(--space-xl); }
  .closing { min-height: 480px; padding: var(--space-2xl) var(--space-md); }
  .closing-mark { font-size: 10rem; position: absolute; right: 0.3rem; }
  .footer-top { align-items: start; flex-direction: column; }
  .footer-bottom { align-items: start; flex-direction: column-reverse; gap: var(--space-xs); }
}
