:root {
  --brand: #1f4e79;
  --brand-dark: #163a5c;
  --ink: #1e2530;
  --muted: #5a6472;
  --paper: #ffffff;
  --wash: #f4f6f9;
  --line: #dde3ea;
  --accent: #2e7d5b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--brand); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--brand);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark span { color: var(--muted); font-weight: 500; }
nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
nav a:hover { color: var(--brand); }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid var(--brand);
}
.btn.ghost:hover { background: var(--wash); }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Sections */
section { padding: 40px 0; }
section.alt { background: var(--wash); }
h2 {
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--brand);
  letter-spacing: -0.01em;
}
h3 { font-size: 18px; margin: 24px 0 8px; }
ul.checklist { padding-left: 0; list-style: none; margin: 0; }
ul.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}
ul.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* Offer card */
.offer-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--paper);
  margin-top: 8px;
}
.offer-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.offer-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.offer-next .mini {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--wash);
  font-size: 15px;
}
.offer-next .mini b { color: var(--brand); }
@media (max-width: 560px) { .offer-next { grid-template-columns: 1fr; } }

/* Case study cards */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.cs-card h3 { margin: 0 0 10px; font-size: 17px; }
.cs-card p { font-size: 15px; color: var(--muted); flex-grow: 1; margin: 0 0 14px; }
.cs-card a.more { font-weight: 600; font-size: 15px; text-decoration: none; }

/* Case study article pages */
article.case { padding: 48px 0 24px; }
article.case h1 { font-size: 28px; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; }
article.case .client-line { color: var(--muted); font-style: italic; font-size: 15px; margin-bottom: 28px; }
article.case h2 { font-size: 21px; margin-top: 36px; }
article.case ol li, article.case ul li { margin-bottom: 10px; }
.shape {
  border-left: 4px solid var(--brand);
  background: var(--wash);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 32px;
  font-size: 16px;
}
.back { font-size: 15px; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
footer .foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--brand); }
