* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 72px);
  padding: clamp(40px, 8vh, 96px) clamp(24px, 6vw, 88px);
}

/* video bar: a wide band of footage, rendered live as ASCII */
.video-bar {
  position: relative;
  width: 100%;
  aspect-ratio: 854 / 240;     /* matches the cropped clip */
  overflow: hidden;
  background: #fff;
  border-radius: 0;            /* clean, square-cut corners */
}
/* hidden source — only feeds frames to the ascii canvas */
.video-bar video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.video-bar canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.content {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vh, 120px);
}
.intro { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); max-width: 980px; }
.intro-text { flex: 1 1 auto; min-width: 0; }
h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.tagline { margin-top: 10px; font-size: 20px; font-weight: 500; color: #111; letter-spacing: -0.01em; }
.sub { margin-top: 12px; color: #555; font-size: 16px; max-width: 480px; }
.sub a { color: #111; text-decoration: underline; }
.credit { font-size: 13px; color: #999; }

/* landing CTAs — stacked under the hero copy */
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 26px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: #111; text-decoration: none;
  border-bottom: 1px solid #111; padding-bottom: 2px; width: fit-content;
  transition: opacity .18s ease;
}
.cta:hover { opacity: .55; }
/* closing section: team provenance wordmark strip (text only — no logos/insignia) */
.from { margin-top: 44px; }
.from-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 14px; }
.from-list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 34px; }
.from-list li { font-size: 16px; font-weight: 600; color: #1c1c1c; letter-spacing: -0.01em; }
/* grayscale logo strip — drop official SVGs into logos/; sized to a uniform height */
.logo-strip { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; margin-top: 34px; }
.logo-strip li { display: inline-flex; align-items: center; gap: 8px; }
/* official SVGs carry brand colors — collapse each to one flat gray so the strip reads as a set */
.logo-strip img { height: 24px; width: auto; filter: grayscale(1) brightness(0) opacity(0.5); transition: filter .2s ease; }
.logo-strip li:hover img { filter: grayscale(1) brightness(0) opacity(0.82); }
.logo-strip .lbl { font-size: 15px; font-weight: 600; color: #1c1c1c; letter-spacing: -0.01em; }
/* resources list: white-paper link, careers dropdown, book-a-demo link */
.res-list { list-style: none; display: flex; flex-direction: column; gap: 26px; margin-top: 34px; max-width: 600px; }
.res-desc { margin-top: 8px; color: #555; font-size: 15px; line-height: 1.55; }
.res-desc a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.res-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center;
  font-size: 16px; font-weight: 600; color: #111; border-bottom: 1px solid #111; padding-bottom: 2px;
  width: fit-content; transition: opacity .18s ease; }
.res-drop summary::-webkit-details-marker { display: none; }
.res-drop summary:hover { opacity: .55; }

/* compliance — discreet: a small marker under the CTAs; hover reveals the frameworks in gray */
.compliance { margin-top: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comp-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9a9a9a; letter-spacing: 0.05em; cursor: default; }
.comp-tag svg { width: 13px; height: 13px; color: #9a9a9a; flex: 0 0 auto; }
.comp-list { font-size: 12px; color: #c4c4c4; letter-spacing: 0.02em; opacity: 0; transition: opacity .25s ease; }
.compliance:hover .comp-list { opacity: 1; }

/* subpage top nav */
.topnav { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #111; text-decoration: none; }
.back { font-size: 14px; color: #777; text-decoration: none; }
.back:hover { color: #111; }

/* capabilities: a horizontal lifecycle pipeline */
.models { width: 100%; padding-top: clamp(8px, 2vh, 24px); }
.topnav + .models { margin-top: clamp(40px, 7vh, 96px); }     /* breathing room below the nav, above the first section */
.models + .models { margin-top: clamp(88px, 14vh, 184px); }   /* extra air between stacked sections */
.section-head { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.section-sub { margin-top: 14px; color: #555; font-size: 16px; max-width: 600px; }

/* the lifecycle pipeline: a horizontal row of stages; click one to expand its detail below */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  margin-top: 48px;
}
.stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #777;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.stage svg { width: 18px; height: 18px; flex: 0 0 auto; transform-box: fill-box; transform-origin: center; overflow: visible; }
.stage:hover { color: #111; border-color: #bbb; }
.stage[aria-selected="true"] { color: #fff; background: #111; border-color: #111; }

/* icons stay clean & static — the real "how it works" animation is the schematic in the panel */

/* schematic: simple shapes/components that move to act out how the stage works */
.schem { display: block; width: 100%; max-width: 400px; height: auto; margin-top: 24px; overflow: visible; }
.arrow { color: #c4c4c4; font: 14px/1 ui-monospace, Menlo, Consolas, monospace; padding: 0 2px; }

.flow-panels { margin-top: 24px; }
.fpanel { border-left: 2px solid #111; padding: 2px 0 2px 18px; max-width: 680px; }
.fpanel[hidden] { display: none; }
.fp-head { margin-bottom: 8px; }
.fp-name { font-weight: 600; font-size: 18px; color: #111; text-decoration: none; text-underline-offset: 2px; }
.fp-name:hover { text-decoration: underline; }
.fp-teaser { color: #111; font-weight: 500; margin-bottom: 6px; }
.what { color: #444; font-size: 15px; line-height: 1.55; }

/* pipeline carousel controls — side arrows + low-opacity dot indicators */
.flow-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.flow-arrow { border: none; background: none; font: inherit; font-size: 20px; line-height: 1; color: #c4c4c4; cursor: pointer; padding: 4px 10px; transition: color .18s ease; }
.flow-arrow:hover { color: #111; }
.flow-dots { display: flex; align-items: center; gap: 8px; }
.flow-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: #111; opacity: 0.16; cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.flow-dot:hover { opacity: 0.4; }
.flow-dot[aria-selected="true"] { opacity: 1; transform: scale(1.15); }

/* compliance section — grouped, everything listed */
.comp-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px 32px; margin-top: 36px; max-width: 920px; }
.comp-group h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 12px; }
.comp-group ul { list-style: none; }
.comp-group li { font-size: 15px; font-weight: 500; color: #1c1c1c; padding: 3px 0; }

/* one system: two plain columns — the free way in (cilicon) and everything else (neural alloy) */
.onesys-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  margin-top: 40px;
  max-width: 760px;
}
.os-side { display: flex; flex-direction: column; gap: 6px; color: #111; text-decoration: none; }
.os-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a9a; }
.os-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.os-free { font-size: 13px; font-weight: 500; color: #9a9a9a; }
.os-ext { font-size: 15px; color: #9a9a9a; transition: color .18s ease; }
a.os-side:hover .os-name { text-decoration: underline; text-underline-offset: 3px; }
a.os-side:hover .os-ext { color: #111; }
.os-desc { font-size: 14px; color: #555; line-height: 1.5; }
.os-avail { align-self: flex-start; margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #111; background: #e8f5ec; padding: 3px 9px; }
/* the four properties of the one system */
.os-props { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 30px; max-width: 760px; }
.os-props li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #2a2a2a; }
.os-props li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #111; flex: 0 0 auto; }

@media (max-width: 720px) {
  .wrap { gap: 28px; padding: 28px 20px; }
  h1 { font-size: 34px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .arrow { display: none; }    /* stages wrap cleanly on small screens */
  .onesys-cols { grid-template-columns: 1fr; gap: 28px; }   /* stack the two columns */
}
