@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --ink: #1f2133;
  --ink-soft: #4e5270;
  --paper: #ffffff;
  --paper-strong: rgba(255, 255, 255, 0.9);
  --mint: #4cc9a6;
  --sun: #f6c54f;
  --coral: #ff6f5e;
  --sky: #6bb2ff;
  --pink: #ff6f8b;
  --orange: #ff8c4a;
  --purple: #6b6ae2;
  --stroke: rgba(31, 33, 51, 0.1);
  --shadow-lg: 0 22px 52px rgba(27, 37, 64, 0.16);
  --shadow-md: 0 12px 30px rgba(27, 37, 64, 0.12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  line-height: 1.58;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(120% 90% at 8% 0%, #fff7cb 0%, rgba(255, 247, 203, 0) 68%),
    radial-gradient(110% 90% at 100% 10%, #d8fff2 0%, rgba(216, 255, 242, 0) 66%),
    linear-gradient(158deg, #fffaf3 0%, #fff2e5 34%, #edf8ff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(1px);
}

body::before {
  left: -120px;
  top: 24vh;
  background: radial-gradient(circle at 35% 35%, rgba(255, 111, 94, 0.24), rgba(255, 111, 94, 0));
}

body::after {
  right: -90px;
  top: 8vh;
  background: radial-gradient(circle at 55% 45%, rgba(107, 178, 255, 0.2), rgba(107, 178, 255, 0));
}

main {
  padding: 34px 20px 68px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(76, 201, 166, 0.75);
  outline-offset: 3px;
}

.site-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.topbar {
  padding: 24px 0 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar > a,
.topbar > img {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(86px, 16vw, 128px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(31, 33, 51, 0.2);
  transform-origin: center;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.top-links a,
.footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--paper-strong);
  box-shadow: 0 8px 20px rgba(27, 37, 64, 0.08);
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.top-links a:hover,
.footer a:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 24px rgba(27, 37, 64, 0.12);
}

.hero {
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: center;
}

.tagline {
  font-size: clamp(32px, 5vw, 58px);
  margin: 10px 0 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), #ff9b68);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px rgba(255, 111, 94, 0.34);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 26px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(165deg, #ffffff, #fefdf8);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -64px auto;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(76, 201, 166, 0.26), rgba(76, 201, 166, 0));
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(27, 37, 64, 0.18);
  border-color: rgba(76, 201, 166, 0.32);
}

.card img {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  object-fit: contain;
  padding: 8px;
  background: linear-gradient(145deg, #ffffff, #f8fff6);
  box-shadow: 0 12px 26px rgba(27, 37, 64, 0.1);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral), #ff8c4a);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255, 111, 94, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button.alt {
  background: linear-gradient(135deg, #2eb3a0, #44a6ef);
  box-shadow: 0 12px 24px rgba(46, 179, 160, 0.3);
}

.button:hover,
button.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow: 0 16px 26px rgba(27, 37, 64, 0.2);
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(14, 18, 34, 0.5);
}

.consent-modal {
  max-width: 520px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  margin-top: 40px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(246, 197, 79, 0.24);
  color: #3d3520;
  font-weight: 700;
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.floaty {
  animation: floaty 3.8s ease-in-out infinite;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(1200px, calc(100% - 28px));
  }

  .topbar {
    padding-top: 18px;
  }
}

@media (max-width: 720px) {
  main {
    padding: 24px 0 54px;
  }

  .hero {
    padding: 20px;
  }

  .topbar {
    flex-direction: column;
    align-items: center;
  }

  .top-links {
    justify-content: center;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }
}
