@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/manrope-regular.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --bg: #080b10;
  --text: #f3f6fa;
  --muted: #9ba6b7;
  --subtle: #8290a4;
  --accent: #92baff;
  --line: #ffffff1a;
  font-family: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent 10%, #325dcf 45%, #94c3ff 70%, transparent); }
a { color: inherit; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.page { width: min(100%, 1560px); padding: 0 clamp(24px, 5.2vw, 80px); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 14px 20px; background: var(--text); color: var(--bg); border-radius: 4px; }
.skip-link:focus { top: 14px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 3px; }
.header { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; min-height: 104px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 27px; font-weight: 700; letter-spacing: -1.2px; }
.brand img { object-fit: contain; }
.brand-period { color: var(--accent); }
.header-note { padding-left: 25px; margin-left: 5px; border-left: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.status { margin-left: auto; display: flex; align-items: center; gap: 9px; border: 1px solid #91a7cf36; border-radius: 100px; padding: 9px 15px; color: #c1cad8; font-size: .875rem; white-space: nowrap; background: #1119248c; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #9cbffd; box-shadow: 0 0 12px #76abff77; }
.hero { position: relative; display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; min-height: 650px; padding: 66px 0 76px; overflow: clip; }
.copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: #a6b9d8; font-size: .75rem; letter-spacing: .085em; text-transform: uppercase; line-height: 1.6; }
.eyebrow > span { width: 5px; height: 5px; background: var(--accent); flex-shrink: 0; }
h1 { margin: 0; font-size: clamp(4rem, 6.7vw, 6.65rem); line-height: 1.03; letter-spacing: -.067em; font-weight: 400; }
h1 em { color: var(--accent); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.062em; }
.lead { color: var(--muted); margin: 30px 0 0; font-size: 1rem; line-height: 1.85; letter-spacing: -.018em; max-width: 445px; }
.visual { align-self: stretch; min-width: 0; position: relative; margin: -26px -32px -22px -40px; display: grid; align-items: center; }
.hero-art { display: block; position: absolute; width: 124%; height: 108%; max-width: none; left: -12%; top: -4%; object-fit: contain; mix-blend-mode: screen; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 89%, transparent); }
.visual-heading { position: absolute; display: flex; align-items: center; gap: 14px; top: 10px; right: 32px; color: var(--subtle); letter-spacing: .12em; font-size: .75rem; z-index: 1; }
.visual-marker { color: #8da9d4; font-size: 23px; line-height: 1; font-weight: 400; }
.visual-input { z-index: 1; position: absolute; left: 28px; top: 20%; display: flex; align-items: flex-start; gap: 12px; color: #b4c1d5; font-size: .875rem; line-height: 1.7; }
.signal-line { margin-top: 11px; width: 25px; height: 1px; background: #a2c2ff77; }
.annotation-secondary { color: var(--subtle); }
.visual-output { z-index: 1; position: absolute; bottom: 19%; right: 12px; display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 14px 18px; background: #101b2cdc; backdrop-filter: blur(14px); border: 1px solid #9ebfff40; box-shadow: 0 8px 36px #0004; border-radius: 7px; color: #d2e1fc; font-size: .875rem; }
.visual-output svg { margin-left: 15px; width: 18px; height: 18px; }
.output-dot { width: 5px; height: 5px; border-radius: 50%; background: #a4cdff; box-shadow: 0 0 8px #86bbff; }
figcaption { position: absolute; bottom: 0; right: 32px; left: 65px; display: flex; align-items: center; gap: 16px; color: var(--subtle); font-size: .75rem; letter-spacing: .025em; }
.caption-rule { height: 1px; background: linear-gradient(90deg, #42537055, #96b6e899); flex: 1; position: relative; }
.caption-rule::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid #96b6e8; border-top: 1px solid #96b6e8; transform: rotate(45deg); }
.pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage { min-width: 0; padding: 29px 35px 32px; position: relative; }
.stage:first-child { padding-left: 0; }
.stage:last-child { padding-right: 0; }
.stage + .stage { border-left: 1px solid var(--line); }
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.stage-number { font-size: .75rem; color: var(--subtle); letter-spacing: .075em; }
.stage-top svg { color: #98acd0; }
.stage h2 { font-size: 1.375rem; letter-spacing: -.045em; font-weight: 400; margin: 0 0 10px; }
.stage p { font-size: 1rem; color: var(--muted); margin: 0; line-height: 1.7; letter-spacing: -.024em; }
.stage-action h2 { color: var(--accent); }
.stage-action::before { content: ''; position: absolute; left: -1px; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, #5276b088, #a3c6ff, #5276b088); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0 30px; font-size: .75rem; color: var(--subtle); }
.footer p { margin: 0; line-height: 1.7; }
.footer-brand { color: #b6c1d3; }
.footer-divider { color: #455165; margin: 0 18px; }

@media (min-width: 1500px) {
  .hero { min-height: 720px; }
  .lead { font-size: 1.125rem; }
}
@media (max-width: 1100px) {
  .page { padding: 0 36px; }
  .hero { min-height: 580px; padding: 58px 0 65px; }
  .eyebrow { max-width: 310px; font-size: .75rem; }
  .desktop-break { display: none; }
  .lead { max-width: 350px; }
  .visual { margin-left: -15px; margin-right: 0; }
  .visual-heading { right: 0; }
  .visual-input { left: 10px; top: 16%; }
  .visual-output { right: 0; bottom: 16%; }
  figcaption { right: 0; left: 20px; }
  .stage { padding: 27px 23px; }
  .stage p br { display: none; }
}
@media (max-width: 760px) {
  .page { padding: 0 24px; }
  .header { min-height: 86px; }
  .header-note { display: none; }
  .brand { font-size: 25px; }
  .brand img { width: 32px; height: 32px; }
  .status { padding: 8px 12px; font-size: .875rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 52px 0 35px; min-height: 0; }
  .eyebrow { margin-bottom: 24px; max-width: 100%; font-size: .75rem; letter-spacing: .035em; }
  h1 { font-size: clamp(3rem, 10.4vw, 5.25rem); letter-spacing: -.065em; }
  .lead { margin-top: 25px; max-width: 440px; }
  .visual { height: 370px; margin: 25px 0 0; }
  .hero-art { width: 112%; height: 112%; top: -6%; left: -6%; }
  .visual-heading { top: 0; right: 0; font-size: .75rem; }
  .visual-input { top: 16%; left: 0; }
  .visual-output { bottom: 12%; right: 0; padding: 12px 14px; }
  figcaption { left: 0; right: 0; }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .stage, .stage:first-child, .stage:last-child { padding: 25px 0 28px; }
  .stage + .stage { border-left: none; border-top: 1px solid var(--line); }
  .stage-top { margin-bottom: 14px; }
  .stage h2 { font-size: 1.5rem; }
  .stage p { max-width: 380px; }
  .stage-action::before { left: 0; }
  .footer { padding: 24px 0; align-items: flex-start; gap: 12px; }
  .footer p:first-child { max-width: 180px; }
  .footer p:last-child { text-align: right; }
  .footer-divider { margin: 0 8px; }
}
@media (max-width: 370px) {
  .page { padding: 0 20px; }
  .header { gap: 14px; }
  .brand { gap: 7px; font-size: 23px; }
  .brand img { width: 28px; height: 28px; }
  .status { padding: 8px 10px; }
  .visual { height: 325px; }
  .visual-output svg { margin-left: 0; }
  .footer { flex-direction: column; }
  .footer p:first-child { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .copy { animation: enter 900ms ease-out both; }
  .visual { animation: enter 1100ms 100ms ease-out both; }
  .pipeline { animation: enter 900ms 180ms ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
