/* === Tokens === */
:root {
  --bg: #0e0b14;
  --card: rgba(255,255,255,.05);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --stroke: rgba(255,255,255,.10);
  --accent: #b47bff;
  --accent-glow: rgba(180,123,255,.35);
  --green: #7cf7c7;
  --radius: 20px;
  --max: 900px;
  --section-gap: 28px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Background glow === */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 600px at 15% 5%, rgba(180,123,255,.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 15%, rgba(124,247,199,.08), transparent 50%),
    radial-gradient(ellipse 500px 500px at 50% 80%, rgba(180,123,255,.06), transparent 50%);
}

/* === Layout === */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* === Top bar === */
.topbar {
  display: flex;
  align-items: center;
  padding: 28px 0 0;
}
.topbar-logo {
  height: 64px;
  width: auto;
  opacity: .85;
  transition: opacity .2s;
}
.topbar-logo:hover { opacity: 1; }

/* === Hero === */
.hero {
  text-align: center;
  padding: 56px 0 48px;
}
.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 32px rgba(180,123,255,.25));
}
.motto {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: .3px;
}
.coming-badge {
  display: inline-block;
  padding: 7px 24px;
  border-radius: 100px;
  border: 1px solid var(--accent-glow);
  background: rgba(180,123,255,.10);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

/* === Section dividers === */
.section-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
  padding-top: 8px;
}

/* === Features grid === */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: var(--section-gap);
}
.feature {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color .25s, background .25s;
}
.feature:hover {
  border-color: rgba(180,123,255,.25);
  background: rgba(255,255,255,.07);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.feature p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* === Cards === */
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  margin-bottom: var(--section-gap);
}
.card h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--muted);
  line-height: 1.55;
}
.card strong {
  color: var(--text);
}

/* === Orchestration === */
.orchestration {
  border-color: rgba(180,123,255,.18);
  background: rgba(180,123,255,.03);
}
.orchestration h2 {
  color: var(--accent);
  margin-bottom: 14px;
}
.orchestration p {
  max-width: 680px;
}
.orchestration p + p {
  margin-top: 12px;
}
.orchestration p:last-child {
  color: var(--text);
  font-weight: 600;
  font-style: italic;
  margin-top: 16px;
}

/* === About === */
.about {
  text-align: center;
}
.about p {
  max-width: 620px;
  margin: 0 auto;
  font-size: .95rem;
}

/* === Details grid === */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: var(--section-gap);
}
.detail {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color .25s, background .25s;
}
.detail:hover {
  border-color: rgba(180,123,255,.25);
  background: rgba(255,255,255,.07);
}
.detail-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.detail h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.detail p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* === Footer === */
.footer {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-logo {
  height: 48px;
  width: auto;
  opacity: .5;
  transition: opacity .2s;
}
.footer-logo:hover { opacity: .8; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* === Twium page === */
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.back-link:hover { color: var(--text); }
.twium-logo {
  max-width: 480px;
  filter: drop-shadow(0 4px 28px rgba(180,123,255,.2));
}
.prose h2 {
  color: var(--accent);
  margin-bottom: 14px;
}
.prose p {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.6;
}
.prose p + p {
  margin-top: 14px;
}
.prose em {
  color: var(--text);
  font-style: italic;
}
.sign-off {
  text-align: center;
  border-color: rgba(180,123,255,.18);
  background: rgba(180,123,255,.03);
}
.sign-off p {
  margin: 0 auto;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  .hero-logo { max-width: 280px; }
  .hero-sub { font-size: 1rem; }
  .motto { font-size: 1.1rem; }
  .card { padding: 24px 20px; }
  .wrap { padding: 0 16px 32px; }
}
