:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --card: #f8fafc;
  --border: rgba(15, 23, 42, .12);

  /* Pick colors close to their current vibe (we can tweak once you show me the current palette) */
  --primary: #2563eb;
  --primary-2: #1d4ed8;

  --radius: 16px;
  --shadow: 0 10px 25px rgba(2, 6, 23, .10);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container{ width:min(1100px, 92vw); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:auto;
}
.skip-link:focus{ left:16px; top:16px; background:#fff; padding:10px 12px; border-radius:10px; box-shadow:var(--shadow); }

.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
/* --- Header alignment fix (keeps nav level) --- */
/* Clean, level nav bar */
.header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
}

.site-nav .nav-list{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:nowrap;
}

.header-cta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}


/* Optional: keep brand from shrinking oddly */
.brand{ white-space: nowrap; }


.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand-mark{
  width:38px; height:38px; border-radius: 12px;
  display:grid; place-items:center;
  background: var(--card);
  border:1px solid var(--border);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight:800; letter-spacing:.2px; }
.brand-sub{ font-size: .92rem; color: var(--muted); }

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}

.site-nav .nav-list{
  display:flex; gap: 8px; align-items:center;
  list-style:none; margin:0; padding:0;
}

.nav-link{
  appearance:none;
  border:0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  font-weight: 600;
}
.nav-link:hover{ background: var(--card); }

.has-dropdown{ position:relative; }
.dropdown{
  position:absolute;
  top: 48px;
  left:0;
  min-width: 240px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  list-style:none;
  margin:0;
  display:none;
}
.has-dropdown.open .dropdown{ display:block; }
.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius: 10px;
  text-decoration:none;
  color: var(--text);
}
.dropdown a:hover{ background: var(--card); }

.cta{
  text-decoration:none;
  background: var(--primary);
  color:#fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.cta:hover{ background: var(--primary-2); }

.header-cta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.mini-link{
  font-weight:800;
  color: var(--primary-2);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background:#fff;
}

.mini-link:hover{
  background: var(--card);
}


.hero{
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(37,99,235,.08), transparent 60%);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  padding: 44px 0;
  align-items:center;
}
.badge{
  display:inline-block;
  background:#fff;
  border:1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary-2);
}
.hero h1{ margin: 10px 0 10px; font-size: clamp(2rem, 3.5vw, 3rem); line-height:1.08; }
.lead{ color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.hero-actions{ display:flex; gap:12px; margin: 18px 0 10px; flex-wrap:wrap; }

.hero-contact{
  display:flex;
  gap:16px;
  margin-top:14px;
  font-weight:700;
  color: var(--muted);
  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: 800;
  border: 1px solid var(--border);
}
.btn.primary{ background: var(--primary); color:#fff; border-color: transparent; }
.btn.primary:hover{ background: var(--primary-2); }
.btn.ghost{ background:#fff; color: var(--text); }
.btn.ghost:hover{ background: var(--card); }

.hero-points{ margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.nowrap{ white-space:nowrap; }

.hero-media{
  height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  /* Later: background-image: url("assets/img/hero.jpg"); background-size:cover; background-position:center; */
}

.section{ padding: 52px 0; }
.section.alt{ background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title{ margin:0 0 8px; font-size: 1.6rem; }
.section-sub{ margin:0 0 22px; color: var(--muted); }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  display:block;
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration:none;
  color:inherit;
  box-shadow: 0 2px 0 rgba(2,6,23,.04);
}
.card:hover{ box-shadow: var(--shadow); transform: translateY(-2px); transition: .18s ease; }
.card h3{ margin:0 0 8px; }
.card p{ margin:0 0 10px; color: var(--muted); }
.card-link{ font-weight: 800; color: var(--primary-2); }

.split{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:start;
}
.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 2px 0 rgba(2,6,23,.04);
}
.link-list{ list-style:none; padding:0; margin: 10px 0 0; }
.link-list li{ margin: 8px 0; }
.link-list a{ color: var(--primary-2); font-weight: 700; text-decoration:none; }
.link-list a:hover{ text-decoration:underline; }

/* Simple bulleted lists */
.checklist-simple{ padding-left: 18px; margin: 10px 0 18px; color: var(--muted); }


.site-footer{ padding: 26px 0; }
.footer-inner{ display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.footer-links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color: var(--muted); font-weight:700; }
.footer-links a:hover{ color: var(--text); }
.footer-bottom{ padding-top: 10px; border-top: 1px solid var(--border); }
.muted{ color: var(--muted); margin: 8px 0 0; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Responsive */
@media (max-width: 900px){
  .hero-inner, .split{ grid-template-columns: 1fr; }
  .hero-media{ height: 240px; }
  .cards{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-block; }

  /* Make the menu a dropdown panel on mobile */
  .site-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open{ display:block; }

  .site-nav .nav-list{
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  /* Dropdown behavior on mobile */
  .dropdown{
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    margin-top: 6px;
  }
  .has-dropdown.open .dropdown{ display:block; }

  /* Header CTA spacing on small screens */
  .header-cta{ gap: 8px; }
  .mini-link{ padding: 10px 12px; }
}

/* Fix anchor links when using a sticky header */
:target {
  scroll-margin-top: 120px; /* adjust if needed */
}

html {
  scroll-behavior: smooth;
}

