:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --radius: 10px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: #fff; background: var(--ink); padding: 8px 16px; border-radius: 999px;
}
.nav .nav-cta:hover { color: #fff; background: #1e293b; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px;
}

/* Shared */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 18ch; }
.section-head { margin-bottom: 56px; }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.two-col .section-head { margin-bottom: 0; }

/* Hero */
.hero { padding: 136px 0 128px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); max-width: 15ch; letter-spacing: -0.035em; }
.hero .accent { color: var(--accent); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Services */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.services li { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services h3 { font-size: 18px; margin-bottom: 8px; }
.services p { color: var(--muted); font-size: 16px; }

/* Approach */
.approach { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.approach li { padding: 24px 0; border-top: 1px solid var(--line); }
.approach li:first-child { border-top: 0; padding-top: 0; }
.approach h3 { font-size: 19px; margin-bottom: 6px; }
.approach p { color: var(--muted); }

/* About */
.about-body p + p { margin-top: 18px; }
.about-body p { font-size: 18px; }
.tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}

/* Contact */
.section-dark { background: var(--dark); color: #cbd5e1; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #93c5fd; }
.contact-copy { margin-top: 20px; max-width: 40ch; }
.site-footer a { color: inherit; }

.contact-form {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 32px; display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #e2e8f0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  color: #fff; background: #0b1220;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: #60a5fa; outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.form-status { font-size: 15px; color: #93c5fd; min-height: 1.2em; }
.form-status.error { color: #fca5a5; }

/* Footer */
.site-footer { background: var(--dark); color: #64748b; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 24px; }

/* Tablet */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 88px 0; }
  .hero { padding: 104px 0 96px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .services { grid-template-columns: 1fr; }
  .services li { padding: 24px 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 72px 0 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-form { padding: 22px; }
  .about-body p { font-size: 17px; }
}
