/* Privacy, terms and 404 pages of the waitlist site.
   Same fonts and colours as opening.css, without its scenes or scripts. */
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gloock'; src: url('../fonts/gloock-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .12);
  --accent: #FF5A2B;
  --on-accent: #0B0B0B;
  --f-text: 'Switzer', -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --f-logo: 'DM Serif Display', Georgia, serif;
  --f-display: 'Gloock', Georgia, serif;
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --press-scale: .98;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.skip { position: fixed; z-index: 10; left: var(--gutter); top: 12px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 180ms var(--ease-out); }
.skip:focus-visible { transform: none; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.logo { font: 400 26px/1 var(--f-logo); letter-spacing: -.02em; text-decoration: none; }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--f-text); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out); }
.pill:active { transform: scale(var(--press-scale)); }

.doc { width: min(720px, 100%); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 96px; }
.doc h1 { margin: 0 0 12px; font: 400 clamp(44px, 7vw, 72px)/1 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; }
.doc .meta { margin: 0 0 48px; color: var(--text-2); font-size: 15px; }
.doc .lead { font-size: 20px; line-height: 1.5; }
.doc h2 { margin: 48px 0 12px; font: 600 21px/1.3 var(--f-text); }
.doc p, .doc ul { margin: 0 0 16px; color: rgba(255, 255, 255, .86); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); font-weight: 600; }
.doc table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--text-2); font-weight: 500; }

.lost { display: grid; place-content: center; justify-items: center; gap: 20px; padding: 96px var(--gutter); text-align: center; }
.lost h1 { margin: 0; font: 400 clamp(64px, 14vw, 160px)/.9 var(--f-display); }
.lost p { margin: 0; max-width: 36ch; color: var(--text-2); }
/* Pages the Worker serves for the email links (/api/confirm, /api/unsubscribe). */
.lost--note h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1; }
button.pill { border: 0; cursor: pointer; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover, .foot a[aria-current] { text-decoration: underline; }

@media (max-width: 560px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .doc td { padding: 2px 0; border: 0; }
  .doc td:first-child { color: var(--text); font-weight: 600; }
}
