/* ── maia-os.ai — Page Layout ─────────────────────── */
/* Built on base.css palette (t0lkim parity) — layout differs */

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 120px 24px 80px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--text) 0%, var(--text-muted) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: var(--bg);
  border: 1px solid var(--teal);
}

.btn-primary:hover {
  background: transparent;
  color: var(--teal);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.btn:focus-visible,
.spec-card:focus-visible,
.footer-links a:focus-visible,
.hero-cta a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  text-decoration: none;
}

/* ── Section Wrapper ───────────────────────────────── */
.section {
  padding: 60px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 800px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 720px;
}

/* ── Principles Grid ───────────────────────────────── */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.principle {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
}

.principle-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.principle-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Spec Cards (4 SPECs) ──────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.spec-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.spec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 12px;
}

.spec-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.spec-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.spec-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.spec-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ── Architecture Layers ───────────────────────────── */
.layers {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.layer {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 20px 24px;
}

.layer-name {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.95rem;
  color: var(--teal);
  font-weight: 600;
}

.layer-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.layer-body strong { color: var(--text); font-weight: 600; }

@media (max-width: 600px) {
  .layer { grid-template-columns: 1fr; gap: 8px; border-left-width: 3px; }
}

/* ── Quote / Pull-out ──────────────────────────────── */
.quote {
  border-left: 2px solid var(--teal);
  padding: 12px 0 12px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Status banner ─────────────────────────────────── */
.banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.3);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.banner::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.banner-notice {
  background: rgba(210, 153, 34, 0.12);
  border-color: rgba(210, 153, 34, 0.35);
  color: var(--yellow);
}

.banner-notice::before {
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
}

/* ── Callout (status / caveat box) ────────────────── */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 22px 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.callout strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ── Layer brain-analogue line ────────────────────── */
.layer-analogue {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.75;
  font-style: italic;
}
