/**
 * MDC shared landing shell — header + footer.
 * Requires tokens.css. Use on marketing pages for layout consistency.
 */

/* ── Fixed header ───────────────────────────────────────────── */
.mdc-shell-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--mdc-header-h, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--mdc-line-subtle, rgba(255, 255, 255, 0.06));
  color: #fff;
}

.mdc-shell-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mdc-shell-logo mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 2px;
  font-style: normal;
}
.mdc-shell-logo:hover { opacity: 0.9; }

.mdc-shell-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mdc-shell-back {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--mdc-duration, 120ms) linear;
}
.mdc-shell-back:hover { color: #fff; }

.mdc-shell-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--mdc-brand, #fff);
  color: var(--mdc-brand-ink, #000);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--mdc-radius, 2px);
  border: 1px solid var(--mdc-brand, #fff);
  transition: background var(--mdc-duration, 120ms) linear;
}
.mdc-shell-cta:hover {
  background: var(--mdc-brand-hover, #e8e8e8);
}

/* ── Footer ─────────────────────────────────────────────────── */
.mdc-shell-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 32px;
  border-top: 1px solid var(--mdc-line-subtle, rgba(255, 255, 255, 0.06));
  background: #000;
}

.mdc-shell-footer-brand {
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.mdc-shell-footer-brand a {
  color: inherit;
  text-decoration: none;
}
.mdc-shell-footer-brand a:hover { color: rgba(255, 255, 255, 0.55); }

.mdc-shell-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.mdc-shell-footer-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--mdc-duration, 120ms) linear;
}
.mdc-shell-footer-links a:hover { color: #fff; }

/* ── Body offset under fixed header ─────────────────────────── */
body.mdc-has-shell {
  padding-top: 0; /* pages with full-viewport hero keep their own top padding */
}

/* Subpages with document flow (not snap scroll) need content clearance */
body.mdc-shell-pad {
  padding-top: var(--mdc-header-h, 56px);
}

@media (max-width: 640px) {
  .mdc-shell-header {
    padding: 0 16px;
  }
  .mdc-shell-logo span:not(mark) {
    /* keep wordmark on small screens but tighter */
    font-size: 12px;
  }
  .mdc-shell-footer {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  .mdc-shell-footer-links {
    justify-content: center;
  }
}
