/* SplittCode Home Page Styles */
:root{
  --bg:#0b1a2b;         /* deep blue background */
  --panel:#0f2238;      /* slightly lighter for panels */
  --text:#e6edf3;       /* light text */
  --muted:#b7c4d4;      /* muted text */
  --accent:#3aa0ff;     /* CTA accent */
  --accent-strong:#1185ff;
  --border:#214261;
  --card:#102840;
  --maxw:1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--bg), #091524 60%);
  line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--maxw); margin:0 auto; padding:0 20px}
.section{padding:56px 0}

/* Accessibility helpers */
.skip-link{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{position:static; width:auto; height:auto; padding:8px 12px; background:#fff; color:#000; border-radius:6px; margin:8px}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* Header & Navigation */
.site-header{position:sticky; top:0; z-index:50; backdrop-filter:saturate(140%) blur(6px); background:rgba(9,21,36,.6); border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex; align-items:center; justify-content:space-between; height:64px}
.logo{color:#fff; text-decoration:none; font-weight:700; letter-spacing:.2px; font-size:1.125rem}
.site-nav .nav-menu{display:flex; gap:20px; list-style:none; margin:0; padding:0}
.site-nav a{color:var(--text); text-decoration:none; padding:8px 10px; border-radius:8px}
.site-nav a:hover, .site-nav a[aria-current="page"]{background:rgba(255,255,255,.08)}
.nav-toggle{display:none}

/* Hero */
.hero{padding:80px 0 48px; background:
  radial-gradient(1200px 400px at 20% -10%, rgba(58,160,255,.20), rgba(58,160,255,0) 60%),
  radial-gradient(1000px 300px at 90% 0%, rgba(17,133,255,.18), rgba(17,133,255,0) 55%);
}
.hero h1{font-size:clamp(2rem, 4vw + 1rem, 3rem); line-height:1.15; margin:0 0 14px}
.subheadline{color:var(--muted); font-size:1.125rem; max-width:60ch}
.cta-group{display:flex; gap:12px; margin-top:24px; flex-wrap:wrap}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; padding:10px 16px; border-radius:10px; border:1px solid var(--border); color:var(--text); background:rgba(255,255,255,.03)}
.btn:hover{background:rgba(255,255,255,.08)}
.btn-primary{background:linear-gradient(180deg, var(--accent), var(--accent-strong)); color:#001632; font-weight:700; border-color:transparent}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:transparent}
.text-link{color:var(--accent)}
.text-link:hover{text-decoration:underline}

/* Cards */
.cards{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; list-style:none; padding:0; margin:24px 0}
.card{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.06); border-radius:14px; padding:20px}
.card h3{margin:0 0 6px; font-size:1.125rem}
.card p{margin:0 0 8px; color:var(--muted)}
.section-cta{margin-top:8px}

/* Differentiators */
.differentiators{background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}
.bullets{margin:16px 0 0; padding-left:18px}
.bullets li{margin-bottom:10px}

/* Proof */
.proof p{color:var(--muted)}

/* Final CTA */
.cta-final{background:linear-gradient(180deg, rgba(58,160,255,.10), rgba(58,160,255,0)); border-top:1px solid rgba(58,160,255,.15)}
.cta-final p{color:var(--muted)}

/* Footer */
.site-footer{border-top:1px solid rgba(255,255,255,.06); background:rgba(9,21,36,.6)}
.site-footer .container{padding:18px 20px}
.site-footer p{margin:0; color:var(--muted); font-size:.95rem}

/* Responsive */
@media (max-width: 900px){
  .cards{grid-template-columns:1fr 1fr}
}
@media (max-width: 600px){
  .header-inner{height:auto; padding:12px 0; gap:10px; align-items:flex-start}
  .site-nav .nav-menu{flex-wrap:wrap; gap:10px}
  .hero{padding:64px 0 40px}
  .cards{grid-template-columns:1fr}
}


/* About page */
.muted{color:var(--muted)}
.about-grid{display:grid; grid-template-columns:280px 1fr; gap:24px; align-items:start}
.headshot-figure{margin:0}
.headshot{width:200px; height:200px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.08); font-weight:700; color:var(--muted); font-size:2rem}
.headshot-figure .muted{font-size:.9rem; margin-top:10px}

@media (max-width: 900px){
  .about-grid{grid-template-columns:1fr}
  .headshot{width:160px; height:160px}
}


/* Forms */
form{max-width:720px}
.form-group{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
label{font-weight:600}
input[type="text"], input[type="email"], textarea{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  border-radius:10px; padding:10px 12px;
}
input::placeholder, textarea::placeholder{color:var(--muted)}
input:focus, textarea:focus{outline:2px solid var(--accent); outline-offset:2px; border-color:var(--accent)}
.form-actions{margin-top:16px}
/* Honeypot field (hidden visually) */
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
