:root {
  --bg-top: #7b5cff;
  --bg: #5b3fe6;
  --bg-deep: #24108a;
  --ink: #3a22b8;
  --ink-soft: #7c6fb0;
  --surface: #ffffff;
  --sunken: #f4f1ff;
  --divider: #ece7ff;
  --gold: #ffd43b;
  --gold-top: #ffe36b;
  --gold-edge: #d99a00;
  --orange: #ff8a1f;
  --green: #22c46a;
  --blue: #1e9bff;
  --pink: #ff4d94;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 34px, transparent 34px 100px),
    repeating-linear-gradient(90deg, rgba(42, 19, 168, 0.07) 0 34px, transparent 34px 90px),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 55%, #4a2fd9 100%);
  background-attachment: fixed;
  line-height: 1.55;
}

a { color: var(--blue); }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px 56px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 22px; }
.brand-tiles { display: flex; gap: 3px; }
.brand-tiles span {
  width: 22px; height: 22px; border-radius: 6px; background: #fff;
  display: grid; place-items: center; font-size: 13px; line-height: 1;
}

/* hero */
.hero { text-align: center; padding: 28px 0 8px; color: #fff; }
.logo { display: flex; justify-content: center; gap: 8px; margin-bottom: 6px; }
.logo span {
  width: 58px; height: 58px; border-radius: 17px; background: #fff;
  display: grid; place-items: center;
  font: 700 32px 'Fredoka', sans-serif;
  box-shadow: 0 5px 0 var(--edge), 0 12px 20px rgba(20, 6, 106, 0.3);
}
.logo span:nth-child(1) { color: var(--orange); --edge: #d9650a; transform: rotate(-5deg); }
.logo span:nth-child(2) { color: var(--green); --edge: #139650; transform: rotate(3deg); }
.logo span:nth-child(3) { color: var(--blue); --edge: #0c6fd1; transform: rotate(-2deg); }
.logo span:nth-child(4) { color: var(--pink); --edge: #d42a70; transform: rotate(4deg); }
.wordmark {
  font: 700 54px/1.1 'Fredoka', sans-serif; color: var(--gold); margin: 6px 0 4px;
  text-shadow: 0 5px 0 #2a13a8;
}
.tagline { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin: 0 auto; max-width: 460px; }
.mascots { display: block; width: min(320px, 80%); margin: 22px auto 0; }

/* cards */
.card {
  background: var(--surface); border-radius: 24px; padding: 24px;
  box-shadow: 0 6px 0 #2a13a8, 0 18px 30px rgba(20, 6, 106, 0.25);
  margin-top: 22px;
}
h1, h2, h3 { font-family: 'Fredoka', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: 32px; margin: 0 0 6px; color: #fff; text-shadow: 0 4px 0 var(--bg-deep); }
.page-head { padding: 22px 0 4px; }
.page-head p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.card h2 { font-size: 22px; margin: 0 0 10px; }
.card h3 { font-size: 18px; margin: 22px 0 6px; }
.card p, .card li { color: #3d3270; font-size: 15.5px; }
.card ul { padding-left: 20px; margin: 8px 0; }
.card li { margin: 4px 0; }
.muted { color: var(--ink-soft) !important; font-size: 14px !important; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 4px; }
.feature { background: var(--sunken); border-radius: 18px; padding: 16px; }
.feature b { display: block; font-family: 'Fredoka', sans-serif; font-size: 17px; margin-bottom: 2px; color: var(--ink); }
.feature span { font-size: 14px; color: var(--ink-soft); }

details { border-bottom: 1px solid var(--divider); padding: 12px 0; }
details:last-of-type { border-bottom: 0; }
summary { cursor: pointer; font-family: 'Fredoka', sans-serif; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--ink-soft); }
details[open] summary::after { content: '–'; }
details p { margin: 8px 0 0; }

.contact {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  padding: 14px 22px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(180deg, var(--gold-top), #ffc81f);
  box-shadow: 0 5px 0 var(--gold-edge);
  font: 700 18px 'Fredoka', sans-serif; color: var(--ink); word-break: break-all;
}

.foot { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 13px; margin-top: 28px; }
.foot a { color: rgba(255, 255, 255, 0.85); }


@media (max-width: 480px) {
  .logo span { width: 50px; height: 50px; font-size: 28px; border-radius: 15px; }
  .wordmark { font-size: 46px; }
  .card { padding: 20px 18px; }
  h1 { font-size: 28px; }
}
