:root{
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'San Francisco', system-ui, sans-serif;

  /* Near-black background */
  --bg-primary:#050507;
  --bg-secondary:#0b0d12;
  --bg-tertiary:#121622;

  /* Text */
  --text-primary:#e7eaf0;
  --text-secondary:#b8c0cc;
  --text-muted:#8a93a3;

  /* Accent (navy, minimal) */
  --accent-primary:#0b2a6f;
  --accent-primary-rgb: 11,42,111;

  /* Neutrals */
  --slate-1:#cbd5e1;
  --slate-2:#94a3b8;

  --border: rgba(255,255,255,0.08);
  --shadow: rgba(0,0,0,0.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Themed scrollbar (Chrome/Edge + Firefox) */
:root{
  color-scheme: dark; /* helps native UI (including scrollbar) prefer dark */
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar{
  width: 20px;
}
::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.02); /* near-black track */
}
::-webkit-scrollbar-thumb{
  background: rgba(203,213,225,0.18); /* soft whitish-grey */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover{
  background: rgba(203,213,225,0.26);
}
::-webkit-scrollbar-corner{
  background: rgba(0,0,0,0);
}

/* Firefox */
*{
  scrollbar-width: thin;
  scrollbar-color: rgba(203,213,225,0.22) rgba(255,255,255,0.02);
}


h1,h2,h3,h4,h5,h6{
  letter-spacing:-0.03em;
  margin:0 0 0.35em 0;
}

a{ color: var(--text-primary); text-decoration:none; }
a:hover{ color: var(--slate-1); }

#bg{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.gradient-overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  /* Whitish-grey floating shapes + minimal navy */
  background:
    radial-gradient(600px 380px at 20% 10%, rgba(255,255,255,0.035), rgba(255,255,255,0) 60%),
    radial-gradient(520px 340px at 80% 22%, rgba(203,213,225,0.03), rgba(203,213,225,0) 62%),
    radial-gradient(520px 360px at 55% 85%, rgba(148,163,184,0.025), rgba(148,163,184,0) 60%),
    radial-gradient(700px 480px at 50% 45%, rgba(var(--accent-primary-rgb),0.04), rgba(var(--accent-primary-rgb),0) 62%);
  mix-blend-mode: screen;
}

.page{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 24px 20px 40px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 0 22px;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo{
  height: 22px;          /* adjust as needed (20–26px usually perfect) */
  width: auto;
  display:block;
  object-fit: contain;
}

.brand-name{
  font-weight: 600;
}
@media (max-width: 420px){
  .brand-name{ display:none; }
}


.nav{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: nowrap;      /* ✅ no wrapping on desktop */
  white-space: nowrap;    /* ✅ keep text on one line */
  justify-content: flex-end;
}

.nav a{
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav a,
.nav .btn{
  white-space: nowrap;    /* ✅ prevents “Why PropensityAI” etc. breaking */
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 10px 30px var(--shadow);
  cursor: pointer;
}

.btn-primary{
  background: rgba(var(--accent-primary-rgb), 0.22);
  border-color: rgba(var(--accent-primary-rgb), 0.40);
}

.btn-primary:hover{
  background: rgba(var(--accent-primary-rgb), 0.28);
  border-color: rgba(var(--accent-primary-rgb), 0.55);
}

.btn-ghost{
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.05);
}

.full{ width: 100%; }

.hero{
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 0 26px;
}

.hero-inner{ max-width: 820px; }

.kicker{
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.headline{
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  margin: 0 0 14px;
}

.subhead{
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 68ch;
}

.cta-row{
  display:flex;
  gap: 12px;
  margin: 18px 0 18px;
  flex-wrap: wrap;
}

.hero-metrics{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.metric{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 170px;
}

.metric-num{
  font-weight: 600;
  color: var(--slate-1);
  margin-bottom: 4px;
}

.metric-label{
  color: var(--text-muted);
  font-size: 13px;
}

.hero-note{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pill{
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 6px 10px;
  border-radius: 999px;
}

.section{
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 0;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.section-title{
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.section-subtitle{
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  max-width: 64ch;
}

.grid{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.card{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.card p{ margin: 0; color: var(--text-secondary); line-height: 1.6; }

.mini{
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
}

/* Demo */
.demo{ padding: 18px; }

.demo-row{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.input{
  flex: 1 1 420px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  color: var(--text-primary);
  outline: none;
  letter-spacing: -0.01em;
}
.input::placeholder{ color: rgba(184,192,204,0.75); }

.demo-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.meta-dot{
  width: 4px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.result{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hidden{ display:none; }

.result-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.result-title{
  font-weight: 600;
  letter-spacing: -0.02em;
}

.confidence{
  display:flex;
  align-items:center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
}
.confidence-dot{
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(203,213,225,0.6);
  box-shadow: 0 0 0 6px rgba(203,213,225,0.10);
}

.answer{
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.sources{ margin-top: 14px; }

.sources-title{
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.sources-list{
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13px;
}
.sources-list li{ margin: 6px 0; }
.sources-list a{ color: var(--slate-1); }
.sources-list a:hover{ color: var(--text-primary); }

.followups{ margin-top: 14px; }

.chips{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip{
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover{
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.empty-state{
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.015);
  display:flex;
  align-items:center;
  gap: 12px;
}

.empty-icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(var(--accent-primary-rgb),0.12);
  border: 1px solid rgba(var(--accent-primary-rgb),0.18);
  color: var(--slate-1);
  font-weight: 600;
}

.empty-text{
  color: var(--text-muted);
  font-size: 13px;
}

/* Features */
.features{ margin-top: 6px; }

.feature-card h3{ margin-bottom: 6px; }

.feature-top{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}

.feature-icon{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--slate-1);
  font-weight: 700;
}

.feature-banner{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px;
}


.why-grid{
  margin-top: 6px;
}

.why-banner{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px;
}

@media (max-width: 900px){
  .why-banner{ flex-direction: column; align-items: flex-start; }
}

/* FAQ */
.faq{
  padding: 10px 14px;
}

.faq-item{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 6px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.01em;
}

.faq-q{
  font-weight: 600;
  font-size: 15px; /* +1 */
  color: var(--text-primary);
}

.faq-icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--slate-1);
  flex: 0 0 auto;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.faq-item[aria-expanded="true"] .faq-icon{
  transform: rotate(45deg);
  background: rgba(var(--accent-primary-rgb),0.10);
  border-color: rgba(var(--accent-primary-rgb),0.22);
}

.faq-a{
  padding: 0 6px 14px 6px;
  color: var(--text-secondary);
  font-size: 14px; /* +1 */
  line-height: 1.7;
}

.faq-divider{
  height: 1px;
  background: rgba(255,255,255,0.06);
}


/* Comparison strip */
.compare{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  border-radius: 16px;
  padding: 14px;
}

.compare-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.compare-title{
  font-weight: 600;
  letter-spacing: -0.02em;
}

.compare-note{
  font-size: 12px;
  color: var(--text-muted);
}

.compare-grid{
  display:grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 14px;
  align-items: start;
}

.compare-divider{
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.06);
}

.compare-label{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.compare-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--accent-primary-rgb),0.55);
  box-shadow: 0 0 0 6px rgba(var(--accent-primary-rgb),0.10);
}

.compare-dot-muted{
  background: rgba(203,213,225,0.35);
  box-shadow: 0 0 0 6px rgba(203,213,225,0.08);
}

.compare-list{
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
}

.compare-list li{
  display:flex;
  gap: 10px;
  align-items: baseline;
}

.tick{
  color: var(--slate-1);
  font-weight: 700;
  width: 16px;
  display:inline-flex;
  justify-content:center;
}

.dash{
  color: rgba(184,192,204,0.7);
  font-weight: 700;
  width: 16px;
  display:inline-flex;
  justify-content:center;
}

@media (max-width: 900px){
  .compare-grid{
    grid-template-columns: 1fr;
  }
  .compare-divider{ display:none; }
}


.banner-title{
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.banner-text{
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* Pricing */
.pricing .featured{
  border-color: rgba(var(--accent-primary-rgb),0.34);
  background: rgba(var(--accent-primary-rgb),0.08);
}

.price-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.price{
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.price span{
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 4px;
}

.list{
  margin: 0 0 14px 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 13px;
}

/* Contact + footer */
.contact-row{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-label{
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.contact-link{ color: var(--slate-1); }
.contact-link:hover{ color: var(--text-primary); }
.contact-muted{
  color: var(--text-secondary);
  font-size: 13px;
}

.footer{
  max-width: 1080px;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a{
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 10px;
}

.footer-links a:hover{
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}
.footer-left{
  display:flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline{
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 640px){
  .footer{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links{
    justify-content: flex-start;
  }
}


.muted{ color: var(--text-muted); }

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .feature-banner{ flex-direction: column; align-items: flex-start; }
}

/* -----------------------------
   Mobile responsiveness
   (header buttons + layout)
--------------------------------*/

/* Tablet / small screens */
@media (max-width: 820px){
  .page{ padding: 18px 16px 36px; }
  .hero{ padding: 54px 0 22px; }
}

/* Phones */
@media (max-width: 640px){
  /* Header: stack brand + nav cleanly */


  /* Hero CTA buttons stack nicely */
  .cta-row{
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn{
    width: 100%;
  }

  /* Grids already become 1-col, but keep spacing comfy */
  .section{ padding: 34px 0; }
}

/* Very small phones */
@media (max-width: 480px){


  /* Demo input/button stack perfectly */
  .demo-row{
    flex-direction: column;
    align-items: stretch;
  }
  .input{
    width: 100%;
    flex: 1 1 auto;
  }
  #askBtn{
    width: 100%;
  }

  /* Slightly tighter hero typography on tiny screens */
  .headline{ line-height: 1.05; }
  .subhead{ font-size: 15px; }
}
/* --- Hamburger menu (minimal) --- */
.topbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width: 100%;
}


.menu-btn{
  display:none; /* shown on small screens */
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  cursor: pointer;
  align-items:center;
  justify-content:center;
}

.menu-btn:hover{
  background: rgba(255,255,255,0.05);
}

.menu-icon{
  position: relative;
  width: 18px;
  height: 2px;
  background: rgba(231,234,240,0.85);
  border-radius: 999px;
  display:block;
}
.menu-icon::before,
.menu-icon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(231,234,240,0.85);
  border-radius: 999px;
}
.menu-icon::before{ top: -6px; }
.menu-icon::after{ top: 6px; }

/* Mobile behavior */
@media (max-width: 700px){
  .topbar{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0 14px;
  }

  .menu-btn{ display:flex; }

  /* Drawer panel */
  .nav{
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
    margin-top: 6px;

    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.015);
    border-radius: 16px;

    max-width: 520px;   /* keeps it from becoming huge */
    width: 100%;
  }

  .topbar.nav-open .nav{
    display:flex;
  }

  /* Clean rows (no button boxes) */
  .nav a{
    display:flex;
    align-items:center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;

    border: 0;
    background: transparent;
    color: var(--text-secondary);

    border-radius: 12px;
  }

  .nav a:hover{
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
  }

  /* CTA row (still a button, but cleaner + full width) */
  .nav .nav-cta{
    margin: 8px 10px 10px;
    width: calc(100% - 20px);
    justify-content: center;
  }
}


/* Nice “X” animation when open (still minimal) */
@media (max-width: 700px){
  .topbar.nav-open .menu-icon{
    background: transparent;
  }
  .topbar.nav-open .menu-icon::before{
    top: 0;
    transform: rotate(45deg);
  }
  .topbar.nav-open .menu-icon::after{
    top: 0;
    transform: rotate(-45deg);
  }
  .menu-icon::before,
  .menu-icon::after{
    transition: transform 160ms ease, top 160ms ease;
  }
}

/* Legal pages */
.legal-card h3{
  margin-top: 14px;
}

.legal-card p{
  margin-top: 6px;
  margin-bottom: 0;
}

.legal-actions{
  margin-top: 16px;
}
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-primary);
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }
