/* --- Variables & Reset --- */
:root {
  --primary: #0f172a;       /* Deep Slate */
  --accent: #0ea5e9;        /* Sky Blue */
  --accent-hover: #0284c7;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* --- Layout Utilities --- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 700px;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-lede {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Header --- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 6px;
  font-size: 1.125rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero .lede {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 1.5rem auto 2rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background-color: var(--white);
}

/* --- Cards (Services) --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Contact --- */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.footer-inner p {
  margin-bottom: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--white);
  margin: 0 0.5rem;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* --- Footer Disclosure --- */
.footer-disclosure {
  font-size: 0.8rem;
  color: #94a3b8; /* Matches your existing footer text color */
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* --- Responsive Adjustments --- */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }
  
  .nav {
    gap: 1rem;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}