@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink: #121211;
  --paper: #f5f5f2;
  --muted: #74736f;
  --line: #d9d8d3;
  --warm: #c69c6d;
  --warm-hover: #d3ae82;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
  --nav-bg: rgba(245,245,242,.88);
  --nav-border: rgba(18,18,17,.1);
  --ps-bg: #faf8f1;
  --ps-ink: #1b1915;
  --ps-muted: #8b8678;
  --ps-line: #e6e1d3;
  --ps-card: var(--warm);
  --ps-card-ink: #fff;
  --ps-card-muted: rgba(255,255,255,.8);
  --ps-card-line: rgba(255,255,255,.4);
  --ps-num: #fff;
  --feat-bg: #eeeee9;
  --feat-line: #d4d3cc;
  --stmt-bg: #292a27;
  --stmt-ink: #f2f0ea;
}

.site.dark {
  --ink: #f2efe8;
  --paper: #131312;
  --muted: #9d9a90;
  --line: #33322d;
  --nav-bg: rgba(19,19,18,.88);
  --nav-border: rgba(242,239,232,.12);
  --ps-bg: #131211;
  --ps-ink: #f6f3ec;
  --ps-muted: #94918a;
  --ps-line: #2d2c28;
  --ps-card: #000;
  --ps-card-ink: #fff;
  --ps-card-muted: rgba(255,255,255,.6);
  --ps-card-line: rgba(198,156,109,.4);
  --ps-num: var(--warm);
  --feat-bg: #181817;
  --feat-line: #383731;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); overflow-x: hidden; transition: background .4s, color .4s; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(6vw, 28px);
  transition: background .35s, backdrop-filter .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 60px; background: var(--nav-bg);
  backdrop-filter: blur(20px); border-color: var(--nav-border);
}
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -1.4px; }
.wordmark sup { font-size: 7px; vertical-align: top; margin-left: 2px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, border-color .25s;
}
.theme-btn:hover { transform: translateY(-1px); border-color: var(--warm); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 140px max(6vw, 28px) 100px;
}

/* background */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .18;
  transition: opacity .4s;
}
.orb-1 { width: 700px; height: 700px; background: var(--warm); top: -200px; right: -150px; }
.orb-2 { width: 500px; height: 500px; background: #a0845a; bottom: -100px; left: -100px; }
.orb-3 { width: 350px; height: 350px; background: var(--warm); top: 40%; left: 35%; opacity: .09; }
.site.dark .orb { opacity: .12; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4vw;
  width: 100%; max-width: 1500px; margin: auto;
}

/* copy */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 10px var(--mono); letter-spacing: .14em; color: #818078;
  margin-bottom: 28px;
}
.eyebrow-line { width: 28px; height: 1px; background: var(--warm); }

h1 {
  font-size: clamp(62px, 8vw, 130px);
  line-height: .91; letter-spacing: -.085em; font-weight: 600;
  margin-bottom: 36px;
}
h1 em { font-family: var(--serif); font-weight: 400; }

.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.reveal { display: block; transform: translateY(110%); opacity: 0; will-change: transform; }
.reveal.in { animation: slideUp .9s cubic-bezier(.16,1,.3,1) forwards; }
.r0 { animation-delay: .25s; }
.r1 { animation-delay: .39s; }
.r2 { animation-delay: .53s; }
@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }

.reveal-fade { opacity: 0; transform: translateY(28px); transition: opacity .9s .85s, transform .9s .85s cubic-bezier(.16,1,.3,1); }
.reveal-fade.in { opacity: 1; transform: translateY(0); }

.lede { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 400px; margin-bottom: 36px; }

/* waitlist */
.waitlist-form {
  display: flex; gap: 10px; max-width: 460px; margin-bottom: 20px;
}
.waitlist-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  padding: 14px 22px; font: inherit; font-size: 13px; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.waitlist-form input:focus { border-color: var(--warm); box-shadow: 0 0 0 3px rgba(198,156,109,.18); }
.waitlist-form button {
  display: flex; align-items: center; gap: 9px;
  background: var(--warm); color: #181511;
  border-radius: 999px; padding: 14px 22px;
  font-size: 12px; font-weight: 700;
  transition: transform .25s, background .25s;
  white-space: nowrap;
}
.waitlist-form button:hover { transform: translateY(-2px); background: var(--warm-hover); }
.waitlist-form button:disabled { opacity: .55; transform: none; cursor: default; }
.success-msg { display: none; font-size: 14px; font-weight: 600; color: var(--warm); margin-bottom: 20px; }
.error-msg { display: none; font: 11px var(--mono); color: #8b4513; margin-bottom: 20px; }

.launch-note { font: 10px var(--mono); color: #96948d; margin-top: 44px; }

/* ── PHONE ───────────────────────────────────────────────── */
.hero-visual {
  position: relative; height: 580px;
  display: flex; align-items: center; justify-content: center;
}
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(198,156,109,.3);
  pointer-events: none;
}
.orbit-a { width: 480px; height: 620px; transform: rotate(-20deg); }
.orbit-b { width: 355px; height: 490px; transform: rotate(-20deg); }

.phone-wrap {
  z-index: 2; transform: rotate(7deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-9px); } }

.phone-tilt { will-change: transform; transition: transform .08s linear; }

.phone {
  width: 280px; height: 570px;
  background: #20201e; border-radius: 42px; padding: 9px;
  box-shadow: 22px 28px 60px rgba(0,0,0,.22);
  position: relative; color: #faf9f5;
}
.phone-notch {
  position: absolute; z-index: 2; top: 17px; left: 50%;
  width: 88px; height: 22px; border-radius: 20px;
  background: #10100f; transform: translateX(-50%);
}
.phone-screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  padding: 17px; position: relative;
  background: var(--ps-bg); color: var(--ps-ink);
  transition: background .4s, color .4s;
}
.ps-status, .ps-nav {
  display: flex; justify-content: space-between; align-items: center;
  font: 9px var(--mono); opacity: .75;
}
.ps-nav { margin-top: 30px; font-size: 11px; opacity: 1; }
.ps-mark {
  background: var(--warm); color: #211910; border-radius: 50%;
  width: 21px; height: 21px; display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--serif); font-size: 14px;
}
.ps-intro { padding-top: 44px; }
.ps-intro small, .ps-intro span, .ps-token-card small {
  display: block; color: var(--ps-muted);
  font: 9px var(--mono); letter-spacing: .08em;
}
.ps-intro strong { display: block; font-size: 30px; letter-spacing: -1.5px; margin: 8px 0 5px; }
.ps-intro span { letter-spacing: 0; color: var(--warm); }
.ps-token-card {
  background: var(--ps-card); color: var(--ps-card-ink);
  padding: 22px 18px; margin-top: 22px; border-radius: 16px;
  transition: background .4s, color .4s;
}
.ps-token-card b {
  display: block; font: 80px var(--serif); line-height: 1;
  margin: 8px 0 18px; letter-spacing: -7px; color: var(--ps-num);
}
.ps-meta {
  border-top: 1px solid var(--ps-card-line); padding-top: 12px;
  display: flex; justify-content: space-between; font-size: 11px;
}
.ps-meta em { font-style: normal; font-weight: 700; font-size: 16px; }
.ps-bar {
  height: 3px; background: var(--ps-line); margin: 24px 0; position: relative;
}
.ps-bar span { display: block; height: 100%; background: var(--warm); transition: width 1.2s ease; }
.ps-note {
  display: flex; gap: 8px; align-items: center;
  color: var(--ps-muted); font-size: 9px; line-height: 1.4;
}
.ps-note svg { color: var(--warm); flex: none; }
.ps-bottom {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  padding-top: 13px; border-top: 1px solid var(--ps-line);
  font: 9px var(--mono); display: flex; justify-content: space-between;
}
.dot { width: 6px; height: 6px; background: #9fc29b; border-radius: 50%; display: inline-block; }

/* chips */
.float-chip {
  position: absolute; z-index: 3;
  background: #e5e0d7; color: #27231e;
  padding: 11px 15px; border-radius: 999px;
  font-size: 10px; display: flex; gap: 8px; align-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  opacity: 0; transform: translateX(-16px);
  transition: opacity .7s, transform .7s cubic-bezier(.16,1,.3,1);
}
.float-chip.in { opacity: 1; transform: translateX(0); }
.chip-live { left: 2%; top: 22%; flex-wrap: wrap; }
.chip-bell { right: 3%; bottom: 18%; transform: translateX(16px); }
.chip-bell.in { transform: translateX(0); }
.chip-sub { display: block; font: 9px var(--mono); color: #817a6e; margin-left: 19px; width: 100%; }
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #7ba477;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.site.dark .float-chip { background: #1e1d1a; color: #f2efe8; box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.site.dark .chip-sub { color: #a09d92; }

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 34px 0; white-space: nowrap; transition: border-color .4s;
}
.mq-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.mq-copy { display: flex; gap: 4.5vw; padding-right: 4.5vw; }
.mq-copy span { font-size: clamp(26px, 3.2vw, 52px); letter-spacing: -.055em; font-weight: 600; }
.mq-copy span.serif { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--warm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── FEATURES ────────────────────────────────────────────── */
.features {
  background: var(--feat-bg); padding: 130px max(6vw, 28px);
  transition: background .4s;
}
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--feat-line);
  max-width: 1400px; margin: auto;
}
.feat-item {
  background: var(--feat-bg); padding: 28px 28px 36px;
  transition: background .25s, transform .25s;
  opacity: 0; transform: translateY(40px);
}
.feat-item.in { animation: fadeUp .85s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.feat-item:hover { background: var(--paper); transform: translateY(-5px); }
.feat-num { font: 10px var(--mono); color: #9a988f; display: block; margin-bottom: 52px; }
.feat-item h3 { font-size: 22px; letter-spacing: -.055em; margin-bottom: 12px; }
.feat-item p { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 200px; }

/* ── STATEMENT ───────────────────────────────────────────── */
.statement {
  background: var(--stmt-bg); color: var(--stmt-ink);
  text-align: center; padding: 180px 30px;
}
.statement-inner { max-width: 900px; margin: auto; }
.kicker { font: 500 10px var(--mono); letter-spacing: .14em; color: #818078; }
.kicker.light { color: #97958d; }
.statement h2 {
  font-size: clamp(44px, 6vw, 96px); line-height: .93;
  letter-spacing: -.085em; margin: 44px 0 28px; font-weight: 600;
}
.statement h2 em { font-family: var(--serif); font-weight: 400; }
.stmt-sub { color: #aaa9a2; font-size: 15px; line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #191918; color: #f2efe8;
  padding: 70px max(6vw, 28px) 28px;
  display: flex; flex-direction: column; gap: 60px;
}
.footer-brand p { color: #8d8b84; font-size: 12px; margin-top: 14px; }
.footer-note { font: 9px var(--mono); color: #77766f; border-top: 1px solid #383835; padding-top: 18px; }

.ig-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; font-size: 12px; font-weight: 600;
  color: var(--muted); border-bottom: 1px solid var(--line);
  padding-bottom: 4px; transition: color .25s, border-color .25s;
}
.ig-link:hover { color: var(--warm); border-color: var(--warm); }

/* ── MYSTERY PHONE SCREEN ────────────────────────────────── */
.ps-mystery { padding-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.blur-block {
  border-radius: 10px; background: var(--ps-line);
  animation: shimmer 2.4s ease-in-out infinite;
}
.bb-tall  { height: 52px; }
.bb-sm    { height: 36px; flex: 1; }
.bb-card  { height: 140px; background: var(--ps-card); display: flex; align-items: center; justify-content: center; border-radius: 16px; }
.bb-short { height: 10px; border-radius: 6px; background: var(--ps-line); opacity: .6; }
.w60      { width: 60%; }
.blur-row { display: flex; gap: 10px; }
.lock-icon { color: rgba(255,255,255,.5); }
@keyframes shimmer {
  0%,100% { opacity: .55; }
  50%      { opacity: 1; }
}
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .85s, transform .85s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; margin-top: 20px; }
  .orbit-a { width: 320px; height: 480px; }
  .orbit-b { width: 250px; height: 370px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { justify-content: center; }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
  .phone { width: 255px; height: 520px; }
  .statement { padding: 120px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-wrap { animation: none; }
  .mq-track { animation: none; }
  .reveal, .reveal-fade, [data-reveal], .feat-item { transition: none; animation: none; opacity: 1; transform: none; }
  .float-chip { opacity: 1; transform: none; }
}
