:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --panel: #ffffff;
  --ink: #111111;
  --muted: #666b73;
  --soft-text: #8a8f98;
  --line: #e7e7e4;
  --line-strong: #d9d9d3;
  --accent: #111111;
  --accent-soft: #f1f5f9;
  --green: #0f766e;
  --blue: #2563eb;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 12px 35px rgba(17, 24, 39, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(231, 231, 228, 0.78);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 740;
  min-width: max-content;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #111;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 780;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a,
.nav-actions button,
.btn {
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 15px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.nav-links a {
  color: #4f545c;
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a.active {
  color: #111;
  background: #f4f4f2;
}
.nav-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 680;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 10px 24px rgba(17,17,17,.14);
}
.btn.primary:hover { background: #000; box-shadow: 0 14px 34px rgba(17,17,17,.18); }
.btn.secondary {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(17,17,17,.03);
}
.btn.secondary:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.btn.text { color: #111; }
.btn.danger { color: var(--danger); border-color: #f2b8b5; background: #fff7f7; }
.btn.full { width: 100%; }

main { min-height: calc(100vh - 160px); }
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 22px;
}
.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(15,118,110,.10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: 720px;
  padding-top: 86px;
  padding-bottom: 96px;
}
.page-hero { padding-top: 90px; }
.eyebrow {
  color: #4b5563;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.04; margin: 0; letter-spacing: 0; }
h1 {
  font-size: clamp(56px, 8.8vw, 112px);
  font-weight: 760;
}
h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 740;
  max-width: 850px;
}
h3 { font-size: 24px; font-weight: 720; }
.hero-tagline {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 650;
  color: #202124;
  max-width: 780px;
}
.hero-copy,
.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 720px;
  margin: 22px 0 0;
}
.section-copy {
  color: var(--muted);
  max-width: 430px;
  margin: 0;
  font-size: 18px;
}
.assurance {
  margin: 18px 0 0;
  max-width: 700px;
  color: var(--soft-text);
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.bridge-visual {
  min-height: 460px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(231,231,228,.95);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.visual-kicker {
  justify-self: start;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4f4f2;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}
.visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.visual-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-weight: 760;
  flex: 0 0 auto;
}
.visual-spacer {
  width: 2px;
  height: 26px;
  background: var(--line);
  margin-left: 37px;
}
.muted { color: var(--muted); }
.split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
}
.integrations-section { padding-top: 0; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.integration-tile {
  min-height: 138px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: 0 1px 0 rgba(17,17,17,.03);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.integration-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.integration-tile strong { display: block; font-size: 17px; }
.integration-tile span:last-child {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}
.integration-logo,
.logo-tile {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--logo-bg);
  color: var(--logo-color);
  display: grid;
  place-items: center;
  font-weight: 820;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 22px rgba(17,17,17,.08);
}
.logo-tile { margin-bottom: 18px; }
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover {
  border-color: var(--line-strong);
}
.card.highlight {
  border-color: #cfd5d2;
  box-shadow: var(--shadow);
}
.steps-grid { margin-top: 28px; }
.step-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 780;
}
.pricing-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-grid,
.price-page-grid {
  margin-top: 30px;
}
.price-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.price-card h2,
.price-card h3 {
  font-size: clamp(34px, 4.8vw, 54px);
}
.price-card .btn { margin-top: auto; }
.price { font-size: 52px; font-weight: 760; margin: 18px 0 6px; }
.list {
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.list li { display: flex; gap: 10px; align-items: flex-start; color: #374151; }
.list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: #111;
  flex: 0 0 auto;
}
.example-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.example-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: #374151;
  font-weight: 650;
}
.connections-grid { margin-top: 30px; }
.connection-card { min-height: 300px; display: flex; flex-direction: column; }
.connection-card .btn { margin-top: auto; }
.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 30px 0;
}
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font-weight: 680; font-size: 14px; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17,17,17,.06);
}
.field textarea { min-height: 140px; resize: vertical; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 720;
  font-size: 13px;
  background: #f4f4f2;
  color: #4d4a43;
}
.status.ok { background: #ecfdf5; color: #047857; }
.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.profile-row:last-child { border-bottom: 0; }
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.category {
  color: var(--blue);
  font-weight: 760;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.read-link {
  margin-top: auto;
  color: #111;
  font-weight: 720;
}
.read-link::after {
  content: " ->";
}
.article-page {
  max-width: 880px;
}
.article-body {
  margin-top: 34px;
  color: #333842;
  font-size: 18px;
}
.article-body h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 34px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.faq-section { padding-top: 84px; }
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 720;
  font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 22px;
  color: var(--muted);
  background: #fff;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-inner > div:first-child {
  display: grid;
  gap: 3px;
}
.footer strong { color: #111; }
.footer a { margin-right: 18px; font-weight: 650; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.36);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(480px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #111;
  color: white;
  padding: 13px 16px;
  border-radius: 14px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(12px);
  transition: 180ms ease;
  z-index: 60;
}
#toast.show { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }
.reveal {
  animation: rise 620ms cubic-bezier(.2,.8,.2,1) both;
}
.delay-1 { animation-delay: 90ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 38px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-grid, .example-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-wrap: wrap; padding: 12px 16px; }
  .nav-links {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }
  .nav-actions { margin-left: auto; }
  .section { padding: 56px 18px; }
  .hero { padding-top: 62px; padding-bottom: 68px; }
  .hero-actions .btn { width: 100%; }
  .bridge-visual { min-height: auto; border-radius: 20px; }
  .three, .two, .blog-grid, .example-strip { grid-template-columns: 1fr; }
  .split-head { display: grid; gap: 16px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-row { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 520px) {
  h1 { font-size: 52px; }
  .hero-tagline { font-size: 28px; }
  .logo-grid { grid-template-columns: 1fr; }
  .integration-tile { min-height: auto; }
  .nav-actions .btn.secondary { display: none; }
  .card { padding: 22px; }
}
