/* LVLUP @ madmanapps.com — static site (aligns with app design tokens) */
:root {
  --bg: #050608;
  --surface: #0a1424;
  --surface2: #0e1a2e;
  --line: rgba(140, 170, 220, 0.12);
  --line-hi: rgba(140, 170, 220, 0.22);
  --text: #b8eaff;
  --text-dim: rgba(184, 234, 255, 0.72);
  --text-mute: rgba(184, 234, 255, 0.48);
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.14);
  --indigo: #818cf8;
  --amber: #fbbf24;
  --radius: 0;
  --font-sans: "Sora", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 52rem;
  --glow: 0 0 20px rgba(34, 211, 238, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dim);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(129, 140, 248, 0.05), transparent);
}

a {
  color: var(--cyan);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(184, 234, 255, 0.25);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  color: var(--text-dim);
  border: 1px solid transparent;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: var(--cyan-dim);
  border-color: var(--line);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--cyan-dim);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero .lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 36em;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--glow);
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.panel p,
.panel li {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.panel ul {
  padding-left: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: var(--cyan-dim);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: rgba(34, 211, 238, 0.22);
  border-color: var(--cyan);
  text-decoration: none;
  color: var(--text);
}

.btn-secondary {
  border-color: var(--line-hi);
  background: var(--surface2);
  color: var(--text-dim);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--text);
}

h2.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.prose {
  font-size: 0.95rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  margin: 0 0 0.85rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose .muted {
  color: var(--text-mute);
  font-size: 0.9rem;
}

.contact-card {
  background: var(--surface2);
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-card strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.faq summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  margin-top: auto;
  background: var(--surface);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-mute);
}

.footer-inner a {
  color: var(--text-dim);
}

.layout {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.layout main {
  flex: 1;
}

@media (min-width: 640px) {
  .header-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .panel {
    padding: 1.75rem 1.5rem;
  }
}

/* —— Homepage (conversion / SEO landing) —— */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home main.home-main {
  max-width: 72rem;
  padding-top: 0;
  padding-bottom: 0;
}

.nav .nav-cta {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.45);
  background: var(--cyan-dim);
}

.nav .nav-cta:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.22);
}

.home-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.home-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.home-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.home-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.home-accent {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.35);
}

.home-lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-dim);
  max-width: 34em;
  line-height: 1.65;
}

.home-hero-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.store-row-center {
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 11.5rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid var(--line-hi);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.store-btn:hover {
  border-color: var(--cyan);
  background: var(--surface2);
  box-shadow: var(--glow);
  text-decoration: none;
  color: var(--text);
}

.store-btn-apple:hover {
  border-color: rgba(184, 234, 255, 0.5);
}

.store-btn-google:hover {
  border-color: rgba(129, 140, 248, 0.55);
}

.store-icon {
  display: flex;
  min-width: 1.375rem;
  justify-content: center;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-label {
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  color: var(--text-mute);
}

.store-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-hero-visual {
  position: relative;
  min-height: 16rem;
}

.hero-glow {
  position: absolute;
  inset: 10% 5% 5%;
  background: radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line-hi);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--glow), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-panel-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-panel-title {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.hero-panel-stats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-panel-stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.hero-panel-stats li span {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-stats strong {
  color: var(--text);
  font-weight: 600;
}

.hero-status {
  color: var(--amber) !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.hero-panel-cta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 20, 36, 0.6);
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  max-width: 72rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.trust-list li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.trust-list li::before {
  content: "◆ ";
  color: var(--cyan);
  font-size: 0.55rem;
  vertical-align: middle;
}

.home-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.home-section-alt {
  background: rgba(10, 20, 36, 0.45);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  margin: 0;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: var(--line-hi);
  box-shadow: var(--glow);
}

.feature-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--indigo);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step-index {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: var(--cyan-dim);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.audience-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-item {
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
}

.community-section {
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(88, 101, 242, 0.12), transparent),
    rgba(10, 20, 36, 0.45);
}

.community-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-hi);
  box-shadow: var(--glow);
}

@media (min-width: 760px) {
  .community-card {
    grid-template-columns: auto 1fr auto;
    padding: 1.75rem 1.5rem;
  }
}

.community-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(88, 101, 242, 0.22);
  border: 1px solid rgba(88, 101, 242, 0.5);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.24);
}

.community-copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.community-copy p:last-child {
  margin: 0;
  max-width: 42rem;
  color: var(--text-dim);
}

.btn-discord {
  gap: 0.55rem;
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.62);
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(88, 101, 242, 0.9);
}

.btn-discord-icon {
  display: flex;
}

.cta-banner {
  padding: 3.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(34, 211, 238, 0.1), transparent),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.cta-banner-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.cta-banner p {
  margin: 0 0 0.25rem;
  color: var(--text-dim);
}

.home-legal {
  padding-bottom: 3rem;
}

.legal-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-grid .panel {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.legal-grid .panel p {
  flex: 1;
}

.legal-grid .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.page-home .site-footer {
  margin-top: 0;
}
