/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
/* Hallmark · macrostructure: Workbench — real product capture leads, routes follow by task, dark capability band provides contrast */
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--color-ink); background: var(--color-canvas); font-family: var(--font-sans); text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: var(--space-3); left: var(--space-3); z-index: 10; padding: var(--space-3) var(--space-4); color: var(--color-surface); background: var(--color-night); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header, main, .site-footer { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }
.site-header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); border-bottom: 1px solid var(--color-rule); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-logo { width: 2.25rem; height: 2.25rem; object-fit: cover; }
.header-actions, .hero-actions, .site-footer nav { display: flex; align-items: center; gap: var(--space-5); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 0 var(--space-5); color: var(--color-surface); background: var(--color-accent); border: 1px solid var(--color-accent); font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, transform 160ms ease; }
.button:hover { background: var(--color-accent-dark); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 2.75rem; padding-inline: var(--space-4); }
.button-secondary { color: var(--color-ink); background: transparent; border-color: var(--color-rule-strong); }
.button-secondary:hover { background: var(--color-surface); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
[aria-disabled="true"] { opacity: 0.48; pointer-events: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(27rem, 0.94fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(4rem, 7vw, 6.5rem); }
.hero-copy { min-width: 0; padding-block: var(--space-6); }
.eyebrow, .band-kicker { margin: 0 0 var(--space-5); color: var(--color-accent); font: 700 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: var(--space-5); max-width: 15ch; font-size: clamp(2.75rem, 3.6vw, 4.1rem); line-height: 1.1; letter-spacing: -0.042em; font-weight: 900; }
h1 span { display: block; }
h1 span + span { margin-top: var(--space-3); font-size: 0.68em; letter-spacing: -0.025em; }
.hero-lead { max-width: 34rem; margin-bottom: var(--space-6); color: var(--color-body); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.8; }
.hero-actions { flex-wrap: wrap; margin-bottom: var(--space-7); }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 36rem; margin: 0; padding-top: var(--space-5); border-top: 1px solid var(--color-rule); }
.hero-meta div { padding-right: var(--space-4); }
.hero-meta dt { margin-bottom: var(--space-2); color: var(--color-muted); font-size: 0.75rem; }
.hero-meta dd { margin: 0; font-weight: 700; font-size: 0.9rem; }
.product-proof { min-width: 0; margin: 0; padding: var(--space-4); border: 1px solid var(--color-rule); background: var(--color-surface); }
.product-proof img { width: 100%; max-height: 34rem; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 52%; border: 1px solid var(--color-rule); }
.product-proof figcaption { display: flex; gap: var(--space-3); margin-top: var(--space-3); color: var(--color-muted); font-size: 0.82rem; line-height: 1.6; }
.product-proof figcaption span { color: var(--color-accent); font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.demo-band { width: 100vw; margin-left: calc(50% - 50vw); display: grid; grid-template-columns: minmax(10rem, 0.38fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; padding: var(--space-7) max(1.5rem, calc((100vw - var(--max-width)) / 2)); color: var(--color-surface); background: var(--color-night); }
.band-kicker { margin: 0; color: var(--color-night-muted); }
.demo-band ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.demo-band li { display: grid; gap: var(--space-2); padding-left: var(--space-4); border-left: 1px solid oklch(100% 0 0 / 0.2); }
.demo-band li span { color: oklch(76% 0.14 255); font: 700 0.75rem/1 var(--font-mono); }
.demo-band li strong { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.route-section { display: grid; grid-template-columns: minmax(18rem, 0.34fr) minmax(0, 1fr); gap: 0; padding-block: var(--space-8); }
.section-heading { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: var(--space-7) var(--space-7) var(--space-7) 0; text-align: center; border-top: 1px solid var(--color-rule-strong); border-right: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule-strong); }
.section-heading h2, .notice h2 { margin-bottom: var(--space-4); font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1.15; letter-spacing: -0.04em; }
.section-heading > p:last-child, .notice > p { max-width: 32rem; color: var(--color-body); line-height: 1.8; }
.section-heading > p:last-child { max-width: 24rem; margin-inline: auto; }
.route-list { border-top: 1px solid var(--color-rule-strong); }
.route-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: var(--space-5); align-items: start; padding-block: var(--space-6); border-bottom: 1px solid var(--color-rule); }
.route-list .route-item { padding-left: var(--space-7); }
.route-number { color: var(--color-muted); font: 700 0.78rem/1.5 var(--font-mono); }
.route-item h3 { margin-bottom: var(--space-2); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; }
.route-item p { max-width: 38rem; margin-bottom: 0; color: var(--color-body); line-height: 1.7; }
.route-item > a { color: var(--color-accent-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.route-primary { border-left: 3px solid var(--color-accent); padding-left: var(--space-5); background: linear-gradient(90deg, var(--color-accent-soft), transparent 65%); }
.notice { display: flex; align-items: center; justify-content: space-between; gap: var(--space-7); margin-bottom: var(--space-9); padding: var(--space-7); border-top: 1px solid var(--color-rule-strong); border-bottom: 1px solid var(--color-rule-strong); }
.notice-copy { max-width: 44rem; }
.notice .eyebrow { margin-bottom: var(--space-4); }
.notice h2 { margin-bottom: var(--space-3); max-width: none; font-size: clamp(1.65rem, 2.05vw, 2.15rem); letter-spacing: -0.025em; white-space: nowrap; }
.notice > .button { flex: 0 0 auto; }
.site-footer { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); color: var(--color-muted); border-top: 1px solid var(--color-rule); font-size: 0.85rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--color-body); text-decoration: none; white-space: nowrap; }
html.gsap-motion-running .site-header,
html.gsap-motion-running .hero-copy > *,
html.gsap-motion-running .hero-meta > div,
html.gsap-motion-running .product-proof,
html.gsap-motion-running .product-proof img,
html.gsap-motion-running .product-proof figcaption > *,
html.gsap-proof-running .product-proof,
html.gsap-proof-running .product-proof img,
html.gsap-proof-running .product-proof figcaption > *,
html.gsap-route-running .section-heading > *,
html.gsap-route-running .route-item { will-change: transform, opacity; }
.product-proof { transform-style: preserve-3d; transform-origin: 50% 50%; }
@media (max-width: 64rem) {
  .hero { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-copy { max-width: 46rem; }
  .product-proof { width: min(100%, 46rem); }
  .route-section { grid-template-columns: 1fr; }
  .section-heading { padding: var(--space-7) 0; border-right: 0; border-bottom: 0; }
  .route-list .route-item { padding-left: 0; }
  .notice { align-items: flex-start; flex-direction: column; }
  .notice h2 { white-space: normal; }
}
@media (max-width: 48rem) {
  .site-header, main, .site-footer { width: min(calc(100% - 2rem), var(--max-width)); }
  .site-header { min-height: 4.5rem; }
  .header-actions .text-link { display: none; }
  .hero { padding-block: var(--space-8); gap: var(--space-7); }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .product-proof { padding: var(--space-2); }
  .product-proof img { aspect-ratio: 4 / 5; object-position: 58% 52%; }
  .demo-band { grid-template-columns: 1fr; padding-block: var(--space-6); }
  .demo-band ol { grid-template-columns: 1fr; gap: var(--space-5); }
  .route-section { padding-block: var(--space-7); }
  .route-item { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .route-item > a { grid-column: 2; }
  .notice { margin-bottom: var(--space-8); padding: var(--space-6) 0; }
  .notice > .button { width: 100%; }
}
@media (max-width: 25.875rem) {
  .brand-logo { width: 2rem; height: 2rem; }
  .button-small { min-height: 2.5rem; padding-inline: var(--space-3); font-size: 0.8rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .hero-meta div:last-child { grid-column: 1 / -1; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
