/*
  Oscars Tracker website: one stylesheet for every page (Phase 5).
  Ceremony Night (docs/design/brand.md): dark ground, parchment text, gold
  used sparingly, Playfair Display for one headline (.display) only.
  Light theme follows prefers-color-scheme. Plain CSS, no build step.

  Every page uses the same shell. Copy it, and change only the title,
  description, canonical path and <main>:

  <!doctype html>
  <html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Privacy policy · Oscars Tracker</title>
    <meta name="description" content="…">
    <meta name="color-scheme" content="dark light">
    <meta name="theme-color" content="#0d0d0d" media="(prefers-color-scheme: dark)">
    <meta name="theme-color" content="#f4f2ee" media="(prefers-color-scheme: light)">
    <link rel="canonical" href="https://oscarstracker.com/privacy/">
    <link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
    <link rel="stylesheet" href="/styles.css">
  </head>
  <body>
    <a class="skip" href="#main">Skip to content</a>
    <header class="site-header">
      <div class="wrap">
        <a class="wordmark" href="/">Oscars Tracker</a>
      </div>
    </header>
    <main id="main" class="wrap">
      <article class="prose">
        <h1>Privacy policy</h1>
        <p class="lede">…</p>
        …
      </article>
    </main>
    <footer class="site-footer">
      <div class="wrap">
        <nav aria-label="Site">
          <a href="/privacy/">Privacy</a>
          <a href="/terms/">Terms</a>
          <a href="/support/">Support</a>
        </nav>
        <p>Oscars Tracker is a fan-made app. It is not affiliated with, endorsed by or sponsored by the Academy of Motion Picture Arts and Sciences. “Oscar”, “Oscars” and “Academy Awards” are its trademarks.</p>
        <p>© 2026 Oscars Tracker</p>
      </div>
    </footer>
  </body>
  </html>

  Building blocks: .wrap (page width), .prose (long text: legal and support
  pages), .lede, .muted, .card, .button (one per page), .callout, .display
  (the landing headline only).
*/

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark light;

  /* Dark is the signature and the default. */
  --ground: #0d0d0d;
  --card: #161514;
  --text: #f2e6c2;        /* parchment */
  --muted: #99958a;
  --hairline: #2e2e2e;
  --gold: #eab308;        /* fills and large marks */
  --gold-text: #d9b45a;   /* small gold text on the ground */
  --on-gold: #0d0d0d;

  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-card: 22px;
  --page: 68rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 5vw, 2rem);
}

@media (prefers-color-scheme: light) {
  :root {
    /* Daytime: matinee, not ceremony. */
    --ground: #f4f2ee;
    --card: #ffffff;
    --text: #1d1a14;
    --muted: #6b665b;
    --hairline: #dcd8ce;
    --gold: #c99a2a;
    --gold-text: #7a5c00;
    --on-gold: #1d1a14;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 0.5rem;
}

/* Header and footer */

.site-header {
  padding-block: 1.25rem;
}

.wordmark {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-footer {
  margin-top: 4rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.site-footer nav a {
  color: var(--text);
  text-decoration: none;
  padding-block: 0.25rem;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.site-footer p {
  margin: 0.5rem 0 0;
  max-width: var(--measure);
}

/* Type */

h1,
h2,
h3 {
  font-family: var(--font-rounded);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.875rem, 6vw, 2.5rem);
}

h2 {
  font-size: clamp(1.375rem, 4vw, 1.625rem);
}

h3 {
  font-size: 1.125rem;
}

/* The one Playfair headline on the site (brand.md: the ceremony's voice). */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.375rem, 9vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.125rem, 3vw, 1.3125rem);
  color: var(--muted);
}

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

.gold {
  color: var(--gold-text);
}

/* Long text: privacy, terms, support. */

.prose {
  max-width: var(--measure);
  padding-block: 1.5rem 0;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.375rem;
}

.prose p,
.prose li {
  overflow-wrap: anywhere;
}

/* Surfaces */

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.callout {
  border-left: 3px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.625rem 1.375rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.06);
}

/* Landing */

.hero {
  padding-block: 2.5rem 2rem;
}

.hero-text {
  max-width: 44rem;
}

.hero-text > * + * {
  margin-top: 1.25rem;
}

.eyebrow {
  font-size: 0.9375rem;
  font-weight: 600;
}

.get {
  padding-top: 0.5rem;
}

.get p {
  margin: 0;
}

.badge { display: inline-block; }
.badge img { display: block; }

/* Shown to people arriving from an old web app link (P5-04). */
.moved { padding-block: 1rem 0; color: var(--gold-text); }

/* A film strip of app screens: scrolls sideways on a phone, four up on a wide screen. */
.strip {
  list-style: none;
  margin-block: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(15rem, 68vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-block: 0.5rem 1rem;
  scrollbar-width: thin;
}

.strip > li {
  scroll-snap-align: start;
}

@media (min-width: 60rem) {
  .strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    gap: 1.5rem;
  }
}

.screen {
  margin: 0;
}

.screen img {
  width: 100%;
  border-radius: 2rem;
  border: 1px solid var(--hairline);
  background: #0d0d0d;
}

.features {
  display: grid;
  gap: 2.25rem 3rem;
  padding-block: 3rem 1rem;
}

@media (min-width: 44rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature > * + * {
  margin-top: 0.625rem;
}

.feature p {
  margin-bottom: 0;
}

.host {
  color: var(--muted);
  font-style: italic;
}

.closer {
  padding-block: 3rem 0;
}

.closer .lede {
  margin-top: 0.75rem;
  max-width: var(--measure);
}

/* 404 */

.not-found {
  padding-block: 3rem 1rem;
  max-width: var(--measure);
}

.not-found > * + * {
  margin-top: 1rem;
}

.not-found .button {
  margin-top: 1.75rem;
}

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