/* Minimal, fast landing page with light/dark theme */
:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --border: rgba(255,255,255,.14);
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --accent: #4aa3ff;
  --accent2: #7c5cff;
  --radius: 16px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --inverse-bg: #f6f8fc;
  --inverse-text: #0b1220;
  --inverse-muted: rgba(5,10,20,.65);
  --inverse-border: rgba(5,10,20,.12);
  --inverse-surface: rgba(5,10,20,.08);
  --inverse-surface2: rgba(5,10,20,.14);
}

[data-theme="light"]{
  --bg: #f6f8fc;
  --surface: rgba(0,0,0,.045);
  --surface2: rgba(0,0,0,.075);
  --text: rgba(5,10,20,.92);
  --muted: rgba(5,10,20,.65);
  --border: rgba(5,10,20,.12);
  --shadow: 0 10px 40px rgba(10,20,40,.12);
  --accent: #2563eb;
  --accent2: #7c3aed;
  --inverse-bg: #0b1220;
  --inverse-text: #f6f8fc;
  --inverse-muted: rgba(255,255,255,.7);
  --inverse-border: rgba(255,255,255,.16);
  --inverse-surface: rgba(255,255,255,.10);
  --inverse-surface2: rgba(255,255,255,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(74,163,255,.18), transparent 55%),
    radial-gradient(1000px 700px at 80% 20%, rgba(124,92,255,.18), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--text); color:var(--bg);
  padding:10px 14px; border-radius:10px;
}
.skip-link:focus{left:12px; top:12px; z-index:9999}

.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--inverse-bg);
  color:var(--inverse-text);
  border-bottom:1px solid var(--inverse-border);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white; font-weight:800;
  box-shadow:var(--shadow);
}
.brand-text{display:flex; flex-direction:column; line-height:1.15}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-tag{font-size:12px; color:var(--inverse-muted)}

.nav{display:flex; align-items:center; gap:10px}
.nav-toggle{
  display:none;
  border:1px solid var(--inverse-border);
  background:var(--inverse-surface);
  color:var(--inverse-text);
  border-radius:12px;
  padding:10px 12px;
}
.nav-menu{display:flex; align-items:center; gap:16px}
.nav-link{padding:10px 10px; border-radius:12px; color:var(--inverse-muted)}
.nav-link:hover{background:var(--inverse-surface); color:var(--inverse-text)}
.nav-cta{background:var(--inverse-surface); color:var(--inverse-text); border:1px solid var(--inverse-border)}
.theme-toggle{
  border:1px solid var(--inverse-border);
  background:var(--inverse-surface);
  color:var(--inverse-text);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.theme-toggle:hover{background:var(--inverse-surface2)}
.nav-toggle:hover{background:var(--inverse-surface2)}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}

.hero{padding:64px 0 28px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}
.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
}
h1{font-size:48px; line-height:1.08; margin:14px 0 14px}
.lead{font-size:18px; color:var(--muted); max-width:60ch}
.hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  cursor:pointer;
}
.btn:hover{background:var(--surface2)}
.btn-primary{
  border:none;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
}
.btn-ghost{background:transparent}
.btn-small{padding:10px 12px; border-radius:12px; font-size:14px}

.hero-notes{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px}
.pill{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
}

.card{
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--surface), rgba(255,255,255,.03));
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.card-top{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.card-title{font-weight:800}
.card-sub{color:var(--muted); font-size:13px; margin-top:4px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(74,163,255,.20);
  border:1px solid rgba(74,163,255,.35);
}

.wave{
  display:flex; gap:6px;
  height:80px;
  margin:14px 0;
  align-items:flex-end;
}
.wave span{
  width:10px; border-radius:999px;
  background:linear-gradient(180deg, rgba(74,163,255,.75), rgba(124,92,255,.75));
  animation: wave 1.1s infinite ease-in-out;
  height:20px;
}
.wave span:nth-child(2){animation-delay:.1s}
.wave span:nth-child(3){animation-delay:.2s}
.wave span:nth-child(4){animation-delay:.3s}
.wave span:nth-child(5){animation-delay:.4s}
.wave span:nth-child(6){animation-delay:.5s}
.wave span:nth-child(7){animation-delay:.6s}
.wave span:nth-child(8){animation-delay:.7s}

@keyframes wave{
  0%,100%{height:18px; opacity:.65}
  50%{height:78px; opacity:1}
}

.card-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.hint{color:var(--muted); font-size:12px}
.fineprint{margin-top:10px; color:var(--muted); font-size:12px}

.section{padding:54px 0}
.section-alt{
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent);
}
h2{font-size:28px; margin:0 0 10px}
.muted{color:var(--muted)}
.tiny{font-size:12px}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  margin-top:18px;
}
.feature,.tile,.panel{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius);
  padding:16px;
}
.feature h3,.tile h3,.panel h3{margin:0 0 8px}
.feature p,.tile p,.panel p{margin:0; color:var(--muted)}

.checklist{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.checklist li{margin:8px 0}

.callout{
  margin-top:18px;
  border:1px dashed var(--border);
  background:var(--surface);
  border-radius:var(--radius);
  padding:14px 16px;
  color:var(--muted);
}

.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  margin-top:18px;
}
.form{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius);
  padding:16px;
}
.form label{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
.form input,.form textarea{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.12);
  color:var(--text);
  outline:none;
}
[data-theme="light"] .form input,
[data-theme="light"] .form textarea{background:rgba(255,255,255,.75)}
.form input:focus,.form textarea:focus{border-color:rgba(74,163,255,.6)}
.row{display:flex; gap:12px}
.row > label{flex:1}
.row-actions{align-items:center}
.form-status{margin:8px 0 0; color:var(--muted)}
.contact-card .card{height:100%}
.plain{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.divider{height:1px; background:var(--border); margin:14px 0}

.footer{
  position:sticky; bottom:0; z-index:40;
  border-top:1px solid var(--inverse-border);
  padding:18px 0;
  background:var(--inverse-bg);
  color:var(--inverse-text);
}
.footer .muted{color:var(--inverse-muted)}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer-right{display:flex; gap:14px; color:var(--inverse-muted)}
.footer-right a:hover{color:var(--inverse-text)}
.footer-brand{font-weight:800}

@media (max-width: 900px){
  .hero-grid,.contact-grid{grid-template-columns:1fr}
  h1{font-size:38px}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .nav-toggle{display:inline-flex}
  .nav-menu{
    display:none;
    position:absolute;
    right:20px; top:62px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border:1px solid var(--inverse-border);
    background:var(--inverse-bg);
    color:var(--inverse-text);
    border-radius:16px;
    box-shadow:var(--shadow);
    min-width:220px;
  }
  .nav-menu.is-open{display:flex}
}
