:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #505050;
  --line: #111111;
  --line-soft: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}

.site-header,
.page,
.site-footer {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-dot {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--line);
  background: var(--text);
}

.brand-name {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ghost-link,
a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.page {
  padding: 1.2rem 0 2.4rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
}

.hero,
.vision-section,
.diagram-section,
.pillars-section,
.renders-section {
  margin-top: 1rem;
  padding: 1.2rem;
}

.hero {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.lead,
.vision-section p,
.diagram-section p,
.pillars-section p,
.renders-section p {
  color: var(--muted);
}

.lead {
  margin: 1rem 0 0;
  max-width: 62ch;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.button {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.62rem 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.secondary {
  background: var(--bg);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  background: var(--text);
  color: var(--bg);
}

.diagram-section p,
.renders-section p {
  margin: 0.45rem 0 1rem;
}

.pillars-section h2 {
  margin-bottom: 0.7rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.pillar-block {
  border: 1px solid var(--line-soft);
  padding: 0.85rem;
}

.pillar-block h3 {
  font-size: 1rem;
}

.pillar-block p {
  margin: 0.45rem 0 0;
}

.pillars-note {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.vision-section p {
  margin: 0.45rem 0 0.9rem;
}

.vision-copy p {
  margin: 0 0 0.9rem;
}

.vision-copy p:last-child {
  margin-bottom: 0;
}

.vision-link {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.diagram-wrap,
.render-image-wrap {
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--bg);
}

.diagram-wrap img,
.render-image-wrap img {
  width: 100%;
  display: block;
}

.note-subtext {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: #666666;
}

.site-footer {
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}
