@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  ascent-override: 87.8%;
  descent-override: 21%;
}

@font-face {
  font-family: 'Derbedeu Serif';
  src: url('/fonts/source-serif-4-var-latin.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 91.2%;
  descent-override: 23.7%;
}

@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 98.7%;
  ascent-override: 88.9%;
  descent-override: 21.3%;
}

@font-face {
  font-family: 'Derbedeu Serif Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
  size-adjust: 107.4%;
  ascent-override: 84.9%;
  descent-override: 22.1%;
}

:root {
  --paper: oklch(11% 0.006 28);
  --paper-raised: oklch(14.5% 0.008 28);
  --paper-deep: oklch(8% 0.005 28);
  --edge: oklch(28% 0.01 28);
  --ink: oklch(96.263% 0.00515 67.763);
  --ink-soft: oklch(77% 0.008 58);
  --ink-muted: oklch(67% 0.01 52);
  --accent: oklch(55.451% 0.22664 27.984);
  --accent-lit: oklch(64% 0.22 28);
  --focus: oklch(74% 0.2 30);
  --press-dark: oklch(3% 0.004 28 / 0.92);
  --press-lit: oklch(96% 0.006 68 / 0.1);
  --press-lit-strong: oklch(96% 0.006 68 / 0.2);
  --press-shade: oklch(3% 0.004 28 / 0.58);
  --bloom: oklch(23% 0.012 28 / 0.42);
  --perf-hole: oklch(2.5% 0.004 28 / 0.82);
  --font-display: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;
  --font-body: 'Derbedeu Serif', 'Derbedeu Serif Fallback', Georgia, serif;
  --text-display: clamp(2rem, 4.2vw, 4.25rem);
  --text-lede: clamp(1.25rem, 1.8vw, 1.5rem);
  --text-lg: clamp(1.125rem, 1.6vw, 1.4rem);
  --text-base: clamp(1rem, 1.2vw, 1.15rem);
  --text-sm: 0.875rem;
  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --content: 82rem;
  --measure: 42rem;
}

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

html {
  overflow-x: clip;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background: radial-gradient(
    115% 88% at 16% 0%,
    var(--bloom),
    transparent 62%
  );
}

body::after {
  z-index: 1;
  opacity: 0.62;
  background-image: radial-gradient(
    circle,
    var(--perf-hole) 0 1px,
    transparent 1.5px
  );
  background-size: 12px 12px;
}

.site-head,
.page,
.site-foot {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block-start: 2rem;
}

.wordmark {
  display: flex;
  align-items: center;
  width: clamp(6.5rem, 16vw, 13.75rem);
  min-height: 44px;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-head__label,
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-head__label {
  color: var(--ink-muted);
}

.page {
  padding-block: clamp(4.75rem, 9vw, 8.5rem) clamp(4.5rem, 9vw, 8rem);
}

.page-intro {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  color: var(--ink-muted);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 3px;
  margin-inline-end: 0.75rem;
  background: var(--accent);
  vertical-align: 0.2em;
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 82%;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow:
    0 -1px 0 var(--press-dark),
    0 1px 0 var(--press-lit);
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

h1 .signal {
  color: var(--accent);
  text-shadow:
    0.018em 0.018em 0 var(--press-dark),
    0.042em 0.042em 0 var(--press-shade);
}

.intro-copy {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: var(--text-lede);
  line-height: 1.48;
}

.privacy-ledger {
  margin-block-start: clamp(3.5rem, 7vw, 6rem);
  border-block: 2px solid var(--edge);
  background: var(--paper-raised);
  box-shadow: inset 0 1px 0 var(--press-lit);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-block-start: 1px solid var(--edge);
}

.privacy-section:first-child {
  border-block-start: 0;
}

.privacy-section__head {
  align-self: start;
}

h2 {
  max-width: 12ch;
  color: var(--ink);
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: -0.025em;
}

.privacy-section__body {
  max-width: var(--measure);
}

.privacy-section__body > * + * {
  margin-block-start: 1.25rem;
}

.privacy-section ul {
  padding: 0;
  list-style: none;
}

.privacy-section li {
  position: relative;
  padding: 1rem 0 1rem 1.4rem;
  border-block-start: 1px solid var(--edge);
}

.privacy-section li:first-child {
  padding-block-start: 0;
  border-block-start: 0;
}

.privacy-section li::before {
  content: '';
  position: absolute;
  inset-block-start: 1.72rem;
  inset-inline-start: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.privacy-section li:first-child::before {
  inset-block-start: 0.72rem;
}

code {
  padding: 0.08em 0.3em;
  border: 1px solid var(--edge);
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.82em;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--accent-lit);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.site-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 0 3rem;
  color: var(--ink-muted);
  font-size: var(--text-base);
}

.site-foot::before {
  content: '';
  position: absolute;
  inset-block-start: -2rem;
  inset-inline-start: var(--pad-x);
  width: min(18rem, 32%);
  height: 3px;
  background: var(--accent);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 90%;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.home-link::before {
  content: '←';
  color: var(--accent-lit);
}

.home-link:hover {
  color: var(--accent-lit);
  transform: translateX(-3px);
}

.error-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.error-page .page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.error-code {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(9rem, 29vw, 25rem);
  font-weight: 800;
  font-stretch: 72%;
  line-height: 0.7;
  letter-spacing: -0.095em;
  text-shadow:
    0.018em 0.018em 0 var(--press-dark),
    0.04em 0.04em 0 var(--press-shade);
}

.error-copy {
  padding-block: 2rem;
  border-block: 2px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--press-lit);
}

.error-copy h1 {
  max-width: 9ch;
  margin-block-start: 1.1rem;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
}

.error-copy > p:not(.eyebrow) {
  max-width: 29rem;
  margin-block-start: 1.5rem;
  color: var(--ink-soft);
}

.error-copy .home-link {
  margin-block-start: 2rem;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 var(--press-lit-strong),
    0 2px 0 var(--paper-deep);
  text-shadow: 0 1px 0 var(--press-dark);
}

.error-copy .home-link::before {
  color: currentColor;
}

.error-copy .home-link:hover {
  color: var(--ink);
  transform: translate(-3px, -2px);
}

@media (max-width: 44rem) {
  .site-head {
    padding-block-start: 1.25rem;
  }

  .page {
    padding-block-start: 4rem;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.25rem 2rem;
  }

  .privacy-section__head h2 {
    max-width: none;
  }

  .site-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .error-page .page {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3rem;
  }

  .error-code {
    font-size: clamp(8rem, 47vw, 12rem);
  }
}

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