:root {
  --bg: #07110d;
  --bg-2: #0d1713;
  --panel: rgba(16, 24, 20, 0.66);
  --panel-strong: rgba(10, 17, 14, 0.86);
  --glass-line: rgba(159, 238, 192, 0.12);
  --text: #edf5ef;
  --muted: #a8b9ad;
  --blue: #72d695;
  --cyan: #8af0b4;
  --red: #ff5555;
  --green: #5fd08b;
  --green-deep: #143226;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(133, 232, 174, 0.52) rgba(10, 17, 13, 0.94);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 50% 12%, rgba(36, 78, 58, 0.12), transparent 30%),
    linear-gradient(180deg, #05100d 0%, #08120f 54%, #050d0a 100%);
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(16, 28, 21, 0.96), rgba(8, 14, 11, 0.98));
  border-left: 1px solid rgba(138, 230, 176, 0.08);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(154, 236, 188, 0.82), rgba(92, 173, 121, 0.92));
  border: 2px solid rgba(8, 14, 11, 0.92);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(185, 244, 208, 0.08),
    0 10px 24px rgba(72, 151, 101, 0.18);
}

body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(177, 245, 206, 0.92), rgba(108, 191, 138, 0.96));
}

body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: rgba(8, 14, 11, 0.96);
}

.stars,
.stars-alt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  overflow: hidden;
}

.star-node {
  position: absolute;
  left: var(--star-x);
  top: var(--star-y);
  width: var(--star-size);
  height: var(--star-size);
  border-radius: 999px;
  opacity: var(--star-min-opacity, 0.08);
  background: var(--star-color, rgba(255,255,255,0.92));
  box-shadow: 0 0 var(--star-glow, 4px) var(--star-color, rgba(255,255,255,0.92));
  animation: starPulse var(--star-duration, 12s) ease-in-out var(--star-delay, 0s) infinite;
}

.stars .star-node {
  filter: blur(0.1px);
}

.stars-alt .star-node {
  filter: blur(0.18px);
}

.star-node.star-node--small {
  --star-glow: 2px;
}

.star-node.star-node--medium {
  --star-glow: 4px;
}

.star-node.star-node--large {
  --star-glow: 6px;
}

.star-node.star-node--blue {
  --star-color: rgba(157, 209, 255, 0.88);
}

.star-node.star-node--dim {
  --star-glow: 1px;
}

@keyframes starPulse {
  0%, 100% { opacity: var(--star-min-opacity, 0.08); }
  25% { opacity: var(--star-mid-opacity, 0.18); }
  55% { opacity: var(--star-max-opacity, 0.42); }
  78% { opacity: var(--star-mid-opacity, 0.18); }
}

a { color: inherit; text-decoration: none; }
.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
  padding: 0 26px 68px;
}

.main-with-footer-gap {
  padding-bottom: 170px;
}

.floating-nav-wrap {
  position: sticky;
  top: 8px;
  z-index: 20;
  padding: 0 20px 12px;
}

.floating-nav,
.glass-card,
.feature,
.plan-card,
.metric-card,
.legal,
.result-panel,
.notice,
.table-wrap,
.admin-card {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(29, 44, 37, 0.82), rgba(13, 22, 18, 0.88)),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow), 0 0 32px rgba(95, 208, 139, 0.035);
}

.floating-nav::before,
.glass-card::before,
.feature::before,
.plan-card::before,
.metric-card::before,
.legal::before,
.result-panel::before,
.notice::before,
.table-wrap::before,
.admin-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(95, 208, 139, 0.08) 0%, rgba(95, 208, 139, 0.03) 30%, transparent 72%);
  filter: blur(20px);
  opacity: 0.34;
}

.floating-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding: 12px 22px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 34, 29, 0.86), rgba(12, 23, 20, 0.74)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-color: rgba(151, 255, 193, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  font-family: "Unbounded", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  min-width: 0;
  transition: transform 0.18s ease;
}
.brand:hover { transform: translateY(-2px); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #171918;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(151, 255, 193, 0.22);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text { white-space: nowrap; }

.nav,
.nav-actions,
.hero-actions,
.server-actions,
.metric-row,
.toolbar,
.toolbar-form,
.inline-form,
.admin-split {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.nav {
  grid-column: 2;
  justify-content: center;
  justify-self: center;
  flex: 0 1 auto;
  gap: 24px;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-actions {
  justify-content: flex-end;
  justify-self: end;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.nav a {
  color: rgba(244, 250, 255, 0.86);
  font-weight: 700;
  padding: 10px 0;
  font-size: 1.04rem;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}
.nav .nav-home {
  font-size: 1.14rem;
  font-weight: 800;
}
.nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}
.nav a.is-active {
  color: rgba(212, 255, 228, 0.98);
  text-shadow: 0 0 12px rgba(95, 208, 139, 0.16);
}
.button.button-cabinet.is-active {
  color: rgba(235, 255, 243, 0.98);
  border-color: rgba(151, 255, 193, 0.22);
  box-shadow: 0 0 18px rgba(95, 208, 139, 0.08);
}
.nav-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  min-height: 54px;
  width: 144px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(55, 148, 87, 0.76), rgba(84, 184, 119, 0.72));
  border: 1px solid rgba(170, 255, 205, 0.18);
  color: #f7fffa !important;
  font-weight: 800 !important;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(42, 126, 72, 0.18);
}
.nav-play:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(66, 170, 101, 0.84), rgba(101, 205, 138, 0.8));
  border-color: rgba(192, 255, 221, 0.3);
  box-shadow: 0 14px 28px rgba(54, 153, 90, 0.24);
  transform: translateY(-1px);
}
.pref-switcher { position: relative; }
.pref-switcher summary {
  list-style: none;
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.pref-switcher summary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(170, 255, 205, 0.18);
}
.pref-switcher summary::-webkit-details-marker { display: none; }
.pref-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 244px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 30, 25, 0.94), rgba(9, 16, 13, 0.96));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pref-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pref-caption {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, rgba(246, 251, 247, 0.96), rgba(223, 233, 227, 0.92));
  border-color: rgba(255, 255, 255, 0.3);
  font-weight: 800;
  color: #0b1712;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}
.button.primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 242, 237, 0.94));
  color: #08110d;
}
.button-cabinet {
  background: linear-gradient(135deg, rgba(63, 105, 81, 0.42), rgba(72, 132, 97, 0.3));
  border-color: rgba(136, 228, 171, 0.18);
  color: #edf5ef;
  font-weight: 700;
}
.floating-nav .button {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.button.ghost { background: rgba(255,255,255,0.03); }
.button.small { min-height: 38px; padding: 0 14px; font-size: 0.92rem; }

.hero,
.community-status,
.feature-grid,
.pricing-grid,
.footer-grid,
.admin-grid {
  display: grid;
  gap: 22px;
}

.hero {
  grid-template-columns: 1fr;
  min-height: 0;
  align-items: stretch;
  margin-top: 32px;
}
.hero.hero-wide {
  position: relative;
  gap: 0;
  isolation: isolate;
  overflow: visible;
}
.hero.hero-wide::before,
.hero.hero-wide::after {
  content: none;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero-copy,
.hero-side,
.hero-quote,
.glass-card,
.feature,
.plan-card,
.metric-card,
.legal,
.result-panel,
.admin-card,
.notice {
  border-radius: 28px;
  padding: 26px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
}
.hero-copy::before,
.hero-copy::after {
  content: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hero-copy-wide {
  min-height: min(840px, calc(100vh - 180px));
  padding: 118px 52px 72px;
  align-items: center;
  text-align: center;
}
.hero-side { display: flex; }
.hero-quote {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(8, 14, 11, 0.78)),
    radial-gradient(circle at 30% 10%, rgba(95,208,139,0.12), transparent 28%);
}
.hero-quote span { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; }
.hero-quote strong { font-family: "Unbounded", sans-serif; font-size: 1.7rem; line-height: 1.15; margin: 10px 0 14px; }

.hero-copy h1,
.section-head h1,
.section-head h2,
.community-status h2,
.cabinet-empty h1,
.legal h1,
.result-panel h1 { font-family: "Unbounded", sans-serif; line-height: 1.08; }
.hero-copy h1 {
  position: relative;
  z-index: 1;
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  margin: 12px 0 50px;
  max-width: none;
  font-size: clamp(3.35rem, 6.7vw, 6.35rem);
  letter-spacing: -0.06em;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.05);
}
.hero-title-stacked {
  display: block;
}
.hero-title-stacked span {
  display: inline;
  width: auto;
}
.hero-title-stacked span:last-child {
  text-align: inherit;
  margin-left: 0.16em;
}
.lead {
  position: relative;
  z-index: 1;
  width: min(78ch, 92%);
  max-width: 78ch;
  margin: 16px auto 0;
  color: rgba(222, 231, 226, 0.76);
  font-size: 1.16rem;
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 1101px) {
  .hero-copy-wide .lead {
    width: min(82ch, 86%);
  }
}
.hero-copy-wide .hero-actions {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}
.hero-play-button {
  min-width: 152px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(17, 37, 27, 0.28),
    0 0 34px rgba(126, 229, 165, 0.08);
}
.hero-launcher-button {
  min-height: 64px;
  min-width: 286px;
  padding: 0 36px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #5fd08b 0%, #3f9d65 100%);
  color: #f7fffa;
  font-weight: 900;
  font-size: 1.14rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(142, 241, 181, 0.24),
    0 12px 30px rgba(56, 146, 91, 0.22),
    0 0 34px rgba(95, 208, 139, 0.18);
}
.hero-launcher-button:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #72db9b 0%, #4aad73 100%);
  box-shadow:
    0 0 0 1px rgba(168, 248, 198, 0.3),
    0 14px 34px rgba(67, 166, 104, 0.26),
    0 0 38px rgba(108, 224, 154, 0.22);
}
.hero-scroll-hint {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 10px;
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(240, 246, 242, 0.9);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: none;
  animation: heroHintFade 2.3s ease-in-out infinite;
}
.hero-scroll-hint:hover {
  color: #ffffff;
}

.hero-copy-wide .hero-scroll-hint {
  padding-top: 96px;
}
.hero-scroll-hint__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: transparent;
}
.hero-scroll-hint__mouse {
  position: relative;
  width: 8px;
  height: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.96);
  border-radius: 7px;
}
.hero-scroll-hint__wheel {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 2px;
  height: 4px;
  margin-left: -1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  animation: heroHintWheel 1.2s ease-in-out infinite;
}
@keyframes heroHintFade {
  0%, 100% { opacity: 0.42; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}
@keyframes heroHintWheel {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  70% { opacity: 0.2; transform: translateY(4px); }
  100% { opacity: 0; transform: translateY(5px); }
}
.lead-link {
  color: #9ef1bd;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.lead-link:hover {
  color: #c7ffda;
  text-shadow: 0 0 14px rgba(158, 241, 189, 0.2);
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; color: var(--cyan); font-size: 0.78rem; }
.hero-eyebrow {
  color: rgba(224, 232, 227, 0.74);
  margin-bottom: 0;
  font-size: 1.16rem;
  letter-spacing: 0.12em;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.feature-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.feature h3 { margin-top: 0; }
.feature strong {
  color: rgba(239, 244, 241, 0.9);
}
.feature p,
.footer p,
.footer a,
.legal p,
.result-panel p,
.toolbar,
small { color: var(--muted); }

.community-status {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 28px;
}
.community-status__head {
  justify-content: center;
  text-align: center;
  margin-top: 156px;
}
.community-status__head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.community-status__head h2 {
  margin-top: 10px;
}
.gallery-showcase {
  position: relative;
  display: grid;
  gap: 26px;
  margin: 112px 0 156px;
}
.gallery-showcase__row {
  display: grid;
  gap: 42px;
}
.gallery-showcase__row--top {
  grid-template-columns: minmax(0, 460px) auto minmax(0, 460px);
  column-gap: 0;
  align-items: center;
  justify-content: center;
  margin-top: 74px;
}
.gallery-showcase__row--bottom {
  grid-template-columns: repeat(4, 1fr);
  margin-top: -46px;
}
.gallery-showcase__carousel {
  --gallery-gap: 54px;
  --gallery-card-width: minmax(0, 1fr);
  --gallery-edge-fade: 88px;
  z-index: 1;
  margin-top: 6px;
  padding: 0 8px 12px;
}
.gallery-showcase__carousel .gallery-track {
  align-items: stretch;
}
.gallery-cluster--showcase .gallery-card {
  --gallery-shift: 0px;
}
.gallery-showcase__heading {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-align: center;
}
.gallery-showcase__brief {
  position: relative;
  z-index: 3;
  width: min(820px, calc(100% - 88px));
  margin: -82px auto -6px;
  padding: 30px 48px 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(19, 24, 21, 0.48), rgba(10, 13, 12, 0.38)),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(128%);
  -webkit-backdrop-filter: blur(16px) saturate(128%);
}
.gallery-showcase__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 10px 18px rgba(96, 179, 125, 0.16));
}
.gallery-showcase__heading h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  color: #f3fbf6;
  line-height: 1.02;
}
.gallery-showcase__brief p:last-child {
  margin: 0 auto;
  max-width: 48ch;
  font-size: clamp(0.94rem, 1.25vw, 1.06rem);
  line-height: 1.72;
  color: rgba(232, 239, 235, 0.82);
}
.gallery-card--showcase {
  --gallery-shift-offset: 0px;
  width: 100%;
  border-radius: 18px;
  cursor: default;
  pointer-events: none;
  transform-style: preserve-3d;
}
.gallery-card--interactive {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
}
.gallery-card--interactive:focus-visible {
  outline: 2px solid rgba(145, 246, 188, 0.72);
  outline-offset: 3px;
}
.gallery-card--showcase img {
  aspect-ratio: 16 / 9;
  transform: scale(1.08);
  transform-origin: center center;
}
.gallery-card--hero img {
  min-height: clamp(172px, 19vw, 236px);
}
.gallery-showcase__row--top .gallery-card--hero:first-child {
  transform: perspective(1400px) rotateY(-7deg) skewX(-5deg) rotate(-1deg) scale(0.96) translateY(8px);
  transform-origin: center left;
}
.gallery-showcase__row--top .gallery-card--hero:last-child {
  transform: perspective(1400px) rotateY(7deg) skewX(5deg) rotate(1deg) scale(0.96) translateY(8px);
  transform-origin: center right;
}
.gallery-showcase__row--top .gallery-card--hero:first-child img {
  transform: scale(1.1) translateX(6px);
}
.gallery-showcase__row--top .gallery-card--hero:last-child img {
  transform: scale(1.1) translateX(-6px);
}
.gallery-card--support img {
  min-height: clamp(150px, 13.5vw, 196px);
}
.gallery-showcase__carousel .gallery-card--support {
  width: clamp(220px, 16.4vw, 278px);
  flex: 0 0 clamp(220px, 16.4vw, 278px);
}
.gallery-cluster--showcase .gallery-card--support:nth-child(odd) {
  transform: none;
}
.gallery-cluster--showcase .gallery-card--support:nth-child(even) {
  transform: none;
}
.gallery-cluster--showcase .gallery-card--support:nth-child(odd) img {
  transform: scale(1.04);
}
.gallery-cluster--showcase .gallery-card--support:nth-child(even) img {
  transform: scale(1.04);
}
.gallery-card--showcase:hover {
  transform: none;
}
.faq-section {
  margin-top: 22px;
  margin-bottom: 156px;
}
.faq-section__head {
  margin-bottom: 26px;
}
.faq-section__head h2 {
  margin-top: 10px;
}
.faq-grid {
  margin-top: 0;
}
.faq-card {
  min-height: 0;
  padding: 30px 32px;
}
.faq-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.24rem, 2vw, 1.58rem);
  line-height: 1.16;
}
.faq-card p {
  margin: 0;
  max-width: 58ch;
  color: rgba(221, 230, 224, 0.8);
  font-size: 1.02rem;
  line-height: 1.6;
}
.gallery-marquee {
  --gallery-gap: 20px;
  --gallery-card-width: clamp(230px, 18vw, 330px);
  --gallery-shift-distance: 1600px;
  --gallery-duration: 40s;
  --gallery-edge-fade: 180px;
  position: relative;
  overflow: hidden;
  padding: 10px 18px 22px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 calc(var(--gallery-edge-fade) * 0.72),
    #000 calc(100% - (var(--gallery-edge-fade) * 0.72)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 calc(var(--gallery-edge-fade) * 0.72),
    #000 calc(100% - (var(--gallery-edge-fade) * 0.72)),
    transparent 100%
  );
}
.gallery-marquee::before,
.gallery-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--gallery-edge-fade);
  z-index: 2;
  pointer-events: none;
}
.gallery-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 11, 8, 0.92), rgba(4, 11, 8, 0));
}
.gallery-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 11, 8, 0.92), rgba(4, 11, 8, 0));
}
.gallery-track {
  display: flex;
  align-items: flex-start;
  gap: var(--gallery-gap);
  width: max-content;
  will-change: transform;
  animation: galleryMarqueeLeft var(--gallery-duration) linear infinite;
}
.gallery-marquee.reverse .gallery-track {
  animation-name: galleryMarqueeRight;
}
.gallery-marquee:hover .gallery-track,
.gallery-marquee:focus-within .gallery-track {
  animation-play-state: paused;
}
.gallery-cluster {
  display: flex;
  align-items: flex-start;
  gap: var(--gallery-gap);
}
.gallery-card {
  --gallery-shift: 0px;
  --gallery-shift-scale: 0.42;
  --gallery-shift-offset: calc(var(--gallery-shift) * var(--gallery-shift-scale));
  position: relative;
  width: var(--gallery-card-width);
  flex: 0 0 var(--gallery-card-width);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(159, 238, 192, 0.12);
  border-radius: 28px;
  background: rgba(8, 14, 11, 0.72);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(var(--gallery-shift-offset));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.gallery-cluster .gallery-card:nth-child(1) { --gallery-shift: 24px; }
.gallery-cluster .gallery-card:nth-child(2) { --gallery-shift: 2px; }
.gallery-cluster .gallery-card:nth-child(3) { --gallery-shift: 30px; }
.gallery-cluster .gallery-card:nth-child(4) { --gallery-shift: 8px; }
.gallery-cluster .gallery-card:nth-child(5) { --gallery-shift: 34px; }
.gallery-cluster .gallery-card:nth-child(6) { --gallery-shift: 14px; }
.gallery-cluster .gallery-card:nth-child(7) { --gallery-shift: 26px; }
.gallery-cluster .gallery-card:nth-child(8) { --gallery-shift: 4px; }
.gallery-cluster .gallery-card:nth-child(9) { --gallery-shift: 32px; }
.gallery-cluster .gallery-card:nth-child(10) { --gallery-shift: 12px; }
.gallery-cluster .gallery-card:nth-child(11) { --gallery-shift: 28px; }
.gallery-cluster .gallery-card:nth-child(12) { --gallery-shift: 6px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(1) { --gallery-shift: 6px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(2) { --gallery-shift: 26px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(3) { --gallery-shift: 10px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(4) { --gallery-shift: 34px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(5) { --gallery-shift: 2px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(6) { --gallery-shift: 24px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(7) { --gallery-shift: 8px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(8) { --gallery-shift: 30px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(9) { --gallery-shift: 4px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(10) { --gallery-shift: 22px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(11) { --gallery-shift: 0px; }
.gallery-marquee.reverse .gallery-cluster .gallery-card:nth-child(12) { --gallery-shift: 18px; }
.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.04), rgba(6, 10, 8, 0.64));
}
.gallery-card__meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: none;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.gallery-card__meta strong {
  font-size: 1rem;
}
.gallery-card__meta small {
  color: rgba(222, 231, 225, 0.72);
}
.gallery-card:hover {
  transform: translateY(calc(var(--gallery-shift-offset) - 8px)) scale(1.015);
  border-color: rgba(182, 255, 209, 0.22);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.46);
}
@keyframes galleryMarqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--gallery-shift-distance)), 0, 0); }
}
@keyframes galleryMarqueeRight {
  from { transform: translate3d(calc(-1 * var(--gallery-shift-distance)), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.gallery-lightbox[hidden] {
  display: none;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 8, 7, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(159, 238, 192, 0.12);
  background: linear-gradient(180deg, rgba(10, 16, 13, 0.96), rgba(7, 11, 9, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
}
.gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}
.gallery-lightbox__frame {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0,0,0,0.24);
}
.gallery-lightbox__frame img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}
.gallery-lightbox__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.gallery-lightbox__meta strong {
  font-size: 1.1rem;
}
.gallery-lightbox__meta small {
  color: var(--muted);
}
.glass-card h2 { margin-top: 8px; }
.discord-card {
  scroll-margin-top: 116px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.server-card {
  scroll-margin-top: 116px;
}
.discord-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(20, 30, 24, 0.62), rgba(10, 16, 12, 0.74)),
    radial-gradient(circle at center, rgba(92, 206, 136, 0.1), transparent 60%);
}
.discord-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 12, 10, 0.72) 0%, rgba(7, 12, 10, 0.2) 30%, rgba(7, 12, 10, 0.2) 70%, rgba(7, 12, 10, 0.72) 100%),
    url("/static/img/discord-banner.svg") center center/cover no-repeat;
  opacity: 0.62;
}
.discord-card > * {
  position: relative;
  z-index: 1;
}

.server-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.status-dot {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-dot.online { background: rgba(95,208,139,0.14); color: var(--cyan); }
.status-dot.offline { background: rgba(255,85,85,0.14); color: #ff9494; }
.server-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.server-address-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.server-address-line .mono {
  flex: 1 1 auto;
}
.server-stats label,
.metric-card span { color: var(--muted); font-size: 0.9rem; display: block; margin-bottom: 6px; }
.copy-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(244, 250, 255, 0.82);
  box-shadow: 0 8px 20px rgba(2, 7, 5, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.copy-icon-button::before,
.copy-icon-button::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}
.copy-icon-button::before {
  width: 10px;
  height: 10px;
  transform: translate(3px, -3px);
}
.copy-icon-button::after {
  width: 10px;
  height: 10px;
  transform: translate(-2px, 2px);
  background: rgba(11, 18, 15, 0.12);
}
.copy-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(151, 255, 193, 0.22);
  background: rgba(95,208,139,0.12);
  color: #ffffff;
}
.copy-icon-button.is-copied {
  border-color: rgba(151, 255, 193, 0.28);
  background: rgba(95,208,139,0.16);
  color: var(--cyan);
}
.copy-icon-button.is-copied::before {
  width: 6px;
  height: 12px;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.copy-icon-button.is-copied::after {
  opacity: 0;
  transform: scale(0.8);
}

.progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3f8b5b, var(--green), var(--cyan));
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-top: 28px;
}

.guide-shell {
  display: grid;
  gap: 26px;
  width: min(1100px, 100%);
  margin: 42px auto 0;
}

.guide-hero {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: 56px 24px 20px;
}

.guide-hero .eyebrow {
  color: rgba(224, 233, 227, 0.76);
  font-size: 0.88rem;
}

.guide-hero h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.guide-hero p:last-child {
  width: min(78ch, 100%);
  margin: 0;
  color: rgba(221, 231, 225, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.guide-step,
.guide-faq-shell {
  padding: 30px 30px 32px;
  border-radius: 30px;
}

.guide-step__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.guide-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(95, 208, 139, 0.98), rgba(54, 143, 90, 0.94));
  color: #07120d;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 14px 24px rgba(55, 146, 91, 0.18);
}

.guide-step__head h2,
.guide-faq-shell__head h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.guide-step__head p,
.guide-panel p,
.guide-faq-shell__head p,
.guide-accordion__body p {
  color: rgba(220, 229, 224, 0.78);
  line-height: 1.72;
}

.guide-step__head p {
  margin: 10px 0 0;
  max-width: 74ch;
  font-size: 1rem;
}

.guide-os-grid,
.guide-two-up,
.guide-requirements__grid {
  display: grid;
  gap: 18px;
}

.guide-os-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-platform-card,
.guide-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(159, 238, 192, 0.1);
  background:
    linear-gradient(180deg, rgba(21, 30, 26, 0.8), rgba(10, 16, 13, 0.84)),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.guide-platform-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding: 28px 18px 20px;
}

.guide-platform-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 208, 139, 0.12), transparent 68%);
  pointer-events: none;
}

.guide-platform-card__head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.guide-platform-card__head strong,
.guide-panel h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
}

.guide-platform-card__title {
  display: inline-block;
  margin: 0 0 16px;
  color: rgba(233, 240, 236, 0.72);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.guide-platform-card__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(244, 250, 247, 0.82);
}

.guide-platform-card__glyph img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.94;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
}

.guide-download-button,
.guide-cta-button {
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #5fd08b 0%, #3f9d65 100%);
  color: #f7fffa;
  font-weight: 800;
  box-shadow:
    0 0 0 1px rgba(142, 241, 181, 0.18),
    0 12px 28px rgba(56, 146, 91, 0.18);
}

.guide-platform-card .guide-download-button,
.guide-panel .guide-cta-button,
.guide-panel .guide-secondary-button {
  margin-top: 0;
}

.guide-platform-card .guide-download-button {
  min-height: 46px;
  width: auto;
  min-width: 220px;
  padding: 0 22px;
  border-radius: 14px;
}

.guide-download-button:hover,
.guide-cta-button:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #72db9b 0%, #4aad73 100%);
}

.guide-download-button.is-disabled {
  cursor: default;
  pointer-events: none;
  background: rgba(255,255,255,0.05);
  color: rgba(232, 238, 234, 0.52);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.06);
}

.guide-platform-card p,
.guide-panel p {
  margin: 14px 0 0;
  font-size: 0.98rem;
}

.guide-panel .guide-cta-button {
  margin-top: auto;
  align-self: center;
}

.guide-panel--action {
  min-height: 300px;
  padding-bottom: 26px;
}

.guide-panel--action .guide-cta-button,
.guide-panel--action .guide-secondary-button {
  width: 100%;
  margin-top: auto;
  margin-bottom: 8px;
  align-self: stretch;
}

.guide-requirements {
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.guide-requirements__head h3 {
  margin: 0 0 16px;
  font-size: 1.34rem;
}

.guide-requirements__head p {
  margin: -4px 0 0;
  color: rgba(220, 229, 224, 0.68);
  font-size: 0.95rem;
}

.guide-requirements__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-requirements__platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.guide-panel strong {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(239, 246, 242, 0.96);
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guide-panel ul,
.guide-ordered-list {
  margin: 0;
  padding-left: 1.3rem;
  color: rgba(234, 241, 237, 0.88);
}

.guide-panel ul {
  display: grid;
  gap: 10px;
}

.guide-panel ul li::marker,
.guide-ordered-list li::marker {
  color: #7ce2a3;
  font-weight: 800;
}

.guide-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-ordered-list {
  display: grid;
  gap: 10px;
  line-height: 1.64;
}

.guide-secondary-button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
}

.guide-secondary-button:hover {
  color: #ffffff;
}

.guide-faq-shell__head {
  margin-bottom: 18px;
}

.guide-accordion {
  display: grid;
  gap: 12px;
}

.guide-accordion__item {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(13, 20, 17, 0.68);
}

.guide-accordion__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 22px;
  font-size: 1.06rem;
  font-weight: 700;
  color: rgba(242, 248, 244, 0.94);
}

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

.guide-accordion__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ce2a3;
  font-size: 1.45rem;
  font-weight: 500;
}

.guide-accordion__item[open] summary::after {
  content: "−";
}

.guide-accordion__body {
  padding: 0 22px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.guide-accordion__body p {
  margin: 16px 0 0;
}
.donate-metric-card {
  min-width: 360px;
  max-width: 420px;
}
.metric-card__split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.metric-card__stat {
  min-width: 110px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.metric-card__stat span {
  margin-bottom: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-card__stat strong {
  margin: 0;
  font-size: 1.45rem;
}
.toolbar { justify-content: space-between; margin-top: 20px; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.purchase-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  margin-top: 26px;
  align-items: flex-start;
}
.donate-catalog {
  margin-top: 24px;
  align-items: stretch;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 8, 12, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.purchase-modal {
  width: min(1160px, 100%);
  max-height: min(82vh, 920px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(12, 16, 14, 0.97), rgba(8, 11, 10, 0.97));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}
.purchase-modal__inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 0;
}
.purchase-panel,
.purchase-details {
  min-width: 0;
}
.purchase-panel {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}
.purchase-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.purchase-panel__head h2 {
  margin: 0;
}
.purchase-panel__caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.8rem;
  line-height: 1;
}
.purchase-panel__top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 68, 45, 0.82), rgba(18, 44, 30, 0.7));
  border: 1px solid rgba(128, 221, 163, 0.14);
}
.selected-chip strong {
  display: block;
}
.selected-chip small {
  display: block;
  margin-bottom: 4px;
  color: rgba(213, 241, 223, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}
.selected-chip-large {
  width: 100%;
  min-height: 82px;
  padding: 18px 18px;
  border-radius: 20px;
}
.selected-plan-summary {
  margin-bottom: 20px;
}
.selected-plan-summary__text {
  margin: 14px 4px 0;
  color: var(--muted);
  line-height: 1.6;
}
.purchase-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.purchase-label {
  color: var(--muted);
  font-size: 0.96rem;
}
.term-grid,
.choice-group {
  display: grid;
  gap: 10px;
}
.term-grid { grid-template-columns: repeat(5, 1fr); }
.choice-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-group-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.term-option,
.choice-chip {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.choice-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.92rem;
}
.choice-chip:hover,
.term-option:hover {
  transform: translateY(-1px);
  border-color: rgba(162, 241, 194, 0.22);
}
.term-option.active,
.choice-chip.active {
  background: linear-gradient(180deg, rgba(40, 92, 58, 0.92), rgba(25, 62, 40, 0.84));
  border-color: rgba(143, 232, 176, 0.18);
}
.choice-chip-wide {
  min-height: 48px;
  padding: 0 12px;
  font-size: 0.9rem;
}
.checkout-panel-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.price-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.price-box strong {
  font-size: 2.2rem;
  line-height: 1;
}
.price-box .crossed {
  align-self: center;
  font-size: 1.02rem;
  line-height: 1;
}
.button-wide {
  width: 100%;
}
.agreement-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.agreement-line a {
  color: #8af0b4;
}
.purchase-details {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 22px 18px;
  background: linear-gradient(180deg, rgba(9, 13, 11, 0.72), rgba(8, 11, 10, 0.9));
}
.purchase-details__scroll {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(82vh - 44px);
  overflow: auto;
  padding-right: 10px;
}
.purchase-details__scroll::-webkit-scrollbar {
  width: 10px;
}
.purchase-details__scroll::-webkit-scrollbar-thumb {
  background: rgba(120, 183, 143, 0.26);
  border-radius: 999px;
}
.purchase-details__scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}
.subscription-detail-card,
.inherited-card {
  background:
    linear-gradient(180deg, rgba(22, 55, 36, 0.86), rgba(13, 31, 21, 0.72)),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(143, 232, 176, 0.08);
}
.selected-tier-card {
  position: relative;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}
.detail-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.detail-card__head h2,
.detail-card__head h3 {
  margin: 4px 0 0;
}
.detail-card__head small {
  display: block;
  color: rgba(213, 241, 223, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}
.perk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk-list.compact .perk-item {
  min-height: 0;
}
.perk-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
}
.inherit-title {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.inherited-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--accent, var(--blue));
  background:
    linear-gradient(180deg, rgba(20, 34, 28, 0.98), rgba(10, 18, 14, 0.98));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(141, 231, 174, 0.1);
}
.plan-card strong { font-size: 2rem; }
.donate-catalog .plan-card--recon { order: 1; }
.donate-catalog .plan-card--command { order: 2; }
.donate-catalog .plan-card--dropship { order: 3; }
.donate-catalog .plan-card.featured {
  transform: scale(1.03);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(141, 231, 174, 0.14);
  background:
    linear-gradient(180deg, rgba(25, 40, 33, 0.98), rgba(12, 20, 16, 0.98));
}
.donate-catalog .plan-card.featured:hover,
.donate-catalog .plan-card.featured:focus-within {
  transform: scale(1.03) translateY(-6px);
}
.plan-card__media {
  min-height: 220px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255,255,255,0.08), transparent 26%),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.06), transparent 34%),
    linear-gradient(140deg, var(--accent, var(--blue)) 0%, rgba(20, 28, 26, 0.18) 60%),
    linear-gradient(180deg, rgba(22, 26, 25, 0.22), rgba(18, 20, 21, 0.08));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plan-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  padding: 24px 24px 18px;
}
.donate-catalog .plan-card.featured .plan-code {
  color: #b6ffd1;
}
.donate-catalog .plan-card.featured h3 {
  font-size: 2.8rem;
}
.plan-code {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.92rem;
  margin: 0;
}
.plan-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: none;
  line-height: 0.96;
}
.plan-description {
  margin: 0;
  color: rgba(240, 244, 244, 0.9);
  font-size: 1.06rem;
  line-height: 1.28;
  max-width: 22ch;
}
.plan-divider {
  width: 100%;
  height: 1px;
  margin-top: auto;
  background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
}
.plan-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-meta small {
  font-size: 1rem;
}
.crossed { text-decoration: line-through; color: var(--muted); }
.plan-cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0 24px 24px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(80, 196, 124, 0.98), rgba(58, 148, 96, 0.98));
  color: #fff;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(56, 153, 95, 0.2);
}
.plan-cta-pill__price,
.plan-cta-pill__buy {
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.plan-cta-pill__price {
  opacity: 1;
  transform: translateY(0);
}
.plan-cta-pill__buy {
  position: absolute;
  opacity: 0;
  transform: translateY(8px);
}
.plan-card:hover .plan-cta-pill__price,
.plan-card:focus-within .plan-cta-pill__price {
  opacity: 0;
  transform: translateY(-8px);
}
.plan-card:hover .plan-cta-pill__buy,
.plan-card:focus-within .plan-cta-pill__buy {
  opacity: 1;
  transform: translateY(0);
}
.plan-card:hover .plan-cta-pill,
.plan-card:focus-within .plan-cta-pill {
  background: linear-gradient(135deg, rgba(98, 214, 143, 0.98), rgba(69, 168, 109, 0.98));
  box-shadow: 0 20px 46px rgba(66, 171, 108, 0.24);
}
.checkout-form { margin-top: auto; }

.metric-card strong { display: block; margin: 8px 0; font-size: 2rem; }
.duration-notes { margin-top: 20px; }
.cabinet-empty { display: flex; justify-content: center; margin-top: 60px; }
.bind-card { width: min(720px, 100%); }
.cabinet-shell {
  width: min(1080px, calc(100vw - 88px));
  margin: 0 auto;
}
.cabinet-shell .section-head {
  margin-top: 0;
}
.cabinet-shell .feature-grid.two-up {
  margin-top: 22px;
}
.cabinet-shell .feature {
  min-height: 188px;
}

.cabinet-shell .feature p {
  max-width: 52ch;
}

.account-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  line-height: 1;
}

.account-status-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.account-status-chip.is-connected {
  color: #7cd191;
  background: rgba(83, 183, 113, 0.12);
  border-color: rgba(124, 209, 145, 0.18);
}

.account-status-chip.is-disconnected {
  color: rgba(230, 238, 233, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.account-status-chip.is-pending {
  color: #ffe4ad;
  background: rgba(255, 204, 102, 0.12);
  border-color: rgba(255, 228, 173, 0.22);
}

.sync-error {
  color: rgba(255, 196, 196, 0.86);
  font-size: 0.82rem;
}
.cabinet-orders {
  margin-top: 28px;
}
.cabinet-orders .section-head {
  margin-bottom: 12px;
}
.cabinet-orders .admin-fold {
  margin-top: 0;
}
.cabinet-orders .table-wrap {
  margin-top: 0;
}

.toolbar-form input,
.toolbar-form select,
.stack-form input,
.stack-form textarea,
.stack-form select,
.inline-form input,
.inline-form textarea,
.inline-form select {
  min-height: 40px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
}

.stack-form,
.stack-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stack-form textarea { min-height: 92px; resize: vertical; }
.notice { margin-top: 18px; color: #ffe4ad; }
.mono { font-family: Consolas, monospace; overflow-wrap: anywhere; }

.admin-grid { grid-template-columns: 1.1fr 0.9fr; margin-top: 28px; }
.admin-card { margin-top: 24px; border-radius: 24px; padding: 24px; }
.admin-card h2 { margin-top: 0; }
.section-head__text {
  margin: 10px 0 0;
  max-width: 68ch;
  color: rgba(230, 238, 233, 0.72);
}
.admin-filter-form {
  margin-top: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-filter-form input,
.admin-filter-form select {
  flex: 1 1 190px;
}
.admin-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  width: min(1560px, calc(100vw - 32px));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.admin-fold {
  border-radius: 22px;
  border: 1px solid rgba(124, 198, 146, 0.08);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.admin-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}
.admin-fold summary::-webkit-details-marker {
  display: none;
}
.admin-fold summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(233, 240, 235, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
}
.admin-fold .table-wrap {
  margin-top: 0;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: visible;
}
.admin-data-table,
.orders-table--cabinet {
  table-layout: fixed;
}
.admin-data-table td,
.admin-data-table th,
.orders-table--cabinet td,
.orders-table--cabinet th {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.orders-table--cabinet td:last-child,
.orders-table--cabinet th:last-child {
  width: 22%;
}
.orders-table--cabinet td:first-child,
.orders-table--cabinet th:first-child {
  width: 16%;
}
.orders-table--cabinet td:nth-child(2),
.orders-table--cabinet th:nth-child(2) {
  width: 14%;
}
.orders-table--cabinet td:nth-child(3),
.orders-table--cabinet th:nth-child(3) {
  width: 10%;
}
.orders-table--cabinet td:nth-child(4),
.orders-table--cabinet th:nth-child(4) {
  width: 13%;
}
.orders-table--cabinet td:nth-child(5),
.orders-table--cabinet th:nth-child(5) {
  width: 12%;
}
.compact input,
.compact select { min-height: 34px; padding: 8px 10px; }

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 24px;
}
.price-matrix-field {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-matrix-field span {
  min-width: 18px;
  color: var(--muted);
  font-weight: 700;
}
.price-matrix-field input {
  width: 100%;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}
th { color: var(--muted); font-size: 0.9rem; }
.admin-user-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.admin-card--wide {
  position: relative;
  left: 50%;
  width: min(1560px, calc(100vw - 32px));
  max-width: none;
  transform: translateX(-50%);
}
.admin-user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 193, 143, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(233, 241, 236, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.admin-users-table td {
  vertical-align: top;
}
.admin-card--users .table-wrap {
  overflow-x: visible;
}
.admin-users-table {
  table-layout: fixed;
}
.admin-users-table th,
.admin-users-table td {
  white-space: normal;
}
.admin-users-table th:nth-child(1),
.admin-users-table td:nth-child(1) {
  width: 72px;
}
.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) {
  width: 56px;
}
.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3) {
  width: 14%;
}
.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) {
  width: 18%;
}
.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5) {
  width: 18%;
}
.admin-users-table th:nth-child(6),
.admin-users-table td:nth-child(6) {
  width: 16%;
}
.admin-users-table th:nth-child(7),
.admin-users-table td:nth-child(7) {
  width: 86px;
}
.admin-users-table th:nth-child(8),
.admin-users-table td:nth-child(8),
.admin-users-table th:nth-child(9),
.admin-users-table td:nth-child(9) {
  width: 130px;
}
.admin-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: rgba(245, 249, 246, 0.92);
  font-weight: 800;
}
.admin-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-user-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.admin-user-identity strong {
  font-size: 1rem;
}
.admin-role-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 239, 234, 0.78);
  font-size: 0.83rem;
  font-weight: 700;
}
.admin-role-badge.is-plan {
  color: rgba(233, 240, 235, 0.86);
}
.admin-role-badge.is-plan.has-plan {
  background: rgba(93, 207, 137, 0.12);
  border-color: rgba(124, 223, 162, 0.18);
  color: rgba(182, 242, 202, 0.96);
}
.admin-role-badge.is-admin {
  background: rgba(93, 207, 137, 0.12);
  border-color: rgba(124, 223, 162, 0.18);
  color: rgba(182, 242, 202, 0.96);
}
.promo-admin-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-admin-item summary {
  padding: 16px 18px;
}
.promo-admin-summary {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.promo-admin-summary strong {
  font-size: 1rem;
}
.promo-admin-summary small {
  color: rgba(230, 238, 233, 0.6);
  font-size: 0.82rem;
}
.promo-admin-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 18px;
}
.promo-admin-delete {
  display: flex;
  justify-content: flex-end;
}
.promo-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-link-row input {
  flex: 1 1 auto;
  min-width: 0;
}
.admin-admin-summary {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.admin-admin-summary small {
  color: rgba(230, 238, 233, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
}
.admin-admin-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}
.admin-fold > .admin-admin-body.admin-card--wide {
  left: auto;
  width: auto;
  max-width: none;
  transform: none;
}
.admin-admin-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  color: rgba(233, 241, 236, 0.82);
}
.admin-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.admin-admin-actions form {
  margin: 0;
}

.footer {
  margin: 0;
  padding: 20px 26px 22px;
  border-radius: 32px 32px 0 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 10, 0.98), rgba(7, 10, 8, 0.98)),
    radial-gradient(circle at 30% 20%, rgba(68, 153, 99, 0.08), transparent 30%);
  border: 1px solid rgba(118, 184, 139, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.footer-drawer {
  position: relative;
  z-index: 12;
  margin: 26px 8px 0;
  min-height: 52px;
  overflow: visible;
  border-radius: 28px 28px 0 0;
}
.footer-drawer__toggle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  list-style: none;
  cursor: pointer;
  z-index: 1;
  min-height: 52px;
}
.footer-drawer__toggle::-webkit-details-marker {
  display: none;
}
.footer-drawer__pill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 10px 26px 11px;
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(0, 26, 10, 0.14);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 10, 0.98), rgba(7, 10, 8, 0.98)),
    radial-gradient(circle at 30% 20%, rgba(68, 153, 99, 0.08), transparent 30%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: opacity 0.18s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.footer-drawer__toggle-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.95fr 1fr;
  align-items: center;
  gap: 22px;
  padding-right: 34px;
}
.footer-drawer__pill::after {
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  right: 26px;
  top: 50%;
  border-right: 2px solid rgba(223, 234, 227, 0);
  border-bottom: 2px solid rgba(223, 234, 227, 0);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.88;
}
.footer-drawer__toggle-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.footer-drawer__mini-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #171918;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(151, 255, 193, 0.18);
}
.footer-drawer__mini-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-drawer__mini-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.footer-drawer__mini-copy strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.84rem;
  line-height: 1;
}
.footer-drawer__state {
  color: rgba(198, 210, 201, 0.62);
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0;
}
.footer-drawer__toggle-label {
  display: block;
  color: rgba(239, 245, 241, 0.96);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.15;
}
.footer-drawer__state--open {
  display: none;
}
.footer-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transform-origin: bottom center;
  z-index: 2;
  pointer-events: none;
  transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}
.footer-drawer:not([open]) .footer-drawer__panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.footer-drawer[open] .footer-drawer__state--closed {
  display: none;
}
.footer-drawer[open] .footer-drawer__state--open {
  display: inline;
}
.footer-drawer[open] .footer-drawer__toggle {
  min-height: 420px;
}
.footer-drawer[open] .footer-drawer__pill {
  opacity: 0;
  transform: translateY(8px);
  box-shadow: none;
}
.footer-drawer[open] .footer-drawer__pill::after {
  transform: translateY(-42%) rotate(-135deg);
}
.footer-drawer[open] .footer-drawer__panel {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}
.footer-drawer__panel .footer {
  border-top: 0;
  border-radius: 28px 28px 0 0;
}
.footer-drawer__content {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr; }
.footer-grid-modern {
  grid-template-columns: 1.35fr 0.7fr 0.95fr 1fr;
  gap: 22px;
}
.footer h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer a {
  display: block;
  margin-bottom: 6px;
  color: rgba(234, 241, 236, 0.8);
  font-size: 0.78rem;
  line-height: 1.24;
}
.footer-link-button {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(234, 241, 236, 0.8);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.24;
  text-align: left;
  cursor: pointer;
}
.footer a:hover { color: #ffffff; }
.footer-link-button:hover { color: #ffffff; }
.footer-brand-block p {
  max-width: 30ch;
  margin: 8px 0 6px;
  font-size: 0.78rem;
  line-height: 1.28;
}
.footer-brand-block small {
  color: rgba(198, 210, 201, 0.62);
  font-size: 0.7rem;
}
.footer-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #171918;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(151, 255, 193, 0.18);
}
.footer-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-logo-copy strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.84rem;
}
.footer-logo-copy span {
  color: rgba(210, 222, 214, 0.74);
  font-size: 0.72rem;
}
.footer-brand-block > p,
.footer-brand-block > small,
.footer > div p:not(.footer-brand-block p) {
  line-height: 1.4;
  font-size: 0.76rem;
}
.footer-seller-details {
  margin: 0 0 8px;
}
.footer-seller-details__toggle {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(236, 243, 238, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  list-style: none;
}
.footer-seller-details__toggle::-webkit-details-marker {
  display: none;
}
.footer-seller-details__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid rgba(223, 234, 227, 0.78);
  border-bottom: 1.5px solid rgba(223, 234, 227, 0.78);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.footer-seller-details__toggle:hover {
  color: #ffffff;
}
.footer-seller-details__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0.78;
  padding: 0;
  transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.2s ease;
}
.footer-seller-details[open] .footer-seller-details__body {
  max-height: 64px;
  padding: 6px 0 0;
  opacity: 1;
}
.footer-seller-details[open] .footer-seller-details__toggle::after {
  transform: rotate(-135deg) translateY(-1px);
}
.footer-seller-details__body p {
  margin: 0;
  line-height: 1.24;
  color: rgba(234, 241, 236, 0.8);
  font-size: 0.76rem;
}
.footer-seller-details__body p + p {
  margin-top: 2px;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.footer-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 247, 244, 0.92) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.footer-social:hover {
  transform: translateY(-2px);
  background: rgba(95, 208, 139, 0.14);
  border-color: rgba(141, 231, 174, 0.2);
}
.cookie-consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
}
.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(119, 190, 143, 0.12);
  background: rgba(12, 14, 15, 0.96);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.cookie-consent__copy {
  flex: 1 1 auto;
}
.cookie-consent__copy > p {
  margin: 0;
  max-width: 56ch;
  color: rgba(226, 234, 229, 0.78);
  font-size: 0.96rem;
  line-height: 1.38;
}
.cookie-consent__copy > p a {
  color: rgba(150, 237, 179, 0.94);
}
.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-consent__actions .button {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.94rem;
}
.cookie-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(3, 5, 5, 0.54);
  backdrop-filter: blur(6px);
}
.cookie-settings {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 95;
  width: min(680px, calc(100vw - 28px));
}
.cookie-settings__inner {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(119, 190, 143, 0.12);
  background: rgba(14, 16, 18, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}
.cookie-settings__head h2 {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}
.cookie-settings__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-settings__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.cookie-settings__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-settings__meta strong {
  font-size: 1rem;
  color: rgba(243, 246, 244, 0.96);
}
.cookie-settings__meta span {
  color: rgba(220, 227, 223, 0.72);
  font-size: 0.9rem;
  line-height: 1.4;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.cookie-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.cookie-switch span {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.18s ease;
}
.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.18s ease;
}
.cookie-switch input:checked + span {
  background: linear-gradient(135deg, #e0b300, #ffd200);
}
.cookie-switch input:checked + span::after {
  transform: translateX(22px);
}
.cookie-switch.is-disabled {
  opacity: 0.9;
}
.cookie-settings__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .page-shell {
    padding-top: 16px;
  }
  .floating-nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    min-height: 78px;
    padding: 10px 16px;
    border-radius: 999px;
  }
  .brand {
    gap: 10px;
    font-size: 0.92rem;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .nav {
    gap: 14px;
  }
  .nav a {
    padding: 8px 0;
    font-size: 0.9rem;
  }
  .nav .nav-home {
    font-size: 1rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .pref-switcher summary,
  .floating-nav .button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.8rem;
  }
  .hero,
  .community-status,
  .landing-brief,
  .gallery-marquee-stack,
  .purchase-shell,
  .purchase-modal__inner,
  .feature-grid,
  .feature-grid.two-up,
  .pricing-grid,
  .footer-grid,
  .admin-grid { grid-template-columns: 1fr; }
  .server-stats { grid-template-columns: 1fr; }
  .server-address-line {
    align-items: flex-start;
  }
  .hero-copy-wide {
    min-height: min(760px, calc(100vh - 170px));
    padding: 98px 36px 56px;
    align-items: flex-start;
    text-align: left;
  }
  .hero-scroll-hint {
    justify-content: flex-start;
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 6px;
    font-size: 0.94rem;
  }
  .hero-copy-wide .hero-scroll-hint {
    padding-top: 68px;
  }
  .lead {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-title-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
  }
  .hero-copy h1 {
    white-space: normal;
  }
  .hero-title-stacked span {
    display: block;
    width: 100%;
  }
  .hero-title-stacked span:last-child {
    text-align: left;
    margin-left: 0;
  }
  .donate-catalog .plan-card.featured {
    transform: none;
  }
  .gallery-showcase {
    margin: 96px 0 136px;
  }
  .gallery-showcase__row--top {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 60px;
    margin-top: 56px;
  }
  .gallery-showcase__brief {
    width: min(820px, calc(100% - 44px));
    margin-top: -24px;
  }
  .gallery-showcase__carousel {
    --gallery-gap: 40px;
    --gallery-edge-fade: 66px;
    margin-top: 30px;
  }
  .guide-shell {
    margin-top: 28px;
  }
  .guide-hero {
    justify-items: start;
    text-align: left;
    padding: 44px 8px 12px;
  }
  .guide-os-grid,
  .guide-two-up,
  .guide-requirements__grid,
  .guide-requirements__platforms {
    grid-template-columns: 1fr;
  }
  .admin-filter-form input,
  .admin-filter-form select {
    flex-basis: 100%;
  }
  .admin-admin-meta {
    grid-template-columns: 1fr;
  }
  .cookie-consent__inner {
    flex-direction: column;
    align-items: flex-start;
    max-width: min(100vw - 32px, 760px);
  }
  .cookie-consent__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  main { padding: 0 20px 54px; }
  .main-with-footer-gap { padding-bottom: 148px; }
  .page-shell { padding-top: 14px; }
  .floating-nav-wrap { top: 8px; padding: 0 18px 10px; }
  .floating-nav {
    display: flex;
    border-radius: 28px;
    align-items: flex-start;
    min-height: 76px;
    padding: 11px 15px;
    gap: 16px;
  }
  .brand {
    font-size: 0.96rem;
    gap: 10px;
  }
  .brand-text { white-space: normal; }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .cookie-consent {
    left: 16px;
    bottom: 16px;
  }
  .cookie-consent__inner {
    padding: 14px;
    border-radius: 22px;
  }
  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cookie-consent__actions .button {
    width: 100%;
  }
  .cookie-settings {
    width: min(100vw - 20px, 680px);
  }
  .cookie-settings__inner {
    padding: 16px;
    border-radius: 20px;
  }
  .cookie-settings__item {
    padding: 12px 14px;
  }
  .cookie-settings__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-settings__actions .button {
    width: 100%;
  }
  .cookie-manage {
    right: 16px;
    bottom: 16px;
  }
  .nav a {
    font-size: 0.96rem;
  }
  .nav-play {
    min-height: 48px;
    width: 128px;
    font-size: 0.96rem;
  }
  .pref-switcher summary,
  .floating-nav .button {
    min-height: 42px;
    font-size: 0.86rem;
  }
  .nav,
  .nav-actions {
    flex-wrap: wrap;
  }
  .nav { justify-content: flex-start; }
  .hero {
    margin-top: 24px;
  }
  .hero-copy-wide {
    min-height: min(680px, calc(100vh - 150px));
    padding: 62px 28px 48px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .lead {
    font-size: 1.06rem;
  }
  .section-head,
  .toolbar { align-items: flex-start; flex-direction: column; }
  .community-status {
    margin-top: 28px;
  }
  .community-status__head,
  .landing-brief {
    margin-top: 112px;
  }
  .faq-section {
    margin-bottom: 118px;
  }
  .gallery-showcase {
    gap: 22px;
    margin: 84px 0 118px;
  }
  .gallery-showcase__row {
    gap: 34px;
  }
  .gallery-showcase__row--top {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 0;
    margin-top: 50px;
  }
  .gallery-showcase__carousel {
    --gallery-gap: 30px;
    --gallery-edge-fade: 44px;
    margin-top: 20px;
    padding-inline: 0;
  }
  .gallery-showcase__heading {
    margin: 0;
  }
  .gallery-showcase__row--top .gallery-card--hero:first-child {
    transform: perspective(1200px) rotateY(-5deg) skewX(-3deg) rotate(-0.7deg) scale(0.97) translateY(6px);
  }
  .gallery-showcase__row--top .gallery-card--hero:last-child {
    transform: perspective(1200px) rotateY(5deg) skewX(3deg) rotate(0.7deg) scale(0.97) translateY(6px);
  }
  .gallery-cluster--showcase .gallery-card--support:nth-child(odd),
  .gallery-cluster--showcase .gallery-card--support:nth-child(even) {
    transform: none;
  }
  .gallery-showcase__brief {
    width: min(100%, 760px);
    margin: -44px auto -2px;
    padding: 26px 30px 28px;
  }
  .gallery-showcase__heading h2 {
    font-size: clamp(1.35rem, 5vw, 1.9rem);
  }
  .gallery-showcase__brief p:last-child {
    max-width: 42ch;
    font-size: 0.95rem;
  }
  .gallery-showcase__badge {
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
  }
  .guide-step,
  .guide-faq-shell {
    padding: 24px 22px 24px;
    border-radius: 26px;
  }
  .guide-step__head {
    gap: 14px;
    margin-bottom: 18px;
  }
  .guide-step__head h2,
  .guide-faq-shell__head h2 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
  .guide-platform-card,
  .guide-panel {
    padding: 18px;
    border-radius: 22px;
  }
  .guide-panel--action {
    min-height: 0;
    padding-bottom: 22px;
  }
  .guide-platform-card__glyph {
    width: 112px;
    height: 112px;
  }
  .guide-platform-card__glyph img {
    width: 84px;
    height: 84px;
  }
  .guide-accordion__item summary {
    padding: 18px 52px 18px 18px;
    font-size: 1rem;
  }
  .guide-accordion__body {
    padding: 0 18px 18px;
  }
  .faq-card {
    padding: 24px;
  }
  .faq-card h3 {
    font-size: 1.15rem;
  }
  .faq-card p {
    font-size: 0.98rem;
  }
  .donate-metric-card {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
  .metric-card__split {
    grid-template-columns: 1fr;
  }
  .metric-card__stat {
    min-width: 0;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer {
    padding: 18px 18px 20px;
    border-radius: 26px 26px 0 0;
  }
  .footer-drawer {
    margin-left: 0;
    margin-right: 0;
    margin-top: 24px;
    min-height: 48px;
  }
  .footer-drawer[open] .footer-drawer__toggle {
    min-height: 396px;
  }
  .footer-drawer__pill {
    padding: 9px 20px 10px;
    border-radius: 24px 24px 0 0;
  }
  .footer-drawer__toggle-grid {
    gap: 16px;
    padding-right: 30px;
  }
  .footer-drawer__toggle-label {
    font-size: 0.76rem;
  }
  .term-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-group,
  .choice-group-wide { grid-template-columns: repeat(2, 1fr); }
  .purchase-modal {
    max-height: 92vh;
  }
  .purchase-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .purchase-details {
    padding: 20px;
  }
  .purchase-details__scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .selected-tier-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .page-shell { padding-top: 12px; }
  .main-with-footer-gap { padding-bottom: 132px; }
  .floating-nav-wrap { top: 6px; }
  .floating-nav {
    min-height: 70px;
    padding: 10px 13px;
  }
  .hero {
    margin-top: 18px;
  }
  .hero-copy-wide {
    min-height: min(580px, calc(100vh - 110px));
    padding: 58px 20px 42px;
  }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
    margin: 16px 0 24px;
    white-space: normal;
  }
  .hero-scroll-hint {
    gap: 8px;
    margin-top: auto;
    margin-bottom: 4px;
    padding: 9px 13px;
    font-size: 0.9rem;
  }
  .hero-copy-wide .hero-scroll-hint {
    padding-top: 52px;
  }
  .lead {
    font-size: 1rem;
    line-height: 1.58;
  }
  .community-status {
    margin-top: 24px;
  }
  .community-status__head,
  .landing-brief {
    margin-top: 84px;
  }
  .faq-section {
    margin-bottom: 96px;
  }
  .gallery-showcase {
    gap: 18px;
    margin: 64px 0 92px;
  }
  .gallery-showcase__row--top {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    margin-top: 34px;
  }
  .gallery-showcase__carousel {
    --gallery-gap: 18px;
    --gallery-edge-fade: 22px;
    margin-top: 18px;
    order: 3;
    padding-bottom: 4px;
  }
  .gallery-showcase__heading {
    grid-column: 1 / -1;
    margin: 0 0 -6px;
    order: 2;
  }
  .gallery-showcase__row--top .gallery-card--hero:first-child,
  .gallery-showcase__row--top .gallery-card--hero:last-child,
  .gallery-cluster--showcase .gallery-card--support:nth-child(odd),
  .gallery-cluster--showcase .gallery-card--support:nth-child(even) {
    transform: none;
  }
  .gallery-showcase__row--top .gallery-card--hero:first-child img,
  .gallery-showcase__row--top .gallery-card--hero:last-child img,
  .gallery-cluster--showcase .gallery-card--support:nth-child(odd) img,
  .gallery-cluster--showcase .gallery-card--support:nth-child(even) img {
    transform: scale(1.04);
  }
  .gallery-showcase__brief {
    width: 100%;
    margin: -18px 0 0;
    order: 3;
    padding: 22px 20px 20px;
  }
  .guide-shell {
    gap: 18px;
    margin-top: 18px;
  }
  .guide-hero {
    padding: 36px 2px 10px;
    gap: 12px;
  }
  .guide-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
  .guide-hero p:last-child {
    font-size: 0.98rem;
    line-height: 1.62;
  }
  .guide-step,
  .guide-faq-shell {
    padding: 20px 18px 20px;
    border-radius: 22px;
  }
  .guide-step__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .guide-step__num {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .guide-platform-card__head {
    margin-bottom: 14px;
  }
  .guide-platform-card__head strong,
  .guide-panel h3 {
    font-size: 1.18rem;
  }
  .guide-platform-card__title {
    margin-bottom: 14px;
    font-size: 0.96rem;
  }
  .guide-download-button,
  .guide-cta-button,
  .guide-secondary-button {
    min-height: 48px;
    font-size: 0.94rem;
  }
  .guide-platform-card .guide-download-button {
    min-width: 0;
    width: 100%;
  }
  .guide-panel p,
  .guide-step__head p,
  .guide-accordion__body p {
    font-size: 0.94rem;
  }
  .gallery-showcase__row--top {
    order: 1;
  }
  .gallery-showcase__carousel {
    order: 4;
  }
  .gallery-card--hero img,
  .gallery-card--support img {
    min-height: 0;
  }
  .faq-card {
    padding: 22px 20px;
  }
  .choice-group,
  .choice-group-wide,
  .term-grid { grid-template-columns: 1fr 1fr; }
  .gallery-lightbox {
    padding: 14px;
  }
  .gallery-lightbox__dialog {
    padding: 14px;
  }
  .footer-drawer {
    margin-top: 20px;
    min-height: 44px;
  }
  .footer-drawer[open] .footer-drawer__toggle {
    min-height: 344px;
  }
  .footer-drawer__pill {
    padding: 8px 14px 9px;
    border-radius: 20px 20px 0 0;
  }
  .footer-drawer__toggle-grid {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding-right: 22px;
  }
  .footer-drawer__toggle-label {
    display: none;
  }
  .footer {
    padding: 16px 14px 18px;
    border-radius: 22px 22px 0 0;
  }
  .footer-drawer__mini-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .footer-drawer__mini-copy strong {
    font-size: 0.74rem;
  }
  .footer-drawer__state {
    font-size: 0.58rem;
  }
}
