/* BP Lens landing — "calm night clinic": the app's deep navy, one coral light, frosted glass,
   real screens in iPhone frames and the app's own 3D art. No framework, no inline JS (CSP self). */
:root {
  --bg: #070B16;
  --bg-2: #0B1222;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #F3F5FA;
  --ink-2: #A9B2C6;
  --ink-3: #7C8699;
  --coral: #E0675F;
  --coral-2: #BF4F4C;
  --coral-soft: rgba(224, 103, 95, .14);
  --ok: #4FC48A; --warn: #F2B544; --h1: #F28C45; --h2: #E25555; --crisis: #D348B4;
  --display: "Instrument Serif", "New York", Georgia, serif;
  --text: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 80px rgba(0, 0, 0, .55);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--ink); background: var(--bg); font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "tnum" 0;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(191, 79, 76, .16), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(70, 100, 170, .12), transparent 70%),
    linear-gradient(180deg, #0A1120 0%, #04070F 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Glass surface + hairline with a coral sheen on top */
.glass {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(224, 103, 95, .55), rgba(255, 255, 255, .08) 35%, transparent 60%, rgba(255, 255, 255, .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not (backdrop-filter: blur(1px)) { .glass { background: #121a2c; } }

/* ── Nav ─────────────────────────── */
nav.top { position: sticky; top: 0; z-index: 30; background: rgba(7, 11, 22, .7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
@supports not (backdrop-filter: blur(1px)) { nav.top { background: var(--bg); } }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--text); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(191, 79, 76, .35); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); }
.lang a { font: 700 12px var(--text); padding: 5px 9px; border-radius: 8px; color: var(--ink-3); text-decoration: none; }
.lang a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--ink); }
.nav-cta { font: 700 14px var(--text); padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #0A1120; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: #fff; }
.nav-cta.soon { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); }

/* ── Hero ────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url("/art/hero-bg.webp") right center / cover no-repeat; opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(7, 11, 22, .55) 55%, rgba(7, 11, 22, .2)), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero .wrap.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font: 700 13px var(--text); padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink); }
.pill b { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--coral); color: #fff; }
h1 { font: 400 clamp(52px, 7.4vw, 96px)/.95 var(--display); letter-spacing: -.02em; margin: 22px 0 22px; }
h1 em { font-style: italic; background: linear-gradient(100deg, #FF9A8B, var(--coral) 45%, #C2457A); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { font-size: 19.5px; color: var(--ink-2); max-width: 31em; margin: 0 0 30px; }
.lead b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 16px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn svg { width: 28px; height: 28px; flex: none; }
.btn span { display: flex; flex-direction: column; line-height: 1.15; }
.btn small { font: 600 11.5px var(--text); opacity: .8; letter-spacing: .02em; }
.btn b { font: 700 18px var(--text); letter-spacing: -.01em; }
.btn-store { background: #fff; color: #0A1120; box-shadow: 0 10px 30px rgba(224, 103, 95, .28), 0 0 0 1px rgba(255, 255, 255, .5); }
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(224, 103, 95, .4); }
.btn-store.soon { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; cursor: default; }
.btn-store.soon:hover { transform: none; }
.btn-ghost { color: var(--ink); font-weight: 700; padding: 12px 16px; border-radius: 14px; text-decoration: none; }
.btn-ghost:hover { background: var(--panel); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--ok); }

/* Phones */
.stage { position: relative; height: 640px; }
.phone {
  position: absolute; width: 290px; aspect-ratio: 1320 / 2868; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #3A4152, #1A1F2B 40%, #2B3140); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone::after { content: ""; position: absolute; top: 19px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 999px; }
.stage .p1 { left: 4%; top: 40px; transform: rotate(-6deg); z-index: 1; animation: drift 7s ease-in-out infinite; }
.stage .p2 { right: 2%; top: 0; z-index: 2; animation: drift 7s ease-in-out -3.5s infinite; }
@keyframes drift { 50% { translate: 0 -10px; } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.chip .big { font: 400 26px/1 var(--display); color: var(--ink); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.chip.c1 { left: -2%; bottom: 84px; }
.chip.c2 { right: -4%; bottom: 26px; }
.chip.c2 .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.chip.c2 .ico svg { width: 18px; height: 18px; }

/* ── Stats strip ─────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 6px; margin: 40px 0 0; }
.stats div { padding: 18px 22px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font: 400 38px/1 var(--display); color: var(--ink); }
.stats dd { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* ── Sections ────────────────────── */
section { padding: 96px 0; }
.eyebrow { display: inline-block; font: 700 12.5px var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin: 0 0 14px; }
h2 { font: 400 clamp(38px, 4.6vw, 60px)/1.02 var(--display); letter-spacing: -.015em; margin: 0 0 16px; }
h2 em { font-style: italic; color: var(--coral); }
.sub { color: var(--ink-2); font-size: 18.5px; max-width: 38em; margin: 0 0 44px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { overflow: hidden; padding: 0 0 24px; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--coral); color: #fff; font-weight: 800; font-size: 15px; margin: 20px 24px 10px; box-shadow: 0 6px 18px rgba(224, 103, 95, .45); }
.step h3 { font: 700 20px var(--text); margin: 0 24px 6px; letter-spacing: -.01em; }
.step p { margin: 0 24px; color: var(--ink-2); font-size: 15.5px; }

.gallery { display: flex; gap: 26px; overflow-x: auto; padding: 10px 4px 34px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gallery figure { flex: 0 0 236px; margin: 0; scroll-snap-align: center; }
.gallery .phone { position: relative; width: 100%; border-radius: 40px; padding: 8px; }
.gallery .phone img { border-radius: 33px; }
.gallery .phone::after { top: 16px; height: 20px; }
.gallery figcaption { margin-top: 16px; text-align: center; font-weight: 700; font-size: 15px; }
.gallery figcaption span { display: block; color: var(--ink-3); font-weight: 500; font-size: 13.5px; }
@media (min-width: 1240px) { .gallery { justify-content: center; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 26px; transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); margin-bottom: 16px; border: 1px solid rgba(224, 103, 95, .25); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font: 700 18.5px var(--text); margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.levels li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.levels i { width: 8px; height: 8px; border-radius: 50%; }

.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.spot + .spot { margin-top: 96px; }
.spot.rev .spot-art { order: 2; }
.spot-art { overflow: hidden; padding: 0; }
.spot-art img { border-radius: var(--radius); }
.spot ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.spot li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.spot li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--coral); }
.spot li b { color: var(--ink); font-weight: 600; }
.tag-new { display: inline-block; font: 800 11px var(--text); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: #fff; margin-left: 10px; vertical-align: middle; }

.privacy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.privacy div { padding: 22px; }
.privacy b { display: block; font-size: 16px; margin: 10px 0 4px; }
.privacy span { color: var(--ink-2); font-size: 14.5px; }
.privacy svg { width: 26px; height: 26px; color: var(--coral); }

.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-list details { padding: 4px 24px; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 16.5px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 28px/1 var(--display); color: var(--coral); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 20px; color: var(--ink-2); }

.band { text-align: center; padding: 72px 28px; overflow: hidden; isolation: isolate; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(60% 80% at 50% 0%, rgba(224, 103, 95, .28), transparent 70%); }
.band img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(191, 79, 76, .45); }
.band p { color: var(--ink-2); font-size: 18.5px; margin: 0 auto 30px; max-width: 34em; }
.band .ctas { justify-content: center; }

.disclaimer { margin: 40px auto 0; max-width: 820px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

footer { padding: 48px 0 64px; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
.signature { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.signature a { font: 400 21px var(--display); color: var(--ink); }
.signature a:hover { color: var(--coral); }

@media (max-width: 980px) {
  .hero .wrap.split, .spot { grid-template-columns: minmax(0, 1fr); }
  .spot.rev .spot-art { order: 0; }
  .stage { height: 560px; max-width: 520px; width: 100%; margin-inline: auto; }
  .steps, .cards { grid-template-columns: minmax(0, 1fr); }
  .privacy, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(2) { border-right: 0; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  nav.top .lang { display: none; }
  section { padding: 68px 0; }
  .hero { padding-top: 44px; }
  .stage { height: 530px; }
  .phone { width: 220px; border-radius: 36px; }
  .phone img { border-radius: 29px; }
  .chip.c1 { left: 0; bottom: 60px; } .chip.c2 { right: 0; bottom: 0; }
  .privacy, .stats { grid-template-columns: minmax(0, 1fr); }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats div:last-child { border-bottom: 0; }
  .btn-store { width: 100%; justify-content: center; }
}
html, body { overflow-x: clip; }
