/* ═══════════════════════════════════════════════════════════════
   Minimal base resets (extracted from base.css)
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

html {
  font-size: 13.5px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-md, 13px);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(20, 122, 115, 0.18);
}

h1, h2, h3, p {
  margin: 0;
  letter-spacing: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-sprite symbol,
.svg-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.svg-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Landing Page · Tokens & Base
   Reference: DESIGN.md — Dark lacquer, kinpaku gold, verdigris patina
   ═══════════════════════════════════════════════════════════════ */

/* ── 1 · Tokens ─────────────────────────────────────────────── */

.landing-page {
  /* Brand anchors */
  --lp-kinpaku: oklch(84% 0.19 80.46);
  --lp-patina: oklch(70% 0.12 188);

  /* Surfaces */
  --lp-lacquer: oklch(7% 0.006 95);
  --lp-lacquer-deep: oklch(4% 0.004 95);
  --lp-raised: oklch(11% 0.006 95);
  --lp-graphite: oklch(15% 0.008 95);
  --lp-graphite-2: oklch(19% 0.008 95);

  /* Text — fully neutral (no warmth in text tiers) */
  --lp-champagne: oklch(91% 0 0);
  --lp-text-warm: oklch(88% 0 0);
  --lp-text-muted: oklch(72% 0 0);
  --lp-text-faint: oklch(62% 0 0);
  --lp-text-mute-deep: oklch(52% 0 0);

  /* Gold ramp */
  --lp-kinpaku-pale: oklch(86% 0.07 84);
  --lp-kinpaku-rich: oklch(77% 0.13 82);
  --lp-kinpaku-deep: oklch(61% 0.085 78);
  --lp-rule: oklch(78% 0 0 / 0.16);
  --lp-rule-strong: oklch(74% 0.09 82 / 0.6);

  /* Patina ramp */
  --lp-patina-pale: oklch(82% 0.07 188);
  --lp-patina-deep: oklch(49% 0.08 188);

  /* State */
  --lp-vermilion: oklch(58% 0.15 35);

  /* Type stacks: local/system fonts only, matching the app's strict CSP. */
  --lp-font-display: "Avenir Next Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --lp-font-wordmark: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --lp-font-body: "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
  --lp-font-mono: SFMono-Regular, 'Roboto Mono', Consolas, monospace;

  /* Spacing (DESIGN.md §spacing) */
  --lp-space-xs: 8px;
  --lp-space-sm: 16px;
  --lp-space-md: 24px;
  --lp-space-lg: 32px;
  --lp-space-xl: 48px;
  --lp-space-2xl: 80px;
  --lp-space-3xl: 112px;

  /* Radii (DESIGN.md §rounded) */
  --lp-radius-xs: 2px;
  --lp-radius-sm: 4px;
  --lp-radius-md: 6px;
  --lp-radius-lg: 8px;

  /* Motion */
  --lp-ease: cubic-bezier(0.16, 1, 0.3, 1);

  min-height: 100dvh;
  overflow-x: clip;
  background: var(--lp-lacquer);
  color: var(--lp-text-warm);
  font-family: var(--lp-font-body);
  font-size: 1.02rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── 2 · Base resets (override base.css button styles) ──────── */

.landing-page a { color: inherit; text-decoration: none; }

.landing-page button {
  overflow: visible;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  box-shadow: none;
  font-family: var(--lp-font-body);
}
.landing-page button::after { content: none; }
.landing-page button:hover { border: 0; background: none; }

/* ── 3 · Container (1320px max, DESIGN.md §.ks-section) ─────── */

.landing-nav,
.landing-hero,
.landing-workflow,
.landing-capabilities,
.landing-footer {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Navigation
   ═══════════════════════════════════════════════════════════════ */

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--lp-rule);
  background: var(--lp-lacquer);
  transform: translateY(0);
  transition: transform 220ms var(--lp-ease);
  will-change: transform;
}

.landing-nav.is-hidden {
  transform: translateY(calc(-100% - 1px));
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  justify-self: start;
}

.landing-brand-image-lockup {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.landing-brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 158px;
  overflow: visible;
}

.landing-brand-logo .brand-letter {
  fill: var(--lp-champagne);
  font-family: var(--lp-font-display);
  font-size: 22px;
  font-weight: 600;
  transition: fill 250ms ease;
}

.landing-brand-logo .brand-letter:nth-child(1) { transition-delay: 0ms; }
.landing-brand-logo .brand-letter:nth-child(2) { transition-delay: 40ms; }
.landing-brand-logo .brand-letter:nth-child(3) { transition-delay: 80ms; }
.landing-brand-logo .brand-letter:nth-child(4) { transition-delay: 120ms; }
.landing-brand-logo .brand-letter:nth-child(5) { transition-delay: 160ms; }
.landing-brand-logo .brand-letter:nth-child(6) { transition-delay: 200ms; }
.landing-brand-logo .brand-letter:nth-child(7) { transition-delay: 240ms; }
.landing-brand-logo .brand-letter:nth-child(8) { transition-delay: 280ms; }
.landing-brand-logo .brand-letter:nth-child(9) { transition-delay: 320ms; }

.landing-brand:hover .brand-letter,
.landing-brand:focus-visible .brand-letter {
  fill: var(--lp-kinpaku);
}

.landing-brand small {
  color: var(--lp-text-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-nav-links {
  display: flex;
  gap: 32px;
  color: var(--lp-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.landing-nav-links a {
  padding-block: 12px;
  transition: color 200ms ease;
}
.landing-nav-links a:hover { color: var(--lp-kinpaku); }

.landing-nav-action {
  justify-self: end;
  gap: 8px;
  padding: 0 2px !important;
  border-bottom: 1px solid var(--lp-rule-strong) !important;
  color: var(--lp-champagne) !important;
  font-weight: 500 !important;
  font-size: 0.88rem;
  transition: color 200ms ease, border-color 200ms ease;
}
.landing-nav-action:hover {
  color: var(--lp-kinpaku) !important;
  border-bottom-color: var(--lp-kinpaku) !important;
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Dropdown Menus
   Mistral-style hover dropdown panels with items, icons, and arrows
   ═══════════════════════════════════════════════════════════════ */

/* ── Dropdown container ─────────────────────────────────────── */

.landing-dropdown {
  position: relative;
}

/* ── Trigger button ─────────────────────────────────────────── */

.landing-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 12px;
  min-height: auto !important;
  color: var(--lp-text-muted) !important;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--lp-font-body);
  cursor: pointer;
  transition: color 200ms ease;
}

.landing-dropdown-trigger .svg-icon {
  width: 12px;
  height: 12px;
  transition: transform 300ms var(--lp-ease), color 200ms ease;
  transform: rotate(90deg);
}

.landing-dropdown-trigger:hover,
.landing-dropdown.is-open .landing-dropdown-trigger {
  color: var(--lp-kinpaku) !important;
}

.landing-dropdown.is-open .landing-dropdown-trigger .svg-icon {
  transform: rotate(270deg);
}

/* ── Dropdown panel ─────────────────────────────────────────── */

.landing-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  min-width: 320px;
  padding: 8px;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-raised);
  border: 1px solid var(--lp-rule);
  box-shadow:
    0 24px 80px oklch(2% 0.004 95 / 0.55),
    0 8px 24px oklch(2% 0.004 95 / 0.3),
    0 0 0 1px oklch(78% 0 0 / 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms var(--lp-ease),
    transform 250ms var(--lp-ease),
    visibility 250ms;
}

/* Connector notch — subtle triangle pointing up */
.landing-dropdown-panel::before {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--lp-raised);
  border-top: 1px solid var(--lp-rule);
  border-left: 1px solid var(--lp-rule);
  content: "";
}

/* Open state */
.landing-dropdown.is-open .landing-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ── Category label ─────────────────────────────────────────── */

.landing-dropdown-label {
  padding: 12px 14px 8px;
  margin: 0;
  color: var(--lp-text-mute-deep);
  font-family: var(--lp-font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Menu items ─────────────────────────────────────────────── */

.landing-dropdown-item {
  display: grid !important;
  grid-template-columns: 28px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 0;
  align-items: center;
  width: 100%;
  min-height: 54px !important;
  padding: 10px 14px !important;
  border-radius: var(--lp-radius-md);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease;
}

.landing-dropdown-item:hover {
  background: oklch(15% 0.008 95) !important;
}

/* Item icon — left column, spans both rows */
.landing-dropdown-item > .svg-icon:first-child {
  grid-row: 1 / -1;
  width: 22px;
  height: 22px;
  color: var(--lp-kinpaku-rich);
  transition: color 200ms ease;
}
.landing-dropdown-item:hover > .svg-icon:first-child {
  color: var(--lp-kinpaku);
}

/* Item title */
.landing-dropdown-item > span {
  grid-column: 2;
  grid-row: 1;
  color: var(--lp-champagne);
  font-family: var(--lp-font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Item description */
.landing-dropdown-item > small {
  grid-column: 2;
  grid-row: 2;
  color: var(--lp-text-mute-deep);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Arrow chevron — right column, spans both rows */
.landing-dropdown-arrow {
  grid-column: 3;
  grid-row: 1 / -1;
  width: 14px !important;
  height: 14px !important;
  color: var(--lp-text-mute-deep);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms var(--lp-ease), color 200ms ease;
}

.landing-dropdown-item:hover .landing-dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--lp-kinpaku);
}

/* ── See all footer link ────────────────────────────────────── */

.landing-dropdown-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 10px 14px;
  border-top: 1px solid var(--lp-rule);
  color: var(--lp-text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 200ms ease;
}

.landing-dropdown-footer:hover {
  color: var(--lp-kinpaku);
}

.landing-dropdown-footer .svg-icon {
  width: 12px;
  height: 12px;
  transition: transform 200ms var(--lp-ease);
}

.landing-dropdown-footer:hover .svg-icon {
  transform: translateX(3px);
}

/* ── Responsive: hide dropdowns at mobile ───────────────────── */

@media (max-width: 1080px) {
  .landing-dropdown-panel {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Hero Section
   ═══════════════════════════════════════════════════════════════ */

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: min(640px, calc(100dvh - 72px));
  padding-block: clamp(48px, 6vw, 80px);
}

.landing-hero-copy,
.landing-visual {
  position: relative;
  z-index: 1;
}

/* Eyebrow — mono, tracked, kinpaku (DESIGN.md §typography.eyebrow) */
.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--lp-space-sm);
  color: var(--lp-kinpaku);
  font-family: var(--lp-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Live indicator dot — patina with glow (DESIGN.md §patina-glow) */
.landing-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-patina);
  box-shadow: 0 0 0 5px oklch(70% 0.12 188 / 0.15);
  animation: lp-pulse 2.8s ease-in-out infinite;
}

/* Display heading — Pinstripe, weight 300 (DESIGN.md §typography.display) */
.landing-hero h1 {
  max-width: 720px;
  color: var(--lp-champagne);
  font-family: var(--lp-font-display);
  font-size: 5.6rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

/* Body summary — local/system font stack with extra air for readability. */
.landing-hero-summary {
  max-width: 62ch;
  margin-top: var(--lp-space-sm);
  color: var(--lp-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--lp-space-md);
}

/* Primary CTA — kinpaku fill, dark text (DESIGN.md §components.button-primary) */
.landing-primary-action,
.landing-secondary-action {
  gap: 10px;
  min-height: 58px !important;
  padding: 0 38px !important;
  border-radius: var(--lp-radius-xs);
  font-weight: 500 !important;
  font-size: 1.02rem;
  transition: transform 200ms var(--lp-ease), background 200ms ease, box-shadow 200ms ease;
}

.landing-primary-action {
  background: var(--lp-kinpaku) !important;
  color: var(--lp-lacquer-deep) !important;
  box-shadow: 0 18px 48px oklch(2% 0.004 95 / 0.4);
}
.landing-primary-action:hover {
  background: var(--lp-kinpaku-pale) !important;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px oklch(2% 0.004 95 / 0.5);
}

/* Secondary CTA — outlined gold (DESIGN.md §components.button-secondary) */
.landing-secondary-action {
  outline: 1px solid var(--lp-rule-strong);
  outline-offset: -1px;
  color: var(--lp-kinpaku) !important;
}
.landing-secondary-action:hover {
  background: color-mix(in oklch, var(--lp-kinpaku) 6%, transparent) !important;
  transform: translateY(-2px);
}

/* Trust badges */
.landing-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: var(--lp-space-sm) 0 0;
  padding: 0;
  color: var(--lp-text-muted);
  font-size: 0.78rem;
  list-style: none;
}
.landing-trust-list li { display: flex; align-items: center; gap: 6px; }
.landing-trust-list .svg-icon { width: 14px; color: var(--lp-patina); }


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Hero Visual — Detection Scene
   Real annotated camera feed with HUD overlay, floating
   annotation cards (Mistral-style), and decision strip.
   ═══════════════════════════════════════════════════════════════ */

/* ── Visual container — holds camera + decision strip ───────── */

.landing-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Camera frame — main viewport ───────────────────────────── */

.landing-camera-frame {
  position: relative;
  border-radius: 6px 6px 0 0;
  overflow: visible;                /* Allow float cards to overflow */
  outline: 1px solid oklch(84% 0.19 80.46 / 0.18);
  outline-offset: -1px;
  box-shadow:
    0 0 0 1px oklch(84% 0.19 80.46 / 0.06),
    0 32px 64px -12px oklch(2% 0.004 95 / 0.6),
    0 8px 24px oklch(2% 0.004 95 / 0.3);
}

/* ── Camera HUD — top bar & footer ──────────────────────────── */

.landing-camera-topline,
.landing-camera-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--lp-text-faint);
  font-family: var(--lp-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-camera-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 8px 14px 24px;
  background: linear-gradient(180deg,
    oklch(3% 0.004 95 / 0.82) 0%,
    oklch(3% 0.004 95 / 0.4) 60%,
    transparent 100%);
}

.landing-camera-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 24px 14px 8px;
  background: linear-gradient(0deg,
    oklch(3% 0.004 95 / 0.82) 0%,
    oklch(3% 0.004 95 / 0.4) 60%,
    transparent 100%);
}

.landing-camera-topline span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Recording indicator — pulsing patina dot */
.landing-camera-topline i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-patina);
  box-shadow: 0 0 6px 2px oklch(70% 0.12 188 / 0.5);
  animation: lp-pulse 2s ease-in-out infinite;
  font-style: normal;
}

.landing-camera-footer span:last-child {
  color: var(--lp-kinpaku);
  font-weight: 600;
}

/* ── Scene — real annotated detection image ─────────────────── */

.landing-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lp-lacquer-deep);
  border-radius: 6px 6px 0 0;
}

.landing-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Slight CCTV color correction */
  filter: brightness(0.88) contrast(1.1) saturate(0.85);
}

/* Scan line effects removed — clean feed */



/* ── Corner brackets — surveillance frame marks ─────────────── */

.landing-scene::before {
  position: absolute;
  inset: 16px;
  border: 1.5px solid oklch(84% 0.19 80.46 / 0.15);
  border-radius: 2px;
  content: "";
  pointer-events: none;
  z-index: 3;
}

/* ── Floating annotation chips ──────────────────────────────── */

.landing-float-cards {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.landing-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--lp-space-xs) var(--lp-space-sm);
  border: 1px solid var(--lp-rule);
  border-radius: var(--lp-radius-md);
  background: var(--lp-raised);
  color: var(--lp-champagne);
  font-family: var(--lp-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: auto;
  opacity: 0;
  animation: lp-float-in 700ms var(--lp-ease) forwards;
  transition: transform 250ms var(--lp-ease), border-color 250ms ease;
}

.landing-float-card:hover {
  border-color: var(--lp-rule-strong);
  transform: translateY(-2px);
}

.landing-float-card .svg-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Connector lines — thin kinpaku lines from card to feed edge */
.landing-float-card::before {
  position: absolute;
  right: calc(100% + 1px);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, oklch(84% 0.19 80.46 / 0.06), oklch(84% 0.19 80.46 / 0.22));
  content: "";
}

.landing-float-card::after {
  position: absolute;
  right: calc(100% + 19px);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: oklch(84% 0.19 80.46 / 0.3);
  content: "";
}

/* ── Card positions — stacked along right edge, inside viewport ── */

.landing-float-card:nth-child(1) {
  top: 10%;
  left: calc(100% + 22px);
  animation-delay: 400ms;
}
.landing-float-card:nth-child(1) .svg-icon { color: var(--lp-patina); }

.landing-float-card:nth-child(2) {
  top: 32%;
  left: calc(100% + 28px);
  animation-delay: 560ms;
}
.landing-float-card:nth-child(2) .svg-icon { color: var(--lp-kinpaku); }

.landing-float-card:nth-child(3) {
  bottom: 32%;
  left: calc(100% + 24px);
  animation-delay: 720ms;
}
.landing-float-card:nth-child(3) .svg-icon { color: var(--lp-patina-pale); }

.landing-float-card:nth-child(4) {
  bottom: 10%;
  left: calc(100% + 30px);
  animation-delay: 880ms;
}
.landing-float-card:nth-child(4) .svg-icon { color: var(--lp-kinpaku-rich); }

/* ── Decision strip — kinpaku gold bar below feed ───────────── */

.landing-decision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--lp-kinpaku);
  color: var(--lp-lacquer-deep);
  border-radius: 0 0 6px 6px;
}

.landing-decision-strip div {
  display: grid;
  gap: 3px;
}

.landing-decision-strip span {
  font-family: var(--lp-font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.landing-decision-strip strong {
  font-family: var(--lp-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
}

.landing-decision-strip button {
  min-height: 36px !important;
  padding: 0 4px !important;
  border: none !important;
  border-bottom: 1.5px solid var(--lp-lacquer-deep) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lp-lacquer-deep) !important;
  font-family: var(--lp-font-body);
  font-weight: 600 !important;
  font-size: 0.9rem;
  box-shadow: none !important;
  transition: opacity 200ms ease;
}

.landing-decision-strip button:hover {
  opacity: 0.65;
  background: transparent !important;
}

.landing-decision-strip button::after { content: none; }

/* ── Keyframes ──────────────────────────────────────────────── */

@keyframes lp-float-in {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1280px) {
  .landing-float-card:nth-child(1) { left: calc(100% + 16px); }
  .landing-float-card:nth-child(2) { left: calc(100% + 20px); }
  .landing-float-card:nth-child(3) { left: calc(100% + 16px); }
  .landing-float-card:nth-child(4) { left: calc(100% + 22px); }
}

@media (max-width: 1080px) {
  .landing-float-cards { display: none; }
  .landing-camera-frame { overflow: hidden; }
}

@media (max-width: 480px) {
  .landing-scene { aspect-ratio: 4 / 3; }
  .landing-camera-topline,
  .landing-camera-footer { padding-inline: 12px; }
  .landing-decision-strip { padding: 12px 14px; }
  .landing-decision-strip strong { font-size: 0.82rem; }
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Workflow Section
   ═══════════════════════════════════════════════════════════════ */

.landing-workflow {
  padding-block: clamp(56px, 8vw, 80px);
}

/* Section header stack (DESIGN.md §.ks-section-head) */
.landing-section-head {
  display: grid;
  gap: var(--lp-space-sm);
  margin-bottom: var(--lp-space-lg);
}

/* Section eyebrow (DESIGN.md §.ks-section-eyebrow) */
.landing-section-eyebrow {
  font-family: var(--lp-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lp-kinpaku-deep);
}

/* Section h2 — Pinstripe, weight 600 (DESIGN.md §typography.headline) */
.landing-section-head h2,
.landing-capability-intro h2 {
  color: var(--lp-champagne);
  font-family: var(--lp-font-display);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

/* Section body text */
.landing-section-head p,
.landing-capability-intro p {
  max-width: 65ch;
  color: var(--lp-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Flow pipeline — mirrors the app workspace tabs */
.landing-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--lp-rule);
  background: linear-gradient(180deg, var(--lp-raised), var(--lp-lacquer-deep));
}

.landing-flow li {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--lp-rule);
}
.landing-flow li:last-child { border-right: 0; }

.landing-flow li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-kinpaku), var(--lp-kinpaku-pale));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 360ms var(--lp-ease);
}

.landing-flow li:hover::before,
.landing-flow li:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.landing-flow button {
  display: grid;
  width: 100%;
  min-height: clamp(410px, 39vw, 520px);
  grid-template-rows: auto 1fr auto auto;
  align-content: stretch;
  justify-items: start;
  gap: 0;
  padding: clamp(30px, 3vw, 44px) clamp(24px, 2.6vw, 36px) !important;
  text-align: left;
  background: transparent !important;
  color: var(--lp-text-warm);
  transition: background 200ms ease, color 200ms ease;
}
.landing-flow button:hover,
.landing-flow button:focus-visible {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--lp-graphite-2), var(--lp-raised)) !important;
}

.landing-flow button > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.landing-flow .svg-icon {
  width: 42px;
  height: 42px;
  margin: 0 0 auto;
  color: var(--lp-kinpaku-rich);
  stroke-width: 2.25;
  transition: color 180ms ease, transform 220ms var(--lp-ease);
}

.landing-flow li:nth-child(2n) .svg-icon { color: var(--lp-patina); }
.landing-flow li:nth-child(3) .svg-icon { color: var(--lp-kinpaku); }
.landing-flow li:nth-child(5) .svg-icon { color: var(--lp-kinpaku-pale); }
.landing-flow li:nth-child(6) .svg-icon { color: var(--lp-patina-pale); }
.landing-flow li:nth-child(7) .svg-icon { color: var(--lp-kinpaku-rich); }

.landing-flow button:hover .svg-icon,
.landing-flow button:focus-visible .svg-icon {
  transform: translateY(-3px);
}

.landing-flow strong {
  font-family: var(--lp-font-body);
  max-width: 10.5em;
  margin-top: auto;
  color: var(--lp-champagne);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.35;
  transition: transform 260ms var(--lp-ease), color 180ms ease;
}

.landing-flow small {
  max-width: 18em;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--lp-text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 420ms var(--lp-ease),
    margin-top 320ms ease,
    opacity 260ms ease,
    transform 420ms var(--lp-ease);
}

.landing-flow li:hover strong,
.landing-flow li:focus-within strong {
  color: var(--lp-kinpaku-pale);
  transform: translateY(-4px);
}

.landing-flow li:hover small,
.landing-flow li:focus-within small {
  max-height: 96px;
  margin-top: 22px;
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Capabilities Section
   ═══════════════════════════════════════════════════════════════ */

.landing-capabilities {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 80px);
  padding-block: clamp(56px, 8vw, 80px);
  border-top: 1px solid var(--lp-rule);
}

.landing-capability-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}
.landing-capability-intro > .landing-section-eyebrow { margin-bottom: var(--lp-space-sm); }
.landing-capability-intro p { margin-top: var(--lp-space-md); }

/* CTA link — kinpaku underline style */
.landing-capability-intro > button {
  gap: 9px;
  margin-top: var(--lp-space-md);
  padding: 0 !important;
  border-bottom: 1px solid var(--lp-kinpaku-deep) !important;
  color: var(--lp-kinpaku) !important;
  font-weight: 500 !important;
  transition: border-color 200ms ease, color 200ms ease;
}
.landing-capability-intro > button:hover {
  border-bottom-color: var(--lp-kinpaku) !important;
  color: var(--lp-kinpaku-pale) !important;
}

.landing-capability-field { display: grid; }

/* Feature article — icon + text grid, gold hairline dividers */
.landing-capability-field article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--lp-rule);
  transition: border-color 300ms ease;
}
.landing-capability-field article:first-child { padding-top: 0; }
.landing-capability-field article:hover { border-bottom-color: var(--lp-rule-strong); }

/* Feature icon — patina, lifts on hover */
.landing-capability-field .svg-icon {
  width: 32px;
  height: 32px;
  color: var(--lp-patina);
  transition: color 200ms ease, transform 200ms var(--lp-ease);
}
.landing-capability-field article:hover .svg-icon {
  color: var(--lp-patina-pale);
  transform: translateY(-2px);
}

/* Feature title — Title tier (DESIGN.md §typography.title) */
.landing-capability-field h3 {
  color: var(--lp-champagne);
  font-family: var(--lp-font-body);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.35;
}

.landing-capability-field p {
  max-width: 62ch;
  margin-top: var(--lp-space-xs);
  color: var(--lp-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Operations & Footer
   ═══════════════════════════════════════════════════════════════ */

/* ── Operations section — lacquer command board ─────────────── */

.landing-operations {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--lp-space-xl);
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px);
  border: 1px solid var(--lp-rule);
  border-radius: var(--lp-radius-sm);
  background: var(--lp-raised);
  color: var(--lp-text-warm);
}

.landing-operations > div:first-child > p {
  margin-bottom: var(--lp-space-sm);
  color: var(--lp-kinpaku);
  font-family: var(--lp-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-operations h2 {
  max-width: 9.5em;
  color: var(--lp-champagne);
  font-family: var(--lp-font-display);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

/* Quick-entry board — restrained operational tiles
   DESIGN.md §5: "Simple CSS dividers are limited to straight
   hairlines. Avoid synthetic dot rails, fake dust strokes, or
   pseudo-circuit motifs."
   PRODUCT.md: "Precise, operational, restrained."            */

.landing-utility-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
  gap: 1px;
  border: 1px solid var(--lp-rule);
  background: var(--lp-rule);
}

.landing-utility-links button {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  align-items: start;
  justify-content: stretch;
  padding: 24px 26px !important;
  border: 0 !important;
  background: var(--lp-lacquer-deep) !important;
  color: var(--lp-text-warm) !important;
  text-align: left;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}

/* Bento layout: tile 1 is large (2×2), tiles 2-6 fill remaining */
.landing-utility-links button:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.landing-utility-links button:nth-child(2) { grid-column: 3; grid-row: 1; }
.landing-utility-links button:nth-child(3) { grid-column: 3; grid-row: 2; }
.landing-utility-links button:nth-child(4) { grid-column: 1; grid-row: 3; }
.landing-utility-links button:nth-child(5) { grid-column: 2; grid-row: 3; }
.landing-utility-links button:nth-child(6) { grid-column: 3; grid-row: 3; }

/* Hover: golden kinpaku fill spreads evenly across each card.
   Direction is based on card alignment in the bento grid:
     tile 1 (top-left)  → left-to-right
     tile 2 (top-right) → top-to-bottom
     tile 3 (mid-right) → bottom-to-top
     tile 4 (bot-left)  → right-to-left
     tile 5 (bot-mid)   → left-to-right
     tile 6 (bot-right) → top-to-bottom                          */

.landing-utility-links button {
  overflow: hidden;
}

.landing-utility-links button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: color-mix(in oklch, var(--lp-kinpaku) 12%, var(--lp-raised));
  transition: clip-path 350ms var(--lp-ease);
}

/* Tile 1 — left → right */
.landing-utility-links button:nth-child(1)::before {
  clip-path: inset(0 100% 0 0);
}
/* Tile 2 — top → bottom */
.landing-utility-links button:nth-child(2)::before {
  clip-path: inset(0 0 100% 0);
}
/* Tile 3 — bottom → top */
.landing-utility-links button:nth-child(3)::before {
  clip-path: inset(100% 0 0 0);
}
/* Tile 4 — right → left */
.landing-utility-links button:nth-child(4)::before {
  clip-path: inset(0 0 0 100%);
}
/* Tile 5 — left → right */
.landing-utility-links button:nth-child(5)::before {
  clip-path: inset(0 100% 0 0);
}
/* Tile 6 — top → bottom */
.landing-utility-links button:nth-child(6)::before {
  clip-path: inset(0 0 100% 0);
}

.landing-utility-links button:hover,
.landing-utility-links button:focus-visible {
  background: var(--lp-raised) !important;
}

.landing-utility-links button:hover::before,
.landing-utility-links button:focus-visible::before {
  clip-path: inset(0 0 0 0);
}

.landing-utility-links span {
  position: relative;
  z-index: 1;
  grid-row: 2;
  align-self: end;
  max-width: 16ch;
  color: var(--lp-champagne);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 200ms ease;
}

.landing-utility-links small {
  position: relative;
  z-index: 1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  color: var(--lp-text-faint);
  font-family: var(--lp-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.landing-utility-art {
  position: relative;
  z-index: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-bottom: clamp(28px, 4vw, 56px);
  width: 64px;
  height: 46px;
  fill: none;
  color: var(--lp-kinpaku-rich);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
  transition: opacity 200ms ease, color 200ms ease;
}

.landing-utility-art circle,
.landing-utility-art rect,
.landing-utility-art ellipse {
  vector-effect: non-scaling-stroke;
}

.landing-utility-links button:nth-child(2n) .landing-utility-art { color: var(--lp-patina-pale); }
.landing-utility-links button:nth-child(3n) .landing-utility-art { color: var(--lp-kinpaku); }

.landing-utility-links button:hover span,
.landing-utility-links button:focus-visible span {
  color: var(--lp-kinpaku-pale);
}

.landing-utility-links button:hover small,
.landing-utility-links button:focus-visible small {
  color: var(--lp-kinpaku);
}

.landing-utility-links button:hover .landing-utility-art,
.landing-utility-links button:focus-visible .landing-utility-art {
  color: var(--lp-kinpaku);
  opacity: 1;
}

/* ── Footer ───────────────────────────────────────────────────
   DESIGN.md §6: "The footer can carry the strongest oxidation
   accent. Use the gold seam plus patina edge as a final brand
   signature."
   DESIGN.md §5: "Simple CSS dividers are limited to straight
   hairlines. Avoid synthetic dot rails, fake dust strokes, or
   pseudo-circuit motifs."
   PRODUCT.md: "Precise, operational, restrained."            */

.landing-footer {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: var(--lp-space-2xl);
  padding: var(--lp-space-xl) 0 var(--lp-space-lg);
  border-top: 1px solid var(--lp-rule-strong);
  border-bottom: 1px solid color-mix(in oklch, var(--lp-kinpaku) 40%, var(--lp-rule));
  background: var(--lp-lacquer-deep);
  color: var(--lp-text-muted);
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) minmax(132px, 0.5fr) minmax(240px, 0.88fr) minmax(320px, 1fr);
  gap: var(--lp-space-xl);
  padding-bottom: var(--lp-space-lg);
  border-bottom: 1px solid var(--lp-rule);
}

.landing-footer h2 {
  margin: 0 0 2px;
  color: var(--lp-champagne);
  font-family: var(--lp-font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.landing-footer p {
  margin: 0;
  max-width: 38ch;
  color: var(--lp-text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.landing-footer-company,
.landing-footer-links,
.landing-footer-contact,
.landing-footer-contact-group,
.landing-footer-location {
  display: grid;
  align-content: start;
}

.landing-footer-company {
  gap: var(--lp-space-sm);
}
.landing-footer-links { gap: 10px; }
.landing-footer-contact { gap: 18px; }
.landing-footer-contact-group { gap: var(--lp-space-xs); }
.landing-footer-contact-group + .landing-footer-contact-group {
  padding-top: var(--lp-space-sm);
  border-top: 1px solid var(--lp-rule);
}
.landing-footer-location { gap: var(--lp-space-sm); }

.landing-footer-logo-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: var(--lp-radius-sm);
  color: var(--lp-champagne);
}

.landing-footer-logo {
  display: block;
  width: min(178px, 100%);
  height: auto;
  max-height: 45px;
  overflow: visible;
}

.landing-footer-logo .brand-letter {
  fill: var(--lp-champagne);
  font-family: var(--lp-font-display);
  font-size: 25px;
  font-weight: 600;
  transition: fill 250ms ease;
}

.landing-footer-logo .brand-letter:nth-child(1) { transition-delay: 0ms; }
.landing-footer-logo .brand-letter:nth-child(2) { transition-delay: 40ms; }
.landing-footer-logo .brand-letter:nth-child(3) { transition-delay: 80ms; }
.landing-footer-logo .brand-letter:nth-child(4) { transition-delay: 120ms; }
.landing-footer-logo .brand-letter:nth-child(5) { transition-delay: 160ms; }
.landing-footer-logo .brand-letter:nth-child(6) { transition-delay: 200ms; }
.landing-footer-logo .brand-letter:nth-child(7) { transition-delay: 240ms; }
.landing-footer-logo .brand-letter:nth-child(8) { transition-delay: 280ms; }
.landing-footer-logo .brand-letter:nth-child(9) { transition-delay: 320ms; }

.landing-footer-logo-link:hover .brand-letter,
.landing-footer-logo-link:focus-visible .brand-letter {
  fill: var(--lp-kinpaku);
}

.landing-footer a,
.landing-footer span,
.landing-footer address {
  color: var(--lp-text-muted);
}

.landing-footer a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: var(--lp-kinpaku);
}

.landing-footer-links a,
.landing-footer-contact a,
.landing-footer-contact span,
.landing-footer-location address span {
  font-size: 0.94rem;
  line-height: 1.8;
}

.landing-footer-contact strong {
  color: var(--lp-kinpaku-pale);
  font-family: var(--lp-font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.35;
  text-transform: uppercase;
}

.landing-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lp-rule-strong);
  border-radius: var(--lp-radius-xs);
  color: var(--lp-champagne);
  line-height: 1;
}

.landing-social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.landing-phone-row {
  display: flex;
  align-items: center;
  gap: var(--lp-space-xs);
}

.landing-phone-row > a:first-child {
  min-width: 126px;
}

.landing-social-link:hover,
.landing-social-link:focus-visible {
  border-color: var(--lp-kinpaku);
  background: color-mix(in oklch, var(--lp-kinpaku) 12%, var(--lp-lacquer-deep));
  color: var(--lp-kinpaku);
}

.landing-footer-location address {
  margin: 0;
  font-style: normal;
}

.landing-footer-map {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 168px;
  border: 1px solid color-mix(in oklch, var(--lp-kinpaku) 34%, var(--lp-rule));
  border-inline-start-color: var(--lp-kinpaku-deep, var(--lp-kinpaku));
  border-radius: var(--lp-radius-md);
  background: var(--lp-lacquer-deep);
}

.landing-footer-map::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--lp-kinpaku), var(--lp-kinpaku-deep, var(--lp-kinpaku)));
  pointer-events: none;
}

.landing-google-map,
.landing-google-map iframe {
  display: block;
  width: 100%;
  height: 168px;
}

.landing-google-map iframe {
  border: 0;
  filter: saturate(0.78) contrast(1.02);
  opacity: 0.9;
}

.landing-footer-map-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--lp-rule-strong);
  border-radius: var(--lp-radius-xs);
  background: color-mix(in oklch, var(--lp-lacquer-deep) 92%, var(--lp-graphite));
  color: var(--lp-champagne);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.landing-footer-map-link:hover,
.landing-footer-map-link:focus-visible {
  border-color: var(--lp-kinpaku);
  background: color-mix(in oklch, var(--lp-kinpaku) 10%, var(--lp-lacquer-deep));
  color: var(--lp-kinpaku);
}

.landing-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--lp-space-sm);
  padding-top: var(--lp-space-md);
  color: var(--lp-text-faint);
  font-size: 0.78rem;
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════════
   Landing Page · Animations & Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ── Focus & accessibility ─────────────────────────────────── */

/* Focus — kinpaku outline with 4px offset (DESIGN.md §buttons.focus) */
.landing-page :is(a, button):focus-visible {
  outline: 3px solid var(--lp-kinpaku);
  outline-offset: 4px;
  box-shadow: none;
}

/* ── Scroll-reveal transitions ─────────────────────────────── */

.landing-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms var(--lp-ease), transform 700ms var(--lp-ease);
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered flow cards — each card delays by --i × 100ms */
.landing-flow li {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms var(--lp-ease), transform 500ms var(--lp-ease);
  transition-delay: calc(200ms + var(--i, 0) * 100ms);
}

.landing-workflow.is-visible .landing-flow li {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframe animations ───────────────────────────────────── */

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes lp-corner-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes lp-scan {
  0% { top: 0; }
  100% { top: 100%; }
}

@keyframes lp-dot-travel {
  0% { left: 0; }
  100% { left: calc(100% - 8px); }
}

@keyframes lp-copy-in {
  from { opacity: 0; transform: translateY(32px); }
}

@keyframes lp-visual-in {
  from { opacity: 0; transform: translateY(36px) scale(0.98); }
}

/* ── Responsive: ≤1080px ───────────────────────────────────── */

@media (max-width: 1080px) {
  .landing-nav { grid-template-columns: 1fr auto; }
  .landing-nav-links { display: none; }

  .landing-hero { grid-template-columns: 1fr; min-height: auto; }
  .landing-visual { width: min(100%, 680px); }

  .landing-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-flow li { border-right: 1px solid var(--lp-rule); border-bottom: 1px solid var(--lp-rule); }
  .landing-flow li:nth-child(2n) { border-right: 0; }
  .landing-flow li:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
  .landing-flow button { min-height: 340px; }

  .landing-capabilities { grid-template-columns: 1fr; }
  .landing-capability-intro { position: static; }

  .landing-operations { grid-template-columns: 1fr; }

  .landing-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-footer-location { grid-column: 1 / -1; }
}

/* ── Responsive: ≤768px ────────────────────────────────────── */

@media (max-width: 768px) {
  .landing-nav,
  .landing-hero,
  .landing-workflow,
  .landing-capabilities,
  .landing-footer {
    width: min(100% - 32px, 1320px);
  }

  .landing-nav { min-height: 56px; }
  .landing-brand small { display: none; }
  .landing-brand-logo { height: 32px; }
  .landing-nav-action .svg-icon { display: none; }
  .landing-nav-action { font-size: 0.78rem; }

  .landing-hero { padding-block: 40px 56px; }
  .landing-hero h1 { font-size: 4rem; }

  .landing-section-head h2,
  .landing-capability-intro h2,
  .landing-operations h2 {
    font-size: 2.8rem;
  }

  .landing-flow button { min-height: 300px; }

  .landing-capability-field article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .landing-operations {
    width: 100%;
    padding: 48px 24px;
    border-radius: 0;
  }
  .landing-utility-links {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    min-height: 0;
  }
  .landing-utility-links button,
  .landing-utility-links button:nth-child(1),
  .landing-utility-links button:nth-child(2),
  .landing-utility-links button:nth-child(3),
  .landing-utility-links button:nth-child(4),
  .landing-utility-links button:nth-child(5),
  .landing-utility-links button:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    min-height: 140px;
  }
  .landing-utility-art { width: 58px; }

  .landing-footer-grid { grid-template-columns: 1fr; }
  .landing-footer-location { grid-column: auto; }
  .landing-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Responsive: ≤480px ────────────────────────────────────── */

@media (max-width: 480px) {
  .landing-nav,
  .landing-hero,
  .landing-workflow,
  .landing-capabilities,
  .landing-footer {
    width: min(100% - 24px, 1320px);
  }

  .landing-hero h1 { font-size: 3.4rem; }

  .landing-primary-action,
  .landing-secondary-action { width: 100%; }

  .landing-scene { min-height: 280px; }

  .landing-flow { grid-template-columns: 1fr; }
  .landing-flow li,
  .landing-flow li:nth-child(2n) { border-right: 0; }
  .landing-flow li:last-child { grid-column: auto; border-bottom: 0; }
  .landing-flow button { min-height: 260px; }
  .landing-flow .svg-icon { margin-block: 0 auto; }

  .landing-footer { padding-block: var(--lp-space-lg) var(--lp-space-md); }
  .landing-footer-actions {
    flex-direction: row;
    align-items: center;
  }
  .landing-footer-actions a { justify-content: center; }
  .landing-footer-map { min-height: 144px; }
  .landing-google-map,
  .landing-google-map iframe {
    height: 144px;
  }
  .landing-footer-map-link {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
  }
}

/* ── Motion preferences ────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .landing-hero-copy { animation: lp-copy-in 700ms var(--lp-ease) both; }
  .landing-visual { animation: lp-visual-in 850ms 120ms var(--lp-ease) both; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-nav {
    transition: none;
  }
  .landing-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .landing-flow li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .landing-flow button,
  .landing-flow .svg-icon,
  .landing-flow strong,
  .landing-flow small {
    transform: none !important;
    transition: none !important;
  }
  .landing-utility-links button,
  .landing-utility-links button::before,
  .landing-utility-links button::after,
  .landing-utility-links span,
  .landing-utility-links small,
  .landing-utility-art,
  .landing-footer-logo,
  .landing-social-link,
  .landing-footer-map-link,
  .landing-brand-logo .brand-letter,
  .landing-footer-logo .brand-letter {
    transform: none !important;
    transition: none !important;
  }
  .landing-eyebrow span,
  .landing-camera-topline i,
  .landing-detection-box,
  .landing-scan-line,
  .landing-path::before {
    animation: none;
  }
}
