/* Stock Stats — shared site styles */

:root{
  --bg:#0B0E11; --card:#15191E; --card2:#1C2128;
  --text:#F5F7FA; --sub:#8A93A0; --accent:#2E9BFF;
  --gain:#2EBD85; --loss:#F6465D; --sep:#222831;
  --teal:#1FC8B6; --purple:#9B7DFF; --amber:#F5A524; --gold:#F0C24B;
  --onAccent:#0B0E11;
  --font:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --r-card:14px; --r-input:12px;
}

*{ box-sizing:border-box; }
html{ background:#05070a; }
body{
  margin:0;
  background:#05070a;
  color:var(--text);
  font-family:var(--font);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

.num{ font-variant-numeric:tabular-nums; }

/* ---------- layout shells ---------- */

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 20px;
}

.section{
  background:var(--bg);
  padding:64px 0;
}

.section + .section{
  border-top:1px solid var(--sep);
}

/* ---------- nav ---------- */

.nav{
  position:sticky;
  top:0;
  z-index:50;
  height:52px;
  display:flex;
  align-items:center;
  background:rgba(11,14,17,.9);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--sep);
}

.nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:15px;
  letter-spacing:-.2px;
}

.logo-tile{
  overflow:hidden;
  border:1px solid var(--sep);
  background:#0B0E11;
  flex:none;
}

.logo-tile.nav-tile{
  width:32px;
  height:32px;
  border-radius:9px;
}

.logo-tile.hero-tile{
  width:84px;
  height:84px;
  border-radius:22px;
}

.logo-tile svg{ width:100%; height:100%; display:block; }

.nav-links{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:13px;
  color:var(--sub);
}

.nav-links a{
  color:var(--sub);
  transition:color .15s ease;
}

.nav-links a:hover{ color:var(--text); }

/* ---------- buttons / chips ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:16px;
  font-weight:600;
  padding:16px 22px;
  border-radius:14px;
  border:none;
  cursor:default;
  transition:opacity .15s ease, background-color .15s ease;
}

.btn-primary{
  background:var(--accent);
  color:var(--onAccent);
}

.btn-tonal{
  background:rgba(46,155,255,.14);
  border:1px solid rgba(46,155,255,.30);
  color:var(--accent);
}

.chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:var(--card2);
  color:var(--sub);
  font-size:12px;
  font-weight:500;
  padding:6px 12px;
}

/* pro / tinted badges */

.badge{
  display:inline-flex;
  align-items:center;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  padding:3px 7px;
}

.badge-accent{ color:var(--accent); background:rgba(46,155,255,.15); }
.badge-gain{ color:var(--gain); background:rgba(46,189,133,.15); }
.badge-purple{ color:var(--purple); background:rgba(155,125,255,.15); }
.badge-amber{ color:var(--amber); background:rgba(245,165,36,.15); }

.badge-pro{
  display:inline-flex;
  align-items:center;
  gap:3px;
  border-radius:10px;
  border:1px solid rgba(240,194,75,.45);
  background:rgba(240,194,75,.13);
  color:var(--gold);
  font-size:11px;
  font-weight:800;
  letter-spacing:.5px;
  padding:3px 8px;
}

.delta{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  padding:3px 9px;
  color:var(--gain);
  background:rgba(46,189,133,.13);
  font-variant-numeric:tabular-nums;
}

/* ---------- cards ---------- */

.card{
  background:var(--card);
  border:1px solid var(--sep);
  border-radius:var(--r-card);
  padding:16px;
}

.card-raised{
  border-color:#2b3340;
}

.tile{
  background:var(--card2);
  border-radius:12px;
  padding:12px;
}

.tile-label{
  font-size:12px;
  font-weight:500;
  color:var(--sub);
  margin:0 0 4px;
}

.tile-value{
  font-size:22px;
  font-weight:700;
  letter-spacing:-.3px;
  font-variant-numeric:tabular-nums;
  margin:0;
}

/* ---------- eyebrow / headings ---------- */

.eyebrow{
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--sub);
  margin:0 0 10px;
}

h1{
  font-size:40px;
  font-weight:700;
  letter-spacing:-.6px;
  line-height:1.15;
  margin:0 0 16px;
}

h2{
  font-size:26px;
  font-weight:700;
  letter-spacing:-.4px;
  margin:0 0 12px;
}

h3{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.2px;
  margin:0 0 6px;
}

p{ margin:0 0 14px; color:var(--text); }

.lede{
  font-size:18px;
  color:var(--sub);
  max-width:52ch;
}

.sub{ color:var(--sub); }

/* ---------- hero ---------- */

.hero{
  padding:72px 0 56px;
}

.hero-top{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:28px;
}

.hero-name{
  font-size:15px;
  font-weight:700;
  color:var(--sub);
  letter-spacing:.02em;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}

.hero-cta{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.soon-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* ---------- phone mock card ---------- */

.phone{
  background:var(--card);
  border:1px solid #2b3340;
  border-radius:var(--r-card);
  padding:20px;
}

.phone-value{
  font-size:44px;
  font-weight:700;
  letter-spacing:-.6px;
  font-variant-numeric:tabular-nums;
  margin:6px 0 10px;
}

.phone-value .cur{
  font-size:28px;
  font-weight:700;
  opacity:.7;
  margin-right:2px;
}

.phone-spark{
  margin:16px 0 18px;
}

.phone-tiles{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

/* ---------- features grid ---------- */

.features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.feature-card p{
  margin:0;
  color:var(--sub);
  font-size:14px;
}

.feature-head{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

/* ---------- privacy cards ---------- */

.privacy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:24px;
}

.privacy-grid .card p{
  color:var(--sub);
  font-size:14px;
  margin:0;
}

/* ---------- footer ---------- */

.footer{
  border-top:1px solid var(--sep);
  padding:32px 0;
}

.footer .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--sub);
}

.footer-links{
  display:flex;
  gap:18px;
}

.footer-links a{
  color:var(--sub);
  transition:color .15s ease;
}

.footer-links a:hover{ color:var(--text); }

/* ---------- legal pages ---------- */

.legal{
  max-width:65ch;
  margin:0 auto;
  padding:48px 20px 72px;
}

.legal .eyebrow{ margin-bottom:6px; }

.legal h1{ margin-bottom:6px; }

.legal .effective{
  color:var(--sub);
  font-size:14px;
  margin-bottom:36px;
}

.legal h2{
  font-size:19px;
  margin-top:36px;
}

.legal p, .legal li{
  color:var(--sub);
  font-size:15px;
}

.legal strong{ color:var(--text); }

.legal ul{ padding-left:20px; }

.legal li{ margin-bottom:8px; }

.legal a{
  color:var(--accent);
}

/* ---------- 404 ---------- */

.notfound{
  min-height:calc(100vh - 52px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
}

.notfound .code{
  font-size:15px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.02em;
  margin-bottom:10px;
}

/* ---------- responsive ---------- */

@media (max-width:860px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .features{ grid-template-columns:1fr; }
  .privacy-grid{ grid-template-columns:1fr; }
  h1{ font-size:32px; }
  .phone-value{ font-size:36px; }
}

@media (max-width:520px){
  .section{ padding:48px 0; }
  .hero{ padding:44px 0 40px; }
  .footer .wrap{ flex-direction:column; align-items:flex-start; }
  .phone-tiles{ grid-template-columns:1fr 1fr; }
  .phone-tiles .tile:last-child{ grid-column:1 / -1; }
}
