/* Mutoscope: the graphite of the app icon. Shared by every page of the site. */
:root {
  color-scheme: dark;
  --ground-centre: #3A3B40;   /* the icon's background, centre */
  --ground-edge: #111214;     /* and edge */
  --ivory: #EDE6D8;           /* the lightest card */
  --body-text: #D6D0C4;       /* ivory, a step down, for long text */
  --muted: #A8A296;           /* between the darkest card (#9A9386) and ivory, for small text */
  --rule: rgba(237, 230, 216, 0.14);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

html {
  background: var(--ground-edge);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: max(24px, 4vmin) max(20px, 4vmin) max(16px, 2.5vmin);
  padding-left: max(20px, 4vmin, env(safe-area-inset-left));
  padding-right: max(20px, 4vmin, env(safe-area-inset-right));
  background: radial-gradient(ellipse 85% 75% at 50% 42%, var(--ground-centre), var(--ground-edge));
  color: var(--ivory);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ivory);
  text-decoration-color: rgba(237, 230, 216, 0.4);
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 3px; }

/* ---------------------------------------------------------------- Landing */

.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* The reel scales with the shorter side of the screen, phone to TV. */
.reel {
  display: block;
  width: clamp(150px, 46vmin, 760px);
  aspect-ratio: 1;
  height: auto;
}

.name {
  margin: clamp(16px, 3.5vmin, 64px) 0 0;
  font-size: clamp(2.5rem, 10vmin, 10rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.status {
  margin: clamp(10px, 2vmin, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.6vmin, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Landscape phones: room is short, so the reel and name sit smaller. */
@media (max-height: 480px) and (orientation: landscape) {
  .reel { width: clamp(120px, 46vh, 240px); }
  .name { font-size: clamp(2rem, 11vh, 4rem); }
}

/* ---------------------------------------------------------------- Footer, on every page */

.site-footer {
  display: flex;
  justify-content: center;
  gap: 1.75em;
  padding-top: max(16px, 2vmin);
  font-size: clamp(0.85rem, 1.6vmin, 1.4rem);
  letter-spacing: 0.04em;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--ivory); }

/* ---------------------------------------------------------------- Privacy, Support */

.document-page {
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.5rem);
  line-height: 1.6;
}

.site-header,
.document {
  width: 100%;
  max-width: 42em;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--ivory);
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand img { width: 2em; height: 2em; }

.document {
  flex: 1;
  padding: clamp(24px, 5vmin, 72px) 0 clamp(32px, 6vmin, 96px);
  color: var(--body-text);
}
.document h1 {
  margin: 0 0 0.6em;
  color: var(--ivory);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.document h2 {
  margin: 2em 0 0.5em;
  padding-top: 1.2em;
  border-top: 1px solid var(--rule);
  color: var(--ivory);
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.3;
}
.document p, .document ul { margin: 0 0 1em; }
.document ul { padding-left: 1.25em; }
.document li { margin: 0 0 0.6em; }
.document li::marker { color: var(--muted); }
.document strong { color: var(--ivory); font-weight: 600; }
.document .contact { font-size: 1.15em; color: var(--ivory); }
