/* Chompy brand tokens, matching chompy.com. This site is published on its
   own address, so it carries its own copy of the fonts in assets/fonts. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f7f5ef;
  --surface: #eaf0e8;
  --text: #003649;
  --muted: #53686c;
  --border: rgba(0, 54, 73, 0.18);
  --teal: #37bfc2;
  --display: Georgia, "Times New Roman", serif;
  font-family:
    "Figtree",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--page);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 6px;
}
.sprite {
  position: absolute;
}
button {
  font: inherit;
  cursor: pointer;
}
.page {
  max-width: 1120px;
  min-height: 100svh;
  margin: auto;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-header svg {
  width: auto;
  height: 46px;
}
.download-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 76px;
  align-items: center;
  padding: 60px 0 96px;
}
h1 {
  font-family: var(--display);
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  max-width: 560px;
  text-wrap: balance;
}
.intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 24px 0 30px;
  max-width: 390px;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 0 0 28px;
}
.store-badge {
  display: inline-flex;
  border-radius: 10px;
  flex-shrink: 0;
}
.store-badge img {
  display: block;
  width: 180px;
  height: 60px;
}
.coming-soon {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.play-badge {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 10px;
}
.play-badge img {
  display: block;
  width: auto;
  height: 60px;
}
.browser-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  text-decoration-color: var(--teal);
}
.getting-started {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding-top: 24px;
  max-width: 400px;
}
h2 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.getting-started p,
.scan-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.scan-card {
  background: var(--surface);
  border: 0;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}
.qr-frame {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin: 0 auto 24px;
  width: fit-content;
}
.qr-frame img {
  display: block;
  width: 184px;
  height: 184px;
}
.short-url {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1.5px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.poster-page {
  max-width: 800px;
  margin: auto;
  padding: 24px;
}
.print-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.print-actions a {
  padding: 12px 0;
}
.print-actions button {
  background: var(--text);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
}
.poster {
  text-align: center;
  padding: 64px 28px;
}
.poster h1,
.poster .intro {
  margin-left: auto;
  margin-right: auto;
}
.poster-mark {
  display: block;
  width: auto;
  height: 120px;
  margin: 0 auto 28px;
}
.poster-qr {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 36px auto 24px;
}
.poster h2 {
  font-size: 22px;
}
.poster-url {
  font-size: 22px;
  overflow-wrap: anywhere;
}
.poster-help {
  max-width: 350px;
  margin: 32px auto 0;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 800px) {
  .page {
    max-width: 600px;
    padding: 0 28px;
  }
  .site-header {
    padding: 28px 0;
  }
  .download-layout {
    display: block;
    padding: 48px 0 64px;
  }
  .scan-card {
    display: none;
  }
  .intro {
    font-size: 18px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 380px) {
  .page {
    padding: 0 22px;
  }
  .download-layout {
    padding-top: 32px;
  }
  .store-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .poster {
    padding: 48px 0;
  }
}
@media print {
  @page {
    margin: 15mm;
  }
  .print-actions {
    display: none;
  }
  .poster-page {
    padding: 0;
  }
  .poster {
    padding: 20mm 0;
    break-inside: avoid;
  }
  .poster-url {
    text-decoration: none;
  }
}
.site-footer a,
.site-footer a:hover {
  text-decoration: none;
}
.site-footer a:hover {
  color: #137a5c;
}
