/*
 * Standalone legal pages on twomakes.one.
 * Tokens match the marketing site so these read without the Vite bundle.
 */

:root {
  --color-bg: #000000;
  --color-fg: #e7e9ea;
  --color-muted: #8b98a5;
  --color-subtle: #71767b;
  --color-line: rgb(231 233 234 / 0.14);
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --measure: 40rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
  color: var(--color-fg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--color-bg);
}

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

h1,
h2 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 3.8rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

p {
  margin: 0;
  text-wrap: pretty;
}

strong {
  color: var(--color-fg);
  font-weight: 600;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.875rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgb(0 0 0 / 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgb(231 233 234 / 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.rings {
  width: 2.25rem;
  height: 1.5rem;
  color: var(--color-fg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-fg);
}

.legal {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 4rem var(--gutter) 5rem;
}

.kicker {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.kicker a:hover {
  color: var(--color-fg);
}

.legal h1 {
  margin-top: 0.75rem;
}

.updated {
  margin-top: 1rem;
  color: var(--color-subtle);
  font-size: 0.9375rem;
}

.prose {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  color: var(--color-muted);
}

.footer {
  border-top: 1px solid var(--color-line);
  padding: 3rem var(--gutter) 2.5rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--color-fg);
}

.footer-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-subtle);
}
