/* Page-level composition: the homepage, the simple content pages, and the two
   authenticated shells. Layout only — every colour and radius is a token. */

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding-block: clamp(4rem, 2.5rem + 7vw, 9rem) var(--section-gap);
}

.hero h1 { max-width: 16ch; margin-bottom: 1.35rem; }
.hero .lede { margin-bottom: 2.25rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* --- Page header (non-home routes) --------------------------------------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.page-head h1 { font-size: var(--step-3); max-width: 20ch; }
.page-head .lede { margin-top: 1.1rem; }

/* --- Section headings ---------------------------------------------------- */
.section-head { margin-bottom: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); }
.section-head h2 { font-size: var(--step-2); }
.section-head p { color: var(--muted); }

/* --- Split section ------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}

@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* --- Transparency panel --------------------------------------------------
   Prepared for real reporting. It renders empty states until verified activity
   exists — there are no placeholder amounts or counts anywhere in this app. */
.reporting-panel {
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 46rem) {
  .reporting-panel { grid-template-columns: repeat(3, 1fr); }
}

.reporting-cell { padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); background: var(--glass-2); }

.reporting-cell h3 {
  font-size: var(--step--1);
  font-weight: var(--weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.reporting-cell p { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* Status is carried by a word, never by colour alone. */
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* --- Steps --------------------------------------------------------------- */
.steps { counter-reset: step; }

/* --- Authenticated shells ------------------------------------------------ */
.page-app main { padding-bottom: var(--section-gap); }

.app-head {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
}

.app-head h1 { font-size: var(--step-2); }

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* --- Not found / error --------------------------------------------------- */
.centred-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
}

.centred-message h1 { font-size: var(--step-3); }
