:root {
  --blue: #075fb7;
  --blue-dark: #062b55;
  --green: #087f55;
  --ink: #0b0d10;
  --muted: #4d555e;
  --line: #e4e8ec;
  --soft: #f5f7f9;
  --white: #fff;
  --header-h: 72px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }

.site-header {
  height: var(--header-h);
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  background: #fff;
}

.header-inner {
  width: min(calc(100% - 48px), 1240px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.brand-mark {
  width: 36px;
  height: 30px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  width: 14px;
  height: 24px;
  position: absolute;
  top: 2px;
  border: 4px solid var(--blue);
}

.brand-mark::before {
  left: 0;
  border-right: 0;
  border-radius: 3px 0 0 3px;
}

.brand-mark::after {
  right: 0;
  border-left: 0;
  border-radius: 0 3px 3px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  color: #25292e;
  font-size: 14px;
}

.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.nav-trigger {
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.nav-item.is-open .chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.submenu {
  min-width: 245px;
  padding: 10px;
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  display: grid;
  gap: 2px;
  border: 1px solid #e5e8ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 27, 45, .13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.submenu::before {
  content: "";
  height: 10px;
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
}

.submenu a {
  padding: 11px 12px;
  border-radius: 7px;
  line-height: 1.35;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #f2f6fa;
  color: var(--blue);
  outline: none;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

.pricing-button,
.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.pricing-button {
  min-height: 38px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.primary-button { background: #050505; color: #fff; }
.secondary-button { border: 1px solid var(--blue); color: var(--blue); }

.icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #121417;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button { display: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.breadcrumbs {
  padding: 20px 0;
  color: #68717a;
  font-size: 13px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #a0a7ae;
}

.service-hero {
  padding: 72px 0 82px;
  background: linear-gradient(135deg, #f7f9fb 0%, #fff 62%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.service-hero-copy {
  margin: 25px 0 0;
  max-width: 570px;
  color: #363c43;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.service-visual {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(7, 95, 183, .08), transparent), #eef2f5;
  color: #69737d;
  box-shadow: 0 18px 45px rgba(10, 27, 45, .09);
}

.service-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-visual.interface-light { background: #fff; }
.service-visual.interface-dark { background: #111; }
.service-visual.interface-light img,
.service-visual.interface-dark img { object-fit: contain; }

.section { padding: 86px 0; }
.section-soft { background: var(--soft); }
.section-header { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-header h2,
.split-copy h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.section-header p,
.split-copy > p {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.benefit-number {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f2fc;
  color: var(--blue);
  font-weight: 800;
}

.benefit-card h3 { margin: 0; font-size: 20px; }
.benefit-card p { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  align-items: center;
  gap: 74px;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 17px;
  list-style: none;
}

.check-list li {
  padding-left: 31px;
  position: relative;
  color: #343a40;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 12px;
}

.process-step {
  padding: 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.process-step::before {
  counter-increment: process;
  content: counter(process);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
}

.process-step h3 { margin: 1px 0 7px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.55; }

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 23px 3px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list details p {
  margin: -6px 0 24px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-card {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.related-card h3 { margin: 0; font-size: 21px; }
.related-card p { margin: 13px 0 24px; color: var(--muted); line-height: 1.55; }
.related-card span { margin-top: auto; color: var(--blue); font-weight: 750; }

.cta-section { padding: 74px 0; }
.cta-panel {
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 18px;
  background: var(--blue-dark);
  color: #fff;
}

.cta-panel p { margin: 15px 0 0; max-width: 650px; color: #d7e3ee; line-height: 1.6; }
.cta-panel .primary-button { flex: 0 0 auto; background: #fff; color: var(--blue-dark); }

.blog-hero { padding: 78px 0 70px; background: linear-gradient(135deg, #f4f7fa, #fff); text-align: center; }
.blog-hero-inner { max-width: 820px; }
.blog-hero h1, .article-header h1 { margin: 0; font-size: clamp(42px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.045em; }
.blog-hero p { margin: 23px auto 0; max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.featured-article { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(10, 27, 45, .08); }
.featured-media { min-height: 430px; overflow: hidden; background: #edf1f4; }
.featured-media img, .post-card-media img, .article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.post-kicker { margin: 0 0 15px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.featured-body h2 { margin: 0; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.15; letter-spacing: -.03em; }
.featured-body > p:not(.post-kicker) { margin: 20px 0 26px; color: var(--muted); line-height: 1.65; }
.text-link { color: var(--blue); font-weight: 750; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.post-card-media { height: 210px; background: #edf1f4; }
.post-card-body { padding: 25px; }
.post-card h2 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.post-card p:not(.post-kicker) { margin: 14px 0 21px; color: var(--muted); line-height: 1.58; }
.article-header { max-width: 900px; padding-top: 54px; padding-bottom: 46px; text-align: center; }
.article-header .eyebrow { margin-bottom: 20px; }
.article-deck { margin: 24px auto 0; max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.article-meta { margin-top: 24px; color: #707983; font-size: 13px; }
.article-cover { width: min(calc(100% - 48px), 1080px); height: 540px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #edf1f4; }
.article-layout { width: min(calc(100% - 48px), 1080px); margin: 0 auto; padding: 66px 0 84px; display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: space-between; gap: 70px; }
.article-toc { position: sticky; top: 28px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.article-toc strong { display: block; margin-bottom: 14px; font-size: 14px; }
.article-toc a { display: block; margin-top: 11px; color: #59616a; font-size: 13px; line-height: 1.4; }
.article-toc a:hover { color: var(--blue); }
.article-body { color: #30363c; font-size: 17px; line-height: 1.75; }
.article-body > p:first-child { margin-top: 0; color: #20262b; font-size: 19px; }
.article-body h2 { margin: 52px 0 18px; color: var(--ink); font-size: 31px; line-height: 1.2; letter-spacing: -.025em; }
.article-body h3 { margin: 32px 0 12px; color: var(--ink); font-size: 22px; }
.article-body ul { padding-left: 22px; }
.article-body li { margin: 9px 0; }
.article-callout { margin: 36px 0; padding: 25px 28px; border-left: 4px solid var(--blue); background: #eef5fc; color: #20364a; }

.site-footer {
  border-top: 1px solid #dfe3e7;
  background: #fff;
  color: #4f647d;
  font-size: 13px;
}

.footer-columns {
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
  padding: 62px 0 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.footer-column h2 {
  margin: 0 0 24px;
  color: #303840;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-column a { width: fit-content; margin-top: 18px; display: block; }
.footer-column a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid #dfe3e7; }

.footer-bottom-inner {
  width: min(calc(100% - 48px), 1240px);
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 30px;
}

.footer-bottom-inner span:nth-child(2) { text-align: center; }
.footer-bottom-inner span:last-child { text-align: right; }

@media (max-width: 960px) {
  .service-hero-grid,
  .split { grid-template-columns: 1fr; gap: 46px; }
  .service-hero-copy { max-width: 700px; }
  .service-visual { min-height: 430px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-media { min-height: 400px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-toc { position: static; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .header-inner { width: min(calc(100% - 28px), 1240px); gap: 14px; }
  .header-actions .icon-button, .pricing-button { display: none; }
  .header-actions .menu-button { display: grid; margin-left: auto; }
  .brand { font-size: 18px; }

  .main-nav {
    max-height: calc(100vh - var(--header-h));
    padding: 14px;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
    border-top: 1px solid #edf0f2;
    background: #fff;
    box-shadow: 0 18px 32px rgba(10, 27, 45, .12);
  }

  .main-nav.is-open { display: flex; }
  .nav-item { width: 100%; }
  .main-nav > .nav-link,
  .nav-trigger {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    justify-content: space-between;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
  }

  .submenu {
    min-width: 0;
    max-height: 0;
    padding: 0 10px;
    position: static;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height .22s ease, padding .22s ease;
  }

  .submenu::before { display: none; }
  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu { max-height: 0; padding-top: 0; padding-bottom: 0; }
  .nav-item.is-open .submenu { max-height: 320px; padding-top: 4px; padding-bottom: 10px; }
  .submenu a { padding: 11px 14px; color: #4a5057; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .service-hero { padding: 48px 0 58px; }
  .service-hero-grid { gap: 36px; }
  .service-hero h1 { font-size: 42px; }
  .service-hero-copy { font-size: 17px; }
  .service-visual { min-height: 320px; border-radius: 13px; }
  .section { padding: 64px 0; }
  .benefits-grid, .related-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 55px 0; }
  .blog-hero h1, .article-header h1 { font-size: 42px; }
  .featured-media { min-height: 280px; }
  .featured-body { padding: 32px 27px; }
  .posts-grid { grid-template-columns: 1fr; }
  .article-cover { width: calc(100% - 40px); height: 330px; border-radius: 12px; }
  .article-layout { width: calc(100% - 40px); padding: 48px 0 64px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 27px; }
  .cta-panel { padding: 38px 28px; display: block; }
  .cta-panel .primary-button { margin-top: 26px; }
  .footer-columns { grid-template-columns: 1fr; gap: 38px; padding: 48px 0; }
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
    text-align: center;
  }
  .footer-bottom-inner span:last-child { text-align: center; }
}
