/* Clean, crisp theme: white space, black type, logo red & blue as accents */
:root {
  --ink: #111418;
  --ink-soft: #5b6470;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --line: #e6e8eb;
  --blue: #1D5BD8;
  --red: #D7262E;
  --radius: 8px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: 0; }
}
@media (max-width: 400px) { .logo img { height: 28px; } }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-size: .98rem; font-family: inherit; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary, .btn-dark { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: #2a2f36; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* Hero */
.hero { background: #fff; padding: 112px 0 96px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 880px; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; color: var(--ink-soft); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.page-hero { background: #fff; padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--ink-soft); max-width: 660px; font-size: 1.15rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Sections */
section.block { padding: 96px 0; }
section[id] { scroll-margin-top: 76px; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; gap: 56px; }
@media (max-width: 400px) { .container { padding: 0 18px; } .card { padding: 24px; } }
@media (max-width: 600px) {
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 48px 0 40px; }
  section.block, .cta-band { padding: 64px 0; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .15s;
}
.card:hover { border-color: #c9ced4; }
.card h3::after { content: ""; display: block; width: 28px; height: 2px; background: var(--blue); margin-top: 14px; }
.card p { color: var(--ink-soft); margin: 0; }
.card ul { color: var(--ink-soft); padding-left: 18px; margin: 14px 0 0; }
.card li { margin-bottom: 4px; }
.card li::marker { color: var(--red); }

.steps { counter-reset: step; }
.steps .card h3::after { display: none; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: 1.1rem; color: var(--red); margin-bottom: 12px; letter-spacing: .02em;
}

.clients ul { list-style: none; padding: 0; }
.clients li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); margin: 0; }
.clients li:last-child { border-bottom: 0; }

.client-strip { border-bottom: 1px solid var(--line); padding: 32px 0; }
.client-strip .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.client-strip .names { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.client-strip .names a { color: var(--blue); font-weight: 600; }

.card.wide { grid-column: 1 / -1; }
.card.wide p { max-width: 760px; }
@media (min-width: 760px) { .card.wide ul { columns: 2; column-gap: 48px; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 14px 0 14px 30px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 14px; color: var(--blue); font-weight: 800; }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 36px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }
.stat span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 700px) {
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat:first-child { border-top: 0; }
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .92rem; color: var(--ink); }

.cta-band { background: #fff; padding: 96px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }

/* Contact form */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-soft); font-weight: 400; }
.form-status { margin: 14px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: var(--red); }
button:disabled { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner { align-items: center; }
.site-footer a { color: var(--ink-soft); display: inline-block; padding: 10px 0; }
