/* Logged-out landing + /access-denied. Theme tokens come from styles.css. */
.lp {
  --lp-mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
  --lp-card: var(--panel);
  --lp-hot-bg: rgba(47, 125, 79, 0.16);
  --lp-hot-fg: #1f6b3a;
  --lp-cold-bg: rgba(184, 67, 47, 0.12);
  --lp-cold-fg: #9a3a28;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px 132px;
}
:root[data-theme="dark"] .lp {
  --lp-hot-bg: rgba(47, 153, 87, 0.2);
  --lp-hot-fg: #7fd4a0;
  --lp-cold-bg: rgba(255, 92, 106, 0.14);
  --lp-cold-fg: #ff8a95;
}
.lp a { color: inherit; }
.lp-side, .lp-main { display: contents; }

.lp-brand { order: 1; }
.lp-locked { order: 2; }
.lp-hero { order: 3; }
.lp-steps { order: 4; }
.lp-inside { order: 5; }
.lp-faq { order: 6; }
.lp-foot { order: 7; }

.lp-ico { width: 18px; height: 18px; flex-shrink: 0; }
.lp-ico-sm { width: 11px; height: 11px; flex-shrink: 0; }

/* Brand */
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.lp-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-brand-tag { font-size: 11px; color: var(--muted); }
.lp-age {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 700 11px var(--lp-mono);
  color: var(--muted);
}

/* Locked nav strip */
.lp-locked {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.lp-locked > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lp-only-wide { display: none; }
.lp-soon {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font: 700 9px var(--lp-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-soon-lg {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  font-size: 9px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* Hero */
.lp-hero,
.lp-denied-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--lp-card);
  box-shadow: 0 1px 2px var(--shadow);
}
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--pos);
  font: 700 10px var(--lp-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-title {
  margin: 14px 0 10px;
  font-size: clamp(28px, 7.6vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.lp-title em { font-style: normal; color: var(--pos); }
:root[data-theme="dark"] .lp-title em {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.lp-title-sm { font-size: clamp(26px, 7vw, 32px); }
.lp-lede { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lp-ctas { display: flex; flex-direction: column; gap: 10px; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.15s ease, background 0.15s ease;
}
.lp .lp-btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border: 1px solid var(--accent);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.lp .lp-btn-primary:hover { filter: brightness(1.08); }
.lp .lp-btn-ghost {
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--line);
}
.lp .lp-btn-ghost:hover { background: var(--panel-2); }
.lp-btn:focus-visible,
.lp a:focus-visible,
.lp summary:focus-visible {
  outline: 2px solid var(--pos);
  outline-offset: 2px;
}

/* Steps */
.lp-eyebrow {
  margin: 0 0 10px;
  font: 700 11px var(--lp-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--lp-card);
}
.lp-step-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.lp-step-list li + li { border-top: 1px solid var(--line); }
.lp-step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-weight: 800;
  font-size: 13px;
}
.lp-step-list li:first-child .lp-step-n {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.lp-step-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lp-step-body strong { font-size: 14px; }
.lp-step-body span { font-size: 12px; color: var(--muted); }
.lp-step-act {
  font-size: 12px;
  font-weight: 700;
  color: var(--pos) !important;
  text-decoration: none;
  white-space: nowrap;
}
.lp-step-act:hover { text-decoration: underline; }
.lp-step-tag {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--panel-2);
  font: 600 10px var(--lp-mono);
  color: var(--muted);
  white-space: nowrap;
}
.lp-note { margin: 10px 2px 0; font-size: 12px; color: var(--muted); }

/* What's inside */
.lp-h2 {
  margin: 0;
  font-size: 13px;
  font-family: var(--lp-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-inside-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}
.lp-sub { display: none; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.lp-ex {
  padding: 2px 6px;
  border: 1px dashed var(--neg-border);
  border-radius: 4px;
  color: var(--neg);
  font: 700 9px var(--lp-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--lp-card);
}
.lp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  order: 2;
}
.lp-card-head h3 { margin: 0; font-size: 13px; font-weight: 800; line-height: 1.25; }
.lp-card-head .lp-ex { display: none; }
.lp-card-desc { order: 3; margin: -4px 0 0; font-size: 11px; color: var(--muted); }
.lp-prev {
  order: 1;
  position: relative;
  margin-bottom: 8px;
  padding: 8px;
  min-height: 108px;
  border-radius: 10px;
  background: var(--panel-2);
  font-size: 10px;
  overflow: hidden;
}
.lp-more { display: none !important; }
.lp-prev-title { margin: 0; font-weight: 800; font-size: 11px; }
.lp-prev-sub { margin: 1px 0 6px; color: var(--muted); font-size: 10px; }
.lp-game {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 6px;
  background: var(--panel);
}
.lp-game + .lp-game { margin-top: 6px; }
.lp-game-head { display: flex; justify-content: space-between; gap: 6px; padding: 2px 0 3px; }
.lp-game-head span { display: none; color: var(--muted); font-family: var(--lp-mono); font-size: 9px; }
.lp-game-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border-top: 1px solid var(--line);
}
.lp-game-row i { font-style: normal; font-family: var(--lp-mono); color: var(--muted); font-size: 9px; }
.lp-game-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-rk {
  display: inline-block;
  min-width: 34px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--lp-hot-bg);
  color: var(--lp-hot-fg);
  font: 700 9px var(--lp-mono);
  text-align: center;
}
.lp-rk-hot { background: var(--accent); color: var(--accent-fg); }
.lp-rk-mid { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.lp-rk-cold { background: var(--lp-cold-bg); color: var(--lp-cold-fg); }
.lp-pct { color: var(--fg); font-weight: 800; margin-right: 2px; }

.lp-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 70px;
  margin-top: 6px;
}
.lp-bar {
  position: relative;
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--pos);
}
.lp-bar.no { background: var(--neg); opacity: 0.7; }
.lp-bar i {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -2px);
  font: 700 9px var(--lp-mono);
  font-style: normal;
  color: var(--fg);
}
.lp-chart-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  border-top: 1.5px dashed var(--fg);
  opacity: 0.85;
}
.lp-chart-line em {
  display: none;
  position: absolute;
  right: 0;
  top: -9px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--fg);
  color: var(--bg);
  font: 700 9px var(--lp-mono);
  font-style: normal;
}

.lp-mtable { width: 100%; border-collapse: collapse; }
.lp-mtable th {
  text-align: left;
  font: 600 8px var(--lp-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 0;
}
.lp-mtable td { padding: 3px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.lp-mtable th:last-child, .lp-mtable td:last-child { text-align: right; }

.lp-blur {
  filter: blur(3px);
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
}
.lp-blur-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
}
.lp-blur-head { border-top: 0; color: var(--muted); font-family: var(--lp-mono); font-size: 8px; text-transform: uppercase; }
.lp-soon-over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.lp-soon-over b,
.lp-soon-over span {
  padding: 0 8px;
  background: var(--panel);
}
.lp-soon-over b { padding-top: 6px; border-radius: 8px 8px 0 0; font-size: 11px; }
.lp-soon-over span { padding-bottom: 6px; border-radius: 0 0 8px 8px; color: var(--muted); font-size: 9px; }
.lp-card-soon .lp-card-head .lp-soon { display: none; }

/* FAQ */
.lp-faq .lp-h2 { margin-bottom: 10px; }
.lp-faq-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--lp-card);
}
.lp-faq-list details { padding: 0 14px; }
.lp-faq-list details + details { border-top: 1px solid var(--line); }
.lp-faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after {
  content: "+";
  color: var(--pos);
  font: 700 16px var(--lp-mono);
}
.lp-faq-list details[open] summary::after { content: "−"; }
.lp-faq-list p { margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.lp-faq-list a { color: var(--pos); font-weight: 600; }

/* Footer */
.lp-foot { font-size: 12px; color: var(--muted); }
.lp-foot p { margin: 4px 0 0; }
.lp-foot-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--fg) !important;
  text-decoration: none;
}
.lp-foot-discord:hover { text-decoration: underline; }
.lp-foot-strong { color: var(--fg); font-weight: 700; }
.lp-foot .theme-toggle { margin-top: 12px; }

/* Mobile sticky CTA */
.lp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px var(--shadow);
  text-align: center;
}
.lp-sticky .lp-btn { width: 100%; max-width: 528px; }
.lp-sticky p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.lp-sticky p a { color: var(--pos); font-weight: 700; text-decoration: none; }

@media (min-width: 420px) {
  .lp-only-wide { display: inline; }
}

@media (min-width: 640px) {
  .lp-ctas { flex-direction: row; }
  .lp-ctas .lp-btn { flex: 1; }
  .lp-more { display: block !important; }
  .lp-game-head span { display: inline; }
  tr.lp-more { display: table-row !important; }
  .lp-card-head { order: 0; }
  .lp-card-head .lp-ex,
  .lp-card-soon .lp-card-head .lp-soon { display: inline-block; }
  .lp-prev { order: 1; min-height: 150px; }
  .lp-card-desc { display: none; }
  .lp-card { padding: 14px; }
  .lp-card-head h3 { font-size: 14px; }
  .lp-bar i, .lp-chart-line em { display: block; }
  .lp-chart { height: 96px; margin-top: 18px; }
  .lp-sub { display: block; }
  .lp-inside-head > .lp-ex { display: none; }
}

@media (min-width: 900px) {
  .lp {
    display: grid;
    grid-template-columns: 356px minmax(0, 1fr);
    max-width: none;
    padding: 0;
    gap: 0;
  }
  .lp-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 22px 28px 24px;
    border-right: 1px solid var(--line);
    background: var(--panel);
  }
  .lp-main {
    display: block;
    padding: 0 28px 40px;
  }
  .lp-age { display: none; }
  .lp-hero {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .lp-title { font-size: 30px; }
  .lp-ctas { flex-direction: column; }
  .lp-foot { margin-top: auto; }
  .lp-locked {
    justify-content: space-around;
    margin: 0 -28px 24px;
    padding: 12px 28px;
    border-top: 0;
  }
  .lp-h2 {
    font-family: var(--font);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--fg);
  }
  .lp-inside-head > .lp-ex { display: inline-block; }
  .lp-cards { gap: 14px; }
  .lp-prev { background: none; padding: 0; min-height: 0; }
  .lp-prev-blur { min-height: 150px; }
  .lp-game { background: var(--panel-2); }
  .lp-inside { margin-bottom: 28px; }
  .lp-sticky { display: none; }
}

@media (min-width: 1200px) {
  .lp { grid-template-columns: 380px minmax(0, 1fr); }
  .lp-main { padding: 0 40px 48px; }
  .lp-locked { margin: 0 -40px 28px; padding: 12px 40px; }
  .lp-title { font-size: 34px; }
}

/* /access-denied */
.lp-denied { display: block; padding: 16px 16px 40px; }
.lp-denied-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
  margin: 0 auto;
}
.lp-denied-wrap > * { order: 0; }
.lp-denied .lp-foot { margin-top: 0; }
@media (min-width: 640px) {
  .lp-denied { padding-top: 48px; }
  .lp-denied-card { padding: 28px; }
}
