/* taperule.app: TapeRule's brand (tape yellow, ink navy, paper; Young Serif headings, Figtree text). */
@font-face { font-family: 'Young Serif'; src: url('YoungSerif-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('Figtree-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('Figtree-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --tape: #F4C21B;
  --tape-ink: #2A2100;
  --ink: #1B2233;
  --paper: #FAFAF7;
  --sheet: #FFFFFF;
  --muted: #5B6476;
  --rule: #DCE3EC;
  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted); }

/* The tape strip from the app: ticks every 12px, longer every 5th and 10th. */
.tape {
  height: 28px;
  background-color: var(--tape);
  background-image:
    repeating-linear-gradient(90deg, rgba(42,33,0,.85) 0 1.5px, transparent 1.5px 120px),
    repeating-linear-gradient(90deg, rgba(42,33,0,.6) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(42,33,0,.38) 0 1px, transparent 1px 12px);
  background-size: 100% 16px, 100% 11px, 100% 7px;
  background-repeat: repeat-x;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
header.site img { height: 34px; width: auto; display: block; }
header.site nav a { font-weight: 600; text-decoration: none; margin-left: 18px; font-size: 15px; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(36px, 8vw, 56px); margin: 36px 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 26px; margin: 40px 0 10px; }
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 6px; }
p, li { max-width: 62ch; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }

.points { display: grid; gap: 14px; margin: 32px 0; padding: 0; list-style: none; }
.points li { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; max-width: none; }
.points strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 2px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 170px; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: var(--paper); }
.store small { font-size: 12px; opacity: .75; }
.store span { font-weight: 600; font-size: 17px; }

.doc { padding-bottom: 32px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 600; }
.updated { font-size: 14px; color: var(--muted); }
ol.steps li { margin: 6px 0; }

footer.site { border-top: 1px solid var(--rule); margin-top: 48px; padding: 22px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 16px; }
