/* AI Atlas Inc. — "one beam of light" design (2026-10-17)
   Layout idea: calm white pages, very large type, one motif (a beam of light) that guides the eye.
   Rules: nothing under 16px; only links and buttons look clickable; one next step per page. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --paper: #f6f7f9;
  --surface: #ffffff;
  --ink: #0b0d11;
  --ink-2: #353c49;
  --mute: #5b6474;
  --rule: #d9dde4;
  --beam-1: #2a55ff;
  --beam-2: #11c0e8;
  --night: #070b18;
  --beam: linear-gradient(90deg, var(--beam-1), var(--beam-2));
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.65 var(--text); }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-color: var(--beam-1); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--beam-1); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--beam-2); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 247, 249, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 46px; object-fit: contain; }
.brand .blessing { width: 24px; height: 35px; object-fit: cover; border-radius: 2px; margin-right: -4px; }
.brand-name { font: 700 22px/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav a { display: block; padding: 10px 12px; font: 500 17px/1.2 var(--text); color: var(--ink); text-decoration: none; white-space: nowrap; background: linear-gradient(var(--beam-1), var(--beam-2)) no-repeat 12px 100% / 0 2px; transition: background-size .2s; }
.nav a:hover { color: var(--ink); background-size: calc(100% - 24px) 2px; }
.nav a[aria-current="page"] { background-image: var(--beam); background-size: calc(100% - 24px) 2px; font-weight: 600; }
.nav .nav-contact a { background: var(--beam-1); color: #fff; border-radius: 4px; padding: 11px 18px; margin-left: 8px; }
.nav .nav-contact a:hover { background: #1b3fd1; color: #fff; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; font: 500 18px/1 var(--text); color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 4px; padding: 11px 14px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 22px; }
  .nav a { font-size: 21px; padding: 15px 0; border-bottom: 1px solid var(--rule); background-position: 0 100%; }
  .nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
  .nav .nav-contact a { margin: 18px 0 0; text-align: center; border: 0; }
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0 0 .4em; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.2vw, 100px); font-stretch: 112%; font-weight: 750; line-height: .98; }
h2 { font-size: clamp(32px, 4vw, 52px); font-stretch: 108%; }
h3 { font-size: clamp(22px, 2vw, 26px); font-stretch: 104%; line-height: 1.15; }
.label { display: block; font: 500 16px/1.3 var(--mono); color: var(--mute); margin: 0 0 18px; }
.lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.tagline { font: 600 clamp(26px, 3.2vw, 40px)/1.12 var(--display); font-stretch: 104%; color: var(--ink-2); margin: 0 0 22px; letter-spacing: -.015em; }
.note { font: 400 16px/1.5 var(--mono); color: var(--mute); margin-top: 18px; }

/* ---------- Sections ---------- */
.band { padding: 96px 0; border-top: 1px solid var(--rule); }
.band.white { background: var(--surface); }
.band-head { max-width: 760px; margin-bottom: 40px; }
.page-top { padding: 88px 0 56px; }
.page-top p { max-width: 40ch; color: var(--ink-2); }

/* The beam: a thin line of light with a pulse travelling along it */
.beam-line { position: relative; height: 2px; background: var(--rule); overflow: hidden; margin-top: 44px; }
.beam-line::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--beam); box-shadow: 0 0 12px var(--beam-2); animation: travel 3.6s linear infinite; }
@keyframes travel { to { left: 100%; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 4px; font: 600 18px/1.1 var(--text); text-decoration: none; border: 2px solid var(--beam-1); background: var(--beam-1); color: #fff; cursor: pointer; }
.btn:hover { background: #1b3fd1; border-color: #1b3fd1; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn svg, .more svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: underline; text-decoration-color: var(--beam-1); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Home: guided start ---------- */
.hero { padding: 64px 0 88px; }
.hero h1 { font-size: clamp(46px, 6vw, 84px); }
.hero .lead { margin-top: 22px; max-width: 44ch; }
.guide { font: 500 16px/1.3 var(--mono); color: var(--mute); margin: 40px 0 0; }
.center-x { text-align: center; }
.split-beam { display: block; width: 100%; height: 80px; margin: 6px 0 -1px; overflow: visible; }
.split-beam .base { fill: none; stroke: var(--rule); stroke-width: 2; vector-effect: non-scaling-stroke; }
.split-beam .pulse { fill: none; stroke: url(#beamGrad); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 90 1400; animation: flow 3.2s linear infinite; }
.split-beam .pulse.b { animation-delay: 0s; }
@keyframes flow { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -1310; } }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.door { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 34px 32px 30px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.door::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: 6px 6px 0 0; background: var(--beam); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.door:hover { color: var(--ink); border-color: #b9c2d2; transform: translateY(-2px); }
.door:hover::before, .door:focus-visible::before { transform: scaleX(1); }
.door .label { margin-bottom: 14px; }
.door h2 { font-size: clamp(36px, 4.4vw, 58px); font-stretch: 112%; margin-bottom: 10px; }
.door p { color: var(--ink-2); font-size: 20px; flex: 1; max-width: 30ch; }
.door .more { margin-top: 8px; }
.door:hover .more { color: var(--beam-1); }
.jump { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; margin-top: 34px; font-size: 18px; }
.jump span { font: 500 16px/1.3 var(--mono); color: var(--mute); }

/* Big number */
.big { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end; }
.big .num { font: 800 clamp(86px, 13vw, 180px)/.86 var(--display); font-stretch: 118%; letter-spacing: -.04em; margin: 0; }
.big .num small { font-size: .42em; letter-spacing: -.02em; }
.big p { max-width: 34ch; color: var(--ink-2); font-size: 21px; }

/* Faces */
.faces { display: flex; gap: 14px; margin-bottom: 26px; }
.faces img { width: 104px; height: 104px; object-fit: cover; border-radius: 4px; }

/* ---------- Product pages ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts.four { grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px 26px; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .v { display: block; font: 750 clamp(34px, 3.8vw, 52px)/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; margin-bottom: 10px; }
.fact .k { display: block; font: 400 16px/1.45 var(--mono); color: var(--mute); }

.pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.pairs h3 { margin-bottom: 8px; }
.pairs p { margin: 0; color: var(--ink-2); }

/* Spec sheet rows (status, results) */
.spec { width: 100%; border-collapse: collapse; font-size: 19px; }
.spec th, .spec td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { font: 400 16px/1.6 var(--mono); color: var(--mute); width: 42%; padding-right: 24px; }
.spec td { font-weight: 600; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--rule); }
.grid-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.grid-2 > * { min-width: 0; }

.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 832 / 464; background: #000; border-radius: 6px; }
.video figcaption { font: 400 16px/1.5 var(--mono); color: var(--mute); margin-top: 12px; }

/* NI6GNET animation window */
.ni6 { background: var(--night); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.ni6-stage { display: block; width: 100%; aspect-ratio: 16 / 8.2; }
.ni6-bar { padding: 18px 24px 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ni6-steps { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ni6-steps li { font: 500 16px/1.4 var(--mono); color: #7f8db0; transition: color .4s; }
.ni6-steps li.on { color: var(--beam-2); }
.ni6-steps li.done { color: #c9d4ee; }
.ni6-caption { color: #fff; font: 500 clamp(19px, 2vw, 22px)/1.45 var(--text); margin: 0; min-height: 2.9em; }
.ni6 .ni6-caption { color: #fff; max-width: none; } /* beats .page-top p, which would turn it dark grey */

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.person img { width: 168px; height: 168px; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.person h3 { margin-bottom: 4px; }
.person .label { margin-bottom: 12px; }
.person ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 18px; }
.person li { margin-bottom: 6px; }

/* ---------- Patents ---------- */
.patent { padding: 44px 0; border-top: 1px solid var(--rule); }
.patent:first-child { border-top: 0; padding-top: 0; }
.patent h2 { font-size: clamp(25px, 2.6vw, 32px); font-stretch: 100%; line-height: 1.2; max-width: 36ch; }
.patent p { color: var(--ink-2); max-width: 62ch; }
.patent .spec { max-width: 760px; margin: 18px 0 26px; }
.pubs { padding-left: 1.3em; max-width: 72ch; }
.pubs li { margin: 0 0 14px; color: var(--ink-2); font-size: 18px; }

/* ---------- Contact ---------- */
.mail-big { font: 750 clamp(30px, 5vw, 60px)/1.05 var(--display); font-stretch: 108%; letter-spacing: -.02em; word-break: break-word; margin: 0 0 26px; user-select: all; }
.copied { font: 400 16px/1.5 var(--mono); color: #17803d; min-height: 1.5em; margin-top: 12px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 16px/1 var(--mono); color: var(--mute); margin-bottom: 12px; }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 18px; }

/* ---------- Next step band ---------- */
.next { background: var(--ink); color: #fff; padding: 88px 0; }
.next h2 { color: #fff; margin-bottom: 14px; }
.next p { color: #c3cad8; max-width: 44ch; }
.next .btn { background: #fff; color: var(--ink); border-color: #fff; }
.next .btn:hover { background: var(--beam-2); border-color: var(--beam-2); color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: #aab4cb; padding: 44px 0 34px; font-size: 17px; }
.site-foot a { color: #fff; text-decoration-color: var(--beam-2); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.foot-brand { font: 700 21px/1.1 var(--display); font-stretch: 112%; color: #fff; margin: 0 0 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; color: #dfe5f2; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font: 400 16px/1.5 var(--mono); color: #8591ad; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 30; }
.skip:focus { left: 8px; }
.embed-full { display: block; width: 100%; height: 1600px; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .beam-line::after, .split-beam .pulse { animation: none; }
  .door, .door::before { transition: none; }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  body { font-size: 18px; }
  .band { padding: 72px 0; }
  .page-top { padding: 64px 0 44px; }
  .hero { padding: 64px 0 72px; }
  .big { grid-template-columns: 1fr; gap: 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .facts.four { grid-template-columns: 1fr 1fr; }
  .facts.four .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts.four .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .people { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .head-row { min-height: 66px; }
  .brand img { width: 32px; height: 39px; }
  .brand .blessing { width: 20px; height: 29px; }
  .brand-name { font-size: 20px; }
  .menu-btn span { display: none; }
  h1 { font-stretch: 100%; font-size: clamp(42px, 12vw, 56px); }
  .door h2 { font-stretch: 104%; }
  .split-beam { display: none; }
  .guide { margin-top: 44px; margin-bottom: 14px; }
  .doors { grid-template-columns: 1fr; gap: 18px; }
  .door { padding: 28px 22px 24px; }
  .door::before { transform: scaleX(1); }
  .big .num { font-stretch: 105%; }
  .facts, .facts.four, .pairs, .people, .steps { grid-template-columns: 1fr; }
  .fact, .facts.four .fact:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .fact:first-child { border-top: 0; }
  .spec th { width: 46%; }
  .actions .btn { width: 100%; }
  .ni6-stage { aspect-ratio: 4 / 4.6; }
  .ni6-bar { padding: 16px 16px 20px; }
}

/* Page trail: where you are */
.trail { font: 400 16px/1.4 var(--mono); color: var(--mute); padding-top: 22px; }
.trail a { color: var(--mute); text-decoration-color: var(--rule); }
.trail a:hover { color: var(--beam-1); }
.trail [aria-current] { color: var(--ink); }
.trail + main .page-top { padding-top: 40px; }

/* Small drawings on the product boxes: light in fibre, light through the air */
.door-art { display: block; width: 100%; height: 46px; margin: 0 0 18px; overflow: visible; }
.door-art .rail { fill: none; stroke: var(--rule); stroke-width: 2; vector-effect: non-scaling-stroke; }
.door-art .glow { fill: none; stroke: url(#beamGrad); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 40 400; animation: glow 2.6s linear infinite; }
.door-art .glow.d2 { animation-delay: .5s; }
.door-art .glow.d3 { animation-delay: 1s; }
.door-art .src { fill: var(--beam-1); }
@keyframes glow { from { stroke-dashoffset: 40; } to { stroke-dashoffset: -400; } }

/* Delay comparison bars (a picture of "less delay") */
.bars { margin: 0; display: grid; gap: 22px; max-width: 980px; }
.bar-row { display: grid; grid-template-columns: 300px 1fr; gap: 6px 28px; align-items: center; }
.bar-name { font-weight: 600; font-size: 18.5px; line-height: 1.3; }
.bar-name small { display: block; font: 400 16px/1.4 var(--mono); color: var(--mute); margin-top: 2px; }
.bar-track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--rule) calc(12.5% - 1px) 12.5%); border-bottom: 1px solid var(--rule); }
.bar { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 2px; }
.bar.them { width: 58.75%; background: #9aa3b2; }
.bar.range { left: 58.75%; width: 40%; background: repeating-linear-gradient(135deg, #c9cfd9 0 6px, #e3e7ee 6px 12px); border-radius: 0 2px 2px 0; }
.bar.ours { width: 40%; background: var(--beam); box-shadow: 0 0 14px rgba(17, 192, 232, .45); }
.bar.chip { width: 26%; background: linear-gradient(90deg, rgba(42, 85, 255, .55), rgba(17, 192, 232, 0)); border: 2px dashed var(--beam-1); border-right: 0; }
.bar-val { grid-column: 2; font: 400 16px/1.4 var(--mono); color: var(--mute); }
.bars figcaption { font: 400 16px/1.5 var(--mono); color: var(--mute); }
.bars .anim .bar { transform-origin: left; animation: grow 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .door-art .glow, .bars .anim .bar { animation: none; } }
@media (max-width: 900px) { .bar-row { grid-template-columns: 1fr; } .bar-val { grid-column: 1; } }
