/* AlpenRiderChain Landing — Honest Edition v60.6
   Brand: Neon-Grün #39FF14, Gold #FFD700, Dark BG
   Design-System: Swiss High-Contrast + Retro-Futurism / Terminal */

:root {
  --bg-base: #0A0A0A;
  --bg-surface: #121212;
  --bg-card: #161616;
  --brand: #39FF14;
  --brand-dim: rgba(57, 255, 20, 0.15);
  --brand-border: rgba(57, 255, 20, 0.25);
  --gold: #FFD700;
  --text: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --status-live: #39FF14;
  --status-beta: #FFD700;
  --status-backlog: #EF4444;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand); color: var(--bg-base); }

a { color: var(--brand); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

h1, h2, h3, h4 {
  font-family: 'Chivo', 'IBM Plex Sans', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  /* Long single-word names like 'OstschweizerCrossing' must not overflow on narrow viewports */
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; color: var(--text-muted); }

.mono, code, pre, .pubkey, .num {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  letter-spacing: -0.01em;
}
.num { color: var(--brand); font-weight: 600; }
.pubkey {
  color: var(--text-muted);
  font-size: 0.78rem;
  word-break: break-all;
}

/* Inline code + pre blocks must wrap on mobile (Stellar pubkeys, tx hashes, JSON examples) */
code, pre, .blog-body pre, .blog-body code {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  max-width: 100%;
}

/* Long URLs / mailto links should never break the layout */
a[href^="mailto:"], a[href^="http"]:not(.btn-primary):not(.btn-secondary):not(.nav-cta) {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─────── HEADER ─────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand-logo {
  font-family: 'Chivo', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-logo .accent { color: var(--brand); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand); opacity: 1; }
.nav-cta {
  border: 1px solid var(--brand);
  color: var(--brand) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--brand);
  color: var(--bg-base) !important;
  opacity: 1;
}
/* Old broken mobile rule replaced by proper hamburger pattern below */
.nav-toggle { display: none !important; position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 10px 8px;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
}
.nav-burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text, #fff);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
@media (max-width: 880px) {
  .nav-wrap { position: relative; z-index: 200; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease;
  }
  .nav-links a {
    display: block !important;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 1px solid var(--brand);
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: 80vh;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ─────── HERO ─────── */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(57, 255, 20, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.04), transparent 40%);
  z-index: 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.hero .subtitle strong { color: var(--text); font-weight: 600; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.15s;
  text-decoration: none;
  font-family: 'Chivo', sans-serif;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--brand);
  color: var(--bg-base) !important;
  border: 1px solid var(--brand);
}
.btn-primary:hover {
  background: transparent;
  color: var(--brand) !important;
  opacity: 1;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--text-dim);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
  opacity: 1;
}
.cta-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 0.5rem;
}

/* ─────── LIVE METRICS STRIP ─────── */
.metrics-strip {
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
}
.metrics-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.metric-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.7rem;
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}
.metric-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}
.metric-source.ssot { color: var(--brand); }
.metric-source.cache { color: var(--gold); }

/* ─────── SECTIONS ─────── */
section.block {
  padding: 5rem 1.5rem;
}
section.block-tight { padding: 3rem 1.5rem; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-top: 1rem;
}

/* ─────── BENTO GRID ─────── */
.bento {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.bento-card[data-status="LIVE"]::after,
.bento-card[data-status="BETA"]::after,
.bento-card[data-status="BACKLOG"]::after {
  content: attr(data-status);
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}
.bento-card[data-status="LIVE"]::after {
  background: rgba(57, 255, 20, 0.15);
  color: var(--status-live);
  border: 1px solid var(--status-live);
}
.bento-card[data-status="BETA"]::after {
  background: rgba(255, 215, 0, 0.15);
  color: var(--status-beta);
  border: 1px solid var(--status-beta);
}
.bento-card[data-status="BACKLOG"]::after {
  background: rgba(239, 68, 68, 0.12);
  color: var(--status-backlog);
  border: 1px solid var(--status-backlog);
}
.bento-card h3 {
  margin-bottom: 0.5rem;
  padding-right: 5rem;
}
.bento-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}
.bento-card .code-ref {
  margin-top: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.bento-card .code-ref a { color: var(--text-muted); }

/* Bento spans */
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .span-8, .span-6, .span-4 { grid-column: span 6; }
}

/* ─────── PRIVACY / ARCHITECTURE SPLIT ─────── */
.split {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split p { color: var(--text-muted); margin-bottom: 1rem; }
.terminal {
  background: var(--bg-surface);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}
.terminal-header {
  background: rgba(255,255,255,0.03);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.terminal-body {
  padding: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  white-space: pre-wrap;
}
.terminal-body .prompt { color: var(--brand); }
.terminal-body .comment { color: var(--text-dim); font-style: italic; }
.terminal-body .ok { color: var(--brand); }
.terminal-body .arrow { color: var(--gold); }

/* ─────── STELLAR TOKENOMICS BLOCK ─────── */
.tokenomics-grid {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.token-row {
  background: var(--bg-card);
  border-left: 2px solid var(--brand);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
}
.token-row .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.token-row .value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 700;
  margin-top: 0.2rem;
}
.token-row .src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* ─────── ANTI-HYPE MANIFESTO ─────── */
.manifesto {
  background: var(--brand);
  color: var(--bg-base);
  padding: 4rem 1.5rem;
  margin: 4rem 0;
  text-align: center;
}
.manifesto h2 {
  color: var(--bg-base);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.manifesto-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
}
.manifesto-list li {
  background: var(--bg-base);
  color: var(--brand);
  padding: 1rem 1.25rem;
  border-radius: 4px;
}
.manifesto-list li strong { display: block; color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

/* ─────── TRUST STRIP / FOOTER ─────── */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--brand-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.trust-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.trust-cell h4 {
  color: var(--text);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.trust-cell .pubkey,
.trust-cell .small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
}
.trust-cell a {
  color: var(--brand);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); }

/* ─────── UTILITY ─────── */
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.gold { color: var(--gold); }
.brand-text { color: var(--brand); }
.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.tag-ssot { color: var(--brand); }
.tag-cache { color: var(--gold); }
.tag-backlog { color: var(--status-backlog); }
.divider {
  border: 0;
  border-top: 1px solid var(--brand-border);
  margin: 3rem 0;
}

/* ─────── HERO VISUAL ─────── */
.hero-visual {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.3));
}
.hero-card-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.hero-card {
  position: absolute;
  width: 70%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(57, 255, 20, 0.18);
  transition: transform 0.4s ease;
}
.hero-card-back {
  top: 8%;
  right: 0;
  transform: rotate(8deg);
  filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.25));
  opacity: 0.85;
}
.hero-card-mid {
  top: 16%;
  right: 14%;
  transform: rotate(-4deg);
  filter: drop-shadow(0 0 35px rgba(180, 80, 255, 0.30));
  opacity: 0.92;
}
.hero-card-front {
  top: 24%;
  right: 22%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 45px rgba(57, 255, 20, 0.45));
  z-index: 2;
}
.hero:hover .hero-card-back  { transform: rotate(12deg) translateY(-6px); }
.hero:hover .hero-card-mid   { transform: rotate(-2deg) translateY(-3px); }
.hero:hover .hero-card-front { transform: rotate(-14deg) translateY(-9px); }
@media (max-width: 880px) { .hero-visual { display: none; } }

/* ─────── SBT CARD SHOWCASE ─────── */
.cards-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}
/* POTD Hero — Pass-of-the-Day responsive layout */
.potd-hero {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .potd-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .potd-hero img { max-width: 320px; margin: 0 auto; }
}

.sbt-card {
  background: var(--bg-card);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sbt-card-accent {
  border-left: 3px solid currentColor;
  padding-left: 0.7rem;
}
.sbt-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(57, 255, 20, 0.15);
}
.sbt-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-base);
}
.sbt-card-body {
  padding: 1rem 1.2rem 1.2rem;
}
.sbt-card-body h4 {
  color: var(--text);
  font-family: 'Chivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.sbt-card-body p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ─────── PHOTO BANNER (CSS-only — no broken images) ─────── */
.photo-banner {
  position: relative;
  margin: 4rem 0;
  border-radius: 0;
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  background:
    radial-gradient(ellipse 120% 80% at 80% 50%, rgba(57, 255, 20, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #060808 100%);
}
.photo-banner-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 100%);
}
.photo-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(57, 255, 20, 0.18) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}
.photo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}
.photo-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}
.photo-banner h2 { color: var(--text); margin-bottom: 0.5rem; }
.photo-banner p { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ─────── PHONE MOCKUP / APP PREVIEW ─────── */
.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}
@media (max-width: 880px) { .preview-row { grid-template-columns: 1fr; gap: 2rem; } }
.preview-img {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  padding: 1.5rem;
  text-align: center;
}
.preview-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.preview-caption {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

/* ─────── PAGE-TOC SIDEBAR (subpages) ─────── */
.pagewrap-with-toc {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}
@media (max-width: 880px) { .pagewrap-with-toc { grid-template-columns: 1fr; } }
.toc {
  position: sticky;
  top: 100px;
  border-left: 2px solid var(--brand-border);
  padding: 0.5rem 0 0.5rem 1rem;
}
.toc h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.toc a {
  display: block;
  padding: 0.45rem 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
  border-left: 2px solid transparent;
  margin-left: -1.1rem;
  padding-left: 1rem;
}
.toc a:hover, .toc a.active {
  color: var(--brand);
  border-left-color: var(--brand);
  opacity: 1;
}
@media (max-width: 880px) {
  .toc { position: static; border-left: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .toc h4 { width: 100%; }
  .toc a { border-left: 0; margin-left: 0; padding: 0.3rem 0.6rem; background: var(--bg-card); border-radius: 4px; }
}

/* ─────── LOGO STRIP ─────── */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.tech-strip .tech-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tech-strip .tech-item::before {
  content: '◆';
  color: var(--brand);
  font-size: 0.65rem;
}


/* ─── Mobile-Hard-Reset (v60.9 Phase 1.1) ─── */
/* Native checkbox (toggle) IMMER versteckt — auf jedem Viewport */
.nav-toggle { display: none !important; position: absolute; opacity: 0; pointer-events: none; }

@media (max-width: 880px) {
  /* Burger-Icon sichtbarer machen */
  .nav-burger {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .nav-burger span {
    background: var(--text, #fff) !important;
    height: 2.5px !important;
  }
}
@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .container { max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  /* Grids stapeln */
  .tokenomics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    margin: 1rem 0 0 !important;
    max-width: 100% !important;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }
  .split {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .trust-grid, .trust-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  /* Lange Werte (z.B. „Schweiz/Suisse/Svizzera") nicht overflow */
  .token-row { padding: 0.75rem 0.85rem !important; }
  .token-row .value {
    font-size: 0.85rem !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .token-row .label { font-size: 0.65rem !important; }
  /* Pubkey-Block in Trust-Footer überfließen verhindern */
  .pubkey {
    font-size: 0.62rem !important;
    word-break: break-all;
  }
  /* Hero etwas kompakter */
  .hero-inner h1 { font-size: 2rem !important; line-height: 1.1 !important; }
  .hero-inner .subtitle { font-size: 0.95rem !important; }
  .cta-row { flex-direction: column !important; align-items: stretch !important; }
  .cta-row a { text-align: center; }
}
@media (max-width: 480px) {
  .tokenomics-grid, .info-grid { grid-template-columns: 1fr !important; }
}

/* ── Waitlist Form ─────────────────────────────────── */
.waitlist-form { width:100%; max-width:560px; margin:1.5rem auto; }
.waitlist-form .wl-row { display:flex; gap:0.6rem; flex-wrap:wrap; }
.waitlist-form .wl-email {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form .wl-email:focus { border-color: #FCFF00; }
.waitlist-form .wl-email::placeholder { color: rgba(255,255,255,0.25); }
.waitlist-form .wl-submit {
  flex: 0 0 auto;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.92rem;
}
.waitlist-form .wl-platforms {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.85rem; justify-content: center;
}
.waitlist-form .wl-radio {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.waitlist-form .wl-radio input { accent-color: #FCFF00; }
.waitlist-form .wl-radio:has(input:checked) {
  border-color: #FCFF00;
  color: #FCFF00;
  background: rgba(252,255,0,0.06);
}
.waitlist-form .wl-msg {
  margin-top: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}
.waitlist-form .wl-msg.wl-ok  { color: #39FF14; }
.waitlist-form .wl-msg.wl-err { color: #FF5F1F; }
.waitlist-form .wl-fineprint {
  margin-top: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  line-height: 1.5;
  padding: 0 0.5rem;
}
@media (max-width: 540px) {
  .waitlist-form { margin: 1rem auto; padding: 0 0.25rem; }
  .waitlist-form .wl-row { flex-direction: column; gap: 0.5rem; }
  .waitlist-form .wl-email { min-height: 44px; padding: 0.65rem 0.85rem; font-size: 0.9rem; }
  .waitlist-form .wl-submit { width: 100%; min-height: 44px; padding: 0 0.5rem; font-size: 0.85rem; }
  .waitlist-form .wl-platforms {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.6rem;
  }
  .waitlist-form .wl-radio {
    padding: 0.45rem 0.25rem; font-size: 0.7rem; gap: 0.2rem;
    text-align: center; justify-content: center; min-height: 36px;
  }
  .waitlist-form .wl-radio span { white-space: nowrap; }
  .waitlist-form .wl-fineprint { font-size: 0.65rem; margin-top: 0.5rem; }
}

/* ── Language Switcher ──────────────────────────────── */
.lang-switch {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-left: 0.85rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.lang-switch .flag {
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  text-decoration: none;
  filter: grayscale(0.6) opacity(0.55);
  transition: all 0.18s ease;
  border: 1px solid transparent;
}
.lang-switch .flag:hover { filter: none; transform: translateY(-1px); }
.lang-switch .flag.active {
  filter: none;
  background: rgba(252,255,0,0.06);
  border-color: rgba(252,255,0,0.25);
  box-shadow: 0 0 0 1px rgba(252,255,0,0.15);
}
@media (max-width: 720px) {
  .lang-switch { margin-left: 0; padding-left: 0; border-left: none; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.06); width: 100%; justify-content: center; }
}
