:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #14181f;
  --muted: #5a6472;
  --navy: #0e1d33;
  --navy-light: #16294a;
  --accent: #2f6fed;
  --accent-ink: #ffffff;
  --border: #e4e1da;
  --radius: 10px;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--accent); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }

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

.btn-small { padding: 10px 20px; font-size: 0.875rem; }
.btn-wide { width: 100%; padding: 16px; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -12px -12px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1 1 480px; max-width: 640px; }
.hero-graphic {
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0 auto;
}
.hero-graphic svg { width: 100%; height: auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.problem-card h3 { font-size: 1.1rem; }
.problem-card p { color: var(--muted); }

.service-card, .industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.service-index {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-circle svg { width: 24px; height: 24px; }

.icon-circle-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #7fa8ff;
}

.service-card p, .industry-card p { color: var(--muted); }

.service-card ul {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink);
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.industries { background: var(--navy); }
.industries .eyebrow { color: #7fa8ff; }
.industries h2 { color: #fff; }
.industry-card {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.08);
}
.industry-card h3 { color: #fff; }
.industry-card p { color: #c3cbdb; }

/* Approach */
.steps {
  display: grid;
  gap: 32px;
}
.steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Readiness check promo */
.readiness {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.readiness-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.readiness-inner > div { max-width: 640px; }
.readiness-inner .btn { flex-shrink: 0; }

/* CTA band */
.cta-band {
  background: var(--accent);
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 64px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; max-width: 560px; }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: #fff; color: var(--navy); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-intro p { color: var(--muted); }
.contact-direct { margin-top: 24px; font-size: 0.95rem; }
.contact-direct a { font-weight: 600; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: #1a7f4e; }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c3cbdb;
  padding: 56px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer .logo { color: #fff; }
.footer-tagline { max-width: 320px; color: #9aa6bd; margin-top: 12px; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-nav a { color: #c3cbdb; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7f8aa3;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; }
  .hero-graphic { max-width: 280px; order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
