.hero {
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4.5rem, 9vw, 7rem);
  background: var(--lime);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: var(--page);
  margin-inline: auto;
}

.hero h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 1;
}

.lead {
  max-width: 33rem;
  margin-bottom: 2rem;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stage {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.mascot {
  position: absolute;
  top: 0;
  right: 6%;
  z-index: 2;
  width: clamp(8.5rem, 20vw, 14rem);
  transform: rotate(-9deg);
  animation: bob 5s ease-in-out infinite;
}

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

.chat {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.15rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
}

.chat-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem;
}

.chat-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.chat-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.chat-tag {
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  background: var(--rind);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}

.chat-time {
  color: var(--muted);
  font-size: 0.82rem;
}

.embed {
  padding: 0.9rem 1rem 1rem;
  border-left: 5px solid var(--lime);
  border-radius: 6px 14px 14px 6px;
  background: #f3f7e0;
}

.embed-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.eq span {
  display: block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--rind);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}

.eq span:nth-child(2) {
  animation-delay: 0.25s;
}

.eq span:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.embed-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem;
  gap: 1rem;
}

.embed-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.embed-artist {
  margin: 0.1rem 0 0.7rem;
  color: var(--muted);
}

.embed-time {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.embed .bar {
  display: block;
  background: #d7e4ae;
}

.embed .fill {
  display: block;
  background: var(--rind);
}

.embed-art {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 12px;
  background: var(--melon);
  color: var(--lime);
  font-size: 2.2rem;
}

.embed-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
}

.embed-fields dt {
  font-weight: 800;
}

.embed-fields dd {
  margin: 0;
}

.embed-buttons {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.embed-buttons span {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.1rem;
  border: 1.5px solid #c9d6a0;
  border-radius: 8px;
  background: #e6ecd2;
  font-size: 1.1rem;
}

.embed-buttons .is-primary {
  border-color: var(--rind);
  background: var(--rind);
  color: var(--white);
}

.embed-buttons .is-danger {
  border-color: var(--melon-deep);
  background: var(--melon);
}

.fill-38 {
  width: 38%;
}

.slice {
  margin-top: -1px;
  padding-bottom: 18px;
  border-radius: 0 0 50% 50% / 0 0 clamp(60px, 12vw, 170px) clamp(60px, 12vw, 170px);
  background: var(--rind);
}

.slice-pith {
  padding-bottom: 10px;
  border-radius: inherit;
  background: var(--pith);
}

.slice-flesh {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem clamp(4.5rem, 9vw, 7.5rem);
  border-radius: inherit;
  background: var(--melon);
  text-align: center;
}

.slice-flesh h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.slice-flesh p {
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.seed {
  position: absolute;
  width: 0.9rem;
  height: 1.5rem;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: var(--seed);
  opacity: 0.85;
}

.seed:nth-child(1) {
  top: 22%;
  left: 7%;
  rotate: 24deg;
}

.seed:nth-child(2) {
  top: 56%;
  left: 13%;
  rotate: -18deg;
}

.seed:nth-child(3) {
  top: 14%;
  left: 27%;
  rotate: 8deg;
}

.seed:nth-child(4) {
  top: 68%;
  left: 31%;
  rotate: 34deg;
}

.seed:nth-child(5) {
  top: 18%;
  right: 26%;
  rotate: -28deg;
}

.seed:nth-child(6) {
  top: 62%;
  right: 22%;
  rotate: 16deg;
}

.seed:nth-child(7) {
  top: 30%;
  right: 8%;
  rotate: -10deg;
}

.seed:nth-child(8) {
  top: 70%;
  right: 10%;
  rotate: 40deg;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.sources li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--ink);
}

.sources i {
  font-size: 1.5rem;
}

.features {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  width: var(--page);
  margin-inline: auto;
}

.features-intro {
  position: sticky;
  top: 6.5rem;
}

.features-intro h2,
.preview h2,
.languages h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.features-intro p {
  margin: 1rem 0 1.6rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.featurelist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.featurelist li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 2px solid var(--ink);
}

.featurelist li:last-child {
  border-bottom: 2px solid var(--ink);
}

.ficon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 1.7rem;
}

.featurelist h3 {
  margin-bottom: 0.3rem;
  font-size: 1.5rem;
}

.featurelist p {
  margin: 0;
  color: var(--muted);
}

.commands {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--forest);
  color: var(--lime);
}

.commands-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: var(--page);
  margin: 0 auto 2.5rem;
}

.commands h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.commands-head p {
  max-width: 27rem;
  margin: 0;
  color: #cfe39a;
}

.cmdlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.cmdlist li {
  display: grid;
  grid-template-columns: minmax(10rem, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(209, 232, 128, 0.28);
}

.cmdlist code {
  width: fit-content;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font: 800 0.95rem/1.2 var(--font-body);
}

.cmdlist span {
  color: #dcebb0;
}

.preview {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--lime-soft);
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  width: var(--page);
  margin-inline: auto;
}

.checks {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 700;
}

.checks i {
  margin-top: 0.1rem;
  color: var(--rind);
  font-size: 1.45rem;
}

.languages {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
}

.languages p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.4rem;
  width: var(--page);
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
}

.langs li {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

.langs li:nth-child(even) {
  color: var(--rind);
}

.langs li[lang='ar'] {
  font-family: system-ui, 'Segoe UI', 'Noto Naskh Arabic', 'Geeza Pro', serif;
  font-style: normal;
}

.cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 2px solid var(--ink);
  background: var(--melon);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: var(--page);
  margin-inline: auto;
}

.cta h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

@media (max-width: 900px) {
  .hero-grid,
  .features-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .features-intro {
    position: static;
  }

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

  .stage {
    max-width: 34rem;
  }
}

@media (max-width: 560px) {
  .cmdlist li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .embed-body {
    grid-template-columns: minmax(0, 1fr) 3.6rem;
  }

  .embed-art {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.6rem;
  }

  .stage {
    padding-top: 5rem;
  }

  .mascot {
    right: 8%;
    width: 8rem;
  }

  .seed:nth-child(n + 5) {
    display: none;
  }

  .seed:nth-child(1),
  .seed:nth-child(2),
  .seed:nth-child(3),
  .seed:nth-child(4) {
    top: 1rem;
  }

  .seed:nth-child(1) {
    left: 7%;
  }

  .seed:nth-child(2) {
    left: 31%;
  }

  .seed:nth-child(3) {
    left: 64%;
  }

  .seed:nth-child(4) {
    left: 88%;
  }
}
