:root {
  --ink: #16231d;
  --muted: #526158;
  --line: #dce4d8;
  --paper: #ffffff;
  --wash: #f7f8f5;
  --forest: #214c3f;
  --forest-dark: #14231d;
  --gold: #c8a85a;
  --error: #963333;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--forest);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--forest);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 245, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.hero,
.connect-layout,
.content-band,
.blog-preview,
.archive-page,
.article-page,
.site-footer__inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}

.brand__text {
  font-size: 19px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 760;
}

.site-nav a {
  color: #314239;
  text-decoration: none;
}

.site-nav__cta,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 6px;
  background: var(--forest);
  color: #fff !important;
  text-decoration: none;
}

.hero {
  padding: 58px 0 42px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #65725a;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

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

.hero h1,
.connect-copy h1,
.page-hero h1,
.article-header h1,
.thanks-card h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  max-width: 780px;
}

.hero__lede,
.connect-copy p,
.page-hero p,
.thanks-card p {
  font-size: 19px;
  line-height: 1.55;
  color: #3d4d44;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.secondary-link {
  color: var(--forest);
  font-weight: 850;
  text-decoration: none;
}

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

.trust-row span {
  display: block;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 800;
}

.gina-lead-form {
  background: var(--paper);
  border: 1px solid #d6dfd2;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(34, 48, 39, .12);
}

.connect-page {
  padding: 54px 0 66px;
}

.connect-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, .72fr);
  gap: 38px;
  align-items: start;
}

.connect-copy h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.connect-notes {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.connect-notes span {
  display: block;
  border-left: 4px solid var(--gold);
  background: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  color: #34443b;
  font-weight: 750;
}

.gina-lead-form {
  padding: 24px;
}

.gina-lead-form h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.form-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-alert {
  border: 1px solid #d99a9a;
  background: #fff5f5;
  color: var(--error);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd6c7;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 16px 0;
}

.consent input {
  margin-top: 3px;
}

.gina-lead-form button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.gina-lead-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.form-disclaimer {
  margin: 14px 0 0;
  color: #6b766f;
  font-size: 12px;
  line-height: 1.45;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dark-band {
  background: var(--forest-dark);
  color: #fff;
  padding: 46px max(22px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.dark-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
}

.dark-band p {
  margin: 0;
  color: #dce5db;
  font-size: 17px;
  line-height: 1.55;
}

.content-band,
.blog-preview,
.archive-page {
  padding: 48px 0;
}

.section-heading h2,
.page-hero h1 {
  margin-top: 0;
}

.section-heading h2 {
  max-width: 790px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

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

.topic-grid article,
.post-card,
.empty-state {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.topic-grid h3,
.post-card h2,
.post-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.16;
}

.topic-grid p,
.post-card p,
.empty-state p {
  color: var(--muted);
  line-height: 1.52;
}

.post-card__date {
  margin: 0 0 10px;
  color: #7a857e !important;
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 850;
}

.page-hero {
  padding: 12px 0 28px;
}

.post-grid--archive {
  padding-bottom: 22px;
}

.article-page {
  max-width: 820px;
  padding: 54px 0 70px;
}

.article-header h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.article-content {
  color: #27372f;
  font-size: 18px;
  line-height: 1.72;
}

.article-content h2,
.article-content h3 {
  margin-top: 1.5em;
  line-height: 1.18;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.thanks-page {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 42px 22px;
}

.thanks-card {
  max-width: 690px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(34, 48, 39, .12);
}

.thanks-card h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: #5c6961;
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .hero,
  .dark-band,
  .connect-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
    min-height: auto;
  }

  .trust-row,
  .topic-grid,
  .post-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .site-nav__cta {
    display: none;
  }
}
