:root {
  --sky: #160c1a;
  --ground: #1b1020;
  --panel: #2a1a30;
  --well: #3a2541;
  --well-hi: #4b3153;
  --line: #9b7f97;
  --cream: #fbeff7;
  --oat: #d9c4d3;
  --peach: #ff9fc0;
  --peach-hi: #ffc4d8;
  --peach-lo: #e2789f;
  --ink: #2a1018;
  --mint: #a9e8c7;
  --rose: #ff9c9c;
  --page-bg:
    radial-gradient(60% 50% at 90% 0%, #ff78b438, transparent 70%),
    radial-gradient(50% 50% at 0% 60%, #aa78ff24, transparent 70%),
    linear-gradient(170deg, #24122b, #140b18 60%);
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: dark;
}

:root[data-theme="clouds"] {
  --ground: #2a1220;
  --panel: #280e1de0;
  --well: #421c31e6;
  --well-hi: #562640eb;
  --line: #c99ab3;
  --cream: #fff4f8;
  --oat: #f0d3e1;
  --page-bg:
    linear-gradient(180deg, #280e1c80, #1c0c16d1),
    url("../img/clouds.svg") center / cover no-repeat;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font: 500 1.0625rem/1.6 var(--body);
  font-synthesis: none;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--page-bg);
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 1.6rem + 5.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  line-height: 1;
}

h3 { font-size: 1.35rem; line-height: 1.15; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 0.1875rem solid var(--peach);
  outline-offset: 0.18rem;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 10;
  transform: translateY(-200%);
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
}

.skip:focus { transform: none; }

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 40em) {
  .wrap { width: min(72rem, calc(100% - 4rem)); }
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(20, 11, 24, 0.78), rgba(20, 11, 24, 0.42) 70%, transparent);
}

.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font: 800 1.45rem/1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 0 2px rgba(255, 159, 192, 0.4);
  transition: rotate 0.3s, scale 0.3s;
}

.brand:hover .brand__icon { rotate: -8deg; scale: 1.06; }

.top__end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.8rem;
  color: var(--oat);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover { color: var(--cream); text-decoration: underline; }

.cf-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-right: 0.15rem;
}

.cf-link,
.howto-open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  min-height: 2.55rem;
  padding: 0.32rem 0.95rem 0.36rem;
  color: var(--peach-hi);
  background: rgba(255, 159, 192, 0.14);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 159, 192, 0.45);
  text-decoration: none;
  line-height: 1.15;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.cf-link:hover,
.howto-open:hover {
  color: var(--cream);
  background: rgba(255, 159, 192, 0.24);
}

.cf-link__title,
.howto-open__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cf-link__sub,
.howto-open__sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oat);
  white-space: nowrap;
}

.cf-link:hover .cf-link__sub,
.howto-open:hover .howto-open__sub { color: var(--cream); }

.howto-open {
  background: rgba(255, 159, 192, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 192, 0.28);
}

.howto {
  width: min(40rem, calc(100vw - 1.5rem));
  max-height: min(92vh, 52rem);
  padding: 0;
  border: 0;
  border-radius: 1.4rem;
  background: transparent;
  color: var(--cream);
  box-shadow: 0 28px 80px rgba(10, 4, 14, 0.55);
}

.howto::backdrop {
  background: rgba(12, 6, 16, 0.72);
  backdrop-filter: blur(8px);
}

.howto__sheet {
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(255, 159, 192, 0.18), transparent 60%),
    linear-gradient(165deg, #2c1834, #1a0f20 55%);
  border-radius: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(255, 159, 192, 0.22);
  overflow: auto;
  max-height: inherit;
}

.howto__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 0.85rem;
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #2c1834f2, #2c1834cc 70%, transparent);
}

.howto__eyebrow {
  color: var(--peach-hi);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.howto__head h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2rem);
}

.howto__close {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--well);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

.howto__close:hover { background: var(--well-hi); }

.howto__steps {
  display: grid;
  gap: 1.15rem;
  padding: 0.4rem 1.35rem 0.2rem;
}

.howto__steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.howto__n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 159, 192, 0.18);
  color: var(--peach-hi);
  font: 800 0.95rem/1 var(--display);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 192, 0.4);
}

.howto__steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.howto__steps p {
  color: var(--oat);
  font-size: 0.98rem;
}

.howto__steps a {
  color: var(--peach-hi);
  font-weight: 700;
}

.howto__steps code {
  font-size: 0.9em;
  padding: 0.08rem 0.35rem;
  border-radius: 0.4rem;
  background: rgba(255, 159, 192, 0.12);
  color: var(--peach-hi);
}

.cf-mock {
  margin-top: 0.9rem;
}

.cf-mock__chrome {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  border-radius: 1rem;
  overflow: hidden;
  background: #1a1220;
  box-shadow:
    inset 0 0 0 1px rgba(255, 159, 192, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.cf-mock__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.35rem;
  background: #140e18;
}

.cf-mock__game {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  background: #3a2a42;
  opacity: 0.55;
}

.cf-mock__game.is-on {
  opacity: 1;
  background:
    linear-gradient(145deg, #6dcf63, #3d8f3a 55%, #2a5a28);
  box-shadow: -3px 0 0 var(--peach);
}

.cf-mock__main {
  padding: 0.75rem 0.85rem 0.95rem;
  background: linear-gradient(180deg, #24182c, #1c1324);
}

.cf-mock__brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--oat);
  text-transform: lowercase;
}

.cf-mock__search {
  margin-top: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #120c16;
  color: #8f788c;
  font-size: 0.72rem;
}

.cf-mock__title {
  margin-top: 0.7rem;
  font: 800 0.95rem/1.1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cf-mock__tabs {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a8498;
}

.cf-mock__tabs .is-on {
  color: var(--cream);
  box-shadow: inset 0 -2px 0 var(--peach);
  padding-bottom: 0.25rem;
}

.cf-mock__actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.cf-mock__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.7rem;
  border-radius: 0.55rem;
  background: #2a2034;
  color: var(--oat);
  font-size: 0.78rem;
  font-weight: 700;
}

.cf-mock__import {
  position: relative;
  color: var(--ink);
  background: linear-gradient(135deg, var(--peach-hi), var(--peach));
  box-shadow:
    0 0 0 3px rgba(255, 159, 192, 0.28),
    0 8px 18px rgba(255, 120, 180, 0.28);
  animation: import-pulse 2.4s ease-in-out infinite;
}

.cf-mock__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: #2a2034;
}

.cf-mock__thumb {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #3a2541;
  display: grid;
  place-items: center;
}

.cf-mock__thumb img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
}

.cf-mock__card strong {
  display: block;
  font-size: 0.88rem;
}

.cf-mock__card span {
  color: #9a8498;
  font-size: 0.72rem;
}

.cf-mock__hint {
  margin-top: 0.55rem;
  color: var(--peach-hi);
  font-size: 0.85rem;
  font-weight: 700;
}

.howto__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem 1.35rem 1.35rem;
}

.howto__foot .btn {
  min-height: 2.7rem;
  padding-inline: 1.1rem;
  font-size: 0.95rem;
}

@keyframes import-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 159, 192, 0.22), 0 8px 18px rgba(255, 120, 180, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(255, 159, 192, 0.12), 0 10px 22px rgba(255, 120, 180, 0.34); }
}

.theme-toggle,
.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--well);
  color: var(--peach-hi);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.theme-toggle:hover,
.menu-btn:hover { background: var(--well-hi); }

.grove {
  display: none;
}

@media (min-width: 75em) {
  .grove {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .grove__sprite { position: absolute; }

  .grove__item {
    position: absolute;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 12px 10px rgba(40, 10, 24, 0.28));
  }

  .grove__item.tree { aspect-ratio: 160 / 230; }
  .grove__item.bunny { aspect-ratio: 110 / 120; }

  .grove__item.tree {
    transform-origin: 50% 100%;
    animation: sway 7s ease-in-out infinite;
  }

  .grove__item.bunny {
    animation: hop 2.6s ease-in-out infinite;
  }

  .t1 { left: -0.5rem; top: 7%; width: 10.5rem; }
  .t2 { left: 1.2rem; top: 46%; width: 8.2rem; animation-delay: -2s; }
  .t3 { left: -1rem; bottom: 1%; width: 7.4rem; animation-delay: -4s; }
  .b1 { left: 1.6rem; bottom: 16%; width: 5.2rem; animation-delay: -0.4s; }
  .t4 { right: -0.4rem; top: 6%; width: 11rem; animation-delay: -1s; }
  .t5 { right: 0.4rem; top: 58%; width: 8.6rem; animation-delay: -3s; }
  .b2 { right: 1.4rem; top: 38%; width: 5rem; animation-delay: -1.2s; }
  .b3 { right: 2rem; bottom: 8%; width: 5.6rem; animation-delay: -0.2s; }

  .grove__item.flip { scale: -1 1; }

  .petal {
    position: absolute;
    width: 0.7rem;
    height: 0.95rem;
    border-radius: 70% 10% 70% 10%;
    background: #ffb3d0;
    opacity: 0.8;
    animation: fall 9s linear infinite;
  }
  .p1 { left: 6%; top: 18%; animation-delay: 0s; }
  .p2 { left: 3%; top: 62%; animation-delay: -4s; background: #ffd0e4; }
  .p3 { right: 5%; top: 22%; animation-delay: -2s; }
  .p4 { right: 8%; top: 70%; animation-delay: -6s; background: #ff9fc0; }
}

.theme-toggle svg { grid-area: 1 / 1; transition: opacity 0.25s, scale 0.25s; }
.theme-toggle .icon-cloud,
:root[data-theme="clouds"] .theme-toggle .icon-moon { opacity: 0; scale: 0.5; }
:root[data-theme="clouds"] .theme-toggle .icon-cloud { opacity: 1; scale: 1; }

.menu-btn { display: none; }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.hero { position: relative; padding-bottom: 1rem; }

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
}

.lead {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: var(--oat);
  font-size: 1.18rem;
}

h1 em {
  font-style: normal;
  background-image: linear-gradient(90deg, #ff9fc0 0%, #ffc4d8 25%, #ff9c9c 50%, #ffc4d8 75%, #ff9fc0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textflow 7s linear infinite;
}

.plate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: center;
  max-width: 36rem;
  margin-top: 1.8rem;
  padding: 0.9rem;
  background: var(--panel);
  border-radius: 1.25rem;
}

.plate__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
}

.plate__ip {
  font: 800 1.55rem/1.15 var(--display);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.plate__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
  color: var(--oat);
  font-size: 0.95rem;
}

.plate__status::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--line);
  flex: 0 0 auto;
}

.plate__status[data-state="online"]::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(169, 232, 199, 0.16); }
.plate__status[data-state="offline"]::before { background: var(--rose); }

.plate__meta {
  color: var(--oat);
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  max-width: 36rem;
  margin-top: 0.9rem;
  padding-inline: 0.25rem;
}

.stats__num {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font: 800 1.45rem/1 var(--display);
  letter-spacing: -0.03em;
}

.stats__label {
  margin-top: 0.28rem;
  color: var(--oat);
  font-size: 0.92rem;
}

.stars {
  color: var(--peach);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.reviews {
  --tilt: 26deg;
  overflow: hidden;
  margin-top: 0.5rem;
  padding-block: 0.2rem 1.4rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews__stage {
  perspective: 1100px;
  perspective-origin: 50% 45%;
}

.reviews__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 1.6rem 1rem 2.2rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.review {
  flex: 0 0 19.5rem;
  padding: 0.95rem 1.05rem 0.85rem;
  background: linear-gradient(155deg, #43284c 0%, #2a1a30 58%, #241428 100%);
  border-radius: 1.05rem;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 220, 236, 0.16);
  transform: rotateY(var(--tilt)) rotateX(10deg);
  transform-style: preserve-3d;
  animation: card-float 3.6s ease-in-out infinite;
}

.review:nth-child(2n) { animation-delay: -1.1s; }
.review:nth-child(3n) { animation-delay: -2.2s; }

.review__stars {
  color: var(--peach);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  line-height: 1;
}

.review__text {
  margin-top: 0.45rem;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.45;
}

.review__who {
  margin-top: 0.7rem;
  color: var(--oat);
  font: 800 0.86rem/1.2 var(--display);
}

.plate .btn { grid-column: 1 / -1; }

.hero__meta {
  margin-top: 0.95rem;
  color: var(--oat);
  font-size: 0.95rem;
}

.hero__art { display: grid; justify-items: center; }

.logo-card {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  border-radius: 1.8rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.7), transparent 32%),
    radial-gradient(circle at 78% 70%, rgba(255, 140, 186, 0.55), transparent 36%),
    linear-gradient(160deg, #ffd7e8 0%, #ff9ec4 48%, #ffc1db 100%);
  box-shadow: 0 18px 50px rgba(255, 120, 180, 0.32);
  animation: float 5s ease-in-out infinite;
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: shine 5.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  filter: blur(0.5px);
}
.cloud.c1 { width: 46%; height: 16%; left: 6%; top: 14%; }
.cloud.c2 { width: 34%; height: 12%; right: 8%; top: 28%; background: rgba(255, 255, 255, 0.5); }
.cloud.c3 { width: 40%; height: 14%; left: 18%; bottom: 22%; background: rgba(255, 255, 255, 0.38); }

.sparkle, .mini-heart {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 0 rgba(226, 90, 140, 0.35);
  pointer-events: none;
}
.sparkle { font-size: 1.15rem; }
.sparkle.s1 { top: 12%; right: 16%; }
.sparkle.s2 { top: 22%; left: 14%; font-size: 0.85rem; }
.sparkle.s3 { bottom: 30%; right: 10%; font-size: 0.75rem; }
.mini-heart { color: #ff7eab; font-size: 0.95rem; }
.mini-heart.m1 { top: 18%; left: 28%; }
.mini-heart.m2 { top: 40%; right: 18%; font-size: 0.7rem; }

.logo-card__mascot {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 11%;
  width: 90%;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 14px rgba(90, 20, 50, 0.22));
  animation: bob 3.2s ease-in-out infinite;
}

.wordmark {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 5%;
  margin: 0;
  text-align: center;
  font-family: Fredoka, var(--display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  letter-spacing: -0.03em;
  color: #fff;
  -webkit-text-stroke: 7px #ff78ab;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 0 #e0568e);
  transform: rotate(-7deg);
  line-height: 1;
}

.btn {
  --label: "Kopyala";
  position: relative;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  min-height: 3.15rem;
  padding: 0.55rem 1.25rem 0.7rem;
  border: 0;
  border-radius: 0.95rem;
  background: var(--peach);
  color: var(--ink);
  box-shadow: inset 0 -0.22rem 0 var(--peach-lo);
  font: 800 1.02rem/1.1 var(--display);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: translate 0.18s, background-color 0.2s;
}

.btn:hover { background: var(--peach-hi); color: var(--ink); translate: 0 -2px; }
.btn:active { translate: 0 1px; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(320%) skewX(-18deg); transition: transform 0.7s; }

.btn--quiet {
  background: var(--well);
  color: var(--cream);
  box-shadow: inset 0 -0.22rem 0 rgba(0, 0, 0, 0.28);
}
.btn--quiet:hover { background: var(--well-hi); color: var(--cream); }

.btn__label, .btn__done { grid-area: 1 / 1; }
.btn__done, .btn[data-copied] .btn__label { visibility: hidden; }
.btn[data-copied] .btn__done { visibility: visible; }

.section { padding-block: clamp(3rem, 7vw, 5rem); }

.section__lead {
  max-width: 36rem;
  margin-top: 0.9rem;
  color: var(--oat);
  font-size: 1.12rem;
}

.steps, .rules { margin-top: 2.4rem; display: grid; gap: 2rem; }
.steps { counter-reset: step; }
.rules { counter-reset: rule; }

.steps > li, .rules > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  align-content: start;
}

.steps > li { counter-increment: step; }
.rules > li { counter-increment: rule; }

.steps > li::before, .rules > li::before {
  font-family: var(--display);
  font-weight: 800;
  color: var(--line);
  grid-row: 1 / span 3;
}

.steps > li::before { content: counter(step); font-size: 3.2rem; line-height: 0.85; }
.rules > li::before { content: counter(rule); font-size: 1.45rem; line-height: 1.15; min-width: 1.4rem; }

.steps p, .rules p { grid-column: 2; margin-top: 0.35rem; color: var(--oat); }

.ipline {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.85rem;
  color: var(--cream);
}

.ipline code {
  font: 800 1.3rem/1.1 var(--display);
}

.panel {
  background: var(--panel);
  border-radius: 1.4rem;
  padding: 1.4rem 1.2rem;
}

.discord {
  display: grid;
  align-items: center;
  gap: 1.25rem;
}

.discord__mascot {
  width: 5.5rem;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28));
}

.discord .btn { justify-self: start; }

.foot {
  margin-top: 1rem;
  padding: 2.4rem 0 2.8rem;
  background: var(--sky);
  color: var(--oat);
}

.foot__grid { display: grid; gap: 1rem; }
.foot .brand { color: var(--cream); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.35rem; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 2.6rem; font-weight: 700; text-decoration: none; }
.foot__nav a:hover { color: var(--cream); }
.fine { max-width: 46rem; font-size: 0.88rem; line-height: 1.5; color: var(--oat); }

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fx span {
  position: absolute;
  top: 110%;
  color: rgba(255, 159, 192, 0.45);
  font-size: 0.9rem;
  animation: riseheart 14s linear infinite;
}
main, .foot, .top { position: relative; z-index: 1; }

.page-head { padding-top: 1.5rem; }
.page-head .lead { margin-bottom: 0.4rem; }

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--panel);
  color: var(--oat);
}

.mods {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mod {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem 1.05rem;
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: translate 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.mod:hover {
  translate: 0 -4px;
  border-color: var(--peach);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.mod.high { border: 2px solid var(--peach); }
.mod h3 { font-size: 1.12rem; }
.mod .desc { color: var(--oat); font-size: 0.95rem; flex: 1; }
.mod .meta { color: var(--oat); font-size: 0.82rem; margin: 0.15rem 0 0.7rem; }
.mod .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mod .actions .btn { min-height: 2.6rem; padding-inline: 0.9rem; font-size: 0.92rem; }

.group-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--oat);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.badge.high {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--ink);
}

.back {
  display: inline-flex;
  margin-top: 2rem;
  font-weight: 700;
}

.credits { margin-top: 2rem; color: var(--oat); }
.credits li { margin-top: 0.35rem; }
.credits a { font-weight: 700; }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% - 0.4rem);
    right: 0;
    min-width: 15rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem;
    background: rgba(32, 18, 40, 0.96);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav a { padding-inline: 0.9rem; }
  .cf-cluster { margin-right: 0; width: 100%; }
  .cf-link,
  .howto-open { flex: 1 1 10rem; }
}

@media (max-width: 48em) {
  .top__bar {
    flex-wrap: wrap;
    row-gap: 0.45rem;
    min-height: 0;
    padding-block: 0.75rem;
  }
  .top__end { width: 100%; justify-content: flex-end; }
}

@media (min-width: 40em) {
  .plate { grid-template-columns: auto minmax(0, 1fr) auto; padding: 1rem; }
  .plate .btn { grid-column: auto; }
  .panel { padding: 2rem 2.1rem; }
}

@media (min-width: 48em) {
  .rules { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .discord { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; }
  .discord .section__lead { margin-top: 0.7rem; }
  .mods { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5rem;
    padding-bottom: 1.5rem;
  }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .logo-card { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-card, .logo-card__mascot, .logo-card::after, h1 em, .fx span, .btn::after, .reviews__track, .review, .grove__item, .petal, .cf-mock__import {
    animation: none;
  }
}

@keyframes drift-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes sway {
  0%, 100% { rotate: -2.5deg; }
  50% { rotate: 2.5deg; }
}

@keyframes hop {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes fall {
  0% { translate: 0 0; opacity: 0; }
  15% { opacity: 0.85; }
  100% { translate: 18px 70px; opacity: 0; }
}

@keyframes textflow { to { background-position: -200% center; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50% { transform: translateX(-50%) translateY(-6px) rotate(2deg); }
}
@keyframes shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  55%, 100% { transform: translateX(380%) skewX(-18deg); }
}
@keyframes riseheart {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-110vh); opacity: 0; }
}
