:root {
  color-scheme: dark;
  --void: #07080b;
  --surface: #0d0f14;
  --surface-2: #13151b;
  --paper: #f2f0ea;
  --muted: #9a9da5;
  --line: rgba(154, 157, 165, 0.2);
  --line-strong: rgba(154, 157, 165, 0.38);
  --orange: #ff5a36;
  --violet: #6e62ff;
  --content: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 9%, rgba(110, 98, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 13% 32%, rgba(255, 90, 54, 0.08), transparent 26rem),
    var(--void);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 82%, transparent);
}

.motion-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.cursor-light {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: screen;
}
.cursor-star-layer {
  position: fixed;
  z-index: 2147483645;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cursor-star {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(92px, 9vw, 142px);
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  transform-origin: right center;
  background: linear-gradient(90deg, transparent 0%, rgba(110,98,255,.14) 34%, rgba(255,90,54,.68) 78%, rgba(255,245,230,.98) 100%);
  box-shadow: 0 0 7px rgba(110,98,255,.62), 0 0 13px rgba(255,90,54,.38);
  animation: cursor-star-flight 920ms cubic-bezier(.18,.66,.28,1) forwards;
  will-change: transform, opacity;
}
.cursor-star::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff8ec;
  box-shadow: 0 0 8px #fff, 0 0 16px rgba(255,90,54,.92), 0 0 28px rgba(110,98,255,.72);
  transform: translateY(-50%);
}
.site-header, main, .technical-footer { position: relative; z-index: 1; }

@keyframes cursor-star-flight {
  0% { opacity: 0; transform: translate(var(--star-x), var(--star-y)) rotate(var(--star-angle)) translateX(0) scaleX(.18); }
  12% { opacity: 1; }
  72% { opacity: .72; }
  100% { opacity: 0; transform: translate(calc(var(--star-x) + var(--star-dx)), calc(var(--star-y) + var(--star-dy))) rotate(var(--star-angle)) translateX(0) scaleX(1); }
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--void);
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 98px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.25rem; font-weight: 560; letter-spacing: -.04em; }
.brand-copy small { margin-top: 4px; color: var(--orange); font-family: var(--mono); font-size: .7rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 38px); }
.desktop-nav a, .mobile-nav a {
  color: rgba(242,240,234,.65);
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible,
.mobile-nav a:hover, .mobile-nav a:focus-visible,
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--paper); }
.contact-nav {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid rgba(255,90,54,.75);
  color: var(--orange) !important;
}
.contact-nav:hover, .contact-nav:focus-visible { color: var(--void) !important; background: var(--orange); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::before, .mobile-nav summary::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 12px;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.mobile-nav summary::after { top: 25px; }
.mobile-nav nav {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: min(82vw, 300px);
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--orange);
  background: #090a0e;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.mobile-nav nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.mobile-nav nav a:last-child { margin-top: 8px; border-bottom: 0; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero {
  width: min(calc(100% - 40px), var(--content));
  min-height: 650px;
  margin: 0 auto;
  padding: 88px 0 100px;
}
.hero > div { max-width: 900px; }
.hero h1, .page-hero h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 440;
  letter-spacing: -.075em;
  line-height: .9;
}
.hero-summary, .page-hero .lede {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(242,240,234,.64);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-primary { border-color: var(--orange); color: var(--void); background: var(--orange); }
.button-primary:hover, .button-primary:focus-visible { background: #ff7659; }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--paper); }

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.section-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(50px, 10vw, 140px); }
.section h2, .content-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 450;
  letter-spacing: -.06em;
  line-height: .98;
}
.section-copy { color: rgba(242,240,234,.62); font-size: 1.05rem; }
.section-copy strong { display: block; margin-top: 24px; color: var(--paper); font-weight: 520; }
.text-link { display: inline-flex; margin-top: 26px; color: var(--orange); font-family: var(--mono); font-size: .73rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.trace-list { display: grid; margin: 45px 0 0; padding: 0; grid-template-columns: repeat(5, 1fr); list-style: none; border: 1px solid var(--line); }
.trace-list li { position: relative; min-height: 170px; padding: 24px; border-right: 1px solid var(--line); }
.trace-list li:last-child { border-right: 0; }
.trace-list span { color: var(--orange); font-family: var(--mono); font-size: .68rem; }
.trace-list strong { display: block; margin-top: 65px; font-size: 1rem; font-weight: 500; }

.contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-left-color: var(--orange); background: rgba(13,15,20,.78); }
.contact-panel h2 { max-width: 760px; margin-bottom: 14px; }
.contact-panel p { margin-bottom: 0; color: rgba(242,240,234,.56); }

.page-hero {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 100px 0 82px;
}
.page-hero h1 { max-width: 980px; font-size: clamp(3.5rem, 7vw, 7rem); }
.page-hero .lede { max-width: 800px; }
.content-section {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.content-section h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); }
.content-section p, .content-section li { color: rgba(242,240,234,.65); }
.content-section a { color: var(--orange); }
.numbered-list { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.numbered-list li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.numbered-list li > span { color: var(--violet); font-family: var(--mono); font-size: .72rem; }
.numbered-list h3 { margin: 0 0 8px; color: var(--paper); font-size: 1.2rem; font-weight: 520; }
.numbered-list p { margin: 0; }

.technical-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 80px auto 0;
  padding: 42px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-primary { display: flex; justify-content: space-between; gap: 30px; }
.footer-primary > div { display: grid; }
.footer-primary strong { font-weight: 540; }
.footer-primary span { margin-top: 4px; color: var(--muted); font-family: var(--mono); font-size: .68rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 34px; }
.footer-nav a { color: rgba(242,240,234,.58); font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--paper); }
.footer-legal { display: flex; justify-content: space-between; gap: 25px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); color: rgba(242,240,234,.35); font-family: var(--mono); font-size: .63rem; }

.not-found { display: grid; min-height: 70vh; place-items: center; padding: 40px; text-align: center; }
.not-found h1 { margin-bottom: 20px; font-size: clamp(4rem, 12vw, 9rem); font-weight: 430; letter-spacing: -.07em; }
.not-found p { color: var(--muted); }

:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }

@media (max-width: 820px) {
  .site-header { min-height: 82px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: auto; padding: 75px 0 80px; }
  .hero h1, .page-hero h1 { font-size: clamp(3.4rem, 16vw, 5.8rem); }
  .section { padding: 78px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 32px; }
  .trace-list { grid-template-columns: 1fr; }
  .trace-list li { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trace-list li:last-child { border-bottom: 0; }
  .trace-list strong { margin-top: 28px; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer-primary, .footer-legal { flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header, .hero, .section, .page-hero, .technical-footer { width: min(calc(100% - 30px), var(--content)); }
  .brand-copy small { display: none; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .numbered-list li { grid-template-columns: 36px 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .cursor-star-layer { display: none; }
}
