/* Intelligence page: a different room. Black, yellow, white. */

html:has(body.ki-page){
  color-scheme: dark;
  background: #000;
}
.ki-page{
  background: #000;
  color: #F4F1EA;
  min-height: 100%;
}
.ki-page::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ki-page header,
.ki-page main{ position: relative; z-index: 2; }

.ki-page header{
  background: rgba(0,0,0,0.55);
  border-bottom-color: transparent;
}
.ki-page header.is-scrolled{
  background: rgba(0,0,0,0.82);
  border-bottom-color: rgba(255,255,255,0.08);
}
.ki-page header.is-open{
  background: #000;
  border-bottom-color: rgba(255,255,255,0.1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .ki-page header,
  .ki-page header.is-scrolled,
  .ki-page header.is-open{ background: #000; }
}
.ki-page .nav-links a{ color: rgba(244,241,234,0.52); }
.ki-page .nav-links a:hover,
.ki-page .nav-links a[aria-current="page"]{ color: #F4F1EA; }
.ki-page .nav-desktop > a,
.ki-page .nav-item-btn{ color: rgba(244,241,234,0.52); }
.ki-page .nav-desktop > a:hover,
.ki-page .nav-desktop > a[aria-current="page"],
.ki-page .nav-item-btn:hover,
.ki-page .nav-item.is-open .nav-item-btn,
.ki-page .nav-item.is-current .nav-item-btn,
.ki-page .nav-item:hover .nav-item-btn,
.ki-page .nav-item-btn[aria-expanded="true"]{ color: #F4F1EA; }
.ki-page .nav-item-btn:focus-visible{ outline-color: #F4F1EA; }
.ki-page header .lang-switch a{ color: rgba(244,241,234,0.52); }
.ki-page header .lang-switch a:hover,
.ki-page header .lang-switch a[aria-current="true"]{ color: #F4F1EA; }
.ki-page header .lang-switch span{ color: rgba(244,241,234,0.35); }
.ki-page .nav-toggle-bar{ background: #F4F1EA; }
.ki-page .nav-toggle:focus-visible{ outline-color: #F4F1EA; }
.ki-page header .btn-fill{
  background: transparent;
  color: #F4F1EA;
  border-color: rgba(255,255,255,0.22);
}
.ki-page header .btn-fill:hover{
  background: #E3A63C;
  color: #111;
  border-color: #E3A63C;
}
.ki-page header .btn-fill:active{ background: #c48f2c; }

.ki-kicker{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E3A63C;
  margin: 0;
}
.ki-hero{
  padding: 72px 0 0;
}
.ki-hero h1,
.ki-system .ki-stack,
.ki-reason h2,
.ki-memory h2,
.ki-scale h2,
.ki-end h2,
.ki-memory-end{
  font-family: var(--font-display);
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: -0.035em;
  color: #F4F1EA;
}
.ki-hero h1{
  font-size: clamp(36px, 6.4vw, 88px);
  line-height: 1.02;
  max-width: 16ch;
  margin: 22px 0 0;
}
.ki-line{ display: block; }
.ki-lede,
.ki-copy{
  max-width: 38rem;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: rgba(244,241,234,0.62);
  margin: 18px 0 0;
}
.ki-hero .ki-lede:first-of-type{
  margin-top: 28px;
  color: rgba(244,241,234,0.82);
}

.ki-stage{
  position: relative;
  margin-top: 56px;
  height: 340px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ki-stage canvas{
  display: block;
  width: 100%;
  height: 100%;
}
.ki-stage--lattice{
  margin-top: 56px;
  height: 300px;
}

.ki-system{
  padding: 120px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ki-stack{
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.04;
  margin: 0 0 36px;
}
.ki-stack span{ display: block; }

.ki-reason{
  padding: 140px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ki-reason h2{
  font-size: clamp(32px, 5.2vw, 68px);
  line-height: 1.06;
  max-width: 18ch;
  margin: 0 0 36px;
}
.ki-line--accent{ color: #E3A63C; }

.ki-memory{
  padding: 120px 0 140px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ki-memory h2{
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.04;
  margin: 18px 0 64px;
  max-width: 14ch;
}
.ki-rows{
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 56rem;
}
.ki-rows li{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ki-rows li:last-child{ border-bottom: 1px solid rgba(255,255,255,0.1); }
.ki-rows p{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-synthesis: none;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #F4F1EA;
}
.ki-rows li span{
  display: block;
  height: 1px;
  background: #E3A63C;
  align-self: center;
}
.ki-memory-end{
  font-size: clamp(40px, 7.2vw, 96px);
  line-height: 1.02;
  max-width: 14ch;
  margin: 96px 0 0;
}

.ki-scale{
  padding: 120px 0 140px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ki-scale h2{
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
  margin: 18px 0 0;
  max-width: 16ch;
}
.ki-scale-map{
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 28rem;
}
.ki-scale-map li{
  position: relative;
  padding: 0 0 36px 0;
}
.ki-scale-map li:last-child{ padding-bottom: 0; }
.ki-scale-map li:not(:last-child)::after{
  content:"";
  display: block;
  width: 1px;
  height: 28px;
  margin: 16px 0 0 7px;
  background: rgba(255,255,255,0.16);
}
.ki-scale-map p{
  margin: 10px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(244,241,234,0.7);
}
.ki-scale-map li:last-child p{ color: #E3A63C; }
.ki-nodes{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 16px;
}
.ki-nodes i{
  width: 8px;
  height: 8px;
  background: #F4F1EA;
  display: block;
  flex-shrink: 0;
}
.ki-nodes--net{
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 8px 10px;
  width: max-content;
}
.ki-nodes--net i:nth-child(3n){ opacity: 0.35; }
.ki-nodes--net i:nth-child(5n){ background: #E3A63C; }

.ki-end{
  padding: 160px 0 96px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.ki-end-kicker{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E3A63C;
  margin: 0 0 28px;
}
.ki-end h2{
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 1.02;
  margin: 0;
  max-width: 14ch;
}
.ki-end-note{
  margin: 28px 0 0;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(244,241,234,0.58);
  max-width: 28rem;
}
.ki-end-mark{
  display: block;
  height: 28px;
  width: auto;
  margin: 80px 0 0;
}
.ki-wait-open{
  display: inline-block;
  margin: 48px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(244,241,234,0.7);
  font-family: var(--font-display);
  font-synthesis: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.ki-wait-open span{ color: #E3A63C; }
.ki-wait-open:hover{ color: #F4F1EA; }
.ki-end.is-open .ki-wait-open{ display: none; }
.ki-wait-form{
  margin: 28px 0 0;
  max-width: 360px;
}
.ki-end.is-open .waitlist-form{
  display: flex;
}
.ki-page .waitlist-form input,
.ki-page .waitlist-form textarea{
  background: #000;
  color: #F4F1EA;
  border-color: rgba(255,255,255,0.18);
}
.ki-page .waitlist-form input::placeholder,
.ki-page .waitlist-form textarea::placeholder{
  color: rgba(244,241,234,0.35);
}
.ki-page .ki-wait-form .btn-fill{
  background: #E3A63C;
  color: #111;
  border-color: #E3A63C;
}
.ki-page .ki-wait-form .btn-fill:hover{ background: #efb54d; }

.ki-arrive{
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ki-arrive.is-in{
  opacity: 1;
  transform: none;
}

@media (max-width: 860px){
  .ki-page .nav-links{
    border-top-color: rgba(255,255,255,0.1);
  }
  .ki-page .nav-links a{
    color: #F4F1EA;
  }
  .ki-hero{ padding: 40px 0 0; }
  .ki-hero h1{ font-size: clamp(30px, 9vw, 44px); max-width: none; }
  .ki-line{ white-space: normal; }
  .ki-stage{ height: 240px; margin-top: 36px; }
  .ki-stage--lattice{ height: 220px; }
  .ki-system,
  .ki-memory,
  .ki-scale{ padding: 72px 0 80px; }
  .ki-reason{ padding: 80px 0; }
  .ki-stack{ font-size: clamp(30px, 9vw, 44px); }
  .ki-reason h2,
  .ki-memory h2,
  .ki-scale h2{ font-size: clamp(28px, 8.4vw, 40px); max-width: none; }
  .ki-rows li{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
  .ki-rows li span{
    width: 32px;
    height: 1px;
  }
  .ki-memory-end{
    font-size: clamp(32px, 10vw, 48px);
    margin-top: 56px;
    max-width: none;
  }
  .ki-end{ padding: 88px 0 72px; }
  .ki-end h2{ font-size: clamp(34px, 10vw, 52px); max-width: none; }
  .ki-end-mark{ height: 22px; margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce){
  .ki-arrive{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
