/* Shared by every page on earworm.reviews: the fonts the apps use, served from here so no other site is asked.
   Latin subsets as WOFF2 (8 KB each, from the apps' Poppins); the home page inlines the same rules. */
@font-face { font-family: Poppins; src: url("/fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url("/fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #0b0a10;
  --raised: #17151f;
  --ink: #f5f4f7;
  --body: #dcdae3;
  --quiet: #a09dab;
  --line: #2b2836;
  --pink: #e1007a;
  --link: #ff6bab;
  --violet: #4c229b;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font: 400 17px/1.55 Poppins, ui-rounded, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }

/* Pill buttons, as in the apps. The filled one is the main action. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font: inherit; font-weight: 600; font-size: 16px; border-radius: 999px;
  padding: 11px 22px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.button.main { background: var(--pink); border-color: var(--pink); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 120ms ease, background-color 120ms ease; }
  .button:active { transform: scale(0.97); }
}
@media (hover: hover) {
  .button:hover { border-color: var(--quiet); }
  .button.main:hover { background: #f0168c; border-color: #f0168c; }
}

.site-foot { border-top: 1px solid var(--line); color: var(--quiet); font-size: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--quiet); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
[hidden] { display: none !important; }
