:root {
  --ink: #17212b;
  --muted: #5d6b78;
  --soft: #eef3f6;
  --line: #d8e0e7;
  --bg: #f7f8f6;
  --panel: #ffffff;
  --blue: #315f8c;
  --gold: #b88924;
  --olive: #66764a;
  --rose: #b45d64;
  --teal: #397978;
  --slate: #485665;
  --shadow: 0 18px 50px rgba(23, 33, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .03em;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .04);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.nav a { color: var(--slate); text-decoration: none; font-weight: 650; }
.nav a:hover { color: var(--blue); }
.nav-cta {
  color: #fff !important;
  background: var(--ink);
  border-radius: 7px;
  padding: 10px 14px;
}

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(360px, 1.16fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .96;
  font-weight: 780;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 760;
}
h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; }
p { color: var(--muted); }
.hero-sub {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--slate);
  font-size: clamp(19px, 2vw, 25px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid var(--ink);
  font-weight: 760;
  text-decoration: none;
}
.button-primary { background: var(--ink); color: #fff; }
.button-secondary { background: transparent; color: var(--ink); }
.text-link { font-weight: 760; color: var(--ink); }
.button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(49, 95, 140, .32);
  outline-offset: 3px;
}

.hero-preview {
  display: block;
  color: var(--slate);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-preview img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  object-position: top left;
}
.hero-preview span {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head p:not(.eyebrow) { font-size: 18px; }
.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  align-items: start;
}
.beats {
  display: grid;
  gap: 14px;
}
.beats p {
  margin: 0;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 18px;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.motion-card, .commitments article, .price-card, .sample-card, .verdict-strip article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .04);
}
.motion-card {
  padding: 24px;
}
.motion-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .08em;
}
.motion-card p { margin-bottom: 0; }
.motion-card .price-line {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 760;
}
.connective {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.show-work { background: #eef3f6; }
.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.sample-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}
.sample-card picture {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.sample-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top left;
}
.sample-card span {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 2px;
  font-size: 16px;
  font-weight: 760;
}
.sample-card span::after {
  content: "Open report";
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.verdict-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.verdict-strip article {
  padding: 18px;
  border-left-width: 5px;
}
.verdict-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .08em;
}
.verdict-strip span { color: var(--slate); }
.verdict-strip .keep { border-left-color: var(--teal); }
.verdict-strip .leave { border-left-color: #7c8a96; }
.verdict-strip .modify { border-left-color: var(--gold); }
.verdict-strip .patch { border-left-color: var(--blue); }
.verdict-strip .rebuild { border-left-color: var(--rose); }
.verdict-strip .create { border-left-color: var(--olive); }

.trust {
  background: var(--ink);
  color: #fff;
}
.trust h2, .trust h3 { color: #fff; }
.trust p { color: rgba(255, 255, 255, .72); }
.trust .eyebrow { color: #b9d4ea; }
.trust-line {
  margin-top: 22px;
  font-size: 18px;
  color: #fff !important;
  font-weight: 700;
}
.trust-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
}
.commitments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.commitments article {
  padding: 20px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.commitments article:last-child { grid-column: 1 / -1; }

.large-copy {
  margin-top: 0;
  color: var(--slate);
  font-size: 22px;
  line-height: 1.42;
}
.snapshot .button, .partners .button { margin-top: 14px; }

.faq-list {
  display: grid;
  gap: 10px;
}
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}
summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 760;
  color: var(--ink);
}
details p {
  margin: 0;
  padding: 0 22px 22px;
  max-width: 860px;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: #fff;
}
.site-footer p { margin: 0; color: rgba(255, 255, 255, .76); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-inner a { color: #fff; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid, .split, .trust-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .motion-grid, .verdict-strip { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
  .commitments article:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 28px);
    max-width: 380px;
    margin-left: 14px;
    margin-right: 14px;
  }
  .hero-grid, .hero-copy, .hero-preview {
    width: 100%;
    max-width: 380px;
  }
  .header-inner { min-height: 62px; }
  h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1;
  }
  .hero { padding: 42px 0 52px; }
  .section { padding: 54px 0; }
  .hero-actions, .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .sample-card {
    grid-template-columns: 1fr;
  }
  .sample-card img { height: 220px; }
  .sample-card span::after { content: ""; }
  .footer-inner nav { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
