:root {
  --tea: #0f1311;
  --bamboo: #262e29;
  --sage: #8fa897;
  --paper: #f2efe8;
  --copper: #c26a3a;
  --rule: rgba(143, 168, 151, 0.42);
}

* { box-sizing: border-box; }

html {
  background: var(--tea);
  color: var(--paper);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--tea);
  color: var(--paper);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

a { color: var(--sage); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }

.policy-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 4rem;
  border: 1px solid var(--rule);
  background: rgba(15, 19, 17, .94);
}

.policy-header,
.policy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}

.home-link {
  color: var(--paper);
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .72rem;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(14rem, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  border-bottom: 1px solid var(--rule);
}

.status,
.privacy-ledger,
.policy-footer {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .76rem;
}

.status {
  margin: 0 0 1rem;
  color: var(--copper);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .88;
}

.lede {
  max-width: 46rem;
  margin: 2rem 0 0;
  color: #c8d2cb;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.privacy-ledger {
  align-self: end;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--copper);
  list-style: none;
  background: var(--bamboo);
  text-transform: uppercase;
}

.privacy-ledger li { padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.privacy-ledger li:last-child { border-bottom: 0; }

.policy-sections { padding-inline: clamp(1.25rem, 6vw, 6rem); }

.policy-sections section {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}

.policy-sections h2 {
  margin: 0;
  color: var(--sage);
  font-size: 1rem;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.policy-copy { max-width: 49rem; }
.policy-copy > :first-child { margin-top: 0; }
.policy-copy > :last-child { margin-bottom: 0; }
.policy-copy li + li { margin-top: .55rem; }

.policy-note {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--copper);
  background: var(--bamboo);
}

.policy-footer {
  border: 0;
  color: #c8d2cb;
}

@media (max-width: 760px) {
  .policy-shell { width: 100%; margin: 0; border-inline: 0; }
  .policy-header { align-items: flex-start; flex-direction: column; }
  .policy-hero, .policy-sections section { grid-template-columns: 1fr; }
  .privacy-ledger { max-width: 25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
