/* b2b-seo.agency */
@font-face {
  font-family: "Saira";
  src: url("/fonts/saira.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #071a5f;
  --ink-2: #0c2478;
  --ink-soft: #3a4263;
  --muted: #5d6372;
  --paper: #f4f5f7;
  --card: #ffffff;
  --line: #dde1e8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --cobalt: #2733c9;
  --cobalt-dark: #1d279e;
  --lime: #c8f135;
  --lime-dark: #b4dc23;
  --display: "Saira", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 20, 51, 0.06), 0 12px 32px -12px rgba(10, 20, 51, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--lime); color: var(--ink); padding: 8px 12px; z-index: 100; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--lime); color: var(--ink);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--lime-dark); color: var(--ink); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-small { padding: 10px 16px; font-size: 14.5px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { font: 700 20px/1 var(--display); letter-spacing: -0.02em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); display: inline-grid; place-items: center; }
.brand-mark::before { content: ""; width: 10px; height: 10px; border-right: 3px solid var(--ink); border-top: 3px solid var(--ink); transform: translate(-1px, 1px); }
.brand em { font-style: normal; color: var(--lime); }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cobalt); }
.site-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--cobalt); }
.site-nav a.btn, .site-nav a.btn:hover { color: var(--ink); }
.brand img { height: 34px; width: auto; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin: 0 0 16px; }
.nav-toggle { display: none; }

/* Page head */
.page-head { background: var(--ink); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 88% -10%, rgba(43, 63, 224, 0.55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 100%;
}
.page-head .wrap { position: relative; }
.head-grid { display: grid; gap: 48px; align-items: start; }
.home .head-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); }
.head-copy { max-width: 820px; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.66); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255, 255, 255, 0.82); }
.kicker { display: inline-block; font: 600 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 7px 11px; border-radius: 999px; margin: 0 0 20px; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; }
.intro { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, 0.86); margin: 22px 0 0; max-width: 60ch; }
.byline { font-size: 14px; color: rgba(255, 255, 255, 0.62); margin: 22px 0 0; }
.byline a { color: rgba(255, 255, 255, 0.82); }
.head-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }
.head-actions .text-link { color: #fff; font-weight: 500; font-size: 15.5px; }
.trust-row { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* Hero image */
.hero-figure { margin: -40px 0 0; position: relative; z-index: 2; }
.hero-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }

/* Layout */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding: 56px 0 24px; align-items: start; }
.layout.no-aside { grid-template-columns: minmax(0, 820px); justify-content: center; }
.side { position: sticky; top: 92px; display: grid; gap: 18px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 14px; }
.toc-head { font: 600 12.5px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; max-height: 46vh; overflow: auto; }
.toc li { counter-increment: toc; margin: 0; }
.toc a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.35; color: var(--ink-soft); text-decoration: none; border-top: 1px solid var(--line); }
.toc li:first-child a { border-top: 0; }
.toc a:hover { color: var(--cobalt); }
.side-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; }
.side-cta p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.84); }
.side-cta .side-cta-head { font: 700 19px/1.2 var(--display); color: #fff; margin-bottom: 8px; }

/* Prose */
.prose { min-width: 0; max-width: 780px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin: 2.4em 0 0.6em; }
.prose h3 { font-size: 1.28rem; font-weight: 650; margin: 1.8em 0 0.5em; letter-spacing: -0.01em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--cobalt); font-weight: 600; }
.prose strong { font-weight: 650; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--lime-dark); font-size: 1.08rem; color: var(--ink-soft); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; min-width: 520px; }
.prose th { text-align: left; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 14px; font-size: 14.5px; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #fafafc; }
.key-takeaways, .callout { border-radius: var(--radius); padding: 22px 24px; margin: 0 0 1.8em; }
.key-takeaways { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--cobalt); box-shadow: var(--shadow); }
.key-takeaways::before { content: "Key takeaways"; display: block; font: 600 12.5px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
.callout { background: #eef0fd; border: 1px solid #d5d9fa; }
.key-takeaways > *:last-child, .callout > *:last-child { margin-bottom: 0; }

.inline-cta { margin: 2.4em 0; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.inline-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px 200px at 100% 0, rgba(43, 63, 224, 0.6), transparent 70%); pointer-events: none; }
.inline-cta > * { position: relative; }
.inline-cta p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.84); font-size: 15.5px; }
.inline-cta .inline-cta-head { font: 700 1.3rem/1.2 var(--display); color: #fff; margin-bottom: 6px; }

/* FAQ */
.faq { margin-top: 3em; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 600 1.06rem/1.35 var(--body); letter-spacing: 0; margin: 0; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--body); color: var(--cobalt); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* Contact band */
.contact-band { background: var(--ink); color: #fff; margin-top: 72px; padding: 72px 0; position: relative; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 0% 100%, rgba(43, 63, 224, 0.5), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); gap: 56px; align-items: center; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
.contact-copy > p { color: rgba(255, 255, 255, 0.84); font-size: 1.1rem; margin: 18px 0 0; max-width: 52ch; }
.steps { list-style: none; counter-reset: step; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: rgba(255, 255, 255, 0.86); font-size: 15.5px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-dark); display: grid; place-items: center; font: 700 15px/1 var(--display); color: var(--lime); }
.steps strong { color: #fff; display: block; }

/* Lead form */
.lead-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5); }
.lead-card .lead-head { font: 700 1.4rem/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 6px; }
.lead-card .lead-text { margin: 0 0 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1px solid #c9cedb; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(43, 63, 224, 0.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { width: 100%; margin-top: 4px; padding: 16px 22px; }
.lead-note { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 4px 0 0; }
.lead-status { font-size: 14.5px; margin: 0; padding: 12px 14px; border-radius: 10px; }
.lead-status[hidden] { display: none; }
.lead-status.is-error { background: #fdecec; color: #8a1c1c; }
.lead-status.is-ok { background: #eef8d2; color: #2c4a00; }

/* Cards */
.section-head { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin: 72px 0 24px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--cobalt); color: var(--ink); }
.card-kicker { font: 600 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.card-title { font: 700 1.2rem/1.2 var(--display); letter-spacing: -0.015em; }
.card-text { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.card-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--cobalt); }

/* Footer */
.site-footer { background: #051347; color: rgba(255, 255, 255, 0.74); padding: 56px 0 28px; font-size: 15px; }
.contact-band + .site-footer { border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.footer-brand { font: 700 20px/1 var(--display); color: #fff; margin: 0 0 12px; }
.footer-brand em { font-style: normal; color: var(--lime); }
.site-footer a { color: rgba(255, 255, 255, 0.88); }
.site-footer p { margin: 0 0 12px; max-width: 56ch; }
.footer-head { font: 600 12.5px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.site-footer li { margin: 0 0 8px; break-inside: avoid; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

.plain-main { padding-bottom: 72px; }

@media (max-width: 980px) {
  .home .head-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .side { position: static; }
  .side-cta { display: none; }
  .toc ol { max-height: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 9px 12px; font: 600 14px/1 var(--body); cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); margin: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--cobalt); }
  .site-nav .btn { margin-top: 14px; border-bottom: 0; color: var(--ink); }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { width: min(1180px, 100% - 32px); }
  .page-head { padding: 40px 0 60px; }
  .field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 22px; }
  .site-footer ul { columns: 1; }
  .contact-band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
