@import url('https://rsms.me/inter/inter.css');

:root {
  --app-bg: #000000;
  --discord-bg: #0a0a0a;
  --discord-card: #151515;
  --discord-bg-darker: #050505;
  --discord-text: #ffffff;
  --discord-text-secondary: #a0a0a0;
  --discord-text-tertiary: #525252;
  --discord-border: #262626;
  --discord-hover: #1f1f1f;
  --discord-active: #3b82f6;
  --discord-active-outline: #1d4ed8;
  --spring-ease-out: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--app-bg);
  color: var(--discord-text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.landing-shell { min-height: 100vh; background-color: #000000; }
.bg-grid {
  background-image: none;
  background-size: auto;
}

.container {
  width: calc(100% - 2.5rem);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }

.section { padding: 5rem 0; }
.section-spacious { padding: 8rem 0 5rem; }
.section-divider { border-top: 1px solid rgba(255,255,255,.10); }

.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--discord-border);
}

.navbar {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .25rem;
  border: 1px solid rgba(255,255,255,.675);
  background: #040404;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  color: #fff;
  transition: transform .2s ease;
}
.group:hover .brand-mark { transform: scale(1.05); }
.brand-mark.small { width: 1.75rem; height: 1.75rem; font-size: .72rem; }

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  font-size: .875rem;
  color: var(--discord-text);
  transition: color .2s ease;
}
.navbar-link:hover { color: var(--discord-text); }
.navbar-link-cta { color: var(--discord-active); font-weight: 600; }
.navbar-link-cta:hover { color: #60a5fa; }

.mobile-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--discord-text);
  padding: .5rem;
}
.menu-icon { font-size: 1.25rem; line-height: 1; }

.mobile-menu {
  display: none;
  padding: .75rem 1.5rem 1rem;
  border-top: 1px solid var(--discord-border);
  background: rgba(10,10,10,.98);
}
.mobile-menu:not([hidden]) { display: flex; flex-direction: column; gap: .5rem; }
.mobile-nav-link {
  padding: .5rem 0;
  color: var(--discord-text);
}
.mobile-nav-link-cta { color: var(--discord-active); font-weight: 600; }

.hero-inner { max-width: 64rem; }
.hero-copy {
  max-width: 48rem;
  text-align: left;
  margin-bottom: 1rem;
  margin-left: -1.5rem;
}

.hero-copy-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-copy-centered .btn {
  margin-inline: auto;
}
.hero-title {
  margin: -2.25rem 0 1.5rem;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  color: var(--discord-text);
}
.hero-subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--discord-text);
  max-width: 56rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: .5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover { background: #f3f4f6; }
.shadow-button { box-shadow: 0 10px 30px rgba(255,255,255,.08); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header.compact { margin-bottom: 2rem; }
.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--discord-text);
}
.section-copy {
  margin: 0 auto;
  max-width: 42rem;
  color: rgba(255,255,255,.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.card-surface {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,10,.5);
  backdrop-filter: blur(4px);
  border-radius: 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  transition:
    transform 1s var(--spring-ease-out),
    box-shadow 1s var(--spring-ease-out),
    border-color .2s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: inherit;
  opacity: .7;
  pointer-events: none;
  z-index: 1;
  transition: opacity .2s ease;
  background:
    linear-gradient(to right, transparent 0%, transparent 15%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, transparent 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, transparent 15%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, transparent 85%, transparent 100%),
    linear-gradient(to left, transparent 0%, transparent 15%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, transparent 85%, transparent 100%),
    linear-gradient(to top, transparent 0%, transparent 15%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, transparent 85%, transparent 100%);
  background-size: 100% 5px, 5px 100%, 100% 5px, 5px 100%;
  background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 20px rgba(255,255,255,.8), 0 0 40px rgba(255,255,255,.4), inset 0 0 20px rgba(255,255,255,.1);
  filter: blur(.5px);
}
.feature-card {
  border-color: rgba(255,255,255,.22);
  z-index: 1;
}
.feature-card:hover::before {
  opacity: 1;
  animation: racing-outline 2.4s linear infinite;
}
.feature-card:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255,255,255,.2), 0 8px 16px rgba(0,0,0,.15);
  z-index: 2;
}
@media (hover: none) and (pointer: coarse) {
  .feature-card:active::before {
    opacity: 1;
    animation: racing-outline 2.4s linear infinite;
  }
  .feature-card:active {
    border-color: rgba(255,255,255,.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255,255,255,.2), 0 8px 16px rgba(0,0,0,.15);
    z-index: 2;
  }
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .25rem;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--discord-text);
  font-size: 1rem;
}

.feature-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--discord-text);
}
.feature-card p {
  margin: 0;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  padding: 0;
  text-align: center;
  animation: step-pop-loop 8s var(--spring-ease-out) infinite;
}

.step-card:nth-child(1) { animation-delay: 0s; }
.step-card:nth-child(2) { animation-delay: 2s; }
.step-card:nth-child(3) { animation-delay: 4s; }
.step-card:nth-child(4) { animation-delay: 6s; }

.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--discord-text);
  font-size: 1rem;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--discord-text);
}

.step-card p {
  margin: 0;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}

.waitlist-card {
  padding: 2rem;
  border-radius: 1rem;
}
.policy-layout {
  text-align: left;
}

.policy-section {
  padding-top: 4rem;
}

.policy-header {
  margin-bottom: 2rem;
}

.policy-header .section-title {
  margin-bottom: .5rem;
}

.policy-updated {
  margin: 0;
  color: rgba(255,255,255,.6);
}

.policy-body h2 {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--discord-text);
}

.policy-body p {
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.policy-body a {
  color: var(--discord-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-waitlist-card {
  margin-top: 5rem;
  width: 100%;
  max-width: 48rem;
}
.shadow-card { box-shadow: 0 10px 40px rgba(0,0,0,.3); }

.embed-shell {
  margin-top: 1rem;
}
.ml-wrap {
  width: 100%;
  display: block;
}
.ml-wrap #mlb2-37485101.ml-form-embedContainer {
  width: 100% !important;
  display: block !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper.embedForm {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedBody,
.ml-wrap #mlb2-37485101 .ml-form-successBody {
  padding: 0 !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedContent {
  margin: 0 0 1rem 0 !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedContent h4 {
  color: var(--discord-text) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin: 0 0 .5rem 0 !important;
  text-align: center !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedContent p,
.ml-wrap #mlb2-37485101 .ml-form-successContent p,
.ml-wrap #mlb2-37485101 .ml-form-successContent h4 {
  color: rgba(255,255,255,.75) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-align: center !important;
}
.ml-wrap #mlb2-37485101 .ml-form-formContent {
  margin: 0 0 .75rem 0 !important;
}
.ml-wrap #mlb2-37485101 .ml-form-fieldRow {
  margin: 0 0 .75rem 0 !important;
}
.ml-wrap #mlb2-37485101 .ml-form-fieldRow input[type=\"email\"],
.ml-wrap #mlb2-37485101 .ml-form-horizontalRow input {
  width: 100% !important;
  border: 1px solid var(--discord-border) !important;
  border-radius: .55rem !important;
  background: #000000 !important;
  color: var(--discord-text) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .95rem !important;
  line-height: 1.4 !important;
  padding: .85rem .9rem !important;
  box-shadow: none !important;
}
.ml-wrap #mlb2-37485101 .ml-form-fieldRow input[type=\"email\"]::placeholder,
.ml-wrap #mlb2-37485101 .ml-form-horizontalRow input::placeholder {
  color: rgba(255,255,255,.55) !important;
}
/* Override MailerLite inline embed styles (which set white inputs) */
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input,
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
  background-color: #000000 !important;
  color: var(--discord-text) !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button,
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
  border: 1px solid #ffffff !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit {
  margin: .75rem 0 0 0 !important;
  display: flex !important;
  justify-content: center !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary {
  width: 50% !important;
  min-height: 46px !important;
  border: 1px solid #3b82f6 !important;
  border-radius: .5rem !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: .75rem 1.25rem !important;
  box-shadow: 0 12px 28px rgba(255,255,255,.12) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: background-color .22s var(--spring-ease-out), transform .22s var(--spring-ease-out), box-shadow .22s var(--spring-ease-out) !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary:hover {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 18px 36px rgba(37,99,235,.35), 0 0 14px rgba(59,130,246,.3) !important;
  transform: translateY(-1px) scale(1.05);
}
/* Beat MailerLite's inline hover rule specificity */
.ml-wrap #mlb2-37485101.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background-color: #3b82f6 !important;
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary:active {
  animation: join-now-press .18s var(--spring-ease-out);
  transform: translateY(0) scale(1.05) !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary:active::after {
  animation: join-now-ripple .45s var(--spring-ease-out);
}
/* Stronger override than MailerLite inline selector so button shape stays visible */
.ml-wrap #mlb2-37485101 .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  border: 1px solid #3b82f6 !important;
  outline: none !important;
  border-radius: .5rem !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  width: auto !important;
  min-width: 10.5rem !important;
  max-width: 14rem !important;
}
.ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary:focus-visible {
  outline: 2px solid rgba(59,130,246,.9) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.22), 0 12px 28px rgba(255,255,255,.12) !important;
}
.ml-wrap #mlb2-37485101 .ml-form-successBody {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: .75rem;
  background: rgba(255,255,255,.03);
  padding: 1rem !important;
}
.embed-placeholder {
  border: 1px dashed rgba(255,255,255,.25);
  background: rgba(255,255,255,.03);
  border-radius: .75rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--discord-text-secondary);
}
.embed-placeholder p { margin: 0; }
.embed-hint {
  margin-top: .5rem !important;
  font-size: .875rem;
  color: var(--discord-text-tertiary);
}

.consent-line {
  margin: 1rem 0 0;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.consent-line a {
  color: var(--discord-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--discord-text);
  font-size: .875rem;
  font-weight: 600;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--discord-text); }

@keyframes racing-outline {
  0% { background-position: -100% 0%, 100% -100%, 200% 100%, 0% 200%; }
  25% { background-position: 100% 0%, 100% -100%, 200% 100%, 0% 0%; }
  50% { background-position: 100% 0%, 100% 100%, 0% 100%, 0% 0%; }
  75% { background-position: 100% 0%, 100% 100%, 0% 100%, -100% 0%; }
  100% { background-position: -100% 0%, 100% 100%, 0% 100%, -100% 0%; }
}

@keyframes card-pop {
  0%,
  72%,
  100% { transform: translateY(0) scale(1); box-shadow: 0 4px 6px rgba(0,0,0,.1); }
  82% { transform: translateY(-12px) scale(1.03); box-shadow: 0 20px 40px rgba(255,255,255,.3), 0 10px 20px rgba(0,0,0,.2); }
  90% { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 30px rgba(255,255,255,.2), 0 8px 16px rgba(0,0,0,.15); }
}

@keyframes join-now-press {
  0% { transform: translateY(0) scale(1); }
  65% { transform: translateY(0) scale(1.05); }
  100% { transform: translateY(0) scale(1.02); }
}

@keyframes join-now-ripple {
  0% { opacity: .45; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(160); }
}

@keyframes step-pop-loop {
  0%, 12%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  22% {
    transform: translateY(-6px) scale(1.04);
    opacity: 1;
  }
  30% {
    transform: translateY(-3px) scale(1.02);
    opacity: 1;
  }
  40% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-it-works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .desktop-only { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .hero-copy { margin-left: 0; }
  .hero-title { font-size: clamp(2.25rem, 12vw, 3rem); line-height: 1.05; }
  .hero-subtitle { font-size: 1.125rem; }
  .waitlist-card { padding: 1.25rem; }
  .ml-wrap #mlb2-37485101 .ml-form-embedSubmit {
    margin-top: .75rem !important;
  }
  .ml-wrap #mlb2-37485101 .ml-form-embedSubmit button.primary {
    width: auto !important;
    min-width: 10.5rem !important;
    max-width: 14rem !important;
    min-height: 44px !important;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
