/* ============================================================
   ASCND — site.css
   Dark-first system pulled from the app theme:
   bg #0B0F14 / #0F141A · surfaces #151B22 / #1A2129
   cyan #3ABDFF primary · blue #1E7FE8 pressed/secondary
   teal #4FD1B8 · green #6EDC8C · lime #D7F21E (spectrum accent only)
   Dosage rule (from the app): calm at rest, energy on action.
   The lime→cyan spectrum appears only on checks, dimples, hairlines.
   ============================================================ */

:root {
  --bg0: #0B0F14;
  --bg1: #0F141A;
  --s1: #151B22;
  --s2: #1A2129;
  --cyan: #3ABDFF;
  --blue: #1E7FE8;
  --teal: #4FD1B8;
  --green: #6EDC8C;
  --lime: #D7F21E;
  --ink: #E9EFF5;
  --ink-soft: rgba(233, 239, 245, 0.62);
  --ink-faint: rgba(233, 239, 245, 0.38);
  --hair: rgba(233, 239, 245, 0.08);
  --spectrum: linear-gradient(100deg, #D7F21E 0%, #6EDC8C 30%, #4FD1B8 55%, #3ABDFF 80%, #1E7FE8 100%);
  --cta: linear-gradient(92deg, #3ABDFF 0%, #1E7FE8 100%);
  --cta-ink: #06121E;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.eyebrow.quiet { color: var(--ink-faint); }

.display {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.display em, .h1 em, .h2 em { font-style: italic; }

.h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 18px 0 0;
  text-wrap: pretty;
}

.body-soft { color: var(--ink-soft); text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: 0 8px 28px rgba(30, 127, 232, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(58, 189, 255, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(233, 239, 245, 0.22);
}
.btn-ghost:hover { border-color: rgba(58, 189, 255, 0.55); color: var(--cyan); }
.btn .chev { flex-shrink: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { width: 72px; height: 72px; object-fit: contain; margin: -16px -12px -16px -16px; }
.nav-logo span { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 11px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-cta:hover { filter: brightness(1.06); }

/* ---------- mobile nav drawer ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 6px;
  border: 1px solid rgba(233, 239, 245, 0.22);
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { border-color: rgba(58, 189, 255, 0.55); color: var(--cyan); }

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 15, 20, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav-drawer-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 201;
  display: flex;
  flex-direction: column;
  width: min(82vw, 320px);
  height: 100%;
  padding: 18px 22px 28px;
  background: var(--s2);
  border-left: 1px solid var(--hair);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  overflow-y: auto;
}
.nav-drawer-overlay.open .nav-drawer { transform: translateX(0); }

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(233, 239, 245, 0.22);
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-drawer-close:hover { border-color: rgba(58, 189, 255, 0.55); color: var(--cyan); }

.nav-drawer a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hair);
}
.nav-drawer a:hover { color: var(--ink); }
.nav-drawer a.active { color: var(--cyan); }
.nav-drawer a.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  margin-top: 18px;
  padding: 14px 18px;
  border-bottom: none;
  border-radius: 11px;
  background: var(--cta);
  color: var(--cta-ink);
}
.nav-drawer a.nav-cta:hover { color: var(--cta-ink); filter: brightness(1.06); }

.nav-toggle:focus-visible,
.nav-drawer-close:focus-visible,
.nav-drawer a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .nav-drawer-overlay { transition: opacity 0.3s ease, visibility 0.3s ease; }
  .nav-drawer { transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--bg1); }
.section-head { max-width: 720px; }
.spectrum-rule {
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--spectrum);
  margin-bottom: 22px;
}

/* ---------- cards ---------- */
.card {
  background: var(--s1);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 26px 28px;
}
.card.raised { background: var(--s2); }

.dimple {
  width: 9px; height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.check {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--spectrum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- phone mockup ---------- */
.phone {
  width: 330px;
  border-radius: 48px;
  background: #060A0F;
  border: 1px solid rgba(233, 239, 245, 0.14);
  padding: 12px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}
.phone-screen {
  border-radius: 37px;
  background: linear-gradient(180deg, #0B0F14 0%, #0F141A 100%);
  overflow: hidden;
  position: relative;
  padding: 54px 18px 28px;
  min-height: 600px;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  border-radius: 999px;
  background: #000;
}

/* in-screen atoms */
.p-date { font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.p-greet { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.p-cta {
  margin-top: 14px;
  border-radius: 16px;
  background: var(--cta);
  box-shadow: 0 8px 24px rgba(30, 127, 232, 0.35);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cta-ink);
}
.p-cta .play {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(6, 18, 30, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.p-cta-title { font-size: 15.5px; font-weight: 800; line-height: 1.2; }
.p-cta-sub { font-size: 11.5px; font-weight: 600; opacity: 0.75; margin-top: 1px; }
.p-card {
  margin-top: 10px;
  border-radius: 15px;
  background: var(--s1);
  border: 1px solid var(--hair);
  padding: 13px 15px;
}
.p-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.p-card-title { font-size: 13.5px; font-weight: 700; }
.p-link { font-size: 11.5px; font-weight: 600; color: var(--cyan); }
.p-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--hair);
}
.p-row:first-of-type { border-top: none; }
.p-row-main { flex: 1; min-width: 0; }
.p-row-title { font-size: 13px; font-weight: 600; }
.p-row-sub { font-size: 10.5px; color: var(--ink-faint); margin-top: 1px; }
.p-row-meta { font-size: 10.5px; font-weight: 600; color: var(--ink-faint); flex-shrink: 0; }
.p-eyebrow {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-faint);
}
.p-why { font-size: 11.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 5px; }
.p-why strong { color: var(--ink); font-weight: 700; }

/* ---------- faq ---------- */
.faq-item {
  border-bottom: 1px solid var(--hair);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(233, 239, 245, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
  color: var(--ink-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: rgba(58, 189, 255, 0.6); color: var(--cyan); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 44px 26px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- download band ---------- */
.dl-band {
  background: var(--bg1);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.dl-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}
.dl-copy { flex: 1; }
.dl-module {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1.5px solid rgba(233, 239, 245, 0.18);
  background: var(--s1);
  color: var(--ink-soft);
  cursor: default;
  user-select: none;
}
.store-badge .sb-label { line-height: 1.2; text-align: left; }
.store-badge .sb-top { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.store-badge .sb-main { font-size: 17px; font-weight: 700; color: var(--ink); }
.dl-note { font-size: 13px; color: var(--ink-faint); }

/* ---------- QR + store badge ---------- */
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 18px 14px;
  width: 196px;
}
.qr-card img { width: 160px; height: 160px; display: block; }
.qr-card span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #0B0F14; }
.store-badge.live { cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; }
.store-badge.live:hover { border-color: rgba(58,189,255,0.6); transform: translateY(-1px); }
.dl-module { flex-direction: row; align-items: center; gap: 26px; }
.dl-module .dl-store-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
  padding: 56px 0 48px;
  background: var(--bg0);
}
.footer-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.footer-brand { flex: 1; }
.footer-brand img { width: 110px; height: 110px; object-fit: contain; margin: -24px 0 -18px -26px; }
.footer-tag { font-size: 14px; color: var(--ink-soft); margin-top: 14px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.footer-col a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-toggle { display: inline-flex; }
  .dl-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { flex-wrap: wrap; gap: 40px; }
}
