*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06080c;
  --surface: #0e1218;
  --border: rgba(255,255,255,0.08);
  --text: #f3f5f8;
  --muted: #8b95a8;
  --dim: #5a6478;
  --accent: #6ee7b7;
  --accent-dim: rgba(110,231,183,0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.glow--a { width: 500px; height: 500px; top: -120px; right: -80px; background: rgba(110,231,183,0.18); }
.glow--b { width: 400px; height: 400px; bottom: 20%; left: -120px; background: rgba(120,140,255,0.08); }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: rgba(6,8,12,0.8); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.header--scroll { border-bottom-color: var(--border); }
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; letter-spacing: 0.02em; }
.brand__glyph { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav__cta { padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 100px; color: var(--text) !important; }
.menu { display: none; background: none; border: none; flex-direction: column; gap: 5px; }
.menu span { display: block; width: 18px; height: 1.5px; background: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.4rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500; border: none; transition: transform 0.2s, background 0.2s; }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { transform: translateY(-1px); }
.btn--line { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn--line:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }
.btn--block { width: 100%; }

.kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 1rem; }

.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1080px; margin: 0 auto; padding: 7rem 1.5rem 4rem; min-height: 92vh; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.08; font-weight: 400; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--muted); }
.lede { color: var(--muted); max-width: 28rem; margin-bottom: 1.75rem; font-size: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; }
.hero__live { font-size: 0.8rem; color: var(--dim); }

.preview-tag { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(110,231,183,0.25); padding: 0.35rem 0.65rem; border-radius: 6px; margin-bottom: 0.75rem; }
.phone { background: linear-gradient(160deg, #161a22, #0a0c10); border: 1px solid var(--border); border-radius: 28px; padding: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.phone__screen { background: var(--surface); border-radius: 22px; padding: 1.25rem; min-height: 420px; display: flex; flex-direction: column; }
.phone__bar { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--accent); margin-bottom: 1rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.metric { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem; }
.metric__label { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.metric__value { font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pulse-btn { width: 100%; padding: 0.95rem; background: var(--text); color: var(--bg); border: none; border-radius: 10px; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.75rem; }
.task__q { font-size: 0.82rem; font-weight: 500; margin-bottom: 0.65rem; color: var(--muted); }
.task-opt { display: block; width: 100%; text-align: left; padding: 0.7rem; margin-bottom: 0.4rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--muted); font-size: 0.76rem; line-height: 1.45; }
.task-opt:hover { border-color: rgba(110,231,183,0.35); color: var(--text); }
.done { padding: 0.85rem; background: var(--accent-dim); border: 1px solid rgba(110,231,183,0.2); border-radius: 10px; margin-bottom: 0.5rem; }
.done__title { font-weight: 600; font-size: 0.85rem; }
.done__sub { font-size: 0.78rem; color: var(--muted); }
.phone__hint { margin-top: auto; font-size: 0.68rem; color: var(--dim); padding-top: 0.75rem; }

.strip { position: relative; z-index: 1; text-align: center; padding: 2rem 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(14,18,24,0.5); }
.strip p { font-size: 0.88rem; color: var(--muted); max-width: 52rem; margin: 0 auto; }

.manifesto { position: relative; z-index: 1; padding: 5rem 1.5rem; max-width: 680px; margin: 0 auto; text-align: center; }
.manifesto blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--muted); line-height: 1.45; font-weight: 400; }

.layers, .revenue, .genesis, .partners { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 5rem 1.5rem; }
.layers h2, .revenue h2, .genesis h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 400; text-align: center; margin-bottom: 2rem; }
.layer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.layer-grid article { background: var(--bg); padding: 1.75rem; }
.layer-num { font-size: 0.68rem; color: var(--dim); letter-spacing: 0.08em; }
.layer-grid h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0.5rem 0; font-weight: 400; }
.layer-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 0.75rem; }
.layer-grid p:last-child { font-size: 0.88rem; color: var(--muted); }

.revenue__sub { text-align: center; color: var(--muted); max-width: 36rem; margin: -1rem auto 1.5rem; font-size: 0.95rem; }
.revenue-list { max-width: 36rem; margin: 0 auto 1.25rem; padding-left: 1.25rem; color: var(--muted); font-size: 0.92rem; }
.revenue-list li { margin-bottom: 0.5rem; }
.revenue-list strong { color: var(--text); font-weight: 500; }
.revenue__note { text-align: center; font-size: 0.82rem; color: var(--dim); font-style: italic; }

.member__card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; max-width: 520px; margin: 0 auto; }
.member__card h2 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 1.25rem; font-weight: 400; }
.member__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.member__stats dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.member__stats dd { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ref-label { display: block; font-size: 0.72rem; color: var(--dim); margin-bottom: 0.35rem; }
.ref-row { display: flex; gap: 0.5rem; }
.ref-input { flex: 1; min-width: 0; padding: 0.65rem 0.85rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.8rem; }

.genesis { text-align: center; max-width: 440px; }
.genesis__sub { color: var(--muted); font-size: 0.9rem; margin: -1rem 0 1.5rem; }
.genesis__input { width: 100%; padding: 0.9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); margin-bottom: 0.75rem; font-size: 0.95rem; }
.consent { display: flex; gap: 0.65rem; text-align: left; font-size: 0.75rem; color: var(--dim); margin-bottom: 1rem; line-height: 1.5; }
.consent input { margin-top: 0.2rem; flex-shrink: 0; }
.genesis__ok { margin-top: 1rem; padding: 0.85rem; background: var(--accent-dim); border-radius: 10px; color: var(--accent); font-size: 0.88rem; }

.partners__inner { background: linear-gradient(135deg, rgba(110,231,183,0.08), rgba(120,140,255,0.06)); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: left; }
.partners h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin: 0.5rem 0 0.75rem; text-align: left; }
.partners p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; max-width: 36rem; }

.footer { position: relative; z-index: 1; padding: 2.5rem 1.5rem; border-top: 1px solid var(--border); text-align: center; max-width: 640px; margin: 0 auto; }
.footer__brand { font-weight: 500; margin-bottom: 0.5rem; }
.footer__legal { font-size: 0.72rem; color: var(--dim); line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 5.5rem; min-height: auto; }
  .hero__phone { order: -1; max-width: 340px; margin: 0 auto; }
  .layer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .menu { display: flex; }
}
