/* ============ Landing page (trust-first, premium) ============ */

/* Landing always uses its own dark palette regardless of app theme */
#scr-landing{color:#EDEEF4}
#scr-landing .hero-h1{color:#EDEEF4}
#scr-landing .hero-sub{color:#8A91AB}
#scr-landing .hero-sub b{color:#EDEEF4}
#scr-landing .land-h2{color:#EDEEF4}
#scr-landing .land-lede{color:#8A91AB}
#scr-landing .land-login{color:#EDEEF4;border-color:#28304F}
#scr-landing .land-logo{color:#EDEEF4}
#scr-landing .feat h3{color:#EDEEF4}
#scr-landing .feat p{color:#8A91AB}
#scr-landing .how-step b{color:#EDEEF4}
#scr-landing .how-step p{color:#8A91AB}
#scr-landing .lq-text{color:#EDEEF4}
#scr-landing .land-why-p{color:#8A91AB}
#scr-landing .trust-line{color:#5A6180}
#scr-landing .feat{background:linear-gradient(160deg,#161C30,#12172a);border-color:rgba(255,255,255,.06)}
#scr-landing .hp-bubble.them{background:#1B2138;color:#EDEEF4}
#scr-landing{background:
  radial-gradient(1200px 520px at 50% -200px, rgba(245,168,60,.16), transparent 62%),
  radial-gradient(760px 420px at 88% 6%, rgba(127,168,245,.10), transparent 58%),
  linear-gradient(180deg,#0E1226 0%,#0B0E1B 100%)}
.land-scroll{flex:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}
.land-nav{display:flex;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top) + 16px) 20px 12px;position:sticky;top:0;background:rgba(11,14,27,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);z-index:5;border-bottom:1px solid rgba(255,255,255,.04)}
.land-logo{display:flex;align-items:center;gap:9px;font-family:var(--disp);font-weight:800;font-size:19px;letter-spacing:-.01em}
.land-login{border:1px solid var(--line);border-radius:22px;padding:8px 17px;font-size:13.5px;font-weight:600;color:var(--text);background:rgba(255,255,255,.03)}
.land-login:active{background:var(--panel)}

.hero{padding:30px 22px 8px;text-align:center}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(245,168,60,.1);border:1px solid rgba(245,168,60,.28);color:var(--gold);font-size:12px;font-weight:600;padding:7px 15px;border-radius:22px;margin-bottom:22px;letter-spacing:.01em}
.hero-h1{font-family:var(--disp);font-weight:800;font-size:clamp(40px,12vw,56px);line-height:1.02;letter-spacing:-.025em;margin-bottom:18px}
.hero-h1 em{font-style:normal;background:linear-gradient(120deg,#F5A83C,#E4573F);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero-sub{color:var(--muted);font-size:16px;line-height:1.58;max-width:360px;margin:0 auto 26px}
.hero-sub b{color:var(--text);font-weight:650}
.hero-cta{display:flex;flex-direction:column;gap:11px;max-width:330px;margin:0 auto 16px}
.hero-start{background:linear-gradient(135deg,#F5A83C,#E4573F);color:#fff;font-weight:800;box-shadow:0 12px 34px -10px rgba(228,87,63,.55);border:none;font-size:16px}
.hero-start:active{transform:scale(.98)}
.trust-line{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;color:var(--faint);font-size:12.5px;font-weight:600;margin-bottom:8px}
.trust-line span{white-space:nowrap}

.hero-phone{margin:38px auto 8px;max-width:290px;perspective:1000px}
.hp-frame{background:linear-gradient(165deg,rgba(30,37,64,.9),rgba(20,26,46,.95));border:1px solid rgba(255,255,255,.08);border-radius:26px;padding:16px;display:flex;flex-direction:column;gap:9px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(10px)}
.hp-secure{align-self:center;font-size:11px;color:var(--gold);background:rgba(245,168,60,.1);border:1px solid rgba(245,168,60,.22);border-radius:20px;padding:5px 12px;margin-bottom:4px;font-weight:600}
.hp-bubble{max-width:82%;padding:10px 14px;border-radius:16px;font-size:13.5px;line-height:1.35;position:relative;animation:hppop .5s both}
.hp-bubble.them{align-self:flex-start;background:rgba(27,33,56,.9);border-bottom-left-radius:5px}
.hp-bubble.me{align-self:flex-end;background:linear-gradient(135deg,#2C3866,#38407a);border-bottom-right-radius:5px;padding-right:36px}
.hp-bubble:nth-child(2){animation-delay:.4s}.hp-bubble:nth-child(3){animation-delay:.9s}.hp-bubble:nth-child(4){animation-delay:1.4s}.hp-bubble:nth-child(5){animation-delay:1.9s}
.hp-tick{position:absolute;right:12px;bottom:7px;font-size:10px;letter-spacing:-.1em;color:#F5A83C}
@keyframes hppop{from{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:none}}

.land-sec{padding:46px 22px}
.land-sec.alt{background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)}
.land-h2{font-family:var(--disp);font-weight:800;font-size:28px;line-height:1.14;letter-spacing:-.015em;text-align:center;margin-bottom:12px}
.land-lede{color:var(--muted);font-size:15px;line-height:1.55;text-align:center;max-width:360px;margin:0 auto 28px}
.feat-grid{display:grid;gap:14px}
.feat{background:linear-gradient(160deg,rgba(22,28,48,.9),rgba(18,23,40,.7));border:1px solid rgba(255,255,255,.06);border-radius:18px;padding:20px;transition:transform .2s,border-color .2s}
.feat:active{transform:translateY(-2px);border-color:rgba(245,168,60,.3)}
.feat-ic{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:23px;margin-bottom:13px}
.feat h3{font-size:16.5px;font-weight:700;margin-bottom:6px;letter-spacing:-.01em}
.feat p{color:var(--muted);font-size:13.5px;line-height:1.5}
.how-steps{display:grid;gap:20px;max-width:420px;margin:0 auto}
.how-step{display:flex;gap:15px;align-items:flex-start}
.how-n{flex:none;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#F5A83C,#E4573F);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 6px 16px -6px rgba(228,87,63,.6)}
.how-step b{font-size:16px;letter-spacing:-.01em}
.how-step p{color:var(--muted);font-size:14px;line-height:1.5;margin-top:3px}

.land-quote{padding:20px 26px 44px;text-align:center;position:relative}
.lq-mark{font-family:var(--disp);font-size:80px;line-height:.5;color:rgba(245,168,60,.35);height:44px}
.lq-text{font-family:var(--disp);font-weight:500;font-size:20px;line-height:1.4;letter-spacing:-.01em;color:var(--text);max-width:400px;margin:0 auto}

.land-final{padding:20px 22px calc(env(safe-area-inset-bottom) + 44px);text-align:center}
.land-final .hero-start{max-width:330px;margin:0 auto}
.land-foot{color:var(--faint);font-size:12px;line-height:1.7;margin-top:26px}

/* ============ Voice messages ============ */
.voice-bub{display:flex;align-items:center;gap:10px;min-width:180px}
.voice-play{width:34px;height:34px;border-radius:50%;background:var(--gold);color:#20160A;display:flex;align-items:center;justify-content:center;flex:none}
.brow.theirs .voice-play{background:var(--gold)}
.voice-wave{flex:1;height:26px;display:flex;align-items:center;gap:2px;overflow:hidden}
.voice-wave i{flex:1;background:currentColor;opacity:.4;border-radius:2px;min-width:2px;transition:opacity .1s}
.voice-wave i.on{opacity:1}
.voice-time{font-size:11px;color:var(--faint);flex:none}
/* recording bar */
#rec-bar{display:none;align-items:center;gap:12px;padding:8px 6px}
#rec-bar.on{display:flex}
.rec-dot{width:11px;height:11px;border-radius:50%;background:var(--ember);animation:recpulse 1s infinite}
@keyframes recpulse{50%{opacity:.3}}
#rec-time{font-family:var(--mono);font-size:15px;flex:1}
.rec-cancel{color:var(--ember);font-weight:700;font-size:14px;padding:8px 12px}
.rec-send{width:42px;height:42px;border-radius:50%;background:var(--gold);color:#20160A;display:flex;align-items:center;justify-content:center;flex:none}
#mic-btn{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted);flex:none}
#mic-btn:active{background:var(--panel2)}

/* Landing is always dark — force light text regardless of app theme */
#scr-landing .hero-h1{color:#EDEEF4}
#scr-landing .hero-sub{color:#8A91AB}
#scr-landing .hero-sub b{color:#EDEEF4}
#scr-landing .land-h2{color:#EDEEF4}
#scr-landing .land-lede{color:#8A91AB}
#scr-landing .feat h3{color:#EDEEF4}
#scr-landing .feat p{color:#8A91AB}
#scr-landing .how-step b{color:#EDEEF4}
#scr-landing .how-step p{color:#8A91AB}
#scr-landing .lq-text{color:#EDEEF4}
#scr-landing .land-login{color:#EDEEF4}
#scr-landing .land-why-p{color:#8A91AB}
#scr-landing .trust-line{color:#5A6180}
#scr-landing .land-foot{color:#5A6180}
#scr-landing .feat{background:linear-gradient(160deg,rgba(22,28,48,.9),rgba(18,23,40,.7));border-color:rgba(255,255,255,.06)}
