/* velvv web — design system v3.
   "After dark, in print." Near-black canvas where PHOTOGRAPHY carries the
   colour; chrome stays quiet. Expressive serif display (Fraunces) against a
   clean grotesque body (Hanken Grotesk). Magenta as a sharp accent, gold for
   the exclusive tier. Shared by the landing page and the admin panel.
   NOTE: class names + CSS vars below are depended on by /admin — keep them. */
:root {
  --bg: #070409;
  --bg-2: #0c0710;
  --ink: #050207;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.20);
  --text: #f8f1f6;
  --text-dim: rgba(248, 241, 246, 0.66);
  --text-faint: rgba(248, 241, 246, 0.42);
  --brand: #a30d6e;
  --brand-bright: #c43a8c;
  --brand-glow: #ee5cb2;
  --pink: #ff3d6b;
  --orange: #ff7a3d;
  --gold: #e8b765;
  --gold-bright: #f7d08a;
  --ice: #9fe3f0;
  --green: #46e08a;
  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 26px;
  --r-xl: 34px;
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --maxw: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 70px -34px rgba(0,0,0,0.85);
  --ring: 0 0 0 3px rgba(238,92,178,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--brand-bright); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Display type. Fraunces — optical, characterful, a little editorial swagger. */
h1, h2, h3, .display { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* ── Ambient: a quiet near-black canvas. Photos provide the colour, so the
   glow is deliberately faint — one magenta bloom, one gold kiss, fine grain. ── */
.mesh { position: fixed; inset: 0; z-index: -2; background:
    radial-gradient(140% 100% at 50% -10%, #140912 0%, var(--bg) 46%, var(--ink) 100%);
  overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(130px); will-change: transform; }
.mesh i:nth-child(1) {
  width: 820px; height: 560px; top: -300px; left: 50%; margin-left: -410px;
  background: radial-gradient(circle, rgba(196,58,140,0.55), transparent 66%);
  opacity: 0.42; animation: drift1 28s var(--ease) infinite alternate;
}
.mesh i:nth-child(2) {
  width: 520px; height: 520px; bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(163,13,110,0.42), transparent 68%);
  opacity: 0.3; animation: drift2 32s var(--ease) infinite alternate;
}
.mesh i:nth-child(3) {
  width: 440px; height: 440px; top: 42%; right: -200px;
  background: radial-gradient(circle, rgba(232,183,101,0.22), transparent 70%);
  opacity: 0.26; animation: drift1 36s var(--ease) -8s infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(28px, 24px, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-24px, -18px, 0) scale(1.1); } }
.mesh::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px){ .wrap { padding: 0 20px; } }

/* ── Buttons ── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .22s var(--ease), opacity .15s, filter .2s;
  background: linear-gradient(135deg, var(--brand-glow), var(--brand) 72%);
  color: #fff; box-shadow: 0 12px 38px -12px rgba(196,58,140,.75);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -12px rgba(196,58,140,.9); filter: saturate(1.05); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: var(--surface-2); border-color: var(--border-bright); box-shadow: none; color: var(--text); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: var(--surface-3); box-shadow: none; }
.btn.gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 72%); color: #2a1c06; box-shadow: 0 12px 38px -12px rgba(232,183,101,.6); }
.btn.danger { background: linear-gradient(135deg, #ff5a72, #b3122e); box-shadow: 0 10px 34px -10px rgba(255,61,87,.55); }
.btn.small { padding: 9px 16px; font-size: 13.5px; }
.btn.block { width: 100%; justify-content: center; }

/* ── Cards / inputs (admin + landing) ── */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  border: 1px solid var(--border); border-radius: var(--r); padding: 22px;
  box-shadow: var(--shadow-card); backdrop-filter: blur(10px);
}
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.045); border: 1px solid var(--border);
  color: var(--text); font: 450 14px/1.45 var(--font);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-bright); background: rgba(255,255,255,.07); box-shadow: var(--ring); }
label { display:block; font:700 11px/1 var(--font); letter-spacing:.7px; text-transform:uppercase; color:var(--text-faint); margin-bottom:7px; }

/* ── Pills / chips ── */
.pill { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font:700 11.5px/1 var(--font); letter-spacing:.2px; }
.pill svg { width: 13px; height: 13px; }
.pill.live { background: rgba(255,61,107,.15); color:#ff8fa6; }
.pill.ok   { background: rgba(70,224,138,.15); color:var(--green); }
.pill.warn { background: rgba(232,183,101,.16); color:var(--gold-bright); }
.pill.brand{ background: rgba(238,92,178,.15); color:#ffb7e0; border:1px solid rgba(238,92,178,.28); }

/* ── Icon helper (inline SVG, monoline) ── */
.ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; fill: none;
      stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ── Eyebrow / kicker (small-caps label) ── */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 700 12px/1 var(--font); letter-spacing: 2.4px; text-transform: uppercase; color: var(--brand-glow); }
.eyebrow.gold { color: var(--gold-bright); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* ── Site chrome: top nav (shared by marketing pages) ── */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,4,9,.74); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.nav .logo { height: 25px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.here { color: #fff; }
@media (max-width: 980px){ .nav-links .hide-sm { display: none; } .nav-links { gap: 16px; } .nav-inner { padding: 0 20px; } }

/* ── Site chrome: footer ── */
.site-foot { border-top: 1px solid var(--border); padding: 54px 28px; margin-top: 30px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-inner .logo { height: 23px; opacity: .92; }
.foot-links { display: flex; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); font-size: 13.5px; margin-left: 24px; transition: color .15s; }
.foot-links a:hover { color: #fff; }
.foot-copy { color: var(--text-faint); font-size: 13px; width: 100%; margin-top: 12px; }

/* ── Section scaffolding ── */
.band { padding: 84px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 18px; }
h2.sec { font-family: var(--font-display); font-size: clamp(32px,4.8vw,52px); letter-spacing: -0.025em; font-weight: 600; line-height: 1.04; }
h2.sec em { font-style: italic; color: var(--brand-glow); font-weight: 500; }
.sec-sub { color: var(--text-dim); margin-top: 16px; font-size: 17px; max-width: 620px; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── Lifestyle feature card: full-bleed photo + scrim + overlaid copy ── */
.lifecard {
  position: relative; min-height: 480px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  display: flex; align-items: flex-end; isolation: isolate;
}
.lifecard .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.lifecard:hover .bg { transform: scale(1.045); }
.lifecard .scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,2,7,.92) 0%, rgba(5,2,7,.66) 34%, rgba(5,2,7,.12) 64%, transparent 84%),
    linear-gradient(0deg, rgba(5,2,7,.72) 0%, transparent 46%);
}
.lifecard.right { justify-content: flex-end; text-align: right; }
.lifecard.right .scrim {
  background:
    linear-gradient(270deg, rgba(5,2,7,.92) 0%, rgba(5,2,7,.66) 34%, rgba(5,2,7,.12) 64%, transparent 84%),
    linear-gradient(0deg, rgba(5,2,7,.72) 0%, transparent 46%);
}
.lifecard .lc-copy { position: relative; padding: 52px; max-width: 540px; }
.lifecard.right .lc-copy { display: inline-flex; flex-direction: column; align-items: flex-end; }
.lifecard .eyebrow { margin-bottom: 18px; }
.lifecard h3 { font-family: var(--font-display); font-size: clamp(27px,3.3vw,40px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; }
.lifecard h3 em { font-style: italic; color: var(--brand-glow); font-weight: 500; }
.lifecard p { color: rgba(248,241,246,.82); font-size: 16px; line-height: 1.62; margin-top: 14px; }
.lifecard .pts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 8px; }
.lifecard.right .pts { justify-content: flex-end; }
.lifecard .tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 13px/1 var(--font); color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.lifecard .tag svg { width: 15px; height: 15px; color: var(--brand-glow); }

/* two-up row for shorter cards */
.life-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.life-row .lifecard { min-height: 420px; }

@media (max-width: 860px){
  .life-row { grid-template-columns: 1fr; }
  .lifecard { min-height: 420px; }
  .lifecard .lc-copy { padding: 36px 30px; max-width: 100%; }
  .lifecard.right, .lifecard.right .lc-copy { text-align: left; align-items: flex-start; }
  .lifecard.right .pts { justify-content: flex-start; }
  .lifecard .scrim, .lifecard.right .scrim {
    background: linear-gradient(0deg, rgba(5,2,7,.95) 4%, rgba(5,2,7,.55) 46%, rgba(5,2,7,.15) 100%);
  }
}

/* ── Sub-page hero (compact, photo-backed) ── */
.phero { position: relative; min-height: 66vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero .scrim { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(5,2,7,.92) 0%, rgba(5,2,7,.62) 42%, rgba(5,2,7,.2) 78%, rgba(5,2,7,.4) 100%),
    linear-gradient(0deg, var(--bg) 1.5%, transparent 44%); }
.phero.gold .scrim { background:
    linear-gradient(90deg, rgba(8,5,3,.93) 0%, rgba(8,5,3,.6) 44%, rgba(8,5,3,.2) 100%),
    radial-gradient(120% 120% at 100% 0%, rgba(232,183,101,.2), transparent 56%),
    linear-gradient(0deg, var(--bg) 1.5%, transparent 44%); }
.phero-inner { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 28px 66px; }
.phero .eyebrow { margin-bottom: 20px; }
.phero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6.8vw, 88px); line-height: 0.97; letter-spacing: -0.032em; max-width: 16ch; }
.phero h1 em { font-style: italic; font-weight: 500; color: var(--brand-glow); }
.phero.gold h1 em { color: var(--gold-bright); }
.phero .lede { color: rgba(248,241,246,.85); font-size: clamp(16px, 2vw, 20px); line-height: 1.6; max-width: 56ch; margin-top: 20px; }
.phero .cta { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 640px){ .phero { min-height: 70vh; } .phero-inner { padding: 0 20px 48px; } }

/* ── Plain feature grid (icon + title + text) ── */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px){ .feats { grid-template-columns: 1fr; } }
.feats.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .feats.three { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 16px; padding: 26px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.feat .fi { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(238,92,178,.14); border: 1px solid rgba(238,92,178,.3); }
.feat .fi svg { width: 22px; height: 22px; color: var(--brand-glow); stroke-width: 1.9; }
.feat h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.feat p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.feat.gold .fi { background: rgba(232,183,101,.14); border-color: rgba(232,183,101,.32); }
.feat.gold .fi svg { color: var(--gold-bright); }

/* ── Exclusive tier cards ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px){ .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 34px 30px;
  border: 1px solid rgba(232,183,101,.26); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(232,183,101,.08), rgba(255,255,255,.018)); box-shadow: var(--shadow-card); }
.tier::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232,183,101,.16), transparent 60%); }
.tier .crown { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(232,183,101,.16); border: 1px solid rgba(232,183,101,.34); }
.tier .crown svg { width: 21px; height: 21px; color: var(--gold-bright); }
.tier .who { font: 700 11.5px/1 var(--font); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); }
.tier h3 { font-family: var(--font-display); font-size: clamp(28px,3.4vw,36px); font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
.tier > p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-top: 12px; }
.tier ul { list-style: none; margin-top: 20px; display: grid; gap: 11px; }
.tier li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: rgba(248,241,246,.85); }
.tier li svg { width: 17px; height: 17px; color: var(--gold-bright); flex-shrink: 0; margin-top: 1px; }

/* ── Chat preview mockup (messaging page + home) ── */
.chatcard { max-width: 430px; width: 100%; border-radius: 30px; padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--border-bright); box-shadow: 0 50px 100px -45px rgba(0,0,0,.95); backdrop-filter: blur(14px); }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 6px 8px 14px; border-bottom: 1px solid var(--border); }
.chat-head .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg, var(--brand-glow), var(--brand)); }
.chat-head .nm { font-weight: 700; font-size: 15px; line-height: 1.1; }
.chat-head .st { font-size: 12px; color: var(--green); display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.chat-head .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.chat-head .acts { margin-left: auto; display: flex; gap: 16px; color: var(--text-dim); }
.chat-head .acts svg { width: 21px; height: 21px; }
.bubbles { display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 8px; }
.bub { max-width: 80%; padding: 11px 15px; border-radius: 19px; font-size: 14.5px; line-height: 1.4; }
.bub.in { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: linear-gradient(135deg, var(--brand-glow), var(--brand)); color: #fff; border-bottom-right-radius: 6px; }
.bub.voice { display: inline-flex; align-items: center; gap: 11px; }
.bub.voice svg { width: 19px; height: 19px; flex-shrink: 0; }
.bub.voice .wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.bub.voice .wave i { width: 3px; border-radius: 3px; background: currentColor; opacity: .9; }
.bub.voice .dur { font-size: 12px; opacity: .85; }
.bub.once { align-self: flex-end; display: inline-flex; align-items: center; gap: 9px; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px dashed var(--border-bright); color: var(--text); }
.bub.once svg { width: 17px; height: 17px; color: var(--brand-glow); }

/* ── Places: live web map ── */
.placesmap { height: 480px; width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.placesmap .leaflet-container { background: #0a0710; font-family: var(--font); }
.venue-pin span { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-glow);
  box-shadow: 0 0 0 4px rgba(238,92,178,.28), 0 0 16px var(--brand-glow); border: 2px solid #fff; }
.venue-pin.hot span { background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(232,183,101,.28), 0 0 16px var(--gold-bright); }
.leaflet-popup-content-wrapper { background: #160c18; color: var(--text); border: 1px solid var(--border-bright); border-radius: 12px; box-shadow: var(--shadow-card); }
.leaflet-popup-content { margin: 11px 14px; font-size: 13.5px; line-height: 1.4; }
.leaflet-popup-content b { font-family: var(--font-display); font-size: 15px; }
.leaflet-popup-tip { background: #160c18; }
.leaflet-control-zoom a { background: #160c18 !important; color: var(--text) !important; border-color: var(--border) !important; }

/* ── "Fancy" stealth/visibility privacy cards ── */
.feat.stealth { background: linear-gradient(180deg, rgba(238,92,178,.08), rgba(255,255,255,.018)); border-color: rgba(238,92,178,.22); }
.feat.stealth .fi { background: rgba(238,92,178,.18); }

/* ── Split layout (copy + visual) ── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split .v { display: flex; justify-content: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; gap: 36px; } .split .v { order: -1; } }

/* ── App store buttons ── */
.store-btns { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px; border-radius: 15px;
  background: #fff; color: #0a0710; border: 1px solid rgba(255,255,255,.16);
  transition: transform .16s var(--ease), box-shadow .22s var(--ease); }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(0,0,0,.8); }
.store-btn svg { width: 25px; height: 25px; flex-shrink: 0; }
.store-btn .lbl { text-align: left; line-height: 1.08; }
.store-btn .lbl small { display: block; font: 600 9.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; opacity: .66; }
.store-btn .lbl b { font: 600 16px/1.1 var(--font-display); letter-spacing: -.01em; }
.store-btn.mini { padding: 8px 13px; border-radius: 12px; gap: 8px; }
.store-btn.mini svg { width: 19px; height: 19px; }
.store-btn.mini .lbl b { font-size: 13.5px; }
.store-btn.mini .lbl small { font-size: 8px; }
/* dark variant for use over light/warm areas */
.store-btn.dark { background: rgba(8,4,9,.66); color: #fff; border-color: var(--border-bright); backdrop-filter: blur(10px); }
/* keep dark ink on white badge even inside the nav (where .nav-links a sets a dim colour) */
.nav-links .store-btn { color: #0a0710; }
.nav-links .store-btn.dark { color: #fff; }
/* compact the nav store buttons on small screens */
@media (max-width: 640px){
  .nav-links .store-btns { gap: 8px; }
  .nav-links .store-btn .lbl small { display: none; }
  .nav-links .store-btn.mini { padding: 8px 11px; }
  .nav-links .store-btn .lbl b { font-size: 12.5px; }
}

/* ── Phone app mockup ── */
.phone { position: relative; width: 300px; max-width: 78vw; aspect-ratio: 300 / 624; flex-shrink: 0;
  border-radius: 46px; background: #060409; padding: 11px;
  border: 2px solid rgba(255,255,255,.13);
  box-shadow: 0 70px 130px -45px rgba(0,0,0,.97), 0 0 0 9px rgba(255,255,255,.018), inset 0 0 0 1px rgba(255,255,255,.04); }
.phone::after { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 116px; height: 26px; border-radius: 16px; background: #000; z-index: 4; }
.phone .screen { position: absolute; inset: 11px; border-radius: 37px; overflow: hidden; background: #0a0710; }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone .scr-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,2,7,.94) 4%, rgba(5,2,7,.1) 46%, rgba(5,2,7,.4)); }
.phone .scr-top { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.phone .scr-top img { height: 17px; }
.phone .scr-chip { font: 700 10px/1 var(--font); letter-spacing: .4px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(238,92,178,.22); border: 1px solid rgba(238,92,178,.4); backdrop-filter: blur(6px); }
.phone .scr-meta { position: absolute; left: 22px; right: 22px; bottom: 96px; z-index: 3; }
.phone .scr-meta h4 { font: 600 25px/1 var(--font-display); letter-spacing: -.5px; }
.phone .scr-meta p { color: rgba(248,241,246,.82); font-size: 13px; margin-top: 6px; }
.phone .scr-acts { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; gap: 18px; justify-content: center; z-index: 3; }
.phone .scr-acts .b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.09); border: 1px solid var(--border-bright); backdrop-filter: blur(8px); }
.phone .scr-acts .b svg { width: 24px; height: 24px; }
.phone .scr-acts .b.no { color: #fff; }
.phone .scr-acts .b.yes { background: linear-gradient(135deg, var(--brand-glow), var(--brand)); border-color: transparent; color: #fff; box-shadow: 0 14px 34px -10px rgba(196,58,140,.8); }

/* ── Media cards (video/photo-backed) ── */
.mediacard { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  min-height: 440px; border-radius: var(--r-xl); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.mediacard .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.15); } }
.mediacard .scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(5,2,7,.93) 4%, rgba(5,2,7,.28) 56%, rgba(5,2,7,.55)); }
.mediacard .mc-copy { padding: 42px; max-width: 640px; }
.mediacard .mc-copy h3 { font: 600 clamp(26px,3vw,40px)/1.02 var(--font-display); letter-spacing: -.02em; }
.mediacard .mc-copy h3 em { font-style: italic; color: var(--brand-glow); }
.mediacard .mc-copy p { color: rgba(248,241,246,.86); margin-top: 12px; font-size: 16px; line-height: 1.6; }
.mediacard .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 700 14px/1 var(--font); color: #fff; }
.mediacard .more svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.mediacard:hover .more svg { transform: translateX(4px); }
.mediacard.full { min-height: 500px; }
.mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mc-stack { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 820px){ .mc-row { grid-template-columns: 1fr; } .mediacard .mc-copy { padding: 30px; } }

/* ── Scroll-reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Polish v3.1 (additive): line-breaking + interaction states ── */
/* Fewer orphans / ragged lines in prose. Headings get text-wrap:balance above. */
.sec-sub, .lede, .feat p, .tier > p, .lifecard p, .mediacard .mc-copy p { text-wrap: pretty; }

/* Feature, tier and media cards were static; give them the same quiet lift the
   buttons and lifecard photos already use, so every surface responds to hover. */
.feat, .tier, .mediacard { transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease); }
.feat:hover {
  transform: translateY(-3px); border-color: var(--border-bright);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 80px -40px rgba(0,0,0,.92);
}
.feat.stealth:hover { border-color: rgba(238,92,178,.42); }
.tier:hover {
  transform: translateY(-3px); border-color: rgba(232,183,101,.5);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 80px -40px rgba(0,0,0,.92);
}
.mediacard:hover { transform: translateY(-3px); box-shadow: 0 44px 90px -42px rgba(0,0,0,.95); }

/* Active-page wayfinding: a small magenta underline under the current nav item. */
.nav-links a.here { position: relative; }
.nav-links a.here::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: var(--brand-glow); box-shadow: 0 0 10px var(--brand-glow);
}

/* ── Long-form document pages (Privacy Policy, Terms) ──
   Mobile-first single column; ≥920px becomes a two-column reference layout
   with a full-width title/intro masthead and a sticky jump-rail beside the body. */
.doc { max-width: 1080px; margin: 0 auto; padding: 36px 24px 8px; }
.doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.doc-top .logo { height: 24px; }
.doc-back { font-size: 14px; color: var(--text-dim); display: inline-flex; align-items: center; gap: 7px; transition: color .15s var(--ease), gap .18s var(--ease); }
.doc-back:hover { color: #fff; gap: 11px; }
.doc-back svg { width: 16px; height: 16px; }
.doc-head { margin-bottom: 18px; }
.doc-head h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.028em; line-height: 1.0; }
.doc-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 600 12.5px/1 var(--font); letter-spacing: .2px; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; }
.doc-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.doc-lede { color: rgba(248,241,246,.84); font-size: clamp(17px, 1.9vw, 19px); line-height: 1.6; max-width: 64ch; text-wrap: pretty;
  padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 34px; }

/* TOC — boxed jump list (mobile / tablet) */
.doc-toc { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.doc-toc-label { font: 700 11px/1 var(--font); letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 15px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.doc-toc li { margin: 0 0 10px; break-inside: avoid; }
.doc-toc a { color: var(--text-dim); font-size: 14.5px; line-height: 1.4; display: inline-flex; align-items: baseline; gap: 9px; transition: color .14s; }
.doc-toc a::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: var(--brand-glow); opacity: .55; transition: opacity .14s, box-shadow .14s; }
.doc-toc a:hover { color: #fff; }
.doc-toc a:hover::before { opacity: 1; box-shadow: 0 0 7px var(--brand-glow); }
.doc-body h2 { font-size: clamp(21px, 2.5vw, 27px); letter-spacing: -0.016em; line-height: 1.14; margin: 44px 0 14px; scroll-margin-top: 28px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: rgba(248,241,246,.82); font-size: 16px; line-height: 1.74; text-wrap: pretty; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 11px; }
.doc-body ul li { position: relative; padding-left: 24px; }
.doc-body ul li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-glow); box-shadow: 0 0 8px var(--brand-glow); }
.doc-body a.inline { color: var(--brand-glow); text-decoration: underline; text-decoration-color: rgba(238,92,178,.45); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.doc-body a.inline:hover { text-decoration-color: var(--brand-glow); }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-totop { display: inline-flex; align-items: center; gap: 8px; margin-top: 46px; font: 600 14px/1 var(--font); color: var(--text-dim); transition: color .15s, gap .18s var(--ease); }
.doc-totop:hover { color: #fff; gap: 11px; }
.doc-totop svg { width: 15px; height: 15px; }
.doc-main { min-width: 0; }
@media (max-width: 560px){ .doc-toc ol { columns: 1; } }
/* On touch widths the TOC links are tappable, so give them a real target. */
@media (max-width: 919px){
  .doc-toc a { min-height: 40px; align-items: center; }
  .doc-toc li { margin-bottom: 4px; }
}

/* Desktop: full-width masthead, then sticky jump-rail beside the body. */
@media (min-width: 920px){
  .doc { padding: 44px 32px 48px; }
  .doc-lede { max-width: 72ch; }
  .doc-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 64px; align-items: start; }
  .doc-aside { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; }
  .doc-toc { margin: 0; padding: 0; border: 0; background: none; }
  .doc-toc-label { margin-bottom: 16px; }
  .doc-toc ol { columns: 1; }
  .doc-toc li { margin-bottom: 2px; }
  .doc-toc a { font-size: 14px; padding: 8px 0; min-height: 0; }
  .doc-main { max-width: 740px; }
}

/* ── Mobile ergonomics (phone-first audience) ── */
html { -webkit-tap-highlight-color: transparent; }
/* Respect the notch / rounded display edges, portrait and landscape. */
.nav-inner { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
.site-foot { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }

@media (max-width: 640px) {
  /* Tighter vertical rhythm so a section doesn't swallow the whole screen. */
  .band { padding: 58px 0; }
  .sec-head { margin-bottom: 32px; }
  .nav-inner { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

  /* Use the small-viewport unit so the hero doesn't jump with the address bar. */
  .phero { min-height: 70vh; min-height: 78svh; }

  /* ≥44px touch targets across every tappable surface. */
  .foot-links { gap: 2px 6px; }
  .foot-links a { margin-left: 0; min-height: 44px; padding: 11px 10px; display: inline-flex; align-items: center; }
  .mediacard .more { min-height: 44px; }
  /* download CTAs are the conversion target: keep them ≥44px tall to tap.
     .nav-links specificity must be matched or the compact nav rule wins. */
  .store-btn.mini, .nav-links .store-btn.mini { padding-top: 12px; padding-bottom: 12px; }
}

/* ── Mobile menu (hamburger + slide-in sheet; injected by nav.js) ── */
.nav-toggle { display: none; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    border-radius: 12px; border: 1px solid var(--border-bright); background: var(--surface-2);
    color: var(--text); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background .15s var(--ease);
  }
  .nav-toggle:hover { background: var(--surface-3); }
  .nav-toggle svg { width: 22px; height: 22px; }
  /* the toggle replaces the inline link row + store buttons on small screens */
  .nav-links { display: none; }

  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 200; }
  .mobile-menu[hidden] { display: none; }
  .mm-backdrop { position: absolute; inset: 0; background: rgba(4,2,7,.6);
    opacity: 0; transition: opacity .32s var(--ease); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .mm-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
    padding: calc(20px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    padding-right: max(24px, env(safe-area-inset-right));
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
    background: linear-gradient(180deg, #140912, var(--bg) 60%);
    border-left: 1px solid var(--border-bright); box-shadow: -40px 0 90px -30px rgba(0,0,0,.9);
    transform: translateX(100%); transition: transform .34s var(--ease);
  }
  .mobile-menu.open .mm-backdrop { opacity: 1; }
  .mobile-menu.open .mm-panel { transform: none; }
  .mm-close { align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center;
    margin-bottom: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--text-dim); cursor: pointer; }
  .mm-close:hover { color: #fff; }
  .mm-close svg { width: 24px; height: 24px; }
  .mm-links { display: flex; flex-direction: column; }
  .mm-links a {
    display: flex; align-items: center; min-height: 52px; padding: 4px 4px;
    font: 600 19px/1.1 var(--font-display); letter-spacing: -.01em; color: var(--text-dim);
    border-bottom: 1px solid var(--border); transition: color .15s, padding-left .18s var(--ease);
  }
  .mm-links a:hover, .mm-links a:focus-visible { color: #fff; padding-left: 8px; }
  .mm-links a.here { color: var(--brand-glow); }
  .mm-stores { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
  .mm-stores .store-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mesh i { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .lifecard:hover .bg { transform: none; }
  .feat:hover, .tier:hover, .mediacard:hover { transform: none; }
  .mm-backdrop, .mm-panel { transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}
