﻿:root {
  --brand-blue: #3b6e8f;
  --brand-cream: #f5f4f1;
  --brand-ink: #1f2424;
  --brand-muted: #626968;
  --brand-accent: #c97a2b;
  --brand-line: #ddd8cf;
}

body {
  color: var(--brand-ink);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--brand-blue); }
a:hover { color: var(--brand-accent); }

.topbar {
  background: var(--brand-blue);
  color: #fff;
  font-size: .9rem;
  padding: .32rem 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.topbar-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.site-header {
  background: var(--brand-cream);
  border-bottom: 1px solid var(--brand-line);
  padding-top: .2rem;
  padding-bottom: .2rem;
}
.navbar-brand {
  color: var(--brand-ink);
  font-weight: 700;
  padding: 0;
  margin-right: 3rem;
}
.site-logo {
  display: block;
  width: auto;
  height: 80px;
}
.nav-link {
  color: var(--brand-ink);
  font-size: 1.05rem;
  font-weight: 500;
  padding-left: .7rem;
  padding-right: .7rem;
}
.nav-link:focus,
.nav-link:hover,
.nav-link.active {
  color: var(--brand-accent);
}

.page-content {
  max-width: 1080px;
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-content > div:first-child,
.page-content > section:first-child {
  margin-top: 0;
}

h1, h2, h3 {
  color: var(--brand-ink);
  line-height: 1.25;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 0;
}
h2 { font-size: clamp(1.45rem, 2.2vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p, li {
  color: var(--brand-muted);
  font-size: 1.08rem;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: .35rem;
}

.home-page .page-content {
  max-width: 1160px;
}

.home-page .page-content {
  padding-top: 0;
}

.home-intro {
  text-align: center;
  padding: 3.2rem 1rem 3.6rem;
  border-bottom: 1px solid var(--brand-line);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-name {
  color: var(--brand-muted);
  margin-bottom: 1.25rem;
}

.home-subline {
  color: var(--brand-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(280px, 383px) minmax(320px, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  padding: 3.6rem 0 2.5rem;
}

.home-portrait img {
  width: 100%;
  max-width: 383px;
  border-radius: 0;
  display: block;
}

.home-portrait p {
  margin-top: 1.8rem;
  font-size: 1.05rem;
}

.home-hero-text h1 {
  color: var(--brand-accent);
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

.home-hero-text h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 2rem;
}

.home-hero-text p {
  max-width: 520px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.btn-outline-brand {
  display: inline-block;
  min-width: 200px;
  border: 2px solid #2f6597;
  color: #2f6597;
  background: transparent;
  text-align: center;
  text-decoration: none;
  padding: .65rem 1.25rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: #2f6597;
  color: #fff;
}

.additional-topics {
  border-top: 1px solid var(--brand-line);
  margin-top: 3.2rem;
  padding-top: 2.8rem;
}

.additional-topics h2 {
  margin-top: 0;
}

.additional-topics p {
  max-width: 700px;
}

.home-followup {
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  padding: 3.4rem 0 3rem;
  margin-top: 2rem;
}

.home-process-intro {
  border-bottom: 1px solid var(--brand-line);
  margin-bottom: 3.2rem;
  padding-bottom: 2.6rem;
}

.home-process-intro p {
  font-size: 1.16rem;
  color: var(--brand-muted);
  margin-bottom: 0;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.2rem, 5vw, 4.6rem);
  margin-bottom: 3.4rem;
}

.home-feature-grid > div {
  border-left: 3px solid var(--brand-accent);
  padding-left: 1.35rem;
}

.home-feature-grid h2 {
  max-width: 300px;
  font-size: clamp(1.5rem, 1.8vw, 1.85rem);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 1.55rem;
}

.home-feature-grid p {
  max-width: 310px;
  font-size: 1.16rem;
  line-height: 1.55;
}

.home-center-note {
  text-align: center;
  font-size: 1.13rem;
  margin: 0;
}

.home-testimonials {
  padding-top: 3.3rem;
}

blockquote {
  border-left: 4px solid var(--brand-accent);
  padding: 1rem 1.25rem;
  background: #fbfaf7;
}

.wp-block-button__link,
.et_pb_button,
.btn-brand {
  display: inline-block;
  margin: .35rem .25rem .35rem 0;
  padding: .72rem 1.05rem;
  border-radius: .25rem;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.wp-block-button__link:hover,
.et_pb_button:hover,
.btn-brand:hover {
  background: var(--brand-accent);
  color: #fff;
}

@media (max-width: 800px) {
  .site-logo {
    height: 60px;
  }

  .home-intro {
    padding: 2.2rem 1rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .home-portrait img {
    max-width: 420px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-feature-grid > div {
    padding-left: 1rem;
  }

  .home-feature-grid h2 {
    margin-bottom: .75rem;
  }

  .home-center-note {
    text-align: left;
  }
}

.site-footer {
  background: #1e1e1e;
  color: #fff;
  padding: 2.5rem 0;
}
.site-footer p,
.site-footer a {
  color: #ddd;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .75rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav .nav-link {
  color: #ddd;
  padding: 0;
}

@media (min-width: 992px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.contact-box {
  border: 1px solid var(--brand-line);
  background: #fbfaf7;
  border-radius: .35rem;
  padding: 1.35rem;
  margin: 1.5rem 0;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-box a {
  font-weight: 700;
}
/* Minimal layout helpers used by the static PHP export when Bootstrap assets are absent. */
.container {
  width: min(100% - 2rem, 1012px);
  margin-left: auto;
  margin-right: auto;
}
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.row { display: flex; flex-wrap: wrap; margin-left: -.75rem; margin-right: -.75rem; }
.g-4 { row-gap: 1.5rem; }
.col-lg-5,
.col-lg-7 { width: 100%; padding-left: .75rem; padding-right: .75rem; }
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar-collapse { display: flex; align-items: center; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ms-auto { margin-left: auto; }
.mb-2,
.mb-lg-0 { margin-bottom: 0; }
.navbar-toggler { display: none; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row; }
}

@media (min-width: 992px) {
  .col-lg-5 { width: 41.666667%; }
  .col-lg-7 { width: 58.333333%; }
}

@media (max-width: 800px) {
  .navbar > .container {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .75rem;
  }
  .navbar-collapse,
  .navbar-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .navbar-brand { margin-right: 0; }
  .navbar-nav { gap: .15rem; }
  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.5rem;
    margin-left: auto;
    border: 1px solid var(--brand-line);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
  }
  .navbar-toggler-icon,
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: var(--brand-ink);
  }
  .navbar-toggler-icon { position: relative; }
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    position: absolute;
    left: 0;
    content: '';
  }
  .navbar-toggler-icon::before { top: -6px; }
  .navbar-toggler-icon::after { top: 6px; }
  .navbar-collapse {
    display: none;
    width: 100%;
    padding-top: .25rem;
  }
  .navbar-collapse.is-open { display: flex; }
}

/* Inner stability landing page */
.landing-page .page-content {
  width: min(100% - 2rem, 1012px);
  max-width: 1012px;
  padding-top: 0;
  padding-bottom: 0;
}

.landing-page h1,
.landing-page h2 {
  color: #333;
  font-weight: 500;
  letter-spacing: 0;
}

.landing-page h1 {
  max-width: 940px;
  font-size: clamp(1.95rem, 3vw, 2.55rem);
  line-height: 1.35;
  margin: 0 0 clamp(3.2rem, 7vw, 5rem);
}

.landing-page h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1.45rem;
}

.landing-page p,
.landing-page li {
  color: #666;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.landing-page p { margin-bottom: 1.25rem; }
.landing-page ul { margin: 0 0 1.45rem 1.2rem; padding: 0; }
.landing-page li { margin-bottom: .35rem; }

.landing-section,
.landing-hero {
  padding-top: clamp(3.2rem, 5vw, 4.1rem);
  padding-bottom: clamp(3.2rem, 5vw, 4.1rem);
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 368px);
  gap: clamp(3rem, 7vw, 6.6rem);
  align-items: start;
}

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

.landing-cta-box {
  background: #f4f4f4;
  padding: clamp(1.45rem, 3vw, 2rem);
  margin-top: clamp(5.5rem, 10vw, 8rem);
}

.landing-cta-box strong {
  color: #555;
  font-size: 1.08em;
}

.landing-button,
.mr9-actions button {
  display: inline-block;
  border: 2px solid var(--brand-blue);
  border-radius: 3px;
  background: transparent;
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  padding: .48rem 1.15rem;
  transition: background-color .18s ease, color .18s ease;
}

.landing-button:hover,
.landing-button:focus,
.mr9-actions button:hover,
.mr9-actions button:focus {
  background: var(--brand-blue);
  color: #fff;
}

.landing-narrow {
  max-width: 760px;
}

.landing-soft,
.landing-form-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1012px) / 2));
  padding-right: max(1rem, calc((100vw - 1012px) / 2));
  background: #f8f7f4;
}

.landing-form-section { background: #f3f3f3; }

.landing-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.landing-form-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.mr9-field { margin-bottom: 1rem; }
.mr9-field label {
  display: block;
  color: #555;
  font-weight: 700;
  margin-bottom: .35rem;
}
.mr9-field input {
  width: 100%;
  border: 1px solid #cfc9bf;
  border-radius: 3px;
  color: var(--brand-ink);
  font: inherit;
  padding: .65rem .75rem;
}
.mr9-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mr9-actions { margin-top: 1.25rem; }
.mr9-actions button { cursor: pointer; }
.landing-privacy {
  font-size: .95rem !important;
  margin-top: 1.3rem;
}

.landing-more a {
  font-weight: 700;
}

@media (max-width: 800px) {
  .landing-split,
  .landing-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .landing-cta-box { margin-top: 0; }
  .landing-page h1 { margin-bottom: 2.3rem; }
}
/* Landing refinement after browser comparison with the original page. */
body { overflow-x: hidden; }
.nav-link { text-decoration: none; }
.landing-hero h1 {
  grid-column: 1 / -1;
  max-width: 980px;
  font-size: clamp(1.9rem, 2.4vw, 2.05rem);
  line-height: 1.42;
  margin-bottom: clamp(2.8rem, 6vw, 4.5rem);
}
.landing-cta-box { margin-top: 0; }
@media (max-width: 800px) {
  .landing-hero h1 { grid-column: auto; }
}
/* Prevent full-width landing bands and form fields from creating horizontal overflow. */
*, *::before, *::after { box-sizing: border-box; }
.landing-soft,
.landing-form-section { box-sizing: border-box; }
