:root {
  --nexo-ink: #101820;
  --nexo-muted: #5c6873;
  --nexo-line: #d8dee4;
  --nexo-soft: #f4f7f9;
  --nexo-white: #ffffff;
  --nexo-accent: #0f6b5f;
  --nexo-accent-dark: #0a4740;
  --nexo-sand: #e7dfcf;
  --nexo-radius: 8px;
  --nexo-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  --nexo-shadow-strong: 0 28px 70px rgba(16, 24, 32, 0.16);
  --nexo-width: 1180px;
  --nexo-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--nexo-ink);
  background: var(--nexo-white);
  font-family: var(--nexo-font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

.nexo-container,
.wp-block-group.alignwide,
.wp-block-columns.alignwide {
  width: min(var(--nexo-width), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--nexo-line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(var(--nexo-width), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--nexo-white);
  background: linear-gradient(135deg, var(--nexo-ink), var(--nexo-accent));
  border-radius: 8px;
  font-size: 14px;
}

.site-brand__text {
  font-size: 18px;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list,
.site-footer__list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.site-footer a {
  color: var(--nexo-muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--nexo-ink);
}

.site-header__cta,
.wp-block-button__link,
.nexo-lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  color: var(--nexo-white);
  background: var(--nexo-accent);
  border: 0;
  border-radius: var(--nexo-radius);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--nexo-ink);
  background: var(--nexo-white);
  border: 1px solid var(--nexo-line);
}

.nexo-hero .wp-block-button.is-style-outline .wp-block-button__link,
.nexo-dark-section .wp-block-button.is-style-outline .wp-block-button__link,
.nexo-cta-section .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--nexo-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.wp-block-buttons {
  gap: 12px;
}

.site-header__cta:hover,
.wp-block-button__link:hover,
.nexo-lead-form button:hover {
  background: var(--nexo-accent-dark);
}

.site-menu-toggle {
  display: none;
}

.site-main {
  min-height: 68vh;
}

.nexo-hero {
  padding: clamp(72px, 9vw, 118px) 0;
  color: var(--nexo-white);
  background:
    linear-gradient(115deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.82)),
    radial-gradient(circle at 82% 22%, rgba(15, 107, 95, 0.9), transparent 34%),
    linear-gradient(45deg, rgba(231, 223, 207, 0.08) 25%, transparent 25%, transparent 50%, rgba(231, 223, 207, 0.08) 50%, rgba(231, 223, 207, 0.08) 75%, transparent 75%, transparent),
    var(--nexo-ink);
  background-size: auto, auto, 28px 28px, auto;
}

.nexo-hero .wp-block-group__inner-container,
.nexo-section .wp-block-group__inner-container,
.nexo-soft-section .wp-block-group__inner-container,
.nexo-dark-section .wp-block-group__inner-container {
  width: min(var(--nexo-width), calc(100% - 40px));
  margin: 0 auto;
}

.nexo-hero h1 {
  max-width: 960px;
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.nexo-hero p,
.nexo-hero-text {
  max-width: 760px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

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

.nexo-hero .nexo-eyebrow {
  color: var(--nexo-sand);
}

.nexo-section,
.nexo-soft-section,
.nexo-dark-section {
  padding: clamp(58px, 8vw, 92px) 0;
}

.nexo-proof {
  padding: 0 0 clamp(58px, 8vw, 92px);
  margin-top: -38px;
  background: linear-gradient(to bottom, transparent 0, transparent 38px, var(--nexo-white) 38px);
}

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

.nexo-dark-section {
  color: var(--nexo-white);
  background: var(--nexo-ink);
}

.nexo-cta-section {
  padding: clamp(60px, 8vw, 96px) 0;
  color: var(--nexo-white);
  background:
    linear-gradient(135deg, rgba(15, 107, 95, 0.94), rgba(16, 24, 32, 0.96)),
    var(--nexo-accent);
}

.nexo-cta-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.nexo-card-grid {
  gap: 20px;
}

.nexo-card {
  height: 100%;
  padding: 28px;
  background: var(--nexo-white);
  border: 1px solid var(--nexo-line);
  border-radius: var(--nexo-radius);
  box-shadow: var(--nexo-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nexo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 107, 95, 0.32);
  box-shadow: var(--nexo-shadow-strong);
}

.nexo-dark-section .nexo-card {
  color: var(--nexo-white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.nexo-card p:last-child {
  margin-bottom: 0;
}

.nexo-checklist {
  padding-left: 0;
  list-style: none;
}

.nexo-checklist li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.nexo-checklist li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--nexo-accent);
  font-weight: 900;
  content: "✓";
}

.nexo-ordered {
  display: grid;
  gap: 16px;
  padding-left: 24px;
}

.nexo-ordered li {
  padding-left: 6px;
}

.nexo-step {
  padding-left: 20px;
  border-left: 3px solid var(--nexo-accent);
}

.nexo-metric {
  padding: 24px;
  min-height: 132px;
  background: linear-gradient(145deg, var(--nexo-ink), #172b35);
  border-radius: var(--nexo-radius);
  box-shadow: var(--nexo-shadow-strong);
}

.nexo-metric strong {
  display: block;
  color: var(--nexo-white);
  font-size: 32px;
  line-height: 1;
}

.nexo-metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.nexo-split {
  align-items: center;
  gap: clamp(28px, 5vw, 66px);
}

.nexo-split > .wp-block-column > p:first-child,
.nexo-split > .wp-block-column > h2:first-child {
  margin-top: 0;
}

.wp-block-details {
  padding: 18px 20px;
  margin: 12px 0;
  background: var(--nexo-white);
  border: 1px solid var(--nexo-line);
  border-radius: var(--nexo-radius);
}

.wp-block-details summary {
  font-weight: 800;
  cursor: pointer;
}

.nexo-lead-form-wrap {
  padding: clamp(24px, 4vw, 36px);
  background: var(--nexo-white);
  border: 1px solid var(--nexo-line);
  border-radius: var(--nexo-radius);
  box-shadow: var(--nexo-shadow);
}

.nexo-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nexo-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--nexo-muted);
  font-size: 14px;
  font-weight: 700;
}

.nexo-form-full {
  grid-column: 1 / -1;
}

.nexo-lead-form input,
.nexo-lead-form select,
.nexo-lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--nexo-ink);
  background: var(--nexo-white);
  border: 1px solid var(--nexo-line);
  border-radius: var(--nexo-radius);
  font: inherit;
}

.nexo-form-notice {
  padding: 12px 14px;
  border-radius: var(--nexo-radius);
  font-weight: 700;
}

.nexo-form-success {
  color: #0a473a;
  background: #e5f4ef;
}

.nexo-form-error {
  color: #7a231d;
  background: #f8e6e4;
}

.archive-header {
  padding: 72px 0;
  background: var(--nexo-soft);
}

.archive-header h1,
.single-post h1 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 64px);
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 70px 0;
}

.post-card {
  padding: 26px;
  border: 1px solid var(--nexo-line);
  border-radius: var(--nexo-radius);
}

.post-card h2 {
  font-size: 24px;
}

.post-card a,
.text-link {
  color: var(--nexo-accent);
  font-weight: 800;
}

.single-post {
  padding: 70px 0;
}

.single-post__header {
  margin-bottom: 34px;
}

.single-post__content {
  max-width: 820px;
}

.single-post__content h2 {
  margin-top: 42px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--nexo-ink);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--nexo-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-footer__brand {
  margin: 0 0 8px;
  color: var(--nexo-white);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 0;
  }

  .site-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 12px;
    background: var(--nexo-soft);
    border: 1px solid var(--nexo-line);
    border-radius: var(--nexo-radius);
    font-weight: 750;
  }

  .site-header__cta {
    display: none;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list,
  .site-footer__list {
    display: grid;
    gap: 12px;
  }

  .post-list,
  .nexo-lead-form {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    display: grid;
  }
}
