/* Shared styling for the standalone Monodust pages (privacy, legal notice).
   The artwork itself lives at "/" and carries its own inline styles. */

/* TASA Orbiter — one self-hosted variable face (400–800), the same as the
   UI of the artwork. Served from /fonts; no font API or third-party request. */
@font-face {
  font-family: "TASA Orbiter";
  src: url("/fonts/TASAOrbiter-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --black: #000;
  --white: #e8e8e6;
  --dim: rgba(232, 232, 230, 0.5);
  --quiet: rgba(232, 232, 230, 0.27);
  --border: rgba(255, 255, 255, 0.075);
  --surface-raised: rgba(255, 255, 255, 0.035);
  --control-radius: 0.72rem;
  --font-body: "TASA Orbiter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
}

html,
body {
  min-height: 100%;
  background: var(--black);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 4px;
}

.container {
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(16px);
}

.header-row,
.page-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-row {
  min-height: 4.4rem;
}

.brand,
.page-nav a,
.page-footer-row,
.page-footer-links a {
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white);
}

.page-nav a,
.page-footer-row,
.page-footer-links a {
  color: var(--quiet);
}

.page-footer-row {
  letter-spacing: 0.1em;
}

.brand:hover,
.page-nav a:hover,
.page-nav a.is-active,
.page-footer-links a:hover,
.page-footer-links a.is-active {
  color: var(--white);
}

.page-wrapper {
  flex: 1;
  padding-block: clamp(6rem, 12vw, 11rem);
}

.legal-content {
  width: min(100%, 760px);
}

.legal-section + .legal-section {
  margin-top: 3.4rem;
}

.legal-section h1 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: var(--dim);
  font-size: 1rem;
}

.legal-section p,
.legal-section ul {
  margin-top: 1.2rem;
}

.general-list {
  padding-left: 1.5rem;
}

.general-list li + li {
  margin-top: 0.75rem;
}

.page-footer {
  border-top: 1px solid var(--border);
}

.page-footer-row {
  min-height: 5.6rem;
}

.page-footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--quiet);
}

@media (max-width: 640px) {
  .header-row,
  .page-footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.5rem;
  }

  .page-footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
}
