:root {
  --bg-top: #ffe9f7;
  --bg-bottom: #fff1f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-border: rgba(95, 29, 94, 0.16);
  --text: #301233;
  --muted: #6f446f;
  --accent: #b02f86;
  --accent-strong: #862264;
  --shadow: 0 16px 40px rgba(89, 24, 79, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(214, 59, 167, 0.22), transparent 38%),
    radial-gradient(circle at 84% 8%, rgba(255, 143, 213, 0.24), transparent 32%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

.site-shell {
  width: min(980px, 100% - 2.25rem);
  margin: 0 auto;
  padding: 3.25rem 0 2rem;
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  animation: fade-up 460ms ease both;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 220ms;
}

.card:nth-child(4) {
  animation-delay: 320ms;
}

.hero {
  text-align: center;
  padding: 2.3rem 1.5rem;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Source Serif 4", "Iowan Old Style", serif;
  letter-spacing: 0.01em;
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin: 0.62rem 0 0;
  line-height: 1.55;
}

.lead {
  margin: 0.9rem auto 0;
  max-width: 64ch;
  font-size: 1.07rem;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.button-row {
  display: grid;
  gap: 0.7rem;
}

.easy-button-row {
  margin-top: 1rem;
  justify-items: start;
}

.magisk-button-row {
  margin-top: 1rem;
  justify-items: start;
}

.hero-buttons {
  margin-top: 1rem;
  justify-items: center;
}

.hero-buttons .button {
  width: max-content;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.08rem;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #cf418f);
  transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease;
  box-shadow: 0 8px 24px rgba(142, 34, 107, 0.32);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.button-secondary {
  background: linear-gradient(135deg, #7a2a8f, #a5368f);
}

.site-footer {
  max-width: 980px;
  width: min(980px, 100% - 2.25rem);
  margin: 0 auto;
  padding: 0 0 2.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(980px, 100% - 1.2rem);
    padding-top: 1.6rem;
  }

  .card {
    padding: 1.2rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
  }

  .lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    justify-items: start;
  }
}
