/*
 * The plain pages: /privacy and /support. Linked from the App Store record
 * (SPEC §10.1), so they are read by a reviewer on a Mac and by a stranger on
 * a phone, and have to be readable with nothing but this file.
 *
 * They are timez.day's pages, so they wear its design system rather than
 * one of their own: the tokens below are the values `_ds/modernist` resolves
 * to on the marketing page — Archivo from the same import, square corners,
 * an 800-weight headline set tight, monospace eyebrows in the darkened
 * accent, and the page's own orange button. Light only, as the marketing
 * page is.
 *
 * Phone first (MOBILE_FIRST_STANDARD.md): the base rules are the 320px
 * layout, and the one breakpoint only widens the gutters and the type.
 */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
  --bp-sm: 40rem;
  --bg: #F3F2F2;
  --text: #201E1D;
  --text-2: #444141;
  --muted: #6A6A6E;
  --rule: color-mix(in srgb, #201E1D 18%, transparent);
  /* #FF9430 is ~2.2:1 on this ground — an accent for fills, never text
     (DESIGN.md). Text takes the darkened variant, as the page's eyebrows do. */
  --accent: #FF9430;
  --accent-text: #B35A00;
  --font: "Archivo", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  padding:
    calc(24px + env(safe-area-inset-top, 0px))
    calc(16px + env(safe-area-inset-right, 0px))
    calc(48px + env(safe-area-inset-bottom, 0px))
    calc(16px + env(safe-area-inset-left, 0px));
}
main { max-width: 40rem; margin: 0 auto; }

header a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 21px;
  letter-spacing: -0.02em;
}
header img { width: 24px; height: 24px; }

.eyebrow {
  margin: 40px 0 10px;
  font: 400 12.5px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
h1 {
  margin: 0 0 12px;
  font-weight: 800; font-size: 36px; line-height: 0.95; letter-spacing: -0.035em;
}
h2 {
  margin: 36px 0 8px; padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em;
}
p, li { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
strong { font-weight: 600; }
.lede { color: var(--text-2); font-size: 19px; line-height: 1.35; margin-bottom: 28px; }
a { color: var(--accent-text); text-underline-offset: 2px; }

/* Inline links sit in prose, where a 44px box would break the line; their
   tap target is the line itself. The stand-alone ones get the full floor. */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 14px 24px;
  background: var(--accent); color: var(--text);
  font-weight: 700; font-size: 17px; text-decoration: none;
}

footer {
  margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule);
  font: 400 11px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
footer a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 14px; color: var(--muted); }

@media (min-width: 40rem) {
  body { padding-left: 32px; padding-right: 32px; }
  h1 { font-size: 48px; }
  .button { padding: 18px 30px; font-size: 19px; }
}
