:root {
  --ink: #0F1B2D;
  --ink-muted: #3E4C5E;
  --ink-subtle: #6A7686;
  --accent: #2B59E0;
  --accent-on-dark: #8FA8F5;
  --bg: #F6F7F5;
  --surface: #FFFFFF;
  --rule: #DADFE3;
  --grid-line: #E3E7EB;

  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: 80px;
  --section-y: 104px;
  --max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .75; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { opacity: 1; }
.brand-mark {
  position: relative;
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
}
.brand-dot { position: absolute; right: -4px; bottom: -4px; width: 8px; height: 8px; background: var(--accent); }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 36px; font-size: 15px; color: var(--ink-muted); }
.nav-cta { color: var(--accent); font-weight: 500; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 120px 0 112px;
  border-bottom: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.eyebrow { font-family: var(--font-mono); font-size: 14px; color: var(--accent); margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.03em;
  max-width: 900px; text-wrap: pretty;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-muted); max-width: 640px; margin: 32px 0 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-block; padding: 16px 28px; font-size: 16px; font-weight: 500; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--ink); }

/* Sections */
.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; }
.label { font-family: var(--font-mono); font-size: 13px; color: var(--ink-subtle); letter-spacing: 0.02em; }
.label-inverse { color: var(--accent-on-dark); }
.section-head h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.service { padding: 28px 28px 0; border-right: 1px solid var(--rule); }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; border-right: 0; }
.service-key { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.service h3 { font-size: 21px; font-weight: 600; margin: 14px 0 10px; }
.service p:last-child { font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--rule); padding: 24px; }
.step-key { font-family: var(--font-mono); font-size: 13px; color: var(--ink-subtle); }
.step h3 { font-size: 19px; font-weight: 600; margin: 12px 0 8px; }
.step p:last-child { font-size: 15px; line-height: 1.55; color: var(--ink-muted); }

/* About */
.about-text { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -0.015em; max-width: 820px; text-wrap: pretty; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: var(--section-y) 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.contact h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-top: 20px; }
.contact-email { font-family: var(--font-mono); font-size: clamp(18px, 1.8vw, 22px); border-bottom: 1.5px solid #fff; padding-bottom: 6px; }

/* Footer */
.footer-inner { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-subtle); }

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 48px; --section-y: 88px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 720px) {
  :root { --gutter: 24px; --section-y: 72px; }
  .header-inner { padding-top: 18px; padding-bottom: 18px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { padding: 80px 0 72px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service:first-child, .service:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .service:last-child { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .btn { flex: 1 1 auto; text-align: center; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
