:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --paper: #ffffff;
  --paper-soft: #fafafa;
  --accent: #0b4f8a;
  --accent-soft: #1e6fb3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 4px;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--paper);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 760px;
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.btn {
  display: inline-block;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 10px;
}
.btn-ghost:hover { background: var(--paper-soft); color: var(--accent); border-color: var(--line); }

/* Section */
section.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-soft);
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section h2 {
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 720px;
}
.section p.intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 56px;
}

/* Services grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.card {
  padding: 32px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.card-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Approach rows */
.row-list { display: flex; flex-direction: column; gap: 32px; max-width: 720px; }
.row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 4px;
}
.row h3 {
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}
.row p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* Contact */
.contact-block {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 48px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-block h2 {
  color: var(--paper);
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-block p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-item .label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-item .value { font-size: 15px; color: var(--paper); }
.contact-item a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-item a:hover { border-color: var(--paper); }

/* Footer */
footer.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover { color: var(--accent); }

/* Legal pages (privacy, terms) */
.legal-wrap { padding: 72px 0 96px; }
.legal-wrap h1 {
  font-size: 42px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.legal-wrap .last-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-wrap h2 {
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 48px 0 20px;
  line-height: 1.3;
}
.legal-wrap h3 {
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  margin: 32px 0 14px;
}
.legal-wrap p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.legal-wrap ul, .legal-wrap ol {
  margin: 0 0 20px 24px;
}
.legal-wrap li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.legal-wrap hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.legal-wrap strong { color: var(--ink); font-weight: 600; }
.legal-wrap a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal-wrap a:hover { text-decoration-color: var(--accent); }
.legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
  font-size: 14px;
}
.legal-wrap th, .legal-wrap td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal-wrap th {
  background: var(--paper-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}
.toc {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 20px 0 40px;
}
.toc h3 {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 14px;
}
.toc ol { margin-left: 20px; }
.toc li { font-size: 14.5px; line-height: 1.8; margin-bottom: 2px; }

/* Callback page */
.callback-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}
.callback-card {
  text-align: center;
  max-width: 440px;
}
.callback-card .mono {
  font-family: 'JetBrains Mono', 'Menlo', 'Monaco', monospace;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper-soft);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: inline-block;
  margin-bottom: 24px;
}
.callback-card h1 {
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.callback-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 28px; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row-label { padding-top: 0; }
  .contact-block { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .contact-block h2 { font-size: 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .legal-wrap h1 { font-size: 32px; }
  .legal-wrap h2 { font-size: 20px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
