:root {
  --site-header-offset: calc(100px + env(safe-area-inset-top, 0px));
  --dark: #08080f;
  --dark-alt: #0c0c18;
  --dark-card: #0e0a1c;
  --surface: #12121f;
  --border: #1a1a2e;
  --border-mid: #252535;
  --purple-dark: #9B7FD4;
  --purple-mid: #A98BE0;
  --purple-light: #D4C1FF;
  --purple-deep: #7C3AED;
  --cyan: #4BB8E0;
  --coral: #FF7B8A;
  --gold: #E8B84B;
  --text: #D4DCE8;
  --text-sec: #8B949E;
  --text-dim: #6e6e7a;
  --text-muted: #484f68;
  --text-faint: #3a3a5c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-mid);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  min-height: calc(75px + 24px);
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(48,54,61,0.5);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 75px;
  flex-shrink: 0;
}
.logo-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(169, 139, 224, 0.4))
          drop-shadow(0 0 28px rgba(124, 58, 237, 0.18));
}
.logo-text { font-size: 32px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.logo-text span { color: var(--purple-mid); font-weight: 500; letter-spacing: 0.02em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link {
  padding: 9px 16px;
  background: transparent;
  border: none;
  color: var(--text-sec);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.header-link:hover { color: var(--text); }
.header-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

/* Banner */
.deserve-banner {
  margin-top: var(--site-header-offset);
  background: linear-gradient(90deg, #1a1030 0%, #2A1F4A 50%, #1a1030 100%);
  border-bottom: 1px solid #3d2d6e;
  padding: 10px 0;
  text-align: center;
}
.deserve-banner p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  text-transform: uppercase;
}
.deserve-banner span { color: var(--purple-mid); }

/* Footer */
footer { padding: 32px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.footer-logo span { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.footer-logo em { color: var(--purple-mid); font-style: normal; font-weight: 500; }
.footer-founding {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.65;
  padding: 0 16px;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.footer-links a { font-size: 12px; color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--purple-light); }
footer p { font-size: 11px; color: var(--text-dim); }
.footer-attribution {
  border-top: 1px solid #12121f;
  padding: 14px 0 10px;
  margin-top: 12px;
}
.attr-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.attr-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  line-height: 1.8;
  justify-content: center;
}
.attr-link {
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: none;
}
.attr-link:hover {
  color: var(--purple-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.attr-sep {
  font-size: 10px;
  color: #2a2a3a;
  user-select: none;
}

@media (max-width: 980px) {
  :root { --site-header-offset: calc(132px + env(safe-area-inset-top, 0px)); }
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .header-actions {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .header-actions::-webkit-scrollbar { display: none; }
  .header-link, .header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  :root { --site-header-offset: calc(120px + env(safe-area-inset-top, 0px)); }
  .container { padding: 0 16px; }
  .logo-mark-stage { width: 56px; height: 47px; }
  .logo-text { font-size: 22px; }
  .header-link { padding: 8px 12px; font-size: 12px; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
}
