/* ============ 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(6,186,112,.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 18px 8px;text-align:center}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(6,186,112,.1);border:1px solid rgba(6,186,112,.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,#86EF2F,#06BA70);-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:600px;margin:0 auto 26px}
.hero-sub b{color:var(--text);font-weight:650}
.hero-cta{display:flex;flex-direction:column;gap:11px;max-width:600px;margin:0 auto 16px}
.hero-start{background:linear-gradient(135deg,#06BA70,#029573);color:#fff;font-weight:800;box-shadow:0 12px 34px -10px rgba(6,186,112,.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:600px;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(6,186,112,.1);border:1px solid rgba(6,186,112,.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:#06BA70}
@keyframes hppop{from{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:none}}

.land-sec{padding:46px 18px}
/* wider phones and tablets: two feature cards per row */
@media (min-width:540px){.feat-grid{grid-template-columns:1fr 1fr}}
.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:600px;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(6,186,112,.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:600px;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,#06BA70,#029573);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 6px 16px -6px rgba(6,186,112,.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(6,186,112,.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:600px;margin:0 auto}

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

/* ============ 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)}

/* ============ Landing on a computer: a real website, not a stretched phone page ============ */
.land-links,.land-get{display:none}
.land-actions{display:flex;align-items:center;gap:10px}
@media (min-width:900px){
  .land-nav{padding:16px max(32px,calc((100% - 1160px)/2))}
  .land-logo{font-size:22px}
  .land-links{display:flex;gap:30px;margin-left:56px;margin-right:auto}
  .land-links a{color:#AEB4C8;text-decoration:none;font-size:15px;font-weight:600}
  .land-links a:hover{color:#fff}
  .land-get{display:inline-flex;width:auto;padding:10px 20px;font-size:14.5px;border-radius:22px;margin:0}
  .land-login{padding:10px 20px;font-size:14.5px}

  .hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:64px;align-items:center;
        text-align:left;padding:72px max(32px,calc((100% - 1160px)/2)) 56px}
  .hero>*{grid-column:1}
  .hero-badge{justify-self:start}
  .hero-h1{font-size:clamp(56px,6vw,80px)}
  .hero-sub{font-size:18.5px;max-width:540px;margin:0 0 30px}
  .hero-cta{flex-direction:row;max-width:none;margin:0 0 18px}
  .hero-cta .btn{width:auto;padding:15px 28px}
  .trust-line{justify-content:flex-start}
  .hero-phone{grid-column:2;grid-row:1 / span 5;margin:0;max-width:380px;justify-self:center;width:100%}
  .hp-frame{padding:22px;gap:12px;border-radius:30px}
  .hp-bubble{font-size:15px}

  .land-sec{padding:80px 32px}
  .land-sec>*{max-width:1160px;margin-left:auto;margin-right:auto}
  .land-h2{font-size:40px}
  .land-lede{font-size:17px;max-width:640px;margin-bottom:44px}
  .feat-grid{grid-template-columns:repeat(3,1fr);gap:20px}
  .feat{padding:26px}
  .feat:hover{transform:translateY(-3px);border-color:rgba(6,186,112,.3)}
  .feat h3{font-size:18px}
  .feat p{font-size:14.5px}
  .how-steps{grid-template-columns:repeat(4,1fr);max-width:1160px;gap:28px}
  .how-step{flex-direction:column}
  .land-quote{padding:40px 32px 70px}
  .lq-text{font-size:28px;max-width:780px}
  .land-final{padding:30px 32px 56px}
  .land-final .land-h2{font-size:44px}
  .land-foot{font-size:13px}
}
