:root{
  --bg:#070b10;
  --bg-card:#0d1420;
  --border:#1c2733;
  --text:#e6edf3;
  --muted:#8b9bab;
  --accent:#22d3a8;
  --accent2:#3b82f6;
  --danger:#f85149;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',-apple-system,Segoe UI,Roboto,sans-serif;
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
}

/* Decorative background: faint grid + glow blobs */
.bg-grid{
  position:fixed; inset:0; z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
}
.glow{
  position:fixed; z-index:0; border-radius:50%; filter:blur(90px); opacity:0.22; pointer-events:none;
}
.glow.g1{width:520px; height:520px; background:var(--accent); top:-160px; left:-120px;}
.glow.g2{width:480px; height:480px; background:var(--accent2); bottom:-180px; right:-140px;}

.wrap{
  position:relative; z-index:1;
  min-height:100vh;
  display:flex; flex-direction:column;
}

nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:28px 6vw;
  gap:24px;
  flex-wrap:wrap;
}
.navleft{ display:flex; align-items:center; gap:40px; }
.navright{ display:flex; align-items:center; gap:22px; }
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Sora',sans-serif; font-weight:800; font-size:20px; letter-spacing:0.2px;
  text-decoration:none;
}
.brand .dot{
  width:10px; height:10px; border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 14px var(--accent);
}
.brand .wordmark{ white-space:nowrap; }
.brand span.cue{color:var(--text);}
.brand span.stocks{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.ticker{
  display:flex; gap:18px; font-size:13px; color:var(--muted); font-family:'Inter',monospace;
}
.ticker b{color:var(--text); font-weight:600;}
.ticker .up{color:var(--accent);}
.ticker .down{color:var(--danger);}

.navlinks{ display:flex; align-items:center; gap:28px; font-size:14px; }
.navlinks a, .navlogin{ color:var(--muted); text-decoration:none; font-weight:500; font-size:14px; transition:color .15s ease, opacity .15s ease; }
.navlinks a:hover, .navlinks a.active, .navlogin:hover, .navlogin.active{ color:var(--text); }
a.cta{
  color:#04140f !important;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  padding:9px 18px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}
a.cta:hover, a.cta.active{ color:#04140f !important; opacity:0.92; }
@media (max-width:860px){ .navleft .navlinks{ display:none; } }
@media (max-width:640px){ .navright{ width:100%; justify-content:space-between; } }

.formLabel{
  color:var(--muted); font-size:13.5px; margin-bottom:12px; font-weight:500;
}

main{
  flex:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding:40px 6vw 60px;
}

/* Top-aligned page layout used by sub-pages (Features / Brokers / Get Access) */
main.page{
  display:block;
  text-align:left;
  max-width:1080px;
  width:100%;
  margin:0 auto;
  padding:54px 6vw 90px;
}
main.page h1{ text-align:left; max-width:720px; }
main.page p.lede{ text-align:left; margin:0 0 44px; }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 16px; border-radius:999px;
  background:rgba(34,211,168,0.08);
  border:1px solid rgba(34,211,168,0.35);
  color:var(--accent);
  font-size:13px; font-weight:600; letter-spacing:0.3px;
  margin-bottom:28px;
}
.badge .pulse{
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 0 rgba(34,211,168,0.6);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(34,211,168,0.55);}
  70%{box-shadow:0 0 0 8px rgba(34,211,168,0);}
  100%{box-shadow:0 0 0 0 rgba(34,211,168,0);}
}

h1{
  font-family:'Sora',sans-serif;
  font-size:clamp(34px, 5.6vw, 64px);
  font-weight:800;
  line-height:1.08;
  margin:0 0 18px;
  max-width:880px;
}
h1 .grad{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

h2.section{
  font-family:'Sora',sans-serif;
  font-size:clamp(22px,2.6vw,28px);
  font-weight:700;
  margin:0 0 6px;
}

p.lede{
  color:var(--muted);
  font-size:clamp(15px,1.6vw,18px);
  max-width:600px;
  line-height:1.6;
  margin:0 0 38px;
}
p.lede b{color:var(--text);}

form#notify{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  width:100%; max-width:460px; margin-bottom:14px;
}
main.page form#notify{ justify-content:flex-start; }
form#notify input[type="email"]{
  flex:1; min-width:220px;
  background:var(--bg-card);
  border:1px solid var(--border);
  color:var(--text);
  padding:14px 16px;
  border-radius:10px;
  font-size:15px;
  font-family:'Inter',sans-serif;
  outline:none;
  transition:border-color .15s ease;
}
form#notify input[type="email"]:focus{ border-color:var(--accent); }
form#notify input[type="email"]::placeholder{ color:#5b6b7a; }

form#notify button{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#04140f;
  border:none;
  padding:14px 24px;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:transform .15s ease, opacity .15s ease;
  white-space:nowrap;
}
form#notify button:hover{ transform:translateY(-1px); opacity:0.92; }
form#notify button:disabled{ opacity:0.6; cursor:default; transform:none; }

#formMsg{
  min-height:20px;
  font-size:13.5px;
  margin-bottom:30px;
}
#formMsg.ok{ color:var(--accent); }
#formMsg.err{ color:var(--danger); }
#formMsg.muted{ color:var(--muted); }

.pillrow{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  color:var(--muted); font-size:12.5px;
}
main.page .pillrow{ justify-content:flex-start; }
.pillrow span{
  border:1px solid var(--border);
  background:var(--bg-card);
  padding:6px 13px;
  border-radius:999px;
}

/* Card grid used on Features / Brokers pages */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
  gap:16px;
  width:100%;
  margin-top:6px;
}
.card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:24px;
}
.card .icon{ font-size:22px; margin-bottom:12px; display:block; }
.card h3{
  font-family:'Sora',sans-serif; font-size:16.5px; font-weight:700;
  margin:0 0 8px; color:var(--text);
}
.card p{ color:var(--muted); font-size:14px; line-height:1.6; margin:0; }
.card .tag{
  display:inline-block; margin-top:12px;
  font-size:11.5px; color:var(--accent);
  border:1px solid rgba(34,211,168,0.3); background:rgba(34,211,168,0.08);
  padding:3px 10px; border-radius:999px;
}

/* Stacked auth form used on the Login page */
.authcard{
  width:100%; max-width:380px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px;
  text-align:left;
}
.authcard label{
  display:block; font-size:13px; color:var(--muted); font-weight:500; margin:0 0 6px;
}
.authcard input{
  width:100%;
  background:var(--bg);
  border:1px solid var(--border);
  color:var(--text);
  padding:13px 14px;
  border-radius:10px;
  font-size:15px;
  font-family:'Inter',sans-serif;
  outline:none;
  margin-bottom:18px;
  transition:border-color .15s ease;
}
.authcard input:focus{ border-color:var(--accent); }
.authcard input::placeholder{ color:#5b6b7a; }
.authcard button{
  width:100%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#04140f;
  border:none;
  padding:14px 24px;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:transform .15s ease, opacity .15s ease;
}
.authcard button:hover{ transform:translateY(-1px); opacity:0.92; }
.authcard .authfoot{
  margin-top:18px; text-align:center;
  font-size:13.5px; color:var(--muted);
}
.authcard .authfoot a{ color:var(--accent); text-decoration:none; font-weight:600; }
.authcard .authfoot a:hover{ text-decoration:underline; }
#loginMsg{ min-height:20px; font-size:13.5px; margin-top:2px; }
#loginMsg.ok{ color:var(--accent); }
#loginMsg.err{ color:var(--danger); }
#loginMsg.muted{ color:var(--muted); }

footer{
  padding:26px 6vw;
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:10px;
  border-top:1px solid var(--border);
  color:var(--muted); font-size:13px;
}
footer a{ color:var(--muted); text-decoration:none; }
footer a:hover{ color:var(--text); }

@media (max-width:640px){
  nav{ flex-direction:column; gap:14px; }
  footer{ flex-direction:column; text-align:center; }
}
