/* Palette and type match the game (agentland/src/styles.css). */
:root {
  --cream: #fffaea;
  --cream-2: #f6edd2;
  --cream-3: #ecdfba;
  --ink: #6b543c;
  --ink-soft: #a08a6c;
  --teal: #4fc4ad;
  --teal-dark: #36a690;
  --yellow: #f8cf4a;
  --orange: #f39a4a;
  --pink: #f59fc1;
  --leaf: #8fcf6b;
  --sea: #6fcde0;
  --pop-shadow: 0 5px 0 rgba(140, 105, 60, 0.18), 0 14px 34px rgba(60, 40, 20, 0.18);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.3, 0.7, 0.2, 1);
  --radius: 26px;
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0;
  font-weight: 900;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

code {
  font-size: 0.9em;
  background: var(--cream-2);
  padding: 1px 6px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ================= Buttons ================= */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--teal-dark), 0 12px 24px rgba(54, 166, 144, 0.3);
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--teal-dark);
}

.btn-small {
  padding: 9px 18px;
  font-size: 15px;
  box-shadow: 0 4px 0 var(--teal-dark);
}

.btn-ghost {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--cream-3), 0 12px 24px rgba(60, 40, 20, 0.12);
}

/* ================= Nav ================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 250, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--cream-2);
}

.nav-logo {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--orange);
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

/* ================= Hero ================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) 16px 40px;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.sea {
  position: absolute;
  inset: -80px;
  z-index: -1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cpath d='M0 30 Q15 22 30 30 T60 30' stroke='white' stroke-opacity='.28' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M70 52 Q80 47 90 52' stroke='white' stroke-opacity='.18' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 30%, #8adbea 0%, #66c6dc 55%, #4fb4cf 100%);
  animation: sea-drift 14s linear infinite;
}

@keyframes sea-drift {
  to {
    background-position: 120px 60px, 0 0;
  }
}

.hero-copy {
  text-align: center;
  max-width: 760px;
  display: grid;
  justify-items: center;
}

.logo {
  position: relative;
  font-weight: 900;
  font-size: clamp(60px, 12vw, 140px);
  letter-spacing: -2px;
  line-height: 1;
  -webkit-text-stroke: 12px var(--cream);
  paint-order: stroke fill;
  filter: drop-shadow(0 8px 0 rgba(140, 105, 60, 0.25));
}

.logo span {
  display: inline-block;
  animation: letter 2.4s ease-in-out infinite;
}

.logo span:nth-child(1) { color: #f2994a; animation-delay: 0s; }
.logo span:nth-child(2) { color: #5fb87a; animation-delay: 0.07s; }
.logo span:nth-child(3) { color: #5ab0d6; animation-delay: 0.14s; }
.logo span:nth-child(4) { color: #f6c14b; animation-delay: 0.21s; }
.logo span:nth-child(5) { color: #f59fc1; animation-delay: 0.28s; }
.logo span:nth-child(6) { color: #a98be0; animation-delay: 0.35s; }
.logo span:nth-child(7) { color: #f07f7f; animation-delay: 0.42s; }
.logo span:nth-child(8) { color: #4fbfae; animation-delay: 0.49s; }
.logo span:nth-child(9) { color: #e88f4d; animation-delay: 0.56s; }

@keyframes letter {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.logo-leaf {
  position: absolute;
  top: -0.25em;
  right: -0.35em;
  font-size: 0.45em;
  font-style: normal;
  -webkit-text-stroke: 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}

.tagline {
  margin: 18px 0 0;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 250, 234, 0.95);
  font-weight: 800;
  font-size: clamp(15px, 2vw, 19px);
  box-shadow: var(--pop-shadow);
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 600px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: #1f5566;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* ----- The island ----- */

.island {
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 800 / 420;
}

.island-ground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.foam {
  animation: foam 6s ease-in-out infinite;
}

@keyframes foam {
  50% {
    stroke-dashoffset: 48;
    opacity: 0.5;
  }
}

.screen-glow {
  animation: glow 1.4s ease-in-out infinite alternate;
}

@keyframes glow {
  to {
    fill: #c3f3e6;
  }
}

.flag {
  transform-box: fill-box;
  transform-origin: 0 100%;
  animation: flag 3.2s var(--ease-bounce) infinite;
}

@keyframes flag {
  0%,
  40% {
    transform: rotate(90deg);
  }
  55%,
  100% {
    transform: rotate(0);
  }
}

.isle-v {
  position: absolute;
  width: 9%;
  transform: translate(-50%, -100%);
}

.isle-v svg {
  width: 100%;
  height: auto;
}

.v-work { left: 48.5%; top: 55%; }
.v-fish { left: 92%; top: 76%; }
.v-water { left: 34%; top: 80%; }
.v-owl { left: 25%; top: 66%; }

.v-walker {
  left: 18%;
  top: 74%;
  animation: stroll 16s linear infinite;
}

@keyframes stroll {
  0% { left: 40%; top: 62%; }
  45%, 50% { left: 74%; top: 50%; }
  95%, 100% { left: 40%; top: 62%; }
}

/* Turning around is instant, like `facing` in the game, never a spin. */
.v-walker svg {
  animation: turn 16s step-end infinite;
}

@keyframes turn {
  0% { transform: none; }
  47% { transform: scaleX(-1); }
  97% { transform: none; }
}

.bubble {
  position: absolute;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  font-weight: 800;
  font-size: clamp(11px, 1.6vw, 15px);
  white-space: nowrap;
  box-shadow: var(--pop-shadow);
  transform: translate(-50%, 0);
  animation: pop-in 4s var(--ease-bounce) infinite;
}

.bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom: 0;
  border-top-color: var(--cream);
}

.bubble-work { left: 55%; top: 16%; }
.bubble-mail { left: 31%; top: 30%; animation-delay: 2s; }

@keyframes pop-in {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.7); }
  12%, 80% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -4px) scale(0.95); }
}

/* ----- Villager animation (from the game) ----- */

.villager {
  display: block;
  overflow: visible;
}

.villager g {
  transform-box: fill-box;
}

.v-bob {
  transform-box: view-box !important;
}

.pose-stand .v-bob {
  animation: breathe 2.8s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    transform: translateY(0.8px) scaleY(0.985);
  }
}

.pose-walk .v-bob {
  animation: walk-bob 0.36s ease-in-out infinite alternate;
}

@keyframes walk-bob {
  to {
    transform: translateY(-2.5px);
  }
}

.pose-walk .foot-l {
  animation: step 0.36s ease-in-out infinite alternate;
}

.pose-walk .foot-r {
  animation: step 0.36s ease-in-out infinite alternate-reverse;
}

@keyframes step {
  to {
    transform: translateY(-2px);
  }
}

.pose-work .arm-r,
.pose-work .arm-l {
  animation: type 0.3s ease-in-out infinite alternate;
}

.pose-work .arm-l {
  animation-delay: 0.15s;
}

@keyframes type {
  to {
    transform: translateY(-1.5px);
  }
}

.v-tail {
  transform-origin: 100% 100%;
  animation: wag 1.6s ease-in-out infinite;
}

@keyframes wag {
  50% {
    transform: rotate(8deg);
  }
}

.bobber {
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(1.5px);
  }
}

.drop {
  animation: drop 0.8s ease-in infinite;
}

.drop.d2 { animation-delay: 0.27s; }
.drop.d3 { animation-delay: 0.53s; }

@keyframes drop {
  from {
    transform: translate(0, 0);
    opacity: 1;
  }
  to {
    transform: translate(3px, 12px);
    opacity: 0;
  }
}

/* ================= Strip ================= */

.strip {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 16px;
}

.strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strip p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  opacity: 0.92;
}

.strip strong {
  color: var(--yellow);
  font-weight: 900;
}

/* ================= Sections ================= */

.section {
  padding: clamp(64px, 9vw, 110px) 16px;
}

.section-tint {
  background: var(--cream-2);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kicker-light {
  background: var(--cream);
}

.section h2 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.5px;
}

.section-lede {
  margin: 14px 0 0;
  font-size: 19px;
  color: var(--ink-soft);
  font-weight: 700;
}

/* ================= How it works ================= */

.how {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
}

.step:hover {
  background: var(--cream-2);
}

.step.is-active {
  background: #fff;
  box-shadow: var(--pop-shadow);
  transform: scale(1.02);
}

.step h3 {
  font-size: 21px;
}

.step p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-3);
  font-weight: 900;
  transition: background 0.3s, color 0.3s;
}

.step.is-active .step-num {
  background: var(--teal);
  color: #fff;
}

.demo {
  position: relative;
  min-height: 380px;
}

.demo-card {
  position: absolute;
  inset: 0;
  margin: auto;
  height: fit-content;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--pop-shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-bounce);
}

.demo-card.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.demo-letter {
  background: #fffdf4 repeating-linear-gradient(transparent 0 31px, #efe3c2 31px 33px);
  padding: 34px 36px;
  transform: rotate(-1.5deg) translateY(16px);
}

.demo-letter.is-shown {
  transform: rotate(-1.5deg);
}

.hand {
  font-family: 'Patrick Hand', cursive;
  font-size: 23px;
  line-height: 33px;
  margin: 0;
}

.sign {
  text-align: right;
  margin-top: 12px;
}

.stamp {
  position: absolute;
  top: -16px;
  right: 22px;
  font-size: 38px;
  transform: rotate(10deg);
}

.demo-computer {
  background: #3e3a4a;
  color: #e9f7f2;
  padding: 0 0 70px;
  overflow: visible;
}

.computer-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 14px;
  color: #b7b2c9;
}

.computer-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f07f7f;
}

.computer-bar span:nth-child(2) { background: var(--yellow); }
.computer-bar span:nth-child(3) { background: var(--teal); margin-right: 8px; }

.log {
  list-style: none;
  margin: 0;
  padding: 18px 22px 0;
  display: grid;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.log li {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-soft);
}

.is-shown .log li {
  opacity: 1;
  transform: none;
}

.is-shown .log li:nth-child(2) { transition-delay: 0.6s; }
.is-shown .log li:nth-child(3) { transition-delay: 1.2s; }
.is-shown .log li:nth-child(4) { transition-delay: 1.8s; }

.demo-villager {
  position: absolute;
  right: 18px;
  bottom: -14px;
}

.ask-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.speech {
  margin: 0;
  padding: 14px 18px;
  border-radius: 20px 20px 20px 6px;
  background: var(--cream);
  font-weight: 800;
  font-size: 18px;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-left: 78px;
}

.options button {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream-2);
  font-weight: 800;
  transition: background 0.2s, transform 0.2s var(--ease-bounce);
}

.options button:hover,
.options button.picked {
  background: var(--teal);
  color: #fff;
  transform: scale(1.04);
}

.reply-head {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--orange);
}

.demo-reply h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.demo-reply ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.reply-foot {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

/* ================= Villager cards ================= */

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.vcard {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 22px 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--pop-shadow);
  border-top: 8px solid var(--accent);
  transition: transform 0.3s var(--ease-bounce);
}

.vcard:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.vcard h3 {
  font-size: 24px;
  margin-top: 6px;
}

.vcard .role {
  margin: 4px 0 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vcard p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.vcard .catch {
  margin-top: 10px;
  font-family: 'Patrick Hand', cursive;
  font-size: 19px;
  color: var(--ink-soft);
}

.species {
  max-width: 900px;
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.species span {
  transition: transform 0.3s var(--ease-bounce);
}

.species span:hover {
  transform: translateY(-6px) rotate(-6deg);
}

.species p {
  flex-basis: 100%;
  text-align: center;
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ================= Features ================= */

.features {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 3px solid var(--cream-2);
  transition: border-color 0.3s, transform 0.3s var(--ease-bounce);
}

.feature:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}

.f-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--cream-2);
  font-size: 30px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 22px;
}

.feature p {
  margin: 8px 0 0;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ================= Island life ================= */

.section-sea {
  position: relative;
  background: radial-gradient(ellipse at 30% 30%, #8adbea 0%, #66c6dc 55%, #4fb4cf 100%);
  color: #fff;
}

.life {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.life-copy h2 {
  text-shadow: 0 3px 0 rgba(40, 110, 130, 0.3);
  margin-bottom: 18px;
}

.life-copy p {
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 1px 0 rgba(40, 110, 130, 0.25);
}

.life-copy .small {
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  text-shadow: none;
}

.life-copy .kicker {
  color: var(--ink);
}

.life-scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.life-tile {
  display: grid;
  justify-items: center;
  padding: 22px 12px 14px;
  border-radius: var(--radius);
  background: #b7e08a;
  box-shadow: inset 0 -10px 0 #a8d77f, var(--pop-shadow);
  color: var(--ink);
}

.life-tile:nth-child(2) { background: #c4e59a; }
.life-tile:nth-child(4) { background: #f5dfa6; box-shadow: inset 0 -10px 0 #ecd29a, var(--pop-shadow); }

.life-tile p {
  margin: 4px 0 0;
  font-weight: 900;
}

/* ================= FAQ ================= */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 20px;
  background: #fff;
  border: 3px solid var(--cream-2);
  padding: 0 22px;
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: var(--teal);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 900;
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 26px;
  line-height: 1;
  color: var(--teal);
  transition: transform 0.3s var(--ease-bounce);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 20px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ================= Join ================= */

.join {
  background: var(--cream-2);
}

.join-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px clamp(22px, 5vw, 56px);
  border-radius: 34px;
  background: #fff;
  text-align: center;
  box-shadow: var(--pop-shadow);
}

.join-villagers {
  display: flex;
  justify-content: center;
  margin: -100px 0 10px;
}

.join-card > p {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 18px;
}

.join-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.join-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border-radius: 999px;
  border: 3px solid var(--cream-3);
  background: var(--cream);
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.join-form input:focus {
  border-color: var(--teal);
}

.join-thanks {
  margin: 22px 0 0;
  font-weight: 900;
  font-size: 19px;
  color: var(--teal-dark);
}

/* ================= Footer ================= */

.footer {
  padding: 36px 16px 48px;
  text-align: center;
  background: var(--ink);
  color: var(--cream-3);
  font-weight: 700;
}

.footer p {
  margin: 4px 0;
}

/* ================= Small screens ================= */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .nav .btn-small {
    margin-left: auto;
  }
  .strip-inner,
  .how,
  .life {
    grid-template-columns: 1fr;
  }
  .demo {
    min-height: 400px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .join-form {
    flex-direction: column;
  }
  .options {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
