/* Outfit, self-hosted. SIL Open Font License 1.1, see fonts/OFL.txt.
   Variable font: one file covers every weight we use. Self-hosted rather
   than pulled from Google's CDN so visiting this page does not hand a
   third party the reader's IP address. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin.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: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --bg: #0a0f1f;
  --bg-2: #10182e;
  --surface: #151e36;
  --line: #26314f;
  --text: #eaf0fb;
  --muted: #98a6c4;
  --accent: #5b6ef5;
  --accent-soft: #8e9cff;
  --warn: #f0836f;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --badge-h: 52px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

a { color: var(--accent-soft); }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(90ch 60ch at 50% -20%, #23306a 0%, rgba(35, 48, 106, 0) 62%),
    linear-gradient(180deg, #0d1428 0%, var(--bg) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.mark img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: block;
}
.mark span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  max-width: 18ch;
  text-wrap: balance;
}

.lede {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  text-wrap: pretty;
}
.lede strong { color: var(--text); font-weight: 500; }

/* ---------- store badges ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.6rem;
}
.stores a {
  display: inline-flex;
  border-radius: 10px;
  outline-offset: 4px;
}
.stores img { display: block; }

/* Apple's SVG is edge-to-edge. Google's PNG carries 41px of transparent
   padding around a 564x168 badge, so scale it up and pull the padding
   back in to land on the same optical height. */
.badge-apple { height: var(--badge-h); width: auto; }
.badge-play {
  height: calc(var(--badge-h) * 250 / 168);
  width: auto;
  margin: calc(var(--badge-h) * -41 / 168);
}

.fineprint {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- shelf ---------- */

.shelf-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }

.shelf {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.5rem 1.5rem;
  margin: 0 auto;
  max-width: calc(var(--wrap) + 3rem);
  scrollbar-color: var(--line) transparent;
}
.shelf::-webkit-scrollbar { height: 8px; }
.shelf::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}
.shelf::-webkit-scrollbar-track { background: transparent; }

.shelf img {
  flex: 0 0 auto;
  width: 236px;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  border: 1px solid var(--line);
  scroll-snap-align: center;
  background: var(--surface);
}

.shelf-hint {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- bands ---------- */

section.band { padding: clamp(3rem, 7vw, 5rem) 0; }
section.band.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 0.6rem;
}
.band > .wrap > p.sub {
  color: var(--muted);
  margin: 0 0 2.2rem;
  max-width: 54ch;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}
.card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.card h3 .ico {
  font-size: 1.15rem;
  line-height: 1;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- honest ---------- */

.honest {
  display: grid;
  gap: 0.9rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.honest li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
}
.honest li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.honest li strong {
  color: var(--text);
  font-weight: 600;
  display: block;
}

/* ---------- disclaimer ---------- */

.notice {
  border: 1px solid #4a2b2b;
  background: #1d1420;
  border-left: 3px solid var(--warn);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
}
.notice h2 {
  font-size: 1.15rem;
  color: var(--warn);
  margin-bottom: 0.5rem;
}
.notice p {
  margin: 0 0 0.75rem;
  color: #d7c8cc;
  font-size: 0.96rem;
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.foot-row .sep { color: var(--line); }
footer p { margin: 0; max-width: 70ch; }
footer .credit { margin-top: 0.8rem; font-size: 0.88rem; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shelf img { width: 205px; }
  :root { --badge-h: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
