:root {
  --bg: #ffffff;
  --surface: #f8f8fb;
  --text: #1a1a2e;
  --text-soft: #6e6e82;
  --text-muted: #adadbd;
  --line: #f0f0f5;
  --purple: #6c5ce7;
  --purple-soft: #e8e4ff;
  --orange: #ff8c42;
  --orange-soft: #fff3eb;
  --pink: #ff6b8a;
  --pink-soft: #ffedf1;
  --green: #2ed8a3;
  --green-soft: #e8fbf4;
  --blue: #5b9bff;
  --blue-soft: #ebf2ff;
  --shadow: 0 22px 60px rgba(108, 92, 231, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 140, 66, 0.10), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(108, 92, 231, 0.12), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px 16px 12px 18px;
  background: linear-gradient(135deg, var(--orange), #ff6b3a);
  box-shadow: 0 10px 22px rgba(255, 140, 66, 0.26);
}

.nav {
  gap: 18px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--purple);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 680px;
  padding: 56px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Nunito, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 900;
}

.lead {
  max-width: 600px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ff6b3a);
  color: #ffffff;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(255, 140, 66, 0.26);
}

.button.secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(26, 26, 46, 0.06);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 248, 251, 0.95)),
    radial-gradient(circle at 25% 20%, rgba(46, 216, 163, 0.18), transparent 32%),
    radial-gradient(circle at 78% 76%, rgba(108, 92, 231, 0.16), transparent 30%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.character {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 42% 58% 54% 46% / 44% 42% 58% 56%;
  background: linear-gradient(135deg, #ff9a4f, #ff6b3a);
  box-shadow:
    inset 16px 18px 34px rgba(255, 255, 255, 0.18),
    0 32px 60px rgba(255, 107, 58, 0.32);
  animation: float 4s ease-in-out infinite;
}

.face {
  position: absolute;
  inset: 0;
}

.eye {
  position: absolute;
  top: 78px;
  width: 18px;
  height: 24px;
  border-radius: 999px;
  background: #2d2d3a;
}

.eye-left {
  left: 67px;
}

.eye-right {
  right: 67px;
}

.smile {
  position: absolute;
  left: 72px;
  top: 120px;
  width: 66px;
  height: 30px;
  border-bottom: 8px solid #2d2d3a;
  border-radius: 0 0 80px 80px;
}

.orb,
.sparkle {
  position: absolute;
}

.orb {
  border-radius: 999px;
  opacity: 0.82;
}

.orb-purple {
  right: 70px;
  top: 70px;
  width: 84px;
  height: 84px;
  background: var(--purple-soft);
}

.orb-green {
  left: 64px;
  bottom: 74px;
  width: 68px;
  height: 68px;
  background: var(--green-soft);
}

.sparkle {
  color: var(--purple);
  font-family: Nunito, sans-serif;
  font-size: 42px;
  font-weight: 900;
}

.sparkle-one {
  left: 88px;
  top: 90px;
}

.sparkle-two {
  right: 104px;
  bottom: 96px;
  color: var(--orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 110px;
}

.stats article,
.feature-card,
.support-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(26, 26, 46, 0.05);
}

.stats article {
  padding: 26px;
  border-radius: 28px;
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-family: Nunito, sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.stats span {
  color: var(--text-soft);
  font-weight: 700;
}

.section {
  padding-bottom: 106px;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.support-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 30px;
}

.feature-card p {
  color: var(--text-soft);
  line-height: 1.65;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 18px;
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.orange .icon { color: var(--orange); background: var(--orange-soft); }
.pink .icon { color: var(--pink); background: var(--pink-soft); }
.purple .icon { color: var(--purple); background: var(--purple-soft); }
.green .icon { color: var(--green); background: var(--green-soft); }
.blue .icon { color: var(--blue); background: var(--blue-soft); }
.dark .icon { color: #ffffff; background: #1a1a2e; }

.support-card {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  padding: 36px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.09), rgba(255, 140, 66, 0.08)),
    #ffffff;
}

.support-card h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
}

.email {
  flex: 0 0 auto;
  padding: 16px 20px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--purple);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(108, 92, 231, 0.11);
}

.footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer a:hover,
.legal-card a {
  color: var(--purple);
}

.legal-page {
  max-width: 920px;
}

.legal-hero {
  padding: 76px 0 24px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 68px);
}

.updated {
  color: var(--text-muted);
  font-weight: 700;
}

.legal-card {
  margin: 20px 0 64px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(26, 26, 46, 0.05);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 22px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@media (max-width: 860px) {
  .header {
    width: min(100% - 28px, 1120px);
  }

  main,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .hero-art {
    min-height: 360px;
    order: -1;
  }

  .character {
    width: 170px;
    height: 170px;
  }

  .eye {
    top: 62px;
  }

  .eye-left {
    left: 54px;
  }

  .eye-right {
    right: 54px;
  }

  .smile {
    left: 58px;
    top: 96px;
    width: 54px;
  }

  .stats,
  .feature-grid,
  .support-card {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-bottom: 78px;
  }

  .support-card {
    display: block;
  }

  .footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .email {
    display: inline-flex;
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .stats article,
  .feature-card,
  .support-card,
  .legal-card {
    border-radius: 24px;
  }

  .legal-card {
    padding: 24px;
  }
}
