@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f2f0ea;
  --ink: #161711;
  --pink: #ff1271;
  --gutter: clamp(1rem, 3vw, 3.5rem);
  --body: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.32, .72, 0, 1);
  --text-label: .75rem;
  --text-small: .9rem;
  --text-body: 1rem;
  --text-feature: clamp(1rem, 1.5vw, 1.35rem);
  --text-section: clamp(1.3rem, 2vw, 2rem);
  --text-title: clamp(2.25rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; }
body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: var(--text-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { color: var(--paper); background: var(--ink); }
a {
  color: inherit;
  text-decoration-thickness: from-font;
  text-underline-offset: .16em;
  text-decoration-skip-ink: auto;
}
button { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }
p, h1, h2 { margin: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1001;
  inset: .75rem auto auto .75rem;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  inset-block-start: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.25rem;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(12px);
}

.brand,
.privacy-back {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand,
.privacy-back { transition: opacity 150ms ease; }

.privacy-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.privacy-content {
  width: min(68rem, 100%);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) var(--gutter) clamp(5rem, 10vw, 9rem);
}

.privacy-content > header {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-block-end: clamp(3rem, 7vw, 6rem);
}

.privacy-updated {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.privacy-content h1 {
  max-width: 17ch;
  font-size: var(--text-title);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.privacy-lead {
  max-width: 62ch;
  font-size: var(--text-feature);
  line-height: 1.45;
  text-wrap: pretty;
}

.privacy-section {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid currentColor;
}

.privacy-section h2 {
  max-width: 30ch;
  margin-block-end: .25rem;
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.privacy-section p,
.privacy-section ul,
.privacy-address {
  max-width: 65ch;
  line-height: 1.58;
  overflow-wrap: break-word;
}

.privacy-section ul {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding-inline-start: 1.3rem;
}

.privacy-address { font-style: normal; }

.privacy-table-wrap {
  max-width: 52rem;
  overflow-x: auto;
  border: 1px solid var(--ink);
}

.privacy-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--text-small);
  line-height: 1.4;
}

.privacy-table th,
.privacy-table td {
  padding: .85rem;
  border-inline-end: 1px solid var(--ink);
  border-block-end: 1px solid var(--ink);
  text-align: start;
  vertical-align: top;
}

.privacy-table th:last-child,
.privacy-table td:last-child { border-inline-end: 0; }
.privacy-table tbody tr:last-child td { border-block-end: 0; }
.privacy-table th { font-weight: 600; }

.privacy-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block-start: 1rem;
  border-top: 1px solid var(--ink);
}

.cookie-settings-button {
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
  border: 0;
  cursor: pointer;
  font-size: var(--text-label);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-transform: uppercase;
  transition: opacity 150ms ease;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: var(--gutter);
  bottom: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: end;
  width: min(52rem, calc(100% - 2 * var(--gutter)));
  padding: clamp(.75rem, 1.5vw, 1.1rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid currentColor;
  box-shadow: 0 18px 60px rgba(22, 23, 17, .22);
}

.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { display: grid; gap: .75rem; max-width: 47rem; }
.cookie-banner h2 { font-size: var(--text-section); font-weight: 600; line-height: 1; }
.cookie-banner p { max-width: 62ch; font-size: var(--text-small); line-height: 1.4; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.cookie-button { min-height: 44px; padding: .75rem 1rem; border: 1px solid currentColor; font-size: var(--text-label); font-weight: 600; text-transform: uppercase; cursor: pointer; }
.cookie-button-primary { color: var(--paper); background: var(--ink); }
.cookie-button-secondary { color: var(--ink); background: transparent; }
.cookie-button:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  .brand:hover,
  .privacy-header .privacy-back:hover,
  .privacy-footer .privacy-back:hover,
  .privacy-footer .cookie-settings-button:hover { opacity: .8; }
  .privacy-content a:not(.privacy-back):hover { color: var(--pink); }
  .cookie-button-primary:hover { color: var(--paper); background: color-mix(in srgb, var(--ink) 84%, var(--paper)); }
}

@media (max-width: 560px) {
  .site-header { min-height: 3.75rem; }
  .privacy-content { padding-block-start: 2.5rem; }
  .cookie-banner { right: .75rem; bottom: .75rem; grid-template-columns: 1fr; width: calc(100% - 1.5rem); }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
  .cookie-button-primary { order: -1; }
}

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