/* The landing page. Colors and type match the player. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  --bg: #07080c; --surface: #10121a; --line: #242936;
  --text: #f6f7f9; --text-2: #b3b9c8; --text-3: #7f879b;
  --accent: #e5242e; --accent-hover: #f23540;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: radial-gradient(70rem 36rem at 50% -8rem, #2a0f17 0, rgba(7,8,12,0) 70%), var(--bg); color: var(--text); font: 400 1rem/1.6 "Inter", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); font-weight: 700; letter-spacing: -.035em; }
h2 { margin-bottom: 1.5rem; font-size: clamp(1.5rem, 3.5vw, 2rem); text-align: center; }
h3 { margin-bottom: .4rem; font-size: 1.05rem; font-weight: 600; }
a { color: var(--text-2); }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { width: 100%; max-width: 70rem; margin-right: auto; margin-left: auto; padding-right: 1.25rem; padding-left: 1.25rem; }
main section { margin-bottom: 4.5rem; }

.bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.actions { display: flex; gap: .6rem; align-items: center; }
.icon-link { display: inline-flex; gap: .5rem; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .85rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.icon-link:hover { background: var(--line); }
.icon-link svg { flex: none; width: 1.35rem; height: 1.35rem; }
.coffee svg { color: #ffd54a; }
.android svg { color: #3ddc84; }
.logo { width: auto; height: 2.5rem; }

.button { display: inline-block; padding: .85rem 1.6rem; border-radius: .65rem; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--accent-hover); color: #fff; }
.button.small { padding: .55rem 1rem; font-size: .9rem; }

.hero { padding-top: 2.5rem; text-align: center; }
.lead { max-width: 38rem; margin: 1.1rem auto 1.8rem; font-size: 1.15rem; color: var(--text-2); }
.note { max-width: 34rem; margin: 1rem auto 2.8rem; font-size: .88rem; color: var(--text-3); }
.shot { width: 100%; border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,.6); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; list-style: none; }
.features li, .card { padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface); }
.features p { font-size: .94rem; color: var(--text-2); }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.25rem; margin-bottom: 0 !important; }
figcaption { margin-top: .6rem; font-size: .9rem; font-weight: 500; color: var(--text-2); text-align: center; }
.fine { margin-top: .8rem; margin-bottom: 4.5rem; font-size: .8rem; color: var(--text-3); text-align: center; }

.card { max-width: 46rem; margin: 0 auto; color: var(--text-2); }
.card p + p { margin-top: .9rem; }
.card strong { color: var(--text); font-weight: 600; }
code { font-size: .92em; }
.again { margin-top: 1.8rem; text-align: center; }
.choices .button { margin: 0 .35rem .7rem; }
.get { text-align: center; }
.facts { margin: .9rem 0 1.3rem; font-size: .88rem; color: var(--text-3); text-align: center; }
.card ol { margin: 0 0 1.1rem 1.2rem; }
.card li + li { margin-top: .5rem; }
.checksum { margin-top: .9rem; font-size: .76rem; color: var(--text-3); overflow-wrap: anywhere; }
.support { text-align: center; }
.support p { max-width: 32rem; margin: 0 auto 1.4rem; color: var(--text-2); }
.button.quiet { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.button.quiet:hover { background: var(--line); }

footer { padding-top: 1.8rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-3); text-align: center; }
footer a { display: inline-block; margin: .5rem .7rem 0; }
.credit { max-width: 40rem; margin: 1.2rem auto 0; font-size: .72rem; }

/* Icons alone where there is no room for their names. */
@media (max-width: 48rem) {
  .icon-link { width: 2.5rem; padding: 0; }
  .icon-link span { display: none; }
}

@media (max-width: 30rem) {
  .logo { height: 1.7rem; }
  .actions { gap: .4rem; }
  .bar .button { padding: .5rem .6rem; font-size: .78rem; }
}
