.card,
.is-style-card {
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 36px);
}

.is-style-soft-surface {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(245, 241, 234, 0.82) 100%);
  border: 1px solid rgba(25, 22, 19, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}

.is-style-highlight-surface {
  background: linear-gradient(135deg, rgba(159, 61, 47, 0.09) 0%, rgba(201, 143, 43, 0.12) 46%, rgba(35, 92, 82, 0.08) 100%);
  border: 1px solid rgba(159, 61, 47, 0.10);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
}

.editorial-frame {
  position: relative;
  overflow: hidden;
}

.editorial-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(25, 22, 19, 0.08);
  border-radius: calc(var(--radius-xl) - 10px);
  pointer-events: none;
}

.hero-split {
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
}

.hero-split .wp-block-column:first-child {
  position: relative;
  z-index: 1;
}

.hero-split .wp-block-column:first-child > * + * {
  margin-top: 1rem;
}

.hero-split .wp-block-column:first-child {
  max-width: 640px;
}

.hero-split .wp-block-column:last-child {
  position: relative;
}

.hero-split .wp-block-column:last-child img {
  min-height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  aspect-ratio: 0.92;
}

.hero-split .wp-block-column:last-child::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -18px;
  bottom: -18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(159, 61, 47, 0.16), rgba(35, 92, 82, 0.18));
  filter: blur(4px);
  z-index: -1;
}

.section-intro > * + * {
  margin-top: 0.8rem;
}

.service-grid,
.proof-grid,
.feature-grid {
  gap: clamp(22px, 2vw, 30px);
}

.service-grid .wp-block-column,
.proof-grid .wp-block-column,
.feature-grid .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(248, 243, 235, 0.92) 100%);
  border: 1px solid rgba(25, 22, 19, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  padding: clamp(24px, 2.4vw, 32px);
}

.service-grid .wp-block-column h3,
.proof-grid .wp-block-column h3,
.feature-grid .wp-block-column h3 {
  max-width: 100%;
  text-wrap: pretty;
}

.service-grid .wp-block-column p,
.proof-grid .wp-block-column p,
.feature-grid .wp-block-column p,
.service-grid .wp-block-column li,
.proof-grid .wp-block-column li,
.feature-grid .wp-block-column li {
  font-size: 0.98rem;
  line-height: 1.68;
}

.lagomdev-agent-context {
  margin-top: clamp(36px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.lagomdev-agent-context__inner {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(248, 243, 235, 0.94) 100%);
  border: 1px solid rgba(25, 22, 19, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  padding: clamp(24px, 3vw, 36px);
}

.lagomdev-agent-context__title {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.14;
  max-width: 18ch;
}

.lagomdev-agent-context__text,
.lagomdev-agent-context__status {
  max-width: 60ch;
}

.lagomdev-agent-context__text {
  color: var(--text-body);
}

.lagomdev-agent-context__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #fffdf9;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 0 22px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 18px 36px rgba(159, 61, 47, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lagomdev-agent-context__button:hover,
.lagomdev-agent-context__button:focus-visible {
  background: #8b3327;
  box-shadow: 0 22px 42px rgba(159, 61, 47, 0.26);
  transform: translateY(-1px);
}

.lagomdev-agent-context__button:focus-visible {
  outline: 2px solid rgba(35, 92, 82, 0.42);
  outline-offset: 4px;
}

.lagomdev-agent-context__button.is-copied {
  background: var(--accent-secondary);
  box-shadow: 0 18px 36px rgba(35, 92, 82, 0.24);
}

.lagomdev-agent-context__status {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lagomdev-post-faq {
  margin-top: clamp(30px, 4vw, 48px);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.lagomdev-post-faq__title {
  margin-bottom: clamp(16px, 2vw, 22px);
}

.lagomdev-post-faq__item {
  margin: 0 0 13.6px;
  padding: 16px 17.6px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(24, 24, 24, 0.11);
  border-radius: 18px;
}

.lagomdev-post-faq__question {
  color: rgb(61, 55, 47);
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.74;
}

.lagomdev-post-faq__question:hover {
  color: var(--text-strong);
}

.lagomdev-post-faq__answer {
  padding-top: 12px;
}

.lagomdev-post-faq__answer > :first-child {
  margin-top: 0;
}

.lagomdev-post-faq__answer > :last-child {
  margin-bottom: 0;
}

.editorial-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.editorial-stat strong {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.95;
}

.editorial-divider {
  width: 84px;
  height: 1px;
  background: rgba(25, 22, 19, 0.16);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1d1a17 0%, #26211d 58%, #1d1a17 100%);
  color: #f8f3eb;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4vw, 60px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 143, 43, 0.25) 0%, rgba(201, 143, 43, 0) 72%);
}

.cta-band h2,
.cta-band h3,
.cta-band p,
.cta-band li {
  color: #f8f3eb;
}

.cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #f8f3eb;
  color: var(--surface-dark);
}

.cta-band .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(248, 243, 235, 0.7);
  color: #f8f3eb;
}

.pull-quote,
.is-style-pull-quote {
  max-width: 38rem;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px) 0;
  text-align: center;
}

.pull-quote p,
.is-style-pull-quote p {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.muted-note {
  color: var(--text-muted);
  font-size: 0.96rem;
}
