:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #faf8f9;
  background: #0d0c0e;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 7vh, 64px) clamp(18px, 6vw, 32px);
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 56%, transparent 10%, #0d0c0ea8 83%),
    linear-gradient(143deg, transparent 25%, #6d091a55 42%, #99202170 50%, transparent 67%);
  background-size: 100% 100%, 145% 145%;
  background-position: center;
}

main { width: min(100%, 464px); }
.icon-defs { position: absolute; width: 0; height: 0; }
.brand { margin: 0 0 clamp(16px, 4vw, 26px); }
.brand img { display: block; width: 100%; height: auto; }
nav { display: grid; gap: 10px; }

.action {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: clamp(10px, 4vw, 17px);
  min-height: 58px;
  padding: 10px clamp(12px, 4.5vw, 19px);
  border: 1px solid #4f474a;
  border-radius: 9px;
  background: linear-gradient(110deg, #191619, #101012);
  color: inherit;
  text-decoration: none;
  font-size: clamp(.95rem, 3.8vw, 1.12rem);
  font-weight: 750;
  box-shadow: 0 5px 16px #0005;
  transition: border-color .2s, background-color .2s;
}

.action:hover { border-color: #fb5360; }
.action:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.primary {
  border-color: #f65b60;
  background: linear-gradient(120deg, #c60e20, #a40919);
  box-shadow: 0 7px 23px #7d001d55;
}
.primary:hover { background: linear-gradient(120deg, #dc1729, #ba1021); }

.icon, .arrow {
  width: 100%;
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon { color: #ff5161; }
.primary .icon { color: inherit; }
.arrow { opacity: .82; }

@media (prefers-reduced-motion: no-preference) {
  body::before { animation: light-shift 18s ease-in-out infinite alternate; }
  .brand, .action { animation: enter .65s ease-out both; }
  .action:nth-child(1) { animation-delay: .12s; }
  .action:nth-child(2) { animation-delay: .20s; }
  .action:nth-child(3) { animation-delay: .28s; }
  .action:nth-child(4) { animation-delay: .36s; }
  .action:nth-child(5) { animation-delay: .44s; }
}

@keyframes light-shift {
  from { background-position: center, 38% 46%; }
  to { background-position: center, 62% 54%; }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
