:root{
  --bg0:#06101f;
  --bg1:#071a34;
  --bg2:#0a2a4e;

  --ink:#eaf1ff;
  --muted:rgba(234,241,255,.74);
  --faint:rgba(234,241,255,.58);

  --glass:rgba(255,255,255,.06);
  --glass2:rgba(255,255,255,.04);

  --accent:#4ea3ff;
  --accent2:#2f7cff;

  --radius:18px;
  --shadow:0 22px 80px rgba(0,0,0,.45);
  --shadow2:0 10px 36px rgba(0,0,0,.35);

  --max:1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);

  background:
    radial-gradient(1200px 800px at 18% 12%, rgba(78,163,255,.22), transparent 60%),
    radial-gradient(900px 700px at 86% 26%, rgba(47,124,255,.16), transparent 62%),
    radial-gradient(1000px 900px at 52% 98%, rgba(0,255,204,.06), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 50%, var(--bg2));
  background-attachment: fixed;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* top bar */
.topbar-wrap{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6,16,31,.82), rgba(6,16,31,.52));
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand img{
  width:36px;
  height:36px;
  border-radius:12px;
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
}
.brand .stack{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .title{
  font-weight:650;
  letter-spacing:.22em;
  font-size: 13px;
  text-transform: uppercase;
}
.brand .tag{
  font-size: 13px;
  color: var(--muted);
  margin-top:2px;
}

/* nav */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a.active{
  color: var(--ink);
  background: rgba(255,255,255,.06);
}
.nav a:hover{
  background: rgba(255,255,255,.05);
  text-decoration:none;
}

.hamburger{
  display:none;
  border:0;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: var(--shadow2);
}

@media (max-width: 760px){
  .brand{ min-width: auto; }
  .hamburger{ display:inline-flex; }
  .nav{
    display:none;
    width:100%;
    padding: 10px 0 14px;
    gap:10px;
  }
  .nav.open{ display:flex; }
  .topbar{
    align-items:flex-start;
    flex-wrap:wrap;
  }
}

/* layout */
main{ padding: 56px 0 44px; }

.hero{
  padding: 30px 0 8px;
}
.hero h1{
  margin:0;
  font-size: clamp(34px, 4.2vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.hero .sub{
  margin-top: 10px;
  font-size: clamp(16px, 1.35vw, 20px);
  color: var(--muted);
}

.center-hero{
  min-height: calc(72vh - 120px);
  display:flex;
  align-items:center;
}

.center-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.logo-row{
  display:flex;
  align-items:center;
  gap:14px;
}
.logo-row img{
  width:52px;
  height:52px;
  border-radius: 16px;
  box-shadow: 0 16px 54px rgba(0,0,0,.45);
}
.logo-row .wordmark{
  display:flex;
  flex-direction:column;
  line-height:1.06;
}
.logo-row .wordmark .name{
  font-weight:700;
  letter-spacing:.22em;
  font-size: 18px;
  text-transform: uppercase;
}
.logo-row .wordmark .motto{
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.button-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 4px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  cursor:pointer;
  box-shadow: var(--shadow2);
  min-width: 150px;
}
.btn:hover{ background: rgba(255,255,255,.10); }

.btn.primary{
  background: linear-gradient(180deg, rgba(78,163,255,.22), rgba(255,255,255,.06));
}

.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 860px;
}

.panel .lead{
  margin:0;
  color: var(--muted);
  line-height:1.65;
  font-size: 16px;
}

/* pages */
.page-title{
  font-size: 30px;
  letter-spacing: -0.01em;
  margin:0 0 10px;
}
.page-lede{
  margin:0 0 20px;
  color: var(--muted);
  max-width: 78ch;
  line-height:1.6;
}
.content{
  color: var(--muted);
  line-height:1.72;
  font-size: 16px;
  max-width: 88ch;
}
.content h2{
  color: var(--ink);
  font-size: 18px;
  margin: 22px 0 8px;
  letter-spacing: -0.01em;
}
.content ul{ margin: 10px 0 14px 20px; }
.content li{ margin: 7px 0; }

/* form */
.form{
  display:grid;
  gap: 12px;
  max-width: 760px;
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 760px){
  .row{ grid-template-columns: 1fr; }
}

label{
  font-size: 13px;
  color: var(--faint);
  display:block;
  margin: 0 0 6px;
}

input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 0;
  outline: none;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  box-shadow: var(--shadow2);
}
textarea{ min-height: 120px; resize: vertical; }

.hint{
  font-size: 13px;
  color: var(--faint);
  line-height:1.5;
}

.success, .error{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
  color: var(--muted);
}
.error{ color: rgba(255,200,200,.92); }

.hidden{ display:none !important; }

/* footer */
footer{
  padding: 26px 0 38px;
  color: var(--faint);
  font-size: 13px;
}
.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer-links a{ color: var(--faint); }
.footer-note{
  margin-top: 10px;
  color: rgba(234,241,255,.46);
  line-height: 1.5;
  max-width: 92ch;
}
