/* HighPoint Pro — shared design system
   Palette: deep navy primary, medium-blue accent, white / light-gray surfaces,
   charcoal text. Type: Inter with system fallbacks. No framework. */

:root {
  --navy: #0a1f44;
  --navy-dark: #061633;
  --navy-soft: #12294f;
  --blue: #2f7de1;
  --blue-dark: #1d63c1;
  --blue-tint: #eaf1fb;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1e293b;
  --muted: #52627a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
  --shadow-sm: 0 2px 10px rgba(10, 31, 68, 0.06);
  --max: 1120px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #dbe6f5; }
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.section-navy .eyebrow { color: #8fb6f0; }
.section-intro { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.section-navy .section-intro { color: #c3d3ea; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.logo-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; display: block; }

.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-dark); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: 1.05rem; cursor: pointer; color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.3;
  border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--blue-tint); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f2f6fc 0%, #ffffff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-tagline { margin-top: 28px; font-weight: 650; color: var(--navy); letter-spacing: 0.01em; }
.hero-graphic { position: relative; }
.hero-graphic .panel {
  background: var(--navy); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-graphic svg { display: block; width: 100%; height: auto; }
.hero-graphic .panel-img { padding: 0; }
.hero-graphic .panel-img img { display: block; width: 100%; height: auto; border-radius: 20px; }
.hero-graphic .float-note {
  position: absolute; right: -6px; bottom: 22px; background: #fff; border-radius: 10px;
  box-shadow: var(--shadow); padding: 12px 16px; font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.hero-graphic .float-note span { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin-bottom: 0.6em; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 10px; background: var(--blue-tint);
  color: var(--blue-dark); display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 26px; height: 26px; }
.card-link { font-weight: 650; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Check / challenge lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background: var(--blue-tint); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d63c1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: #c3d3ea; max-width: 640px; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Inner page hero */
.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, #f2f6fc 0%, #ffffff 100%); }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.12rem; margin: 0; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block h2 { font-size: 1.35rem; margin-bottom: 0.3em; }
.service-block p { color: var(--muted); margin-bottom: 0.4em; }
.service-block p:last-child { margin-bottom: 0; }
.benefit { color: var(--navy); font-weight: 600; }

/* Founder placeholder */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.photo-placeholder {
  width: 220px; height: 260px; border-radius: var(--radius); background: var(--bg-alt);
  border: 1px dashed #b6c3d6; color: var(--muted); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 20px; font-size: 0.92rem;
}

/* Forms */
.form-wrap { max-width: 680px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 650; margin-bottom: 6px; color: var(--navy); }
.form-field label .optional { font-weight: 500; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid #cbd5e1; border-radius: 8px; background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid rgba(47, 125, 225, 0.35); border-color: var(--blue);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.field-error { color: #b91c1c; font-size: 0.9rem; margin-top: 6px; display: none; }
.form-field.invalid .field-error { display: block; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #b91c1c; }
.form-note { background: var(--blue-tint); border: 1px solid #c7d9f5; border-radius: 8px; padding: 14px 18px; font-size: 0.95rem; color: var(--navy); }
.form-status { border-radius: 8px; padding: 16px 18px; margin-bottom: 20px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e7f6ec; border: 1px solid #a7ddb5; color: #166534; }
.form-status.info { background: #fff7e6; border: 1px solid #f2d492; color: #7a5b00; }
.form-status.error { background: #fdecec; border: 1px solid #f3b0b0; color: #991b1b; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c3d3ea; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3d3ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; color: #93a6c2;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(47, 125, 225, 0.55); outline-offset: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic .float-note { right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav.open li { border-top: 1px solid var(--border); }
  .main-nav.open a { display: block; padding: 12px 0; }
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block .icon-badge { margin-bottom: -8px; }
  .hero-ctas .btn, .cta-band .btn-row .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
