/* Momentum site: Deep Sea theme, matching the app (src/theme/tokens.ts) */
:root {
  --bg: #012438;          /* Deep Sea Blue */
  --surface: #05304a;
  --surface-2: #0a3a56;
  --ring: rgba(219, 244, 252, 0.1);
  --fill: rgba(219, 244, 252, 0.07);
  --text: #dbf4fc;        /* Foam White */
  --text-2: rgba(219, 244, 252, 0.72);
  --text-3: rgba(219, 244, 252, 0.46);
  --accent: #f16f1b;      /* Sunset Orange */
  --accent-text: #f7843a;
  --on-accent: #012438;
  --good: #5be3a6;
  --watch: #ffc266;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --r-card: 24px;
  --shadow: 0 0 0 1px rgba(219, 244, 252, 0.09), 0 14px 34px rgba(0, 8, 16, 0.45);
  --glow: 0 8px 26px rgba(241, 111, 27, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Header */
.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--on-accent); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #ff8a3d, #e8600f); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--glow);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; letter-spacing: 0 !important; text-transform: none !important; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(219, 244, 252, 0.55); }

/* Type */
.caps { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
.display em { font-style: italic; color: var(--accent-text); display: block; }
h1.display { font-size: clamp(48px, 7.6vw, 92px); }
h2.display { font-size: clamp(36px, 5vw, 58px); }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 520px; margin: 22px 0 0; }
.muted { color: var(--text-2); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-bottom: 96px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(241, 111, 27, 0.38), rgba(241, 111, 27, 0) 42%),
    linear-gradient(180deg, #0f5c80 0%, #0a4566 26%, #05314c 58%, var(--bg) 92%);
}
.hero::after {
  content: ''; position: absolute; top: -120px; left: 44%; width: 120px; height: 900px; pointer-events: none;
  background: rgba(219, 244, 252, 0.05); transform: rotate(24deg);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 48px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-top: 24px; } }

/* Waitlist form */
.join { margin-top: 30px; max-width: 480px; }
.join-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(219, 244, 252, 0.08); box-shadow: inset 0 0 0 1px rgba(219, 244, 252, 0.22); }
.join input[type='email'] {
  flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--text);
  font: 400 17px var(--sans); padding: 0 16px;
}
.join input::placeholder { color: var(--text-3); }
.join input:focus { outline: none; }
.join-row:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { font-size: 13px; color: var(--text-3); margin: 10px 0 0 18px; }
.join-msg { font-size: 15px; margin: 12px 0 0 18px; min-height: 22px; }
.join-msg.ok { color: var(--good); }
.join-msg.err { color: var(--watch); }
@media (max-width: 480px) {
  .join-row { flex-direction: column; border-radius: 24px; }
  .join .btn { width: 100%; }
}

/* Phone mock (mirrors the app's Home screen) */
.phone { width: 320px; max-width: 100%; margin: 0 auto; border-radius: 52px; background: #0b0f14; padding: 9px; box-shadow: 0 0 0 1.5px #3a4450, 0 40px 80px rgba(0, 0, 0, 0.5); }
.screen { border-radius: 44px; overflow: hidden; height: 640px; position: relative; padding: 0 14px; background:
  radial-gradient(circle at 92% 4%, rgba(241, 111, 27, 0.4), rgba(241, 111, 27, 0) 50%),
  linear-gradient(180deg, #0f5c80 0%, #0a4566 22%, #05314c 50%, var(--bg) 82%); }
.status { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 0; font: 600 14px var(--sans); }
.status i { width: 92px; height: 26px; border-radius: 18px; background: #000; }
.bar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.glass { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(219, 244, 252, 0.08); box-shadow: inset 0 0 0 1px rgba(219, 244, 252, 0.22); font-size: 12px; font-weight: 600; }
.glass.round { width: 34px; padding: 0; justify-content: center; position: relative; }
.badge-dot { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.wallet { position: relative; padding-top: 38px; margin-top: 6px; }
.peek { position: absolute; top: 6px; left: 10px; right: 10px; height: 54px; border-radius: 18px; background: #0a3a56; display: flex; justify-content: space-between; padding: 8px 14px; font-size: 12px; font-weight: 500; }
.peek b { color: var(--accent-text); font-weight: 600; }
.wallet-card { position: relative; border-radius: 24px; padding: 5px; background: rgba(219, 244, 252, 0.06); box-shadow: var(--shadow); }
.balance { border-radius: 20px; padding: 13px; background:
  radial-gradient(circle at 96% 0%, rgba(241, 111, 27, 0.6), rgba(241, 111, 27, 0) 62%),
  linear-gradient(150deg, #0e5a7e, #073b59 55%, #03263d); }
.balance .caps { font-size: 10px; color: var(--text); }
.big { font-family: var(--serif); font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; margin: 2px 0 10px; }
.big span { opacity: 0.6; }
.next-row { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px 0 12px; border-radius: 999px; background: rgba(219, 244, 252, 0.08); box-shadow: inset 0 0 0 1px rgba(219, 244, 252, 0.22); font-size: 12px; font-weight: 600; }
.next-row span:first-child { flex: 1; }
.chev { width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13px; }
.foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 6px; }
.foot strong { font-family: var(--serif); font-size: 21px; font-weight: 500; display: block; }
.foot small { font-size: 11px; color: var(--text-2); }
.pill { font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(219, 244, 252, 0.07); }
.mini-btns { display: flex; gap: 8px; margin-top: 12px; }
.mini-btns span { flex: 1; height: 40px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.mini-btns .p { background: linear-gradient(180deg, #ff8a3d, #e8600f); color: var(--on-accent); box-shadow: var(--glow); }
.mini-btns .s { box-shadow: inset 0 0 0 1.5px rgba(219, 244, 252, 0.55); }
.mini-alert { margin-top: 12px; border-radius: 20px; padding: 12px; background: var(--surface); box-shadow: 0 0 0 1.5px rgba(255, 122, 122, 0.3), var(--shadow); font-size: 12px; }
.mini-alert b { display: block; font-size: 13px; margin-bottom: 3px; }
.mini-alert span { color: var(--text-2); }
.mini-nav { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; gap: 8px; align-items: center; }
.mini-nav .pill-nav { flex: 1; display: flex; justify-content: space-between; background: var(--text); border-radius: 999px; padding: 4px; }
.mini-nav .pill-nav span { flex: 1; text-align: center; font-size: 10px; font-weight: 600; color: #2b4a5c; padding: 9px 0; border-radius: 999px; }
.mini-nav .pill-nav span.on { background: var(--bg); color: var(--text); }
.mini-nav .me { width: 46px; height: 46px; border-radius: 23px; background: var(--text); }

/* Sections */
section.block { padding: 96px 0; }
@media (max-width: 640px) { section.block { padding: 64px 0; } }
.head { max-width: 640px; margin-bottom: 44px; }
.head .caps { display: block; margin-bottom: 14px; }
.head p { color: var(--text-2); font-size: 18px; margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 18px; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 18px; }
.step p { margin: 0; color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* The difference: timeline */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .diff { grid-template-columns: 1fr; } }
.timeline { background: var(--surface); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); }
.tl-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; align-items: start; }
.tl-row + .tl-row { border-top: 1px solid var(--ring); }
.tl-row .when { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.tl-row.hot .when { color: var(--accent-text); }
.tl-row p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }
.tl-row b { font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 23px; display: grid; place-items: center; margin-bottom: 16px; }
.icon i { width: 24px; height: 24px; border-radius: 8px; transform: rotate(-8deg); box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(0, 0, 0, 0.16); }
.t-orange { background: rgba(241, 111, 27, 0.16); } .t-orange i { background: linear-gradient(150deg, #ffa562, #f16f1b); }
.t-blue { background: rgba(127, 227, 245, 0.14); } .t-blue i { background: linear-gradient(150deg, #9febfa, #1b9bc2); }
.t-gold { background: rgba(255, 194, 102, 0.14); } .t-gold i { background: linear-gradient(150deg, #ffd98a, #f2a100); }
.t-green { background: rgba(91, 227, 166, 0.14); } .t-green i { background: linear-gradient(150deg, #8ef2bf, #1e9e55); }
.t-purple { background: rgba(197, 155, 255, 0.14); } .t-purple i { background: linear-gradient(150deg, #d3b4ff, #8452f0); }
.t-teal { background: rgba(110, 224, 234, 0.14); } .t-teal i { background: linear-gradient(150deg, #8ef0f2, #13a8b8); }
.soon { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--watch); vertical-align: 2px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }
.trust .card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--ring); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--ring); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-text); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

/* Closing CTA */
.cta { text-align: center; border-radius: 32px; padding: 72px 24px; background:
  radial-gradient(circle at 50% 0%, rgba(241, 111, 27, 0.35), rgba(241, 111, 27, 0) 60%), var(--surface); box-shadow: var(--shadow); }
.cta .join { margin: 30px auto 0; text-align: left; }

/* Footer */
footer { padding: 56px 0 40px; color: var(--text-3); font-size: 14px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--ring); padding-top: 32px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.disclaimer { margin-top: 22px; max-width: 760px; line-height: 1.6; }

/* Legal / support pages */
.page-hero { position: relative; overflow: hidden; padding: 24px 0 56px; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 90% 10%, rgba(241, 111, 27, 0.3), rgba(241, 111, 27, 0) 45%),
  linear-gradient(180deg, #0a4566 0%, #05314c 55%, var(--bg) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1.display { font-size: clamp(44px, 6vw, 72px); margin-top: 32px; }
.prose { max-width: 760px; padding-bottom: 40px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.notice { border-radius: 16px; padding: 14px 18px; background: rgba(255, 194, 102, 0.12); color: var(--watch); font-size: 15px; margin-top: 24px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
