/* ---------- compact hero for interior pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-7);
  text-align: center;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 740px; margin-inline: auto; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-block: var(--space-4);
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin-inline: auto;
}
.page-hero__actions {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-4); margin-top: var(--space-6);
}

/* ---------- feature list with a marker ---------- */
.featurelist { display: grid; gap: var(--space-4); }
.featurelist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-soft);
}
.featurelist li:first-child { border-top: 0; }
.featurelist .mark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent-soft-fg);
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.featurelist strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.featurelist span.body { color: var(--text-muted); font-size: .95rem; }

/* Six steps read badly stacked in one column beside a short prose block — the
   two sides ended up 2:1 in height. As a full-width grid of cards they balance
   and scan better. */
.featurelist--grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}
.featurelist--grid li {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--space-5);
}

/* ---------- two column prose ---------- */
.cols {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}
.prose p { color: var(--text-muted); }
.prose p + p { margin-top: var(--space-4); }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-3); }

/* ---------- roadmap ---------- */
.roadmap { display: grid; gap: var(--space-5); }
.phase {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  background: var(--bg-elevated);
  position: relative;
}
.phase--next { border-color: var(--accent-soft-border); background: linear-gradient(150deg, var(--panel-tint), transparent 60%), var(--bg-elevated); }
.phase__head { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.phase__head h3 { font-size: 1.15rem; font-weight: 700; }
.phase p { color: var(--text-muted); font-size: .97rem; }
.phase p + p { margin-top: var(--space-3); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  background: var(--bg-elevated);
}
.contact-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin-bottom: var(--space-4); }
.contact-card a, .contact-card p { color: var(--text); font-size: 1rem; }
.contact-card a:hover { color: var(--link-accent); }
.contact-card li + li { margin-top: var(--space-3); }
.contact-card .muted { color: var(--text-muted); font-size: .93rem; }

.socials { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.socials a {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: .9rem;
  color: var(--text-muted);
}
.socials a:hover { color: var(--text); border-color: var(--text-muted); }

/* ---------- 404 ---------- */
/* overflow:hidden matters — the decorative .aurora is deliberately wider than
   its container, so without it the orbs push the page sideways at every width */
.notfound { text-align: center; padding-block: var(--space-9); position: relative; overflow: hidden; }
.notfound__code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(100deg, var(--grad-from) 10%, var(--grad-to) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-block: var(--space-4); }
.notfound p { color: var(--text-muted); max-width: 480px; margin-inline: auto; }
