/* ===== Presence landing — brand tokens mirror the app's dark theme ===== */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 700; /* variable font covers the whole range */
  font-display: swap;
  src: url('/assets/fonts/raleway-var.woff2') format('woff2');
}

:root {
  --brand-primary: #3F3AA6;
  --brand-secondary: #E892E7;
  --accent: #E0D0B8;
  --text-primary: #E8E8EE;
  --text-secondary: #D1D0DC;
  --text-tertiary: #B5B3C6;
  --bg-primary: #0F0D30;
  --bg-secondary: #1E1A61;
  --bg-tertiary: #1A174F;
  --status-success: #2AFFAA;
  --status-alert: #FFA25B;
  --hero-start: #1C176B;
  --hero-end: #09053A;
  --border: rgba(214, 212, 246, 0.14);
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--hero-start) 0%, var(--bg-primary) 48%, var(--hero-end) 100%)
    fixed,
    var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(15, 13, 48, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand__mark { border-radius: 9px; }
.brand__name { font-size: 20px; letter-spacing: -0.2px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.site-nav a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 15px; transition: color .2s; }
.site-nav a:hover { color: var(--text-primary); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--brand-primary); color: #F7F6FC !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #4a44c4; }

/* ===== Hero ===== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 9vw, 100px) clamp(20px, 5vw, 48px) 40px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600;
  color: var(--brand-secondary); margin: 0 0 20px;
}
.hero__title {
  font-size: clamp(44px, 8vw, 88px); font-weight: 700; line-height: 1.02;
  letter-spacing: -1.5px; margin: 0 0 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9C6F2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 620px; margin: 0 auto; font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary); font-weight: 500;
}

/* ===== Store badges ===== */
.store-badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 34px 0 10px; }
.store-badges--center { margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .18s ease, border-color .2s;
}
.badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }
.badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge small { font-size: 11px; opacity: .85; }
.badge strong { font-size: 19px; font-weight: 600; letter-spacing: -0.2px; }
.store-note { font-size: 14px; color: var(--text-tertiary); margin: 8px 0 0; }
.store-note a { color: var(--text-secondary); }

/* ===== Hero video ===== */
.hero__video {
  margin: 48px auto 0; max-width: 980px;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 0 1px rgba(63,58,166,0.25);
  background: var(--bg-primary);
}
.hero__video video { width: 100%; height: auto; display: block; }

/* ===== Generic sections ===== */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) clamp(20px, 5vw, 48px);
}
.section__title {
  font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -0.8px;
  margin: 0 0 14px; text-align: center;
}
.section__lede {
  max-width: 640px; margin: 0 auto; text-align: center;
  color: var(--text-secondary); font-size: clamp(16px, 2.2vw, 19px); font-weight: 500;
}

/* ===== Steps ===== */
.steps {
  list-style: none; padding: 0; margin: 52px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
  counter-reset: step;
}
.step {
  position: relative; padding: 34px 28px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 18px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  font-weight: 700; font-size: 20px; color: #F7F6FC;
  background: linear-gradient(150deg, var(--brand-primary), #6a63e6);
  box-shadow: 0 8px 24px rgba(63,58,166,0.5);
}
.step h3 { font-size: 21px; margin: 0 0 10px; font-weight: 600; }
.step p { margin: 0; color: var(--text-secondary); font-size: 15.5px; }

/* ===== Features ===== */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px;
}
.feature {
  padding: 30px 26px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--card-border);
}
.feature__icon { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* ===== Privacy ===== */
.privacy {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.privacy .section__title, .privacy .section__lede { text-align: left; margin-left: 0; }
.privacy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 18px; }
.privacy__col { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-border); }
.privacy__col h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.privacy__col--yes h4 { color: var(--status-success); }
.privacy__col--no h4 { color: var(--status-alert); }
.privacy__col ul { margin: 0; padding-left: 18px; color: var(--text-secondary); font-size: 14.5px; }
.privacy__col li { margin-bottom: 6px; }
.privacy__foot { color: var(--text-tertiary); font-size: 14px; margin: 0; }
.privacy__shot img {
  border-radius: 26px; border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); margin: 0 auto;
  max-height: 640px; width: auto;
}

/* ===== Closing CTA ===== */
.cta {
  max-width: var(--maxw); margin: 0 auto clamp(40px, 8vw, 80px);
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 56px);
  text-align: center; border-radius: 28px;
  background:
    radial-gradient(100% 140% at 50% 0%, rgba(63,58,166,0.45) 0%, rgba(30,26,97,0.15) 60%, transparent 100%),
    var(--card);
  border: 1px solid var(--card-border);
}
.cta h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 700; letter-spacing: -0.8px; margin: 0 0 12px; }
.cta p { color: var(--text-secondary); font-size: 18px; margin: 0 auto; max-width: 520px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--text-secondary); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--text-primary); }
.footer__login {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--text-primary) !important;
}
.footer__login:hover { border-color: var(--brand-secondary); background: rgba(255,255,255,0.04); }
.footer__legal { width: 100%; color: var(--text-tertiary); font-size: 13px; margin: 6px 0 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .privacy { grid-template-columns: 1fr; }
  .privacy__shot { order: -1; }
  .privacy__shot img { max-height: 520px; }
}
@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .privacy__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge:hover { transform: none; }
}
