:root {
  --ink: #141923;
  --muted: #5f6c80;
  --line: #d8e0ea;
  --paper: #f7f8fb;
  --soft: #eef3f8;
  --surface: #ffffff;
  --surface-tint: #f4f7ff;
  --accent: #2357d6;
  --accent-dark: #173fa8;
  --accent-soft: #e8eefc;
  --success: #00a978;
  --success-dark: #007e5d;
  --green: var(--success);
  --green-dark: var(--success-dark);
  --blue: var(--accent);
  --purple: #7c3aed;
  --market-red: #d13f3f;
  --amber: #c97900;
  --danger: #c43d3d;
  --shadow: 0 24px 70px rgba(20, 28, 44, 0.12);
  --radius: 8px;
  --page-max: 1480px;
  --gutter: clamp(16px, 4vw, 56px);
  --page-padding: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

:where(h1, h2, h3, p, li, dt, dd, summary, a, button, label, span, strong, small, .button, .header-cta, .service-tag) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 12px var(--page-padding);
  border-bottom: 1px solid rgba(216, 224, 234, 0.86);
  background: rgba(247, 248, 251, 0.94);
  backdrop-filter: blur(16px);
}

.site-header > * {
  min-width: 0;
}

.brand {
  flex: 1 1 230px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand span:last-child {
  min-width: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  flex: 0 0 auto;
  position: relative;
  padding: 8px 0;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--accent);
}

.nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(35, 87, 214, 0.34);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.header-cta:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.header-cta-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.hero {
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 92px) var(--page-padding) clamp(38px, 6vw, 72px);
}

.page-hero {
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 380px), 0.44fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(54px, 8vw, 96px) var(--page-padding) clamp(46px, 6vw, 78px);
}

.hero-copy {
  min-width: 0;
  max-width: 780px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  width: 100%;
  margin-bottom: 0;
  font-size: clamp(28px, 4.1vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions.center {
  justify-content: center;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.button.secondary:hover {
  border-color: rgba(35, 87, 214, 0.36);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  max-width: 670px;
  margin: 34px 0 0;
}

.proof-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.proof-strip dt {
  font-size: 23px;
  font-weight: 850;
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
}

.dashboard-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.main-panel {
  width: min(100%, 520px);
  max-width: 520px;
  margin-left: auto;
  padding: 22px;
}

.panel-top,
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-top span {
  color: var(--muted);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric-grid div {
  min-width: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}

.metric-grid small,
.recommendation small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 26px;
  line-height: 1.08;
}

.metric-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.metric-grid .bad {
  color: var(--danger);
}

.metric-grid .warn {
  color: var(--amber);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 150px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f5f8ff);
}

.bar-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 5px 5px 2px 2px;
  background: var(--blue);
}

.recommendation {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-tint);
}

.recommendation p {
  margin: 8px 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.side-panel {
  position: absolute;
  right: min(6vw, 44px);
  bottom: 48px;
  width: 260px;
  padding: 18px;
}

.side-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.section,
.section-band,
.final-cta {
  width: 100%;
  max-width: 100vw;
  padding: clamp(56px, 7vw, 92px) var(--page-padding);
}

section[id] {
  scroll-margin-top: 96px;
}

.section-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.section-band p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-list {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 10px;
}

.marketplace-list span,
.marketplace-list a,
.capabilities span,
.capabilities a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 800;
  text-align: center;
}

.capabilities a:hover {
  border-color: rgba(35, 87, 214, 0.28);
  background: var(--accent-soft);
  color: var(--accent);
}

.marketplace-list span:nth-child(1),
.marketplace-list a:nth-child(1) {
  border-color: rgba(35, 87, 214, 0.22);
  background: #eef3ff;
  color: var(--accent);
}

.marketplace-list span:nth-child(2),
.marketplace-list a:nth-child(2) {
  border-color: rgba(124, 58, 237, 0.2);
  background: #f3efff;
  color: var(--purple);
}

.marketplace-list span:nth-child(3),
.marketplace-list a:nth-child(3) {
  border-color: rgba(209, 63, 63, 0.2);
  background: #fff0f0;
  color: var(--market-red);
}

.section-heading {
  min-width: 0;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 960px;
}

.section-heading p:last-child {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.pain-grid,
.services-grid,
.blog-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.pain-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.pain-grid article,
.service-card,
.automation-list article,
.faq-grid details,
.story-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pain-grid article {
  min-height: 210px;
  padding: 22px;
}

.pain-grid p,
.service-card p,
.automation-list p,
.story-panel p,
.faq-grid p,
.final-cta p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(min(100%, 360px), 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #f3f6fb;
}

.story-panel {
  padding: 26px;
}

.method-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 430px), 0.56fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  background: var(--surface);
}

.method-copy {
  min-width: 0;
}

.method-copy > p:not(.eyebrow),
.method-step p,
.method-visual figcaption,
.page-context-note p {
  color: var(--muted);
  line-height: 1.58;
}

.method-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.method-step {
  min-width: 0;
  padding: 18px;
  border-top: 3px solid rgba(35, 87, 214, 0.32);
  background: #f7f9fc;
}

.method-step span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.method-step h3 {
  margin: 10px 0 8px;
}

.method-step p {
  margin: 0;
  font-size: 15px;
}

.method-visual {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(20, 25, 35, 0.16);
  border-radius: var(--radius);
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
}

.method-visual-top {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.method-visual-top span {
  color: #a8d8c7;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.method-visual-top strong {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.method-visual-list {
  display: grid;
  gap: 10px;
}

.method-visual-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.method-visual-row span {
  grid-row: span 2;
  color: #89d8bf;
  font-weight: 850;
}

.method-visual-row strong {
  min-width: 0;
  line-height: 1.2;
}

.method-visual-row small {
  min-width: 0;
  color: #c7d4e8;
  line-height: 1.45;
}

.method-visual figcaption {
  margin-top: 16px;
  color: #c7d4e8;
  font-size: 14px;
}

.quick-start {
  background: var(--surface);
}

.decision-grid,
.case-grid,
.solution-grid {
  display: grid;
  gap: 16px;
}

.decision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-card,
.case-card,
.solution-card,
.trust-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.decision-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 22px;
}

.decision-card p,
.case-card p,
.solution-card small,
.trust-copy p,
.trust-limits li,
.legal-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.decision-card .button,
.case-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.trust-block {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(min(100%, 520px), 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--soft);
}

.trust-copy {
  min-width: 0;
}

.trust-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.trust-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.trust-facts div {
  min-width: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}

.trust-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.trust-facts dd {
  margin: 8px 0 0;
  font-weight: 850;
  line-height: 1.32;
}

.trust-limits h3 {
  margin-bottom: 12px;
}

.trust-limits ul {
  margin: 0;
  padding-left: 18px;
}

.case-studies {
  background: var(--surface);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
}

.case-head {
  min-width: 0;
}

.case-compare {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.case-compare div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.case-compare small {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 18px;
}

.case-metrics div {
  min-width: 0;
  padding: 12px;
  border-radius: var(--radius);
  background: #f8fafc;
}

.case-metrics span,
.case-metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-metrics strong {
  display: block;
  margin: 6px 0;
  font-size: 20px;
  line-height: 1.05;
}

.solutions-section {
  background: #f3f6fb;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 20px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.solution-card:hover {
  border-color: rgba(35, 87, 214, 0.34);
  background: var(--surface-tint);
  transform: translateY(-1px);
}

.solution-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.solution-card strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.18;
}

.solution-card small {
  display: block;
  margin-top: auto;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section-title-link,
.automation-card-link {
  color: inherit;
}

.section-title-link:hover,
.automation-card-link:hover {
  color: var(--accent);
}

.automation-card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 850;
}

.blog-section {
  background: var(--surface);
}

.blog-hero {
  background: var(--surface);
}

.blog-directory-hero {
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 520px), 0.58fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(46px, 7vw, 82px) var(--page-padding) clamp(36px, 5vw, 58px);
  background: var(--surface);
}

.blog-directory-copy {
  min-width: 0;
  max-width: 860px;
}

.blog-lead-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.blog-lead-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.archive-stats {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.archive-stats span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(216, 224, 234, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.archive-stats strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.blog-shell {
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(30px, 5vw, 56px) var(--page-padding) clamp(60px, 7vw, 96px);
  background: var(--soft);
}

.blog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.sidebar-block {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sidebar-block h2 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.15;
}

.sidebar-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.filter-link:hover,
.filter-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.filter-link span {
  min-width: 0;
}

.filter-link strong {
  flex: 0 0 auto;
  color: inherit;
  font-size: 12px;
}

.compact-cta .messenger-actions {
  margin-top: 14px;
}

.blog-main {
  min-width: 0;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 230px), 0.26fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.search-field,
.sort-control {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.search-field label,
.sort-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

input[type="search"],
select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

select {
  appearance: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.active-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.active-filters a:first-child {
  border-color: rgba(35, 87, 214, 0.24);
  background: var(--accent-soft);
  color: var(--accent);
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-date {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-date span {
  color: var(--ink);
}

.article-content {
  min-width: 0;
}

.article-kicker,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-kicker {
  margin-bottom: 9px;
}

.article-kicker a,
.article-kicker span,
.article-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.article-kicker a {
  background: var(--accent-soft);
  color: var(--accent);
}

.article-kicker a:first-child {
  background: var(--soft);
  color: var(--ink);
}

.article-kicker span {
  background: var(--surface);
  color: var(--muted);
}

.article-row h2 {
  max-width: 920px;
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.16;
}

.article-row h2 a {
  color: var(--ink);
}

.article-row h2 a:hover {
  color: var(--accent);
}

.article-row p {
  max-width: 860px;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.article-tags a {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.article-tags a:hover,
.active-filters a:hover {
  border-color: rgba(35, 87, 214, 0.28);
  color: var(--accent);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
}

.pagination a.current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.pagination .next-page {
  min-width: 118px;
}

.blog-note,
.sidebar-panel,
.featured-post,
.post-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.blog-note {
  padding: 22px;
  box-shadow: var(--shadow);
}

.blog-note h2,
.sidebar-panel h2 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.14;
}

.blog-note p,
.sidebar-panel p,
.featured-post p,
.post-card p {
  color: var(--muted);
  line-height: 1.55;
}

.blog-note .marketplace-list {
  margin-bottom: 18px;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.topic-strip span,
.topic-strip a,
.blog-type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.topic-strip span,
.topic-strip a {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}

.topic-strip a:hover,
.marketplace-list a:hover,
.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.blog-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}

.blog-type {
  align-self: flex-start;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent);
}

.blog-card p {
  color: var(--muted);
  line-height: 1.55;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.blog-meta span,
.blog-meta a {
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.blog-index {
  padding-bottom: clamp(28px, 4vw, 48px);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 330px), 0.4fr);
  gap: 18px;
  padding-top: clamp(24px, 4vw, 42px);
}

.featured-post {
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}

.featured-post h2 {
  max-width: 900px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
}

.post-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.post-checklist span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.sidebar-panel {
  padding: 22px;
}

.messenger-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.messenger-actions.vertical {
  grid-template-columns: 1fr;
}

.messenger-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(35, 87, 214, 0.34);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
  text-align: center;
}

.messenger-actions a.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.messenger-actions a.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.posts-section {
  background: var(--soft);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px;
}

.service-card.featured {
  border-color: rgba(35, 87, 214, 0.36);
  background: var(--surface-tint);
}

.service-card h3 a,
.automation-list h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover,
.automation-list h3 a:hover {
  color: var(--accent);
}

.service-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.price {
  color: var(--ink) !important;
  font-size: 24px;
  font-weight: 850;
}

.service-card ul {
  margin: auto 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card-button {
  align-self: flex-start;
  margin-top: 18px;
}

.automation {
  background: var(--surface);
}

.automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 360px), 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.automation-list {
  display: grid;
  gap: 16px;
}

.automation-list article {
  scroll-margin-top: 110px;
  padding: 22px;
}

.code-card {
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: #111827;
  color: #dbeafe;
  box-shadow: var(--shadow);
}

.code-head {
  justify-content: flex-start;
  gap: 8px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.code-head span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--success);
}

.code-head span:nth-child(2) {
  background: var(--amber);
}

.code-head span:nth-child(3) {
  background: var(--danger);
}

pre {
  overflow-x: auto;
  max-width: 100%;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.75;
}

pre code {
  white-space: pre;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  min-width: 0;
  gap: 16px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.process-list span {
  color: var(--accent);
  font-weight: 850;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 360px), 0.7fr);
  gap: 32px;
  align-items: center;
  background: var(--soft);
}

.lead-magnet h2 {
  max-width: 820px;
}

.lead-magnet p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.signup {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lead-magnet-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.lead-magnet-card strong {
  color: var(--ink);
}

.lead-magnet-card small {
  color: var(--muted);
  line-height: 1.45;
}

.lead-delivery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.lead-delivery span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(35, 87, 214, 0.22);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.sticky-contact-bar {
  display: none;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

input:focus {
  outline: 2px solid rgba(35, 87, 214, 0.18);
  border-color: var(--accent);
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}

.faq-grid details {
  padding: 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 14px 0 0;
}

.final-cta {
  text-align: center;
  color: #fff;
  background: #111827;
}

.site-footer {
  margin-top: 0;
}

.final-cta .eyebrow,
.final-cta p {
  color: #c7d4e8;
}

.final-cta h2 {
  max-width: 860px;
  margin-inline: auto;
}

.final-cta p {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 18px;
}

.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: #fff;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 28px;
  color: #c7d4e8;
  font-size: 14px;
  font-weight: 750;
}

.footer-links a:hover {
  color: #fff;
}

.legal-page {
  background: var(--soft);
}

.legal-hero {
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
}

.legal-updated {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.legal-grid {
  width: 100%;
  max-width: 980px;
  display: grid;
  gap: 16px;
  padding: clamp(32px, 5vw, 64px) var(--page-padding) clamp(64px, 7vw, 96px);
}

@media (max-width: 1180px) {
  .service-card {
    min-height: 320px;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .blog-directory-hero,
  .blog-layout,
  .blog-shell,
  .blog-toolbar {
    grid-template-columns: 1fr;
  }

  .trust-block,
  .method-block,
  .page-context-note,
  .decision-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-sidebar {
    position: static;
  }

  .hero-copy {
    max-width: 900px;
  }

  .hero-visual {
    min-height: auto;
  }

  .main-panel {
    margin-left: 0;
  }

  .side-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-top: 4px;
    gap: 10px 18px;
    justify-content: flex-start;
  }

  .split,
  .automation-layout,
  .lead-magnet {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-facts {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .main-panel {
    margin-left: 0;
  }

  .side-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .section-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .page-hero,
  .blog-directory-hero,
  .blog-shell,
  .section,
  .section-band,
  .page-context-note,
  .final-cta,
  .not-found-page,
  .legal-grid,
  .article-related {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.04;
  }

  h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .archive-stats,
  .pain-grid,
  .services-grid,
  .process-list,
  .faq-grid,
  .method-steps,
  .metric-grid,
  .solution-grid,
  .case-metrics,
  .messenger-actions {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .service-card {
    min-height: auto;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-lead-visual img {
    aspect-ratio: 4 / 3;
  }

  .archive-stats {
    position: static;
    padding: 10px;
  }

  .article-date {
    display: flex;
    gap: 8px;
  }

  .marketplace-list span,
  .marketplace-list a,
  .capabilities span,
  .capabilities a {
    min-height: 34px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 10px;
    min-height: 0;
    padding-block: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .header-cta {
    min-height: 40px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .proof-strip {
    margin-top: 24px;
  }

  .proof-strip dt,
  .price {
    font-size: 22px;
  }

  .main-panel,
  .story-panel,
  .method-step,
  .method-visual,
  .decision-card,
  .case-card,
  .solution-card,
  .trust-panel,
  .blog-card,
  .blog-note,
  .sidebar-block,
  .featured-post,
  .sidebar-panel,
  .article-row,
  .post-card,
  .service-card,
  .related-post-card,
  .not-found-panel,
  .automation-list article,
  .process-list li,
  .signup,
  .faq-grid details {
    padding: 18px;
  }

  .metric-grid strong {
    font-size: 24px;
  }

  .bar-chart {
    height: 120px;
    gap: 7px;
    padding: 12px;
  }

  .code-card {
    padding: 18px;
  }

  pre {
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.65;
  }

  pre code {
    white-space: pre;
    word-break: normal;
  }

  .process-list li {
    flex-direction: column;
    gap: 10px;
  }

  .lead-magnet p,
  .final-cta p {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .site-header,
  .hero,
  .page-hero,
  .blog-directory-hero,
  .blog-shell,
  .section,
  .section-band,
  .page-context-note,
  .final-cta,
  .not-found-page,
  .article-related {
    padding-inline: 12px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .button {
    min-height: 48px;
    padding-inline: 14px;
  }

  .main-panel,
  .story-panel,
  .method-step,
  .method-visual,
  .blog-card,
  .blog-note,
  .sidebar-block,
  .featured-post,
  .sidebar-panel,
  .article-row,
  .post-card,
  .service-card,
  .related-post-card,
  .not-found-panel,
  .automation-list article,
  .process-list li,
  .signup,
  .faq-grid details {
    padding: 16px;
  }
}

.cms-header .header-cta {
  background: var(--accent);
  color: #fff;
}

.cms-header form {
  flex: 0 0 auto;
  margin: 0;
}

.cms-header button.header-cta {
  cursor: pointer;
}

.admin-page {
  width: 100%;
  max-width: 100vw;
  padding: clamp(34px, 5vw, 64px) var(--page-padding) clamp(60px, 7vw, 96px);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-lead,
.admin-help {
  max-width: 820px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-card,
.admin-table {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-card {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding: 22px;
}

.settings-form {
  max-width: 1120px;
}

.settings-section {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.settings-section:last-of-type {
  border-bottom: 0;
}

.settings-section h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-card label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.form-card input,
.form-card select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

textarea {
  width: 100%;
  min-width: 0;
  min-height: 220px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  resize: vertical;
}

.small-textarea {
  min-height: 120px;
}

.code-textarea {
  min-height: 190px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-transform: none;
  tab-size: 2;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.error {
  max-width: 720px;
  padding: 12px 14px;
  border: 1px solid #efb4b4;
  border-radius: var(--radius);
  background: #fff0f0;
  color: #9f1d1d;
}

.success {
  max-width: 720px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 169, 120, 0.32);
  border-radius: var(--radius);
  background: rgba(0, 169, 120, 0.08);
  color: var(--success-dark);
}

.service-page {
  width: 100%;
  max-width: 100vw;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 360px), 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(34px, 5vw, 62px) var(--page-padding) clamp(36px, 5vw, 64px);
  background: var(--surface);
}

.service-detail-copy {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 850;
}

.service-summary,
.detail-panel,
.service-result-panel,
.related-service-links a {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-summary {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-summary .price {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
}

.service-summary p:not(.price),
.service-summary dd,
.detail-panel li,
.service-result-panel li {
  color: var(--muted);
  line-height: 1.58;
}

.service-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.service-summary div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.service-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-summary dd {
  margin: 4px 0 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 380px), 0.42fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  padding: clamp(34px, 5vw, 62px) var(--page-padding);
}

.page-context-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 360px), 0.42fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px) var(--page-padding);
  border-top: 1px solid rgba(216, 224, 234, 0.86);
  border-bottom: 1px solid rgba(216, 224, 234, 0.86);
  background: var(--surface);
}

.page-context-note h2 {
  max-width: 780px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.page-context-note p {
  max-width: 820px;
  margin: 16px 0 0;
}

.note-flow {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.note-flow span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

.detail-panels {
  display: grid;
  gap: 16px;
}

.detail-panel,
.service-result-panel {
  padding: clamp(20px, 4vw, 30px);
}

.detail-panel h2,
.service-result-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.detail-panel ul,
.service-result-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.service-result-panel {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}

.service-result-panel .messenger-actions {
  margin-top: 22px;
}

.service-related {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  padding: clamp(34px, 5vw, 70px) var(--page-padding) clamp(70px, 8vw, 110px);
  background: var(--soft);
}

.service-related h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.not-found-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 380px), 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 100vw;
  min-height: min(720px, calc(100vh - 82px));
  padding: clamp(54px, 8vw, 100px) var(--page-padding);
  background: var(--surface);
}

.not-found-copy {
  min-width: 0;
  max-width: 800px;
}

.not-found-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(35, 87, 214, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.not-found-panel h2 {
  margin-top: 18px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.not-found-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.related-service-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.related-service-links a {
  display: grid;
  gap: 8px;
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.related-service-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 87, 214, 0.36);
}

.related-service-links span,
.related-service-links small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) max(16px, calc((100vw - 1180px) / 2 + 16px)) clamp(70px, 8vw, 110px);
}

.article-detail {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 26px;
  column-gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.article-head {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  max-width: 960px;
}

.article-page h1 {
  max-width: 860px;
  margin-bottom: 0;
}

.article-lead-visual {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 4px 0 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-lead-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  grid-column: 1;
  color: #263043;
  font-size: 18px;
  line-height: 1.72;
}

.article-body h2 {
  max-width: 760px;
  margin: 36px 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  max-width: 100%;
  margin-bottom: 18px;
  color: #263043;
}

.article-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-dark);
}

.article-body ul {
  display: grid;
  gap: 10px;
  max-width: 100%;
  margin: 18px 0 24px;
  padding-left: 22px;
  color: #263043;
}

.article-cta {
  position: sticky;
  top: 96px;
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(35, 87, 214, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}

.article-cta h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.article-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.article-related {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 max(16px, calc((100vw - 1180px) / 2 + 16px)) clamp(70px, 8vw, 110px);
}

.article-related-head {
  max-width: 780px;
  margin-bottom: 20px;
}

.article-related-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.related-post-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.related-post-card h3 a:hover {
  color: var(--accent);
}

.related-post-card p {
  color: var(--muted);
  line-height: 1.55;
}

.related-post-tags {
  margin-top: 14px;
}

@media (max-width: 720px) {
  body:has(.sticky-contact-bar) {
    padding-bottom: 72px;
  }

  .sticky-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(216, 224, 234, 0.9);
    background: rgba(247, 248, 251, 0.96);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 12px));
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.sticky-contact-visible .sticky-contact-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sticky-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-weight: 900;
    text-align: center;
  }

  .sticky-contact-bar .sticky-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
  }

  @media (prefers-reduced-motion: reduce) {
    .sticky-contact-bar {
      transition: none;
    }
  }

  .admin-head,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }

  .article-cta {
    position: static;
    grid-template-columns: 1fr;
  }

  .article-lead-visual img {
    aspect-ratio: 4 / 3;
  }

  .service-detail-hero,
  .service-detail-grid,
  .service-related,
  .page-context-note,
  .not-found-page,
  .article-related {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .service-summary,
  .detail-panel,
  .service-result-panel {
    padding: 18px;
  }
}

@media (max-width: 1040px) {
  .service-detail-hero,
  .service-detail-grid,
  .service-related,
  .page-context-note,
  .not-found-page {
    grid-template-columns: 1fr;
  }

  .service-result-panel {
    position: static;
  }

  .article-detail {
    grid-template-columns: 1fr;
  }

  .article-head,
  .article-lead-visual,
  .article-body,
  .article-cta {
    grid-column: 1;
  }

  .article-cta {
    position: static;
  }
}

@media (max-width: 640px) {
  .page-context-note {
    padding-inline: 16px;
  }
}

@media (max-width: 360px) {
  .page-context-note {
    padding-inline: 12px;
  }
}
