@font-face {
  font-family: Figtree;
  src: url('assets/figtree-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url('assets/figtree-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #21192c;
  --background-lifted: #322148;
  --surface: #30243e;
  --surface-hover: #3e2e52;
  --border: #514064;
  --text: #fbf9ff;
  --muted: #e2d2fb;
  --focus: #c4a9f5;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--background-lifted), var(--background) 72%);
  color: var(--text);
  font-family: Figtree, system-ui, sans-serif;
}

.channel {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
  padding-block: clamp(20px, 5vw, 70px) 30px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  padding: clamp(20px, 4.5vw, 45px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: clamp(22px, 4vw, 34px);
  background: radial-gradient(ellipse at 76% 54%, #634394, transparent 61%),
    linear-gradient(110deg, var(--background), var(--background-lifted));
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-block-end: clamp(16px, 3vw, 26px);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5.15vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 span { color: var(--muted); }

.hero-art {
  position: relative;
  isolation: isolate;
}

.hero-art::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 9% 3% 9% 6%;
  border-radius: 50% 42% 46% 48%;
  background: radial-gradient(ellipse at 45% 38%, #c4a9f5, #865dc4 90%);
  transform: rotate(-8deg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 14px rgb(28 14 42 / 28%));
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.links a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 80px;
  height: 100%;
  padding: 12px 48px 12px clamp(14px, 3vw, 22px);
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.links a::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: 22px;
  width: 9px;
  height: 9px;
  border: solid var(--focus);
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.links strong { font-size: clamp(1rem, 2.35vw, 1.18rem); }

.links span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.links a:hover { background: var(--surface-hover); }

.links a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .hero {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    gap: 7px;
    padding: 19px 14px 20px 19px;
  }

  .hero-art { margin-inline: -3px -5px; }

  .brand { margin-block-end: 14px; }

  .brand img { width: 34px; height: 34px; border-radius: 10px; }

  .links { grid-template-columns: 1fr; gap: 9px; margin-block-start: 12px; }

  .links a { min-height: 66px; }
}

@media (max-width: 360px) {
  .channel { width: calc(100% - 24px); }
  .hero { padding-inline-start: 14px; }
  h1 { font-size: 1.45rem; }
}
