:root {
  color-scheme: dark;
  --ink: #070a0c;
  --panel: #101519;
  --panel-2: #151c21;
  --line: rgba(215, 224, 230, 0.17);
  --text: #f5f7f8;
  --muted: #a8b2b9;
  --silver: #d8e0e5;
  --silver-bright: #f7f9fa;
  --steel: #8797a1;
  --signal: #a8d6e8;
  --ok: #a8dec7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(216, 224, 229, .11), transparent 30rem),
    radial-gradient(circle at 8% 42%, rgba(124, 155, 170, .08), transparent 34rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--text); color: var(--ink); border-radius: 0; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 16, .82);
  backdrop-filter: blur(18px);
}
.nav { width: min(calc(100% - 2rem), var(--max)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--text); text-decoration: none; }
.brand-symbol { display: block; width: 38px; height: 36px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: .14rem; }
.brand-word { display: block; width: 156px; height: auto; filter: grayscale(1) brightness(2.2) contrast(.82); }
.brand-copy span { color: var(--steel); font: 700 .56rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .24em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links .nav-cta { padding: .68rem 1rem; border: 1px solid rgba(216, 224, 229, .34); border-radius: 0; color: var(--silver); }

.hero { width: min(calc(100% - 2rem), var(--max)); min-height: calc(100svh - 79px); margin: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: 5rem; padding: 6rem 0; }
.eyebrow { margin: 0 0 1.25rem; color: var(--silver); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 1.6rem; font-size: clamp(3rem, 7vw, 6.5rem); }
h1 em { color: var(--silver-bright); font-style: normal; text-shadow: 0 0 34px rgba(216, 224, 229, .22); }
.hero-copy { max-width: 710px; margin: 0 0 2.1rem; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid var(--line); border-radius: 0; color: var(--text); text-decoration: none; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: rgba(216, 224, 229, .58); }
.button.primary { border-color: transparent; background: linear-gradient(115deg, var(--silver-bright), #aebbc3); color: #090d10; box-shadow: 0 18px 48px rgba(216, 224, 229, .16); }

.scope-card { position: relative; overflow: hidden; min-height: 430px; display: grid; align-content: space-between; padding: 2rem; border: 1px solid rgba(216, 224, 229, .23); border-radius: 0; background: linear-gradient(155deg, rgba(24, 31, 36, .96), rgba(10, 14, 17, .88)); box-shadow: 0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.045); }
.scope-card::before { content: ""; position: absolute; inset: 0; opacity: .27; background-image: linear-gradient(rgba(216,224,229,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(216,224,229,.14) 1px, transparent 1px); background-size: 31px 31px; mask-image: linear-gradient(145deg, #000, transparent 78%); }
.binary-cloud { position: absolute; inset: 1rem; overflow: hidden; color: rgba(216,224,229,.16); filter: blur(1.25px); font: 600 .67rem/2.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .19em; white-space: nowrap; transform: rotate(-3deg) scale(1.06); }
.circuit-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(216,224,229,.35); }
.scope-logo { position: relative; z-index: 2; width: 196px; height: 196px; display: grid; place-items: center; border: 1px solid rgba(216,224,229,.16); border-radius: 0; background: rgba(6,9,11,.52); backdrop-filter: blur(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.scope-logo img { width: 158px; filter: drop-shadow(0 0 30px rgba(216,224,229,.23)); }
.scope-copy { position: relative; z-index: 2; }
.scope-label { margin: 0 0 .5rem; color: var(--silver); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.scope-card h2 { margin-bottom: .75rem; font-size: 1.65rem; }
.scope-card p:last-child { margin: 0; color: var(--muted); }

.proof-strip { border-block: 1px solid var(--line); background: rgba(11, 21, 32, .72); }
.proof-strip ul { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; }
.proof-strip li { display: flex; align-items: center; gap: .65rem; color: #d7e4ec; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .71rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.proof-strip li::before { content: ""; width: 7px; height: 7px; background: var(--silver); box-shadow: 0 0 14px rgba(216,224,229,.65); }

.section { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 7.5rem 0; }
.section-head { max-width: 820px; margin-bottom: 3rem; }
.section h2 { margin-bottom: 1.15rem; font-size: clamp(2.15rem, 4.8vw, 4.2rem); }
.section-head > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 1rem; }
.method-grid { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--line); border-radius: 0; background: linear-gradient(160deg, rgba(24,31,36,.92), rgba(10,15,18,.92)); padding: 1.65rem; }
.step { display: inline-flex; margin-bottom: 2.8rem; color: var(--silver); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; font-weight: 800; }
.card h3 { margin-bottom: .75rem; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.capability-grid { grid-template-columns: repeat(2, 1fr); }
.capability { min-height: 240px; position: relative; overflow: hidden; padding: 2rem; }
.capability::after { content: attr(data-code); position: absolute; right: 1.4rem; top: 1.1rem; color: rgba(216,224,229,.34); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; letter-spacing: .12em; }
.capability h3 { max-width: 380px; font-size: 1.65rem; }
.capability p { max-width: 560px; }

.ai-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; padding: 3.5rem; border: 1px solid rgba(216,224,229,.2); border-radius: 0; background: radial-gradient(circle at 15% 20%, rgba(216,224,229,.09), transparent 25rem), var(--panel); }
.ai-panel h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.terminal { overflow: hidden; border: 1px solid var(--line); border-radius: 0; background: #03070b; box-shadow: 0 25px 70px rgba(0,0,0,.34); }
.terminal-bar { padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: #78909f; font: 700 .7rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.terminal pre { margin: 0; padding: 1.35rem; overflow: auto; color: #cfe3ed; font: .78rem/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.terminal .ok { color: var(--ok); }
.terminal .signal { color: var(--signal); }

.principles { grid-template-columns: repeat(3, 1fr); }
.principle strong { display: block; margin-bottom: .55rem; color: var(--text); }
.principle { color: var(--muted); }
.principle::before { content: "//"; display: block; margin-bottom: 1.15rem; color: var(--silver); font: 800 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; }

.references { padding-top: 2rem; }
.reference-grid { grid-template-columns: repeat(3, 1fr); }
.reference { display: flex; min-height: 180px; flex-direction: column; justify-content: space-between; color: var(--text); text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.reference:hover, .reference:focus-visible { transform: translateY(-2px); border-color: rgba(216,224,229,.5); background: #171e23; }
.reference span { color: var(--steel); font: 800 .7rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.reference strong { max-width: 280px; font-size: 1.08rem; line-height: 1.35; }

.contact { padding-top: 2rem; padding-bottom: 8rem; }
.contact-panel { position: relative; overflow: hidden; padding: clamp(2.2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: 0; background: linear-gradient(125deg, #182127, #0f1519); }
.contact-panel::after { content: "λ"; position: absolute; right: 3%; top: -35%; color: rgba(255,255,255,.035); font-size: 32rem; font-weight: 900; line-height: 1; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { max-width: 800px; }
.contact-panel p { max-width: 700px; margin-bottom: 2rem; color: #bfd0da; font-size: 1.08rem; }

footer { border-top: 1px solid var(--line); }
.footer-inner { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 2.4rem 0 3rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .82rem; }
.footer-inner p { margin: 0; max-width: 740px; }
.footer-inner a { color: var(--silver); text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--silver); outline-offset: 4px; }

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 3rem; padding: 5rem 0; }
  .scope-card { min-height: 350px; }
  .proof-strip ul { grid-template-columns: repeat(2, 1fr); }
  .method-grid, .principles, .reference-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-panel { grid-template-columns: 1fr; padding: 2rem; }
}

@media (max-width: 620px) {
  .nav { min-height: 68px; }
  .brand-word { width: 132px; }
  .brand-symbol { width: 33px; height: 31px; }
  .nav-cta { display: none; }
  .hero { padding: 4.2rem 0; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .section { padding: 5.5rem 0; }
  .proof-strip ul, .method-grid, .capability-grid, .principles, .reference-grid { grid-template-columns: 1fr; }
  .proof-strip li { font-size: .66rem; }
  .capability { min-height: 0; }
  .footer-inner { flex-direction: column; }
}

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