:root{
  --bg:#0b1220;
  --bg2:#0f1a2e;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);
  --text:#e9eefb;
  --muted: rgba(233,238,251,0.72);
  --accent:#6ea8ff;
  --accent2:#9bc3ff;
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --radius:18px;
  --radius2:22px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% -10%, rgba(110,168,255,0.20), transparent 60%),
              radial-gradient(900px 600px at 110% 20%, rgba(155,195,255,0.12), transparent 55%),
              linear-gradient(180deg, var(--bg), #070b13 70%);
  color:var(--text);
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(7,11,19,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  padding-bottom: 12px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:14px;
  padding: 14px 0;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-mark{
  width:46px; height:46px;
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(110,168,255,0.95), rgba(155,195,255,0.65));
  color:#071022; font-weight:900;
  box-shadow: 0 12px 30px rgba(110,168,255,0.25);
}
.brand-name{font-size:1.05rem; letter-spacing:0.4px; font-weight:820; letter-spacing:0.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  text-decoration:none;
  color: var(--muted);
  padding:10px 10px;
  border-radius:12px;
  font-weight:650;
}
.nav a:hover{color:var(--text); background: rgba(255,255,255,0.06)}
.nav a.active{color:var(--text); background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.10)}

.hero{
  position:relative;
  min-height: 78vh;
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(7,11,19,0.80) 0%, rgba(7,11,19,0.35) 60%, rgba(7,11,19,0.15) 100%);
}
.hero-content{
  position:relative;
  min-height: 78vh;
  display:flex;
  align-items:center;
}
.hero-copy{
  max-width: 560px;
  padding: 22px 0;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 760;
  border: 1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: linear-gradient(135deg, rgba(110,168,255,0.95), rgba(155,195,255,0.72));
  color:#071022;
  box-shadow: 0 18px 40px rgba(110,168,255,0.22);
}
.btn-primary:hover{filter: brightness(1.05)}
.btn-ghost{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: var(--text);
}
.btn-ghost:hover{background: rgba(255,255,255,0.12)}
.btn-secondary{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-secondary:hover{background: rgba(255,255,255,0.12)}
.btn-block{width:100%}

.trust-strip{
  margin-top: -22px;
  padding: 18px 0 26px;
}
.trust-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(7,11,19,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.trust-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 10px;
  border-radius: 14px;
}
.trust-icon{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}
.trust-text{color: rgba(233,238,251,0.88); font-weight:700}

.section{padding: 70px 0}
.section-muted{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-head{margin-bottom: 26px}
.section-head h2{
  margin:0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.01em;
}
.section-head p{margin:0; color: var(--muted)}
.accent{color: var(--accent2)}

.cards{display:grid; gap:14px}
.cards.four{grid-template-columns: repeat(4, 1fr)}
.cards.three{grid-template-columns: repeat(3, 1fr)}
.cards.two{grid-template-columns: repeat(2, 1fr)}

.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.card h3{margin: 10px 0 8px; font-size: 1.03rem}
.card p{margin:0; color: var(--muted); line-height:1.55}
.card ul{margin:10px 0 0; padding-left: 18px; color: rgba(233,238,251,0.82)}
.card li{margin:6px 0}
.card-icon{
  width:40px; height:40px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(110,168,255,0.10);
  border: 1px solid rgba(110,168,255,0.18);
}

.two-col{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items:center;
}
.media-card{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  min-height: 320px;
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(110,168,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    url("assets/hero.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.intake-grid{
  display:grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
  align-items:start;
}
.intake-copy h2{margin:0 0 10px}
.intake-copy p{color: var(--muted); line-height:1.7}
.checklist{
  margin: 18px 0;
  padding-left: 18px;
  color: rgba(233,238,251,0.86);
}
.checklist li{margin: 8px 0}
.fineprint{margin-top: 16px; font-size: 0.95rem; color: rgba(233,238,251,0.70)}

.form{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.form h3{margin:0 0 6px}
.muted{color: var(--muted)}
.small{font-size: 0.92rem}
.tiny{font-size: 0.85rem}
.placeholder{opacity:0.85}

label{display:block; font-weight:700; font-size:0.95rem; margin: 12px 0 6px}
input, select, textarea{
  width:100%;
  margin-top:8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,11,19,0.55);
  color: var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(110,168,255,0.55);
  box-shadow: 0 0 0 4px rgba(110,168,255,0.12);
}
.field-row{display:grid; grid-template-columns: 1fr 1fr; gap: 12px}

.notice{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(233,238,251,0.80);
  line-height: 1.6;
}

.consent{
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 10px 0;
  font-weight: 600;
  color: rgba(233,238,251,0.85);
}
.check input{width:auto; margin-top: 3px}
.consent-foot{
  margin: 10px 0 0;
  color: rgba(233,238,251,0.70);
  font-size: 0.9rem;
  line-height: 1.55;
}
.consent-foot a{color: var(--accent2); text-decoration: none}
.consent-foot a:hover{text-decoration: underline}

.footer{
  padding: 40px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(7,11,19,0.65);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
}
.footer-links{display:grid; gap: 10px}
.footer-links a{color: var(--muted); text-decoration:none}
.footer-links a:hover{color: var(--text)}
.footer-contact{color: rgba(233,238,251,0.85)}
.footer-bottom{margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08)}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(233,238,251,0.82);
  font-weight:650;
  font-size:0.9rem;
}
.kicker{display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px}
.page-hero{
  padding: 44px 0 24px;
}
.page-hero h1{margin:0 0 10px; font-size: clamp(1.9rem, 2.8vw, 2.4rem); letter-spacing:-0.02em}
.page-hero p{margin:0; color: var(--muted); line-height: 1.65; max-width: 820px}

@media (max-width: 980px){
  .nav{display:flex}
  .hero-content{min-height: 62vh}
  .field-row{grid-template-columns: 1fr}
}

/* Brand logo swap */
.brand-logo{
  height:74px;
  width:auto;
  display:block;
  margin-top:14px;
}
.footer-logo{height:54px}
}

/* Logo vertical breathing room */
.brand{align-items:flex-end;}
.brand-logo{
  height:74px;
  width:auto;
  display:block;
  margin-top:14px;
}

/* Hero spacing tweak */
.hero{
  margin-top: 8px;
}

/* === NAV BAR: ALWAYS ONE LINE (NO WRAP) === */
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:14px;
  padding: 14px 0;
}
.brand{flex:0 0 auto;}
.brand-logo{
  height:74px;
  width:auto;
  display:block;
  margin-top:14px;
}
.nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
  white-space:nowrap;
  overflow-x:auto; /* if screen is too narrow, scroll instead of wrapping */
  overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
}
.nav::-webkit-scrollbar{display:none;}
.nav a{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding: 7px 8px;
  border-radius:12px;
  font-size: 0.90rem;
  line-height:1.1;
}
