/* Dimension pages: shared stylesheet. Same neobrutalist palette and type as the landing page (apps/site/index.html). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #000;
  background: #edeef1;
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: #5b21b6; }
a:hover { color: #4c1d95; }
a:focus-visible { outline: 3px solid #5b21b6; outline-offset: 3px; }

/* ---- Hero ---- */
.hero {
  background: #5b21b6;
  color: #fff;
  padding: 56px 24px 80px;
  border-bottom: 2px solid #000;
}
.hero .brand {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  padding: 6px 12px;
  margin-bottom: 48px;
}
.hero .brand:hover { background: #fff; color: #5b21b6; }
.hero .brand:focus-visible { outline: 3px solid #00c2ff; outline-offset: 3px; }
.hero .eyebrow {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00c2ff;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero .question {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 720px;
  opacity: 0.95;
}

/* ---- Article ---- */
.page {
  background: #fff;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  margin: -40px auto 80px;
  padding: 48px 56px;
  max-width: 820px;
}
.page .lede p {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.page section { margin-top: 44px; }
.page section:first-child { margin-top: 0; }
.page h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 4px solid #00c2ff;
}
.page p { margin-bottom: 16px; }
.page p:last-child { margin-bottom: 0; }
.page ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.page li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.page li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  background: #5b21b6;
  border: 2px solid #000;
}
.page .closing {
  background: #edeef1;
  border: 2px solid #000;
  padding: 24px 28px;
}
.page .closing h2 { border-top: 0; padding-top: 0; font-size: 22px; }

/* ---- Seven dimensions ---- */
.dims { padding: 0 24px 80px; }
.dims h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 30px;
  text-align: center;
  margin-bottom: 32px;
}
.dims ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dims li a, .dims li .current {
  display: block;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  padding: 16px 20px;
  text-decoration: none;
  color: #000;
  line-height: 1.4;
}
.dims li .current {
  background: #5b21b6;
  color: #fff;
}
.dims li a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 #000; }
.dims .theme {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5b21b6;
}
.dims li .current .theme { color: #00c2ff; }
.dims .name { font-weight: 700; font-size: 18px; }

/* ---- CTA ---- */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: #fff;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.cta h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 32px;
  margin-bottom: 28px;
}
.btn {
  display: inline-block;
  background: #5b21b6;
  color: #fff;
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  padding: 14px 36px;
  border: 2px solid #000;
  text-decoration: none;
  box-shadow: 4px 4px 0 0 #000;
  transition: all 200ms;
}
.btn:hover { background: #4c1d95; color: #fff; transform: translateY(4px); box-shadow: 2px 2px 0 0 #000; }
.btn:active { transform: translate(4px, 8px); box-shadow: none; }
.btn:focus-visible { outline: 3px solid #00c2ff; outline-offset: 3px; }
.cta .secondary {
  display: inline-block;
  margin-top: 20px;
  color: #5b21b6;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.cta .secondary:hover { color: #4c1d95; text-decoration: underline; }

/* ---- Footer ---- */
footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
  color: #55575e;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { padding: 32px 24px 64px; }
  .hero .brand { margin-bottom: 32px; }
  .hero h1 { font-size: 34px; }
  .hero .question { font-size: 20px; }
  .page { margin: -32px 16px 56px; padding: 28px 22px; }
  .page .lede p { font-size: 19px; }
  .page h2 { font-size: 22px; }
  .dims { padding-bottom: 56px; }
  .dims h2 { font-size: 26px; }
  .dims ol { grid-template-columns: 1fr; }
  .cta { padding: 56px 24px; }
  .cta h2 { font-size: 26px; }
}
