/* Solve Sprint web: Cover Story tokens and fonts, same values as the app (src/theme/variables.scss, fonts.scss).
   Fonts are self-hosted in /fonts, SIL Open Font License, licence files alongside. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/archivo-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/newsreader-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/newsreader-italic-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ss-ink: #17161A;
  --ss-card: #FFFDF8;
  --ss-teal: #00796B;
  --ss-gold: #F2B632;
  --ss-abs: #E8E3D8;
  --ss-abs-text: #67635B;
  --ss-mute: #6C6860;
  --ss-line: #CFC9BA;
  /* Page field color, set per page (day color table in the app's day-theme.ts) */
  --ss-day: #D0422A;
  --ss-day-fg: #FFFFFF;
  --ss-serif: 'Newsreader', Georgia, serif;
  --ss-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--ss-sans);
  background: var(--ss-day);
  color: var(--ss-day-fg);
  line-height: 1.5;
  min-height: 100vh;
}

.page { max-width: 440px; margin: 0 auto; padding: 0 0 2rem; }

.bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px; }
.logo { font-family: var(--ss-serif); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.meta { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: right; line-height: 1.3; }

.art { display: block; width: 100%; height: clamp(64px, 15vh, 128px); color: var(--ss-day-fg); }
.art svg { width: 100%; height: 100%; display: block; }
.art .ink { stroke: var(--ss-ink); }
.art .face { fill: var(--ss-card); }
.art .sym { fill: currentColor; stroke: none; font-family: var(--ss-serif); font-weight: 800; }

.sheet { margin: 0 12px 12px; padding: 16px 16px 18px; background: var(--ss-card); border: 1.5px solid var(--ss-ink); color: var(--ss-ink); }
.kicker { font-family: var(--ss-serif); font-style: italic; font-weight: 500; font-size: 15px; color: var(--ss-mute); }
.headline { font-family: var(--ss-serif); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.015em; margin: 2px 0 14px; }

.btn {
  display: block; width: 100%; margin-top: 8px; padding: 14px;
  border: 1.5px solid var(--ss-ink); background: var(--ss-card); color: var(--ss-ink);
  font: 800 12px var(--ss-sans); letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn.primary { background: var(--ss-ink); color: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .key:focus-visible { outline: 3px solid var(--ss-gold); outline-offset: 2px; }

.foot { margin: 0 12px; text-align: center; font-size: 12px; color: var(--ss-day-fg); }
.foot a { color: var(--ss-day-fg); }

/* Tiles: teal = right spot, gold with a notched corner = elsewhere, pale = not used */
.notch { clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
