:root {
  --ink: #17201c;
  --muted: #58645f;
  --soft: #f5f7f3;
  --paper: #ffffff;
  --line: #dce3dc;
  --teal: #147d6f;
  --teal-dark: #0f5f55;
  --gold: #d99938;
  --clay: #b95f45;
  --mint: #d9eee8;
  --shadow: 0 18px 48px rgba(32, 48, 43, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(197, 209, 201, 0.72);
  box-shadow: 0 10px 30px rgba(23, 32, 28, 0.08);
  backdrop-filter: blur(16px);
}

.header-strip {
  color: rgba(255, 255, 255, 0.88);
  background: #133c35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1180px);
  min-height: 34px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
  font-size: 0.82rem;
  font-weight: 680;
}

.header-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-strip svg {
  width: 15px;
  height: 15px;
  color: #bfeee6;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  width: min(100%, 1480px);
  min-height: 70px;
  margin: 0 auto;
  padding: 10px clamp(18px, 4vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: clamp(156px, 15vw, 196px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  width: 164px;
  height: 48px;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--teal-dark);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(20, 125, 111, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.site-header .brand-copy small {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  color: #43514b;
  background: rgba(245, 247, 243, 0.84);
  border: 1px solid rgba(220, 227, 220, 0.9);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 720;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(20, 125, 111, 0.22);
}

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

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(20, 125, 111, 0.42);
  box-shadow: 0 10px 24px rgba(32, 48, 43, 0.1);
}

.button-small {
  min-height: 42px;
  padding: 0 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.header-login {
  min-height: 44px;
  padding: 0 14px;
  color: #254039;
  white-space: nowrap;
}

.cta-label-short {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 104px);
  padding: clamp(44px, 6vw, 72px) clamp(18px, 4vw, 56px) 34px;
  overflow: hidden;
  background:
    linear-gradient(rgba(16, 25, 22, 0.46), rgba(16, 25, 22, 0.27)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2400&q=82") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(245, 247, 243, 0), var(--soft));
  pointer-events: none;
}

.hero-inner,
.lead-form {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.hero-inner {
  color: #fff;
  text-align: center;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #d2f3ec;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 880px;
  margin: 0 auto 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.25rem);
}

h1 span {
  display: block;
  margin-top: 8px;
  font-size: 0.76em;
  font-weight: 760;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
}

.hero-actions,
.form-actions,
.offer-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

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

.hero-primary-cta {
  min-width: min(100%, 320px);
}

.lead-form {
  margin-top: clamp(26px, 4vw, 38px);
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-header {
  max-width: 760px;
  margin-bottom: 18px;
}

.form-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.form-header p {
  color: var(--muted);
}

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

.field-grid-short {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  margin-bottom: 14px;
}

.field span {
  color: #33413b;
  font-size: 0.92rem;
  font-weight: 760;
}

.field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 620;
}

.form-details {
  margin-top: 14px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-details summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 780;
}

.form-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.form-details-grid {
  padding: 14px;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

textarea {
  resize: vertical;
}

.lead-form textarea {
  min-height: 104px;
}

input:focus,
textarea:focus {
  background: #fff;
  border-color: rgba(20, 125, 111, 0.8);
  box-shadow: 0 0 0 4px rgba(20, 125, 111, 0.12);
}

.form-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 16px;
  color: var(--teal-dark);
  background: #edf8f4;
  border: 1px solid rgba(20, 125, 111, 0.22);
  border-radius: var(--radius);
  font-weight: 720;
}

.form-status.active {
  display: grid;
  gap: 12px;
}

.form-status.error {
  color: #9f3328;
  background: #fff2ef;
  border-color: rgba(185, 95, 69, 0.32);
}

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

.status-actions .button {
  min-height: 42px;
  padding: 0 14px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
  background: var(--soft);
}

.section:nth-of-type(odd) {
  background: #fff;
}

.section-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 34px;
}

.section-heading h2,
.intro-grid h2,
.local-grid h2,
.why-grid h2,
.offer-inner h2,
.final-inner h2 {
  margin-bottom: 14px;
}

.section-heading p:last-child,
.intro-grid p,
.local-grid p,
.why-grid p,
.offer-inner p,
.final-inner p {
  color: var(--muted);
}

.intro-band {
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.local-grid,
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.project-card,
.process-step,
.audit-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(32, 48, 43, 0.06);
}

.info-card,
.project-card {
  min-height: 218px;
  padding: 22px;
}

.info-card svg,
.project-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--teal);
}

.info-card:nth-child(3n) svg,
.project-card:nth-child(3n) svg {
  color: var(--gold);
}

.info-card:nth-child(4n) svg,
.project-card:nth-child(4n) svg {
  color: var(--clay);
}

.info-card h3,
.project-card h3 {
  margin-bottom: 10px;
}

.info-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  background: #eef6f2;
}

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

.process-step {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.process-step span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 840;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.local-section {
  background:
    linear-gradient(90deg, rgba(217, 238, 232, 0.58), rgba(245, 247, 243, 0.9)),
    #f7f6ef;
}

.audit-panel {
  padding: clamp(22px, 4vw, 34px);
}

.check-list,
.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #33413b;
  font-weight: 670;
}

.check-list svg,
.feature-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--teal);
}

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

.why-section {
  background: #fff;
}

.trust-section {
  background: #fff;
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.trust-section .section-heading {
  margin-bottom: 0;
}

.trust-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.trust-contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: #254039;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 720;
}

.trust-contact-list svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.trust-proof-list {
  align-self: stretch;
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
}

.feature-list li {
  min-height: 72px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-section {
  background:
    linear-gradient(rgba(23, 32, 28, 0.78), rgba(23, 32, 28, 0.78)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=80") center / cover;
  color: #fff;
}

.offer-inner {
  max-width: 880px;
  text-align: center;
}

.offer-inner .section-kicker,
.final-inner .section-kicker {
  color: #bdf0e6;
}

.offer-inner p {
  max-width: 690px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
}

.blogs-section {
  background: #fff;
}

.blogs-inner {
  max-width: 940px;
}

.blog-feed {
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.blog-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(32, 48, 43, 0.08);
}

.blog-card-media {
  display: block;
  background: #e8f1ed;
  border-bottom: 1px solid var(--line);
}

.blog-card-media img,
.blog-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-media img {
  transition: transform 220ms ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}

.blog-image-fallback {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(20, 125, 111, 0.12), rgba(217, 238, 232, 0.62)),
    #f5f7f3;
}

.blog-image-fallback svg {
  width: 46px;
  height: 46px;
}

.blog-card-body {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
}

.blog-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.blog-meta span,
.article-meta span {
  display: inline-flex;
  align-items: center;
}

.blog-meta span + span::before,
.article-meta span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  background: var(--gold);
  border-radius: 999px;
}

.blog-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.blog-card h3 a:hover,
.blog-read-link:hover,
.blog-back:hover {
  color: var(--teal-dark);
}

.blog-card p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.blog-read-link,
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--teal);
  font-weight: 780;
}

.blog-read-link svg,
.blog-back svg {
  width: 17px;
  height: 17px;
}

.blog-empty {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  background: #f8faf7;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.blog-page {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background: #fff;
}

.blog-article-inner {
  max-width: 960px;
}

.blog-back {
  margin-bottom: 28px;
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
}

.article-shell > h1,
.blogs-index-section h1 {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.article-meta {
  margin-bottom: 24px;
}

.blog-hero-image {
  margin: 30px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(32, 48, 43, 0.1);
}

.article-body {
  display: grid;
  gap: 18px;
  color: #27332e;
  font-size: 1.06rem;
  line-height: 1.75;
}

.article-body h1 {
  display: none;
}

.article-body h2,
.article-body h3 {
  margin: 22px 0 0;
  line-height: 1.18;
}

.article-body h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.article-body h3 {
  font-size: 1.22rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3rem;
}

.article-body li + li {
  margin-top: 8px;
}

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

.article-cta-band {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: #17483f;
}

.article-cta-inner {
  max-width: 820px;
  text-align: center;
}

.article-cta-inner .section-kicker {
  color: #bdf0e6;
}

.article-cta-inner h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
}

.article-cta-inner p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.78);
}

.not-found-page .section {
  min-height: 58vh;
  display: grid;
  align-items: center;
}

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

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: #17483f;
}

.final-inner {
  max-width: 920px;
  text-align: center;
}

.final-inner h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.final-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1500px) {
  .header-main {
    gap: 16px;
  }

  .header-login span {
    display: none;
  }

  .header-login {
    width: 44px;
    padding: 0;
  }
}

@media (max-width: 1320px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1020px) {
  .card-grid,
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .local-grid,
  .why-grid,
  .trust-proof-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-strip-inner {
    justify-content: center;
    min-height: 30px;
    padding: 0 16px;
    font-size: 0.74rem;
    text-align: center;
  }

  .header-strip-inner span:last-child {
    display: none;
  }

  .header-main {
    min-height: 64px;
    padding: 9px 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-logo {
    width: 126px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .header-cta {
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-login {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.88rem;
  }

  .button-small {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .button-small svg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 16px 30px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.25rem);
  }

  h1 span {
    margin-top: 6px;
    font-size: 0.8em;
  }

  .hero-actions,
  .form-actions,
  .offer-actions,
  .final-actions,
  .status-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-main .button {
    width: auto;
  }

  .lead-form {
    padding: 18px;
  }

  .field-grid,
  .card-grid,
  .examples-grid,
  .process-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .trust-contact-list {
    display: grid;
  }

  .info-card,
  .project-card {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-feed {
    gap: 18px;
  }

  .blog-card-body {
    padding: 20px;
  }

  .blog-page {
    padding: 34px 16px 56px;
  }

  .article-shell > h1,
  .blogs-index-section h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .article-body {
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  .header-main {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 108px;
    height: 38px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login span {
    display: none;
  }

  .header-login {
    width: 40px;
    padding: 0;
  }

  .brand-copy small {
    display: none;
  }

  .cta-label-full {
    display: none;
  }

  .cta-label-short {
    display: inline;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .lead-form {
    margin-top: 22px;
  }
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(217, 238, 232, 0.82), rgba(255, 255, 255, 0.94)),
    var(--soft);
  border-bottom: 1px solid rgba(188, 208, 198, 0.76);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(15, 95, 85, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 95, 85, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.58;
  pointer-events: none;
}

.page-hero-with-form {
  display: flex;
  min-height: calc(100vh - 104px);
  align-items: center;
  background:
    linear-gradient(106deg, rgba(245, 250, 246, 0.98) 0%, rgba(238, 248, 244, 0.95) 42%, rgba(255, 255, 255, 0.68) 100%),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2400&q=82") center right / cover;
}

.page-hero-with-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(245, 250, 246, 0.98) 0%, rgba(238, 248, 244, 0.92) 45%, rgba(19, 60, 53, 0.2) 100%),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2400&q=82") center right / cover;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  width: min(100%, 1180px);
}

.page-hero-with-form .page-hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
}

.page-hero-copy {
  max-width: 860px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0 0 18px;
  color: var(--ink);
}

.page-hero p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.page-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.hero-workflow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
}

.hero-workflow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: #21342f;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 221, 213, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(32, 48, 43, 0.08);
  font-size: 0.9rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.hero-workflow-strip svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.lead-form-compact {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 70px rgba(17, 39, 34, 0.18);
  backdrop-filter: blur(12px);
}

.lead-form-compact .form-header {
  margin-bottom: 16px;
}

.lead-form-compact .form-header h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.lead-form-compact .form-actions {
  align-items: stretch;
  flex-direction: column;
}

.lead-form-compact .form-actions .button {
  width: 100%;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.breadcrumbs a {
  color: var(--teal-dark);
}

.breadcrumb-separator {
  color: #93a09a;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.two-column-section p {
  color: var(--muted);
}

.check-card-grid,
.index-card-grid,
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-card,
.index-card,
.related-link-card,
.calculator-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(32, 48, 43, 0.06);
}

.check-card {
  display: flex;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
}

.check-card svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--teal);
}

.check-card p,
.index-card p,
.related-link-card span {
  margin: 0;
  color: var(--muted);
}

.index-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 236px;
  padding: 24px;
}

.index-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.index-card h2 a:hover {
  color: var(--teal-dark);
}

.related-link-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 20px;
}

.related-link-card strong {
  font-size: 1.05rem;
}

.related-link-card svg {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.form-section .lead-form {
  max-width: 980px;
  margin: 0 auto;
}

.final-inner-with-form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
  max-width: 1160px;
  text-align: left;
}

.final-inner-with-form .lead-form {
  color: var(--ink);
  text-align: left;
}

.final-inner-with-form .form-actions {
  align-items: stretch;
  flex-direction: column;
}

.calculator-card {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
}

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

.calculator-result {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #244239;
  background: #edf8f4;
  border: 1px solid rgba(20, 125, 111, 0.22);
  border-radius: var(--radius);
}

.calculator-result strong {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.calculator-disclaimer,
.sample-notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.quiz-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.quiz-list input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.sample-notice {
  padding: 14px 16px;
  color: #68431d;
  background: #fff8e9;
  border: 1px solid rgba(217, 153, 56, 0.35);
  border-radius: var(--radius);
}

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

.sitemap-list a {
  padding: 12px 14px;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 720;
}

.legal-copy {
  max-width: 820px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(130px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand p,
.footer-column a {
  margin: 0;
  color: var(--muted);
}

.footer-brand a,
.footer-column a:hover {
  color: var(--teal-dark);
}

.footer-column {
  display: grid;
  gap: 8px;
}

.footer-column h2 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a {
  font-size: 0.94rem;
  font-weight: 680;
}

@media (max-width: 1020px) {
  .page-hero-with-form .page-hero-inner,
  .two-column-section,
  .final-inner-with-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-with-form {
    min-height: auto;
    background-position: center;
  }

  .page-hero-with-form::before {
    opacity: 0.46;
  }

  .check-card-grid,
  .index-card-grid,
  .related-links-grid,
  .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 42px 16px;
  }

  .page-hero-with-form {
    background:
      linear-gradient(180deg, rgba(245, 250, 246, 0.96), rgba(238, 248, 244, 0.94)),
      url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=78") center / cover;
  }

  .page-hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-workflow-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .check-card-grid,
  .index-card-grid,
  .related-links-grid,
  .calculator-grid,
  .quiz-list,
  .sitemap-list {
    grid-template-columns: 1fr;
  }

  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
