/* Content surfaces: cards, empty states, notices and the footer.
 *
 * Split out of components.css, which owns the site chrome. Same design laws:
 * frosted glass, 2-4px radius, hairline borders, no pills.
 */
/* --- Cards --------------------------------------------------------------- */
.card {
  padding: clamp(1.35rem, 1rem + 1.1vw, 2rem);
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }

.card-step { display: flex; flex-direction: column; gap: 0.35rem; }

.card-step .step-index {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* --- Empty states: honest by design -------------------------------------- */
.empty-state {
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border: 1px dashed var(--hair-2);
  border-radius: var(--radius-lg);
  background: var(--glass);
  text-align: center;
}

.empty-state p { margin-inline: auto; color: var(--muted); }

/* --- Notices ------------------------------------------------------------- */
.notice {
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--muted);
  border-radius: var(--radius);
  background: var(--glass);
  font-size: var(--step--1);
  color: var(--muted);
}

.notice strong { color: var(--text); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: var(--section-gap);
  padding: var(--section-gap) var(--gutter) 2.5rem;
  border-top: 1px solid var(--hair);
  background: var(--glass);
}

.footer-grid {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.footer-tagline { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }

/* <address> is the correct element for a postal address, but browsers italicise
   it by default, which reads as an aside rather than as a real address. */
.postal {
  font-style: normal;
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--text);
}

.footer-address { margin-top: 0.75rem; color: var(--muted); }
.footer-grid h2 { font-size: var(--step--1); font-weight: var(--weight-bold);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: var(--step--1); }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.footer-note { margin-top: 0.9rem; font-size: 0.75rem; color: var(--muted); }

.legal-status {
  width: 100%;
  max-width: var(--shell);
  margin: 2.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: none;
}

/* Corporate attribution. Quiet by design — it belongs below the Foundation's
   own statement, not competing with it. */
.legal-status .corporate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.65rem;
  /* This row is layout, not prose: the global paragraph measure would squeeze
     it to ~470px and break the attribution across two lines mid-phrase. */
  max-width: none;
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-status .corporate a { color: inherit; }
.legal-status .corporate a:hover { color: var(--text); text-decoration: underline;
  text-underline-offset: 0.22em; }

.site-nav-mobile .mobile-signin { margin-top: 1rem; align-self: flex-start; }
