/* Find The Monkey's landing page (src/landing.ts). Colours match the app and partners.wibbis.com/findthemonkey. */
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(fonts/Figtree_400Regular.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(fonts/Figtree_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 800; font-display: swap; src: url(fonts/Figtree_800ExtraBold.ttf) format('truetype'); }
@font-face { font-family: Figtree; font-weight: 900; font-display: swap; src: url(fonts/Figtree_900Black.ttf) format('truetype'); }

:root {
  --background: #FFFFFF; --text: #1C1A24; --muted: #5F5A6E; --highlight: #F2B705;
  --button: #FFD60A; --button-text: #1C1A24;
}
@media (prefers-color-scheme: dark) {
  :root { --background: #000000; --text: #FFFFFF; --muted: #9DA1AD; --highlight: #FFD60A; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 17px/1.45 Figtree, system-ui, -apple-system, sans-serif;
}
main {
  max-width: 440px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
a { color: inherit; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.brand img { border-radius: 22%; }
.wordmark { margin: 0; font-weight: 800; letter-spacing: 0.06em; font-size: 16px; }

h1 {
  margin: 6px 0 0;
  font-weight: 900;
  font-size: clamp(36px, 10vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.highlight { color: var(--highlight); display: block; }
.lead { margin: 0 auto; max-width: 20em; font-size: 19px; }

.buttons { display: grid; gap: 12px; margin-top: 6px; }
.button {
  display: block;
  font: 800 19px/1.2 Figtree, system-ui, sans-serif;
  color: var(--button-text);
  background: var(--button);
  border: 2px solid var(--button);
  border-radius: 14px;
  padding: 15px 18px;
  text-decoration: none;
}
.button.outline { background: transparent; color: var(--text); border-color: var(--text); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

.small { margin: 0; font-size: 15px; color: var(--muted); }
.small a { color: var(--text); font-weight: 600; }
.affiliate { margin: 18px 0 0; font-weight: 800; font-size: 16px; }
.affiliate a { text-underline-offset: 3px; text-decoration-thickness: 2px; }
footer { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--muted); }
