@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0a0e1f;
  --bg-alt: #0d1330;
  --card: #121a3a;
  --card-2: #161f45;
  --line: rgba(255, 255, 255, .09);
  --text: #e9ebf8;
  --muted: #a3abcf;
  --gold: #f6c33b;
  --gold-2: #f29a3a;
  --lilac: #9aa2ff;
  --mint: #5fd8a8;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 760px; }

/* ---------- Buttons & small bits ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  color: #1a1204;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(246, 195, 59, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(246, 195, 59, .32); }
.btn-sm { padding: 10px 18px; font-size: 14px; white-space: nowrap; }

.badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .15s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { width: 190px; height: auto; }

.link-quiet { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.link-quiet:hover { color: var(--text); }

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.mint { color: var(--mint); }
.eyebrow.center { text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(154, 162, 255, .08);
  color: var(--text);
  font-size: 13px; font-weight: 600;
  margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 14, 31, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 68px; }
.brand img { width: 74px; height: auto; }
.nav { display: none; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin: 0 14px; }
.nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(116, 120, 255, .28), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(246, 195, 59, .12), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 28% 68%, #cfd3ff, transparent),
    radial-gradient(1.6px 1.6px at 46% 14%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 63% 80%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 78% 36%, #ffe9a8, transparent),
    radial-gradient(1.2px 1.2px at 90% 72%, #fff, transparent),
    radial-gradient(1px 1px at 35% 40%, #fff, transparent),
    radial-gradient(1px 1px at 55% 52%, #cfd3ff, transparent);
}
.hero-in { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(36px, 8vw, 62px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 700; }
.lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .glow {
  position: absolute; width: 78%; aspect-ratio: 1; top: 8%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(246, 195, 59, .35), rgba(116, 120, 255, .22) 55%, transparent 72%);
  filter: blur(18px);
}
.phone {
  position: relative; width: min(64%, 270px); height: auto;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotate(3deg);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band { padding: 76px 0; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }

.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(28px, 5.4vw, 44px);
  line-height: 1.14;
}
.sub { margin-top: 16px; color: var(--muted); font-size: 17px; }
.body-lg { margin-top: 18px; font-size: 19px; color: var(--muted); line-height: 1.6; }
.body-lg strong { color: var(--text); }

.split { display: grid; gap: 40px; align-items: center; }
.photo-card { margin: 0; }
.photo-card img {
  width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px var(--line);
}

/* Steps / numbered cards */
.steps, .points, .flow { display: grid; gap: 18px; }
.num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700; font-size: 20px;
  margin-bottom: 20px;
}
.n1 { background: rgba(246, 195, 59, .14); color: var(--gold); }
.n2 { background: rgba(154, 162, 255, .16); color: var(--lilac); }
.n3 { background: rgba(95, 216, 168, .14); color: var(--mint); }
.n4 { background: rgba(255, 140, 140, .14); color: #ff9c9c; }
.steps h3, .flow h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.steps p, .flow p { color: var(--muted); }
.tag { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; }
.tag.gold { color: var(--gold); } .tag.lilac { color: var(--lilac); } .tag.mint { color: var(--mint); }

.points .card { padding: 26px; }
.points p { font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0; }
.points .num { margin-bottom: 16px; }

.mono {
  display: block; margin-bottom: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase;
}

/* Safety */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 700;
}
.safe-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 20px; }
.safe-card h3 svg { width: 26px; height: 26px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.checks { display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(95, 216, 168, .18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd8a8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 12px no-repeat;
}
.checks strong { color: var(--text); }
.checks a { color: var(--gold); }

/* App screens */
.shots {
  display: flex; gap: 18px; overflow-x: auto; padding: 6px 22px 22px;
  margin: 0 -22px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img {
  flex: none; width: 62%; max-width: 250px; scroll-snap-align: center;
  border-radius: 26px; box-shadow: 0 18px 46px rgba(0, 0, 0, .5), 0 0 0 1px var(--line);
}

/* Plan */
.plan { text-align: center; max-width: 760px; margin: 0 auto; padding: 44px 26px; border-color: rgba(246, 195, 59, .4);
  background: radial-gradient(500px 240px at 50% 0%, rgba(246, 195, 59, .12), transparent 70%), linear-gradient(180deg, var(--card-2), var(--card)); }
.plan .sub { max-width: 540px; margin: 16px auto 28px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 28px 20px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }
.support { margin-top: 28px; text-align: center; }
.support h3 { font-size: 20px; margin-bottom: 8px; }
.support p { color: var(--muted); }
.mail { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 800; font-size: 20px; text-decoration: none; border-bottom: 1px solid rgba(246, 195, 59, .5); }

/* Coming soon */
.soon { text-align: center; padding: 64px 0; }
.tag-soon { margin-top: 10px; font-size: 24px; font-weight: 700; color: var(--muted); }

/* Partners */
.partners { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.logos { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 16px; padding: 14px 24px; }
.logo-chip img { height: 52px; width: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer a { text-decoration: none; font-weight: 600; }
.footer a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
body.legal { background: var(--bg); color: #d6d9ef; }
.legal > header { background: rgba(10, 14, 31, .9); border-bottom: 1px solid var(--line); padding: 18px 0; }
.legal > header a { font-family: var(--serif); font-weight: 800; font-size: 24px; text-decoration: none; color: #fff; }
.legal > header a::before { content: "🌙 "; font-size: 18px; }
.legal main { max-width: 780px; margin: 0 auto; padding: 48px 22px 72px; }
.legal h1 { font-family: var(--serif); font-size: clamp(32px, 6vw, 44px); line-height: 1.15; margin-bottom: 10px; color: #fff; }
.legal h2 { font-family: var(--sans); font-size: 21px; font-weight: 800; margin: 40px 0 12px; color: #fff; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 24px; margin: 10px 0 14px; }
.legal li { margin-bottom: 6px; }
.legal p { margin: 0 0 14px; }
.legal a { color: var(--gold); }
.legal strong { color: #fff; }
.legal .effective { color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.legal footer { text-align: center; padding: 28px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .brand img { width: 84px; }
  .nav { display: block; }
  .topbar-in { height: 76px; }
  .hero { padding: 88px 0 104px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .phone { width: min(78%, 320px); }
  .badge img { width: 200px; }
  .section, .band { padding: 104px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .band .photo-card img { margin: 0 0 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .points { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .shots { justify-content: center; overflow: visible; margin: 0; padding: 6px 0 0; gap: 24px; }
  .shots img { width: 23%; max-width: 250px; }
  .plan { padding: 64px 48px; }
  .foot-in { flex-direction: row; justify-content: space-between; text-align: left; }
}
