/* ---------- Palette ---------- */
:root {
  --ink-950: #0a3d6a;
  --ink-800: #16233B;
  --slate-700: #45505F;
  --slate-400: #8592A3;
  --slate-200: #DDE3EA;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --accent: #1B9C8C;
  --accent-dark: #147A6D;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap-width: 1080px;
  --wrap-narrow-width: 760px;
}

/* ---------- Reset / base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.2em;
}

a {
  color: inherit;
}

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

.wrap-narrow {
  max-width: var(--wrap-narrow-width);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--slate-200);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* ---------- Hero ---------- */
.hero {
  background: var(--ink-950);
  color: var(--white);
  padding: 88px 0 72px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 780px;
}

.hero-subhead {
  color: var(--slate-200);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 56px;
}

.proof-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 40px;
}

.proof-point p {
  color: var(--slate-200);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.proof-label {
  display: block;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1em;
}

.section-light {
  background: var(--paper);
  color: var(--ink-800);
}

.section-dark {
  background: var(--ink-800);
  color: var(--slate-200);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  color: var(--slate-200);
}

/* ---------- Case studies ---------- */
.case-study {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.section-light .case-study {
  border-top-color: var(--slate-200);
}

.case-study:first-of-type {
  border-top: none;
  padding-top: 0;
}

.case-study h3 {
  color: var(--white);
  font-size: 1.4rem;
}

.case-lede {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-950);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--ink-950);
}

.contact-section h2 {
  color: var(--white);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  margin-top: 8px;
}

.button:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--slate-400);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  color: var(--slate-400);
  text-decoration: none;
}

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

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .proof-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 120px 0 96px;
  }

  .section {
    padding: 96px 0;
  }
}
