/*
 * aios.css — page styles for /{en,fr,nl}/ai-operating-system/
 * Rides on service-light.css for the shared service-page sections; this file
 * only styles the layered architecture visual (the "arch" block) + the
 * before-9am timeline. Swiss set only (tokens.css): Paper/Ink, Ember accent,
 * mono labels. No JS — the visual is pure HTML/CSS and must stay CSP-clean.
 */

/* ============ the architecture visual ============ */
.arch {
  border: 2px solid var(--ink);
  background: #fff;
  padding: clamp(1rem, 2.5vw, 2rem);
}
.arch__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.arch__caption-accent { color: var(--ember); }

/* --- the "one conversation" channel rail --- */
.arch__rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .6rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed var(--line-soft);
}
.arch__rail-label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-2);
  margin-right: .3rem;
}
.arch__chip {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  padding: .22rem .55rem;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink-2);
  white-space: nowrap;
}

/* --- layered core: orchestrator band, three columns, gate band, base band --- */
.arch__band {
  border: 1.5px solid var(--ink);
  padding: .9rem 1rem;
  margin-bottom: .85rem;
  background: var(--paper);
}
.arch__band-label {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.arch__band-title {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.arch__band-sub {
  font-size: .88rem;
  color: var(--ink-2);
  margin-top: .25rem;
  max-width: 62ch;
}

.arch__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: .85rem;
}
.arch__col {
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.arch__col .arch__band-sub { font-size: .84rem; }
.arch__list {
  list-style: none;
  margin: .2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.arch__list li {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--ink-2);
  padding-left: .9rem;
  position: relative;
}
.arch__list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: .6rem;
  top: .15em;
}

/* the human gate band — the one Ember element of the visual */
.arch__band--gate {
  border-color: var(--ember);
  border-width: 2px;
  background: #fff;
  position: relative;
}
.arch__band--gate .arch__band-label { color: var(--ember); }
.arch__band--gate::after {
  content: "★";
  position: absolute;
  right: .9rem;
  top: .8rem;
  color: var(--ember);
  font-size: 1.1rem;
}

/* --- side-by-side wrap: core + governance rail on wide screens --- */
.arch__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
.arch__gov {
  border: 1.5px dashed var(--ink);
  padding: .9rem 1rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

@media (min-width: 900px) {
  .arch__layout { grid-template-columns: minmax(0, 3fr) minmax(200px, 1fr); }
  .arch__gov { height: 100%; }
}
@media (max-width: 720px) {
  .arch__cols { grid-template-columns: 1fr; }
}

/* ============ the before-9am timeline ============ */
.aios-day__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.aios-day__item {
  border-top: 2px solid var(--ink);
  padding-top: .9rem;
}
.aios-day__time {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ember);
  display: block;
  margin-bottom: .35rem;
}
.aios-day__item h3 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 .3rem;
  color: var(--ink);
}
.aios-day__item p {
  font-size: .9rem;
  color: var(--ink-2);
  margin: 0;
}
