:root {
  color-scheme: light;
  --ink: #170d2d;
  --muted: #7e6f94;
  --paper: #fff3e4;
  --paper-2: #ffe2ea;
  --surface: rgba(255, 255, 255, 0.84);
  --line: rgba(126, 111, 148, 0.2);
  --pink: #ff3f91;
  --violet: #8a58f5;
  --lime: #c7ff44;
  --gold: #ffbd43;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(720px 360px at 92% -8%, rgba(255, 63, 145, 0.18), transparent 62%),
    radial-gradient(660px 320px at 0% 8%, rgba(138, 88, 245, 0.16), transparent 58%),
    linear-gradient(180deg, var(--paper), #fff8f1 55%, var(--paper-2));
}

a {
  color: var(--ink);
  font-weight: 700;
}

.shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.hero,
.panel,
.tile {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(68, 39, 91, 0.08);
}

.hero {
  border-radius: 28px;
  padding: clamp(22px, 5vw, 44px);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -50px;
  top: -60px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 63, 145, 0.24), rgba(199, 255, 68, 0.26));
  filter: blur(1px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 63, 145, 0.1);
  border: 1px solid rgba(255, 63, 145, 0.22);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(42px, 9vw, 82px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}

h3 {
  margin-top: 20px;
  font-size: 18px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.lead {
  max-width: 680px;
  font-size: 19px;
  color: #514060;
}

.meta {
  margin: 12px 0 0;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.button.primary {
  color: white;
  border: 0;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.panel {
  border-radius: 22px;
  padding: 22px;
  margin-top: 16px;
}

.tile {
  border-radius: 18px;
  padding: 18px;
}

.tile strong {
  display: block;
  margin-bottom: 6px;
}

ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

code {
  border-radius: 7px;
  padding: 2px 5px;
  background: rgba(23, 13, 45, 0.08);
  color: var(--ink);
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .panel {
    border-radius: 20px;
  }
}
