:root {
  color-scheme: light;
  --black: #000000;
  --white: #ffffff;
  --blue: #2563eb;
  --cta: #0f62fe;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --soft: #f7f8fb;
  --soft-2: #eef2f7;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(15, 98, 254, 0.28); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.brand span { white-space: nowrap; }
.menu-toggle {
  justify-self: end;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black);
}
.primary-nav,
.header-cta {
  display: none;
}
.primary-nav.is-open {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  padding: 12px 0 4px;
}
.primary-nav a {
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--muted);
}
.primary-nav a:hover { background: var(--soft); color: var(--black); }
.references-grid {
  list-style: none;
  margin: 28px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.references-grid .reference-item {
  margin: 0;
}
.references-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.references-grid .zoom-image {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 220ms ease;
}
.references-grid figure:hover .zoom-image {
  transform: scale(1.04);
}

@media (min-width: 600px) {
  .references-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  justify-content:center;
  align-items:center;
  z-index:99999;
  animation:fade .25s;
}

.lightbox-content{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.lightbox-content img{
  max-width:92vw;
  max-height:92vh;
  border-radius:12px;
  box-shadow:0 0 40px rgba(0,0,0,.5);
  animation:zoom .25s ease;
}

.close{
  position:absolute;
  top:-15px;
  right:-15px;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:30px;
  font-weight:bold;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  user-select:none;
  transition:.2s;
}

.close:hover{
  transform:scale(1.1);
  background:#e60023;
  color:#fff;
}

@keyframes zoom{
  from{
      transform:scale(.8);
      opacity:0;
  }
  to{
      transform:scale(1);
      opacity:1;
  }
}

@keyframes fade{
  from{opacity:0;}
  to{opacity:1;}
}
.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 20px 42px;
}
.eyebrow,
.section-head span,
.card span,
.tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 980px;
  margin: 16px 0 18px;
  font-size: clamp(38px, 11vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--black);
}
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 4.5vw, 21px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary {
  color: var(--white);
  background: var(--cta);
  box-shadow: 0 12px 30px rgba(15, 98, 254, 0.22);
}
.btn-primary:hover { background: #0047d6; }
.btn-secondary {
  color: var(--black);
  background: var(--white);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--black); }

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 20px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.grid {
  display: grid;
  gap: 14px;
}
.cards { grid-template-columns: 1fr; }
.card,
.steps article,
.proof-grid article,
.contact-grid a,
.contact-form,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card {
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  margin: 6px 0 0;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--black);
}
.card p { color: var(--muted); }
.card a {
  margin-top: auto;
  color: var(--cta);
  font-weight: 800;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.proof-grid article {
  padding: 18px;
  background: var(--soft);
}
.proof-grid strong {
  display: block;
  font-size: 30px;
  color: var(--black);
}
.proof-grid span { color: var(--muted); }

.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.steps article {
  padding: 18px;
  background: linear-gradient(180deg, var(--white), var(--soft));
}
.steps b {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.steps h3 { margin: 6px 0 6px; }
.steps p { color: var(--muted); margin-bottom: 0; }

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--black);
}
.faq p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 780px;
}

.copy,
.article {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}
.copy a,
.article a { color: var(--cta); font-weight: 800; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft);
}

.cta-band {
  max-width: var(--container);
  margin: 28px auto 64px;
  padding: 24px 20px;
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 18px;
}
.cta-band h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 7vw, 46px);
  letter-spacing: 0;
}
.cta-band p {
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 0;
}
.cta-band .btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-grid {
  display: grid;
  gap: 12px;
}
.contact-grid a {
  padding: 18px;
  background: var(--soft);
}
.contact-grid b,
.contact-grid span { display: block; }
.contact-grid span {
  color: var(--muted);
  margin-top: 4px;
}
.contact-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 18px;
  background: var(--soft);
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 34px 20px 18px;
  display: grid;
  gap: 24px;
}
.footer > div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer img {
  width: 190px;
  height: auto;
}
.footer p,
.footer a,
.footer span {
  color: var(--muted);
}
.footer a:hover { color: var(--black); }
.footer strong { color: var(--black); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

@media (min-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 10px 28px;
  }
  .brand img {
    width: 72px;
    height: 72px;
  }
  .menu-toggle { display: none; }
  .primary-nav {
    display: flex;
    justify-content: center;
    gap: 2px;
  }
  .header-cta {
    display: inline-flex;
    justify-self: end;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--black);
    color: var(--white);
    font-weight: 800;
  }
  .page-hero { padding: 96px 28px 58px; }
  .section { padding: 54px 28px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px;
  }
  .footer {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    padding: 44px 28px 22px;
  }
  .footer img { width: 240px; }
  .footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .site-header { padding-inline: calc((100vw - var(--container)) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
