:root {
  --bg: #09131f;
  --card: rgba(10, 25, 74, 0.62);
  --card-alt: rgba(7, 18, 56, 0.76);
  --text: #eef7fb;
  --muted: #bcc8e4;
  --accent: #1eb8ff;
  --accent-2: #68cfff;
  --accent-3: #f5fbff;
  --brand-blue: #0f56d8;
  --brand-blue-strong: #071d59;
  --brand-blue-soft: #1d75ee;
  --brand-silver: #dbe5f2;
  --border: rgba(90, 149, 255, 0.24);
  --gradient: linear-gradient(135deg, #0a1625 0%, #102440 45%, #16355b 100%);
  --glow: radial-gradient(circle at 20% 20%, rgba(43, 92, 255, 0.26), transparent 40%),
          radial-gradient(circle at 80% 30%, rgba(30, 184, 255, 0.14), transparent 35%),
          radial-gradient(circle at 50% 75%, rgba(219, 229, 242, 0.08), transparent 35%);
  --shadow: 0 24px 60px rgba(4, 10, 16, 0.42);
  --radius: 16px;
  --hero-action-width: 220px;
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(180deg, rgba(170, 219, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #08111b 0%, #102032 52%, #0a1825 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-touch-callout: none;
}

img,
a,
button {
  -webkit-user-drag: none;
}

.bg-photo {
  pointer-events: none;
  position: fixed;
  inset: -3%;
  background-image:
    linear-gradient(180deg, rgba(9, 19, 31, 0.10), rgba(9, 19, 31, 0.18)),
    url("./city-bg.png");
  background-size: 102% 102%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  filter: blur(1.2px) saturate(1.05) contrast(1.04);
  transform: scale(1.02);
  opacity: 0.84;
  z-index: 0;
  animation: bg-pan 20s ease-in-out infinite alternate;
}

.bg-photo::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 18% 22%, rgba(202, 233, 255, 0.06), transparent 22%),
    radial-gradient(circle at 76% 30%, rgba(129, 194, 239, 0.05), transparent 24%),
    radial-gradient(circle at 52% 82%, rgba(159, 218, 252, 0.04), transparent 20%);
  filter: blur(10px);
  animation: bg-lights 18s ease-in-out infinite alternate;
}

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(transparent 0 98%, rgba(164, 222, 255, 0.05) 98%),
    linear-gradient(90deg, transparent 0 98%, rgba(164, 222, 255, 0.05) 98%);
  background-size: 26px 26px;
  opacity: 0.14;
  z-index: 0;
  animation: grid-drift 18s linear infinite;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: var(--glow);
  filter: blur(60px);
  opacity: 0.28;
  z-index: 0;
  animation: glow-float 16s ease-in-out infinite alternate;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.hero,
.panel,
.highlight {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 28px));
  margin: 16px auto 0;
  padding: 14px 18px 14px 16px;
  position: sticky;
  top: 14px;
  backdrop-filter: blur(26px) saturate(1.12);
  background:
    linear-gradient(180deg, rgba(57, 107, 255, 0.16), rgba(16, 36, 132, 0.08)),
    rgba(7, 15, 23, 0.72);
  border: 1px solid rgba(73, 124, 255, 0.20);
  border-radius: 22px;
  z-index: 3;
  box-shadow:
    0 18px 40px rgba(3, 8, 13, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px 6px 4px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand-link:visited,
.brand-link:hover,
.brand-link:active {
  color: var(--text);
}

.brand-link:hover {
  background: rgba(43, 92, 255, 0.10);
  transform: translateY(-1px);
}

.brand-link .brand-text strong {
  color: var(--text);
}

.brand-link .brand-text small {
  color: var(--muted);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-brand .brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(20, 35, 112, 0.22);
  border: 1px solid rgba(73, 124, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 14px;
  border-radius: 12px;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
  background: rgba(43, 92, 255, 0.12);
}

.nav-links a.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(43, 92, 255, 0.24), rgba(10, 24, 108, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(104, 207, 255, 0.12);
}

.nav-links .pill {
  border: 1px solid rgba(79, 129, 255, 0.36);
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand-blue-soft), var(--brand-blue-strong));
  color: #f8fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(10, 31, 155, 0.26);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(79, 129, 255, 0.28);
  background: rgba(20, 35, 112, 0.28);
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 3vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
}

.lede {
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

.lede.narrow {
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 6px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 18px;
  width: var(--hero-action-width);
  min-width: var(--hero-action-width);
  min-height: 52px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.cta.primary {
  background: linear-gradient(180deg, var(--brand-blue-soft), var(--brand-blue-strong));
  color: #f8fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 32px rgba(10, 31, 155, 0.34);
}

.cta.primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #2850ff, #091c88);
}

.cta.ghost {
  background: linear-gradient(180deg, rgba(20, 35, 112, 0.34), rgba(10, 21, 71, 0.26));
  color: var(--text);
  border: 1px solid rgba(79, 129, 255, 0.24);
}

.cta.discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(39, 73, 214, 0.28), rgba(16, 40, 131, 0.24));
  color: #f3f7ff;
  border: 1px solid rgba(85, 128, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta.discord:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(53, 92, 255, 0.34), rgba(20, 49, 165, 0.30));
}

.cta.discord svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.cta.discord span {
  line-height: 1;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(2, var(--hero-action-width));
  justify-content: start;
  gap: 10px 10px;
  margin-top: 14px;
}

.pill-row .pill,
.pill-row span {
  background: linear-gradient(180deg, rgba(18, 34, 112, 0.36), rgba(9, 20, 63, 0.28));
  border: 1px solid rgba(79, 129, 255, 0.24);
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  text-align: center;
  white-space: normal;
}

.pill-row .pill:last-child,
.pill-row span:last-child {
  grid-column: 1 / -1;
}

.hero-card {
  background: var(--card);
  border: 1px solid rgba(79, 129, 255, 0.22);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(79, 129, 255, 0.16);
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff4a4a; }
.dot.amber { background: #29dfff; }
.dot.green { background: #295dff; }

.stat {
  padding: 12px 0;
  border-bottom: 1px solid rgba(79, 129, 255, 0.14);
}

.stat:last-child { border-bottom: none; }

.stat p {
  color: var(--muted);
  margin: 0 0 4px;
}

.stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.stat small {
  color: var(--muted);
}

.stat.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.feature-grid article,
.dept-card,
.moment-grid article,
.hero-card,
.highlight-inner,
.panel-alt {
  position: relative;
}

.feature-grid article::before,
.dept-card::before,
.moment-grid article::before,
.hero-card::before,
.highlight-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
  pointer-events: none;
}

.panel {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 3vw, 48px);
}

.panel-alt {
  background: var(--card-alt);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.panel-head h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  margin: 6px 0 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.feature-grid article {
  background: linear-gradient(180deg, rgba(18, 35, 121, 0.34), rgba(10, 21, 66, 0.30));
  border: 1px solid rgba(79, 129, 255, 0.20);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(4, 10, 16, 0.24);
  backdrop-filter: blur(14px);
}

.feature-grid h3 {
  margin: 0 0 8px;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dept-card {
  border: 1px solid rgba(79, 129, 255, 0.20);
  background: linear-gradient(180deg, rgba(18, 35, 121, 0.34), rgba(10, 21, 66, 0.30));
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 268px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.dept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 117, 238, 0.18), rgba(219, 229, 242, 0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.dept-card:hover::after { opacity: 1; }

.dept-card h3,
.dept-card p {
  position: relative;
  z-index: 1;
}

.dept-card h3 {
  margin: 0 0 12px;
}

.dept-card p {
  margin: 0 0 18px;
}

.dept-card .tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(29, 117, 238, 0.20), rgba(7, 29, 89, 0.22));
  color: #eff8ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.moment-grid article {
  background: linear-gradient(180deg, rgba(18, 35, 121, 0.34), rgba(10, 21, 66, 0.30));
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(79, 129, 255, 0.20);
  min-height: 150px;
  position: relative;
  backdrop-filter: blur(14px);
}

.moment-grid .label {
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin: 0 0 6px;
}

.moment-grid h3 {
  margin: 0;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-strong));
  color: #f8fbff;
  font-weight: 800;
}

.cta-row.center {
  justify-content: center;
}

.highlight {
  padding: clamp(32px, 5vw, 50px) clamp(18px, 3vw, 36px);
  background: transparent;
  border-top: none;
  margin-bottom: 0;
}

.highlight-inner {
  background:
    linear-gradient(135deg, rgba(219, 229, 242, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(28, 88, 216, 0.24), rgba(7, 29, 89, 0.24));
  border: 1px solid rgba(79, 129, 255, 0.24);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  max-width: 1200px;
  width: calc(100% - 32px);
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.highlight .cta-row {
  justify-content: flex-start;
  gap: 12px;
}

@media (max-width: 720px) {
  .highlight .cta-row {
    justify-content: center;
  }

  .highlight-inner {
    width: 100%;
  }
}

.footer {
  padding: 28px clamp(18px, 3vw, 48px);
  border-top: 1px solid rgba(79, 129, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(16, 33, 104, 0.22), rgba(9, 19, 61, 0.18));
  backdrop-filter: blur(16px);
}

.footer-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  color: var(--text);
}

.donate-hero {
  align-items: stretch;
}

.donate-pills {
  grid-template-columns: repeat(2, var(--hero-action-width));
  max-width: calc((var(--hero-action-width) * 2) + 10px);
}

.donate-summary {
  align-self: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.downloads-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.downloads-head {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.product-card,
.support-card {
  background: linear-gradient(180deg, rgba(18, 35, 121, 0.34), rgba(10, 21, 66, 0.30));
  border: 1px solid rgba(79, 129, 255, 0.20);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(4, 10, 16, 0.24);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.product-card::before,
.support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%);
  pointer-events: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(4, 10, 16, 0.28);
  border-color: rgba(104, 207, 255, 0.24);
}

.product-card.coming-soon {
  border-style: dashed;
  cursor: not-allowed;
}

.product-card.coming-soon:hover {
  transform: none;
}

.product-top,
.product-meta,
.product-perks,
.product-button,
.support-card > * {
  position: relative;
  z-index: 1;
}

.product-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
}

.product-card h3,
.support-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 28px;
}

.product-description,
.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(79, 129, 255, 0.14);
  border-bottom: 1px solid rgba(79, 129, 255, 0.14);
}

.product-meta strong {
  font-size: 32px;
  line-height: 1;
}

.product-meta span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.product-perks,
.support-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.product-perks li::marker,
.support-list li::marker {
  color: var(--accent-2);
}

.product-button {
  width: 100%;
  min-width: 0;
  margin-top: auto;
}

.donate-info {
  margin-top: 12px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.rules-panel {
  padding-top: clamp(28px, 4vw, 40px);
}

.rules-shell {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 24px;
}

.rules-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.rules-nav-card,
.rules-note-card,
.rule-card,
.rule-callout {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 35, 121, 0.34), rgba(10, 21, 66, 0.30));
  border: 1px solid rgba(79, 129, 255, 0.20);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(4, 10, 16, 0.24);
  backdrop-filter: blur(14px);
}

.rules-nav-card::before,
.rules-note-card::before,
.rule-card::before,
.rule-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%);
  pointer-events: none;
}

.rules-nav-card > *,
.rules-note-card > *,
.rule-card > *,
.rule-callout > * {
  position: relative;
  z-index: 1;
}

.rules-nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.rules-nav a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(79, 129, 255, 0.14);
  background: rgba(14, 28, 96, 0.18);
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.rules-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  background: rgba(43, 92, 255, 0.16);
  border-color: rgba(79, 129, 255, 0.24);
}

.rules-note-card p,
.rule-card p,
.rule-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.rules-note-card strong,
.rule-callout strong {
  color: var(--text);
}

.rules-content {
  display: grid;
  gap: 18px;
}

.rule-section {
  display: grid;
  gap: 12px;
}

.rule-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rule-number {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-strong));
  color: #f8fbff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(10, 31, 155, 0.22);
}

.rule-section-head h3 {
  margin: 2px 0 4px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.35rem;
}

.rule-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.rule-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.rule-list li + li {
  margin-top: 10px;
}

.rule-list strong {
  color: var(--text);
}

.rule-callout {
  margin-top: 8px;
  background:
    linear-gradient(135deg, rgba(219, 229, 242, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(28, 88, 216, 0.24), rgba(7, 29, 89, 0.24));
}

.rule-callout h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.25rem;
}

.rule-callout ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.rule-callout li + li {
  margin-top: 8px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(79, 129, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(219, 229, 242, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(29, 117, 238, 0.30), rgba(7, 29, 89, 0.34));
  color: #f4fbff;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(4, 10, 16, 0.32);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bg-pan {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
    background-position: 48% 50%;
  }
  50% {
    transform: scale(1.1) translate3d(-1.8%, -1.2%, 0);
    background-position: 51% 48%;
  }
  100% {
    transform: scale(1.08) translate3d(1.8%, 1%, 0);
    background-position: 53% 52%;
  }
}

@keyframes bg-lights {
  0% {
    transform: translate3d(-1.5%, 0, 0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(1.5%, -1.5%, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes grid-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(34px, 18px, 0);
  }
}

@keyframes glow-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, -1.5%, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-photo,
  .bg-photo::after,
  .bg-grid,
  .bg-glow {
    animation: none;
  }
}

@media (pointer: coarse) {
  body,
  a,
  button,
  [role="button"] {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(43, 92, 255, 0.16), rgba(10, 24, 86, 0.12)),
      rgba(8, 17, 26, 0.94);
    border: 1px solid rgba(79, 129, 255, 0.20);
    border-radius: 18px;
    padding: 12px;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 18px 36px rgba(3, 8, 13, 0.28);
  }

  .nav-links a {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(79, 129, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .pill {
    width: 100%;
    text-align: center;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .rules-shell {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    width: calc(100% - 18px);
    margin-top: 10px;
    top: 8px;
    padding: 12px 12px 12px 10px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .footer-brand .brand-mark {
    width: 52px;
    height: 52px;
  }

  .cta {
    width: 100%;
    min-width: 0;
  }

  .pill-row {
    grid-template-columns: 1fr;
  }

  .pill-row .pill,
  .pill-row span {
    justify-content: flex-start;
    text-align: left;
  }

  .stat.two-col {
    grid-template-columns: 1fr;
  }

  .cta-row {
    width: 100%;
  }

  .hero {
    padding-top: 32px;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-meta span {
    text-align: left;
  }

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

  .rules-nav a {
    padding: 12px;
  }

  .rule-section-head {
    flex-direction: column;
  }
}
