/* A quiet, white reading environment adapted to the original long document. */
:root {
  --archi-ink: #171717;
  --archi-muted: #626262;
  --archi-line: #e8e8e8;
}
body { color: var(--archi-ink); background: #fff; }
.archi-showcase-anchor { height: 0; scroll-margin-top: 88px; }
.worlds {
  background: #fff;
  color: var(--archi-ink);
  padding-top: clamp(75px, 9vw, 135px);
  padding-bottom: clamp(80px, 10vw, 150px);
}
.worlds-inner { max-width: 1120px; }
.worlds-header { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.worlds-kicker { justify-content: center; color: #888; letter-spacing: .08em; }
.worlds-kicker::before { display: none; }
.worlds-header h2 { color: var(--archi-ink); font-weight: 650; letter-spacing: -.045em; }
.worlds-header h2 span { color: inherit; }
.worlds-header p { margin-inline: auto; color: var(--archi-muted); }
.world-card {
  border-color: #ededed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.045);
}
.world-card-copy strong, .world-feature-name { color: #1b1b1b; }
.world-card-copy em { color: #666; }
.world-card-top, .world-card-copy small { color: #777; }
.world-card-cta, .world-feature-action { color: #6558b6; }
.discovery-bar { background: #fff; border-top: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1; }
.discovery-bar-inner { max-width: 1240px; }
.doc-edition:not(.edition-overview) {
  background: #fff;
  padding-block: clamp(86px, 9vw, 130px);
  border-bottom: 1px solid #f0f0f0;
}
.edition-inner { max-width: 1120px; }
.edition-heading { border-color: #ededed; }
.edition-heading::after { color: rgba(0,0,0,.025); }
.edition-title { color: var(--archi-ink); font-weight: 680; }
.edition-index { color: #888; }
.edition-index::after { background: #dedede; }
.edition-tools { color: #777; }
.edition-inner .doc-h2, .edition-inner .doc-h3, .edition-inner .doc-feature-title { color: var(--archi-ink); }
.edition-feature-grid { gap: 16px; }
.edition-feature-grid .world-feature {
  border-color: #ededed;
  border-radius: 17px;
  box-shadow: 0 7px 24px rgba(0,0,0,.035);
}
.edition-feature-grid .world-feature:hover { border-color: #c6c6c6; box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.edition-feature-grid .world-feature[aria-current="true"] { border-color: #a39ada; box-shadow: 0 0 0 2px rgba(133,119,205,.1); }
.feature-panel { border-color: #e9e9e9; }
.feature-panel[open] { border-color: #e5e5e5; box-shadow: 0 12px 35px rgba(0,0,0,.045); }
.feature-panel[open] > .feature-toggle { background: #fbfbfb; }
.feature-content { border-color: #eee; }
.site-footer { background: #171717; }

/* Section links are placed in context, not a floating exploration overlay. */
.archi-edition-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.edition-inner .archi-edition-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 99px;
  background: #fff;
  color: #242424;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.edition-inner .archi-edition-nav a:hover { border-color: #222; }
.archi-detail-nav {
  margin: 18px 0 25px;
  padding: 16px 18px;
  border: 1px solid #ebebeb;
  border-radius: 17px;
  background: #fafafa;
}
.archi-detail-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.archi-detail-context { min-width: 0; color: #666; font-size: 12px; font-weight: 650; line-height: 1.5; }
.archi-detail-select-label { display: inline-flex; flex: none; align-items: center; gap: 8px; color: #555; font-size: 12px; font-weight: 650; }
.archi-detail-select-label select {
  width: min(220px, 36vw);
  min-width: 0;
  min-height: 36px;
  padding: 6px 30px 6px 11px;
  border: 1px solid #e1e1e1;
  border-radius: 99px;
  background: #fff;
  color: #242424;
  font: inherit;
  cursor: pointer;
}
.archi-detail-go {
  flex: none;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid #191919;
  border-radius: 99px;
  background: #191919;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.archi-detail-go:hover { background: #383838; }
.archi-detail-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.edition-inner .archi-detail-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 99px;
  background: #fff;
  color: #505050;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}
.edition-inner .archi-detail-chips a:hover { border-color: #333; color: #111; }
.edition-inner .archi-detail-chips a[aria-current="page"] { border-color: #191919; background: #191919; color: #fff; }
.archi-edition-nav a:focus-visible, .archi-detail-chips a:focus-visible, .archi-detail-select-label select:focus-visible, .archi-detail-go:focus-visible { outline: 3px solid #9d90e8; outline-offset: 3px; }
@media (max-width: 720px) {
  .worlds { padding-block: 72px 86px; }
  .doc-edition:not(.edition-overview) { padding-block: 72px; }
  .archi-detail-nav { margin-inline: -3px; padding: 14px; }
  .archi-detail-nav-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .archi-detail-select-label { width: 100%; justify-content: space-between; }
  .archi-detail-select-label select { flex: 1; width: auto; max-width: 245px; }
  .archi-detail-chips { flex-wrap: nowrap; overflow-x: auto; padding: 1px 1px 7px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .edition-inner .archi-detail-chips a { flex: none; white-space: nowrap; }
}
