@font-face { font-family: Fredoka; src: url(Fredoka-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Instrument; src: url(InstrumentSans-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Instrument; src: url(InstrumentSans-SemiBold.ttf); font-weight: 600; font-display: swap; }

:root {
  --sea: #BFCCCC;       /* the map's sea */
  --sea-deep: #A9BABA;
  --paper: #FBF6E3;
  --ink: #1E2A36;
  --ink2: #3E4A55;
  --lamp: #FFD98A;      /* focus only */
  --edge: #E3D6B6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 Instrument, -apple-system, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: Fredoka, system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: 0; }

/* home: the launch screen, carried on */
.home { background: var(--sea); }
.hero > div { width: 100%; max-width: 40em; }
.hero { min-height: 88vh; display: grid; place-items: center; text-align: center; padding: 48px 16px 24px; }
.hero img { width: min(300px, 64vw); height: auto; }
.hero h1 { font-size: clamp(44px, 9vw, 64px); margin: 18px 0 2px; }
.hero .line { font-weight: 600; font-size: clamp(19px, 3.6vw, 22px); color: var(--ink2); margin: 0; }
.hero .what { max-width: 34em; margin: 28px auto 0; color: var(--ink2); }
.hero .store { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--ink); background: var(--paper); border-radius: 999px; padding: 10px 20px; }
.shots { display: flex; gap: 18px; justify-content: center; padding: 8px 16px 64px; flex-wrap: wrap; }
.shots figure { margin: 0; width: min(240px, 80vw); }
.shots img { width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: 0 12px 30px rgba(30, 42, 54, .18); }

/* reading pages */
.page { max-width: 40em; margin: 0 auto; padding: 40px 20px 64px; }
.page .back img { width: 72px; height: auto; display: block; }
.page h1 { font-size: 40px; margin: 18px 0 6px; }
.page h2 { font-size: 23px; margin: 36px 0 6px; }
.page .meta { color: var(--ink2); margin: 0 0 8px; }
.page li { margin: 4px 0; }

footer { text-align: center; padding: 28px 16px 40px; font-size: 15px; color: var(--ink2); }
.home footer { background: var(--sea-deep); }
footer a { margin: 0 10px; }
