@font-face {
  font-family: Manrope;
  src: url("manrope_variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("inter_variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  src: url("pt_serif_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  color: #f0f4f8;
  background: #0b0d12;
  --ink: #f0f4f8;
  --quiet: #c8cbd2;
  --accent: #e5cda3;
  --web-image: url("start_bg.webp");
  font: 400 15px/1.6 Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p, h1 { margin: 0; }

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 52px;
  overflow: clip;
}

.web {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.web::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 46%, #0b0d12b8 0%, #0b0d1273 36%, transparent 72%),
              linear-gradient(0deg, #0b0d12, transparent 24%, transparent 87%, #0b0d125e);
}

.web-threads {
  position: absolute;
  inset: -6%;
  background: var(--web-image) center 46% / cover no-repeat;
  filter: grayscale(.85);
  animation: web-drift 25s ease-in-out infinite alternate;
}

.web-spark {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  opacity: 0;
  background: radial-gradient(circle, #fff 0, #fff 1px, #e5eeff66 2.5px, #c3d5fa1f 5px, transparent 10px);
}

@keyframes web-drift {
  from { transform: translate3d(-1%, -.4%, 0); }
  to { transform: translate3d(1.8%, 1.4%, 0) scale(1.07); }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 60px);
  min-height: 62px;
}

.download, footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--quiet);
  text-decoration: none;
}

.download {
  position: absolute;
  top: 9px;
  right: max(clamp(18px, 4vw, 60px), calc((100% - 1320px) / 2));
  justify-content: center;
  min-width: 44px;
}

.download:hover, footer a:hover { color: var(--ink); }
footer { color: var(--quiet); font-size: 12px; }

main {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 48px;
  text-align: center;
}

.title {
  width: min(307px, 100%);
  margin-bottom: 32px;
}

.title img { display: block; width: 100%; height: auto; }

.genre {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.slogan {
  max-width: 1120px;
  font: 700 clamp(48px, 7.35vw, 76px)/1.08 "PT Serif", Georgia, serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.description {
  max-width: 704px;
  margin-top: 16px;
  color: #e1e3e9;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .25px;
  text-wrap: pretty;
}

.start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 9px 28px;
  border-radius: 28px;
  background: var(--accent);
  color: #20190f;
  font: 700 16px/1.25 "PT Serif", Georgia, serif;
  letter-spacing: .02em;
  text-decoration: none;
}

.start:hover { background: #f4e1bf; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

@media (min-width: 1200px) {
  .web { --web-image: url("start_bg_wide.webp"); }
  .web::after { content: none; }
}

@media (max-width: 600px) {
  .page { padding-top: 0; }
  main { padding: 42px 20px 16px; }
  .genre { letter-spacing: .16em; }
  .slogan { font-size: clamp(36px, 11.3vw, 61px); }
  .description { font-size: 16px; }
  .download {
    position: static;
    margin-top: 8px;
  }
  footer { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .web-threads { animation: none; }
  .web-spark { display: none; }
}
