/*
 * Landing-page styling for docs/index.md.
 *
 * Scoped to the home page only via the `.sb-landing` wrapper so other
 * pages get the default mkdocs-material chrome unchanged.
 *
 * Brand palette comes from the Figma file (page 02 Foundations).
 * Match these to ui/tailwind.config.js — when the SPA's tokens
 * change, this file changes too.
 */

:root {
  --sb-bg: #0B1220;          /* Navy 900 */
  --sb-surface: #0F172A;     /* Dark Navy */
  --sb-text: #CBD5E1;        /* Slate 300 */
  --sb-muted: #64748B;       /* Slate 500 */
  --sb-accent: #06B6D4;      /* Cyan */
  --sb-accent-bright: #22D3EE;
  --sb-blue: #3B82F6;
  --sb-border: #1E293B;
}

/* ---- Hero ---------------------------------------------------- */

.sb-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.sb-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sb-accent);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
}

.sb-hero__wordmark {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1.25rem 0 0.75rem;
}

.sb-hero__tagline {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--sb-accent) 0%, var(--sb-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem;
}

.sb-hero__subhead {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--md-default-fg-color--light, var(--sb-muted));
}

.sb-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sb-hero__ctas .md-button {
  font-weight: 600;
}

.sb-hero__ctas .md-button--primary {
  background: linear-gradient(135deg, var(--sb-accent) 0%, var(--sb-blue) 100%);
  border-color: transparent;
  color: #0B1220;
}

.sb-hero__ctas .md-button--primary:hover {
  filter: brightness(1.08);
}

/* ---- Pillar row (Material .grid.cards override) ------------- */

.sb-pillars.grid.cards > ul,
.sb-pillars.grid.cards {
  margin: 2rem 0 3rem;
}

.sb-pillars.grid.cards > ul > li {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.sb-pillars.grid.cards > ul > li:hover {
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

/* The icon shortcode picks up { .sb-pillar-icon } as a CSS class. */
.sb-pillar-icon {
  color: var(--sb-accent);
}

/* ---- Section dividers --------------------------------------- */

.sb-section-heading {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sb-muted);
  margin: 3rem 0 1.5rem;
}

/* ---- Status note -------------------------------------------- */

.sb-status {
  margin-top: 3.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid rgba(234, 179, 8, 0.6);
  background: rgba(234, 179, 8, 0.08);
  border-radius: 6px;
  font-size: 0.92rem;
}

.sb-status__title {
  font-weight: 700;
  color: #f59e0b;
  margin: 0 0 0.4rem;
}

/* ---- Visual polish: hide page TOC + breadcrumbs ------------- */

.sb-landing .md-typeset h1:first-child {
  display: none;  /* Hero replaces the H1 visually */
}
