/* Golfje: het merkverloop van oranje naar roze, Nunito voor het woordmerk, en volgt licht en donker van de Mac. */
@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --orange: #ff801f;
  --pink: #ff3385;
  --gradient: linear-gradient(135deg, var(--orange), var(--pink));
  --text: #1a1a1a;
  --muted: #6b6b72;
  --card: rgba(255, 255, 255, 0.75);
  --line: rgba(0, 0, 0, 0.08);
  --background: #fbf8f7;
  --rounded: "Nunito", ui-rounded, -apple-system, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a8;
    --card: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.1);
    --background: #141216;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(60rem 30rem at 10% -10%, rgba(255, 128, 31, 0.16), transparent 70%),
    radial-gradient(60rem 30rem at 90% -5%, rgba(255, 51, 133, 0.16), transparent 70%),
    var(--background);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 2rem;
  flex: 1;
  text-align: center;
}

/* Het woordmerk met het teken erachter: een stip met twee golven. */
.wordmark {
  font-family: var(--rounded);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
}
.signal {
  width: 0.5em;
  height: 0.62em;
  background: var(--gradient);
  -webkit-mask: url("/assets/signaal.svg") center / contain no-repeat;
  mask: url("/assets/signaal.svg") center / contain no-repeat;
}

/* Bovenaan: icoon en woordmerk naast elkaar. */
.brand { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.brand img { width: 72px; height: 72px; filter: drop-shadow(0 12px 22px rgba(255, 51, 133, 0.35)); }
.brand .wordmark { font-size: clamp(2.6rem, 7vw, 3.6rem); }

.home h1 {
  font-family: var(--rounded);
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 2.2rem 0 0;
}
.home h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* De FM-schaal: streepjes van 88 tot 108 MHz, en een naald die rustig zoekt naar een zender. */
.dial {
  position: relative;
  height: 96px;
  margin: 3rem auto 2.4rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
/* De streepjes verdelen zich vanzelf over de breedte (geen style-attributen: die blokkeert de CSP). */
.scale {
  position: absolute;
  inset: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 22px;
}
.scale i {
  position: relative;
  width: 1.5px;
  height: 9px;
  background: var(--muted);
  opacity: 0.3;
}
.scale i.mid { height: 16px; opacity: 0.55; }
.scale i.big { height: 28px; opacity: 0.9; }
.scale i b {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font: 700 0.78rem var(--rounded);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dial .band, .dial .unit {
  position: absolute;
  bottom: 8px;
  font: 800 0.7rem var(--rounded);
  color: var(--muted);
  letter-spacing: 0.08em;
}
.dial .band { left: 14px; }
.dial .unit { right: 14px; }
.needle {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient);
  box-shadow: 0 0 14px rgba(255, 51, 133, 0.7);
  left: 12%;
  animation: tune 9s ease-in-out infinite alternate;
}
@keyframes tune {
  0% { left: 12%; }
  22% { left: 31%; }
  40% { left: 29%; }
  62% { left: 63%; }
  80% { left: 58%; }
  100% { left: 86%; }
}
/* Op een smal scherm alleen de even frequenties om de vier. */
@media (max-width: 34rem) {
  .scale i.big:nth-child(8n + 6) b { display: none; }
  .home h1 br { display: none; }
}

.facts {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  font-weight: 600;
}
.facts li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  margin-right: 0.5rem;
  vertical-align: 2px;
}

.download {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font: 800 1.05rem var(--rounded);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 51, 133, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.download:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 51, 133, 0.42); }
.download:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
/* Tot de eerste release: zelfde knop, maar niet klikbaar en wat rustiger. */
.download.soon, .download.soon:hover { cursor: default; opacity: 0.8; transform: none; box-shadow: 0 10px 24px rgba(255, 51, 133, 0.2); }

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

/* Het persoonlijke stukje, met het koffieknopje. */
.note { margin-top: 4rem; color: var(--muted); }
.note p { margin: 0 0 1rem; }
.coffee {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.coffee:hover { transform: translateY(-1px); border-color: var(--pink); }
.coffee:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 2.5rem 1rem 2rem;
}

/* De 404-pagina: groot icoon, woordmerk en één zin. */
.icon { display: block; margin: 0 auto; width: 96px; height: 96px; filter: drop-shadow(0 16px 28px rgba(255, 51, 133, 0.35)); }
.hero .wordmark { font-size: clamp(3rem, 9vw, 4.5rem); margin: 1.5rem 0 0.75rem; }
.tagline { font-size: 1.25rem; color: var(--muted); margin: 0 0 2rem; }

@media (prefers-reduced-motion: reduce) {
  .needle { animation: none; left: 41%; }
  .download, .coffee { transition: none; }
}
