/* ==========================================================================
   Verdant Purpose HR - single-page site
   Brand: Deep Forest Green #014421, Soft Warm Ivory #F5F1E8,
   Deep Slate Blue #2F3E46, Terracotta Clay #C0653D, Muted Gold #C2A85A.
   Headings: Raleway (logo typeface family). Body: Arial.
   ========================================================================== */

:root {
  --green: #014421;
  --green-deep: #013319;
  --green-600: #0a5a30;
  --green-tint: #e7efe9;
  --ivory: #f5f1e8;
  --ivory-deep: #ece6d7;
  --slate: #2f3e46;
  --terracotta: #c0653d;
  --terracotta-dark: #a8542f;
  --gold: #c2a85a;
  --paper: #ffffff;
  --ink: #20281f;
  --muted: #5d6b62;
  --line: #dcd6c8;

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -28px rgba(1, 50, 25, 0.45);

  --body: 1.0625rem;   /* one body size used everywhere */

  --ff-head: "Raleway", Arial, "Helvetica Neue", sans-serif;
  --ff-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* ----- reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

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

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.2rem); }

.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

/* single body size; .lead only differs in colour/role, not size */
.lead { font-size: var(--body); color: var(--muted); }

.center { text-align: center; }
.measure { max-width: 64ch; }
.measure-narrow { max-width: 52ch; }
.center .measure, .center .measure-narrow { margin-inline: auto; }

/* ----- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--green); }
.btn--ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.on-dark .btn--ghost { color: #fff; }
.on-dark .btn--ghost:hover { background: #fff; color: var(--green); border-color: #fff; }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----- logo -------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--green); }
.logo svg, .logo img { display: block; height: 52px; width: auto; }
.on-dark .logo { color: #fff; }

/* ----- header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--slate);
  padding: 0.4rem 0;
}
.nav__links a:hover { color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; margin-inline: auto; background: var(--green); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.2rem, 4vw, 2.2rem) 1.6rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav .btn { margin-top: 1.2rem; }
}

/* ----- hero (left-aligned, photo right) --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, var(--green-600) 0%, var(--green) 48%, var(--green-deep) 100%);
  color: #fff;
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__text { text-align: left; }
.hero h1 { color: #fff; margin-bottom: 0.6rem; }
.hero .eyebrow { color: var(--gold); }
.hero__sub { font-size: var(--body); color: rgba(255, 255, 255, 0.88); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero__proof { margin-top: 1.8rem; font-size: var(--body); color: rgba(255,255,255,0.9); max-width: 46ch; }
.hero__proof span { font-style: italic; }
.hero__proof b { color: var(--gold); font-family: var(--ff-head); font-weight: 700; font-style: normal; }

.hero__media { margin: 0; }
.hero__photo { width: 100%; aspect-ratio: 1 / 1; max-height: 380px; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__media figcaption { margin-top: 0.85rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.92); }
.hero__media figcaption span { color: var(--gold); }

/* credibility chips, kept above the fold inside the hero */
.hero__cred {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.cred { display: inline-flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.92); font-family: var(--ff-head); font-weight: 700; font-size: 0.9rem; }
.cred svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 340px; }
}

/* ----- section backgrounds ---------------------------------------------- */
.bg-ivory { background: var(--ivory); }
.bg-paper { background: var(--paper); }
.bg-tint  { background: var(--green-tint); }
.bg-green { background: var(--green); color: #fff; }
.bg-slate { background: var(--slate); color: #fff; }
.bg-green h2, .bg-slate h2, .bg-green h3, .bg-slate h3 { color: #fff; }

/* ----- "how I help" features (icon + title inline) ---------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; text-align: left; }
.feature__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ----- foil band --------------------------------------------------------- */
.foil { text-align: center; }
.foil p { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; max-width: 24ch; margin-inline: auto; color: #fff; }
.foil .foil__accent { color: var(--gold); }

/* ----- results / proof strip -------------------------------------------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; text-align: left; }
.result { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.4rem; }
.result h3 { color: var(--green); margin-bottom: 0.45rem; }
.result p { color: var(--muted); font-size: var(--body); margin: 0; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .results { grid-template-columns: 1fr; } }

/* ----- offer ladder (number + title inline) ----------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; text-align: left; }
.plan--feature { border-color: var(--green); box-shadow: var(--shadow); }
.plan__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.plan__head h3 { margin: 0; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--ff-head); font-weight: 900; font-size: 1.05rem; flex: none; }
.plan--feature .step__num { background: var(--terracotta); }
.plan__desc { color: var(--muted); }
.plan ul { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: 0.7rem; }
.plan li { position: relative; padding-left: 1.8rem; font-size: var(--body); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 1.1rem; height: 1.1rem; background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--muted); margin-top: 1.8rem; font-size: var(--body); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ----- mini-offer packs -------------------------------------------------- */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 2.6rem auto 0; max-width: 840px; }
.pack { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; text-align: left; }
.pack h3 { margin-bottom: 0.3rem; }
.pack__price { font-family: var(--ff-head); font-weight: 800; color: var(--terracotta); font-size: 1.15rem; margin: 0 0 0.7rem; }
.pack p { color: var(--muted); margin: 0 0 1.5rem; }
.pack .btn { margin-top: auto; }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } }

/* ----- newsletter / HR Vault -------------------------------------------- */
.vault { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.vault .eyebrow { color: var(--gold); }
.vault h2 { color: #fff; }
.vault__intro p { color: rgba(255,255,255,0.88); max-width: 48ch; }
.vault__card { background: var(--ivory); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.vault__card .field:last-of-type { margin-bottom: 1.4rem; }
.vault__card .field label { color: var(--slate); }
.vault-form .formkit-alert { list-style: none; margin: 0 0 1rem; padding: 0; }
.vault-form .formkit-alert:empty { display: none; }
.vault-form .formkit-alert-error { color: var(--terracotta-dark); font-size: 0.92rem; }
/* Kit success message (shown in place of the form after sign-up) - keep it readable on the ivory card */
.vault__card .formkit-alert-success,
.vault__card [data-element="success"],
.vault__card .seva-form + div,
.vault__card .formkit-success { color: var(--green); font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; line-height: 1.35; text-align: center; padding: 0.5rem 0; }
.vault__note { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 1rem; }
@media (max-width: 820px) { .vault { grid-template-columns: 1fr; } }

/* ----- about ------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--green); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.about__sig { font-family: var(--ff-head); font-weight: 800; color: var(--green); margin-top: 1.4rem; font-size: 1.15rem; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 320px; } }

/* ----- testimonials (consistent slate background throughout) ------------- */
.quote { text-align: center; }
.quote__mug { width: 92px; height: 92px; margin: 0 auto 1.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 900; font-size: 1.9rem; overflow: hidden; border: 3px solid currentColor; }
.quote__mug img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { margin: 0 auto; max-width: 26ch; font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.18; letter-spacing: -0.01em; }
.quote blockquote.is-long { max-width: 34ch; font-size: clamp(1.3rem, 2.8vw, 2rem); }
.quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 1rem; }
.quote cite b { font-family: var(--ff-head); font-weight: 800; display: block; }
.quote cite span { color: rgba(255,255,255,0.72); }

.quote--slate { color: #fff; }
.quote--slate .quote__mug { background: rgba(255,255,255,0.1); color: var(--gold); }
.quote--slate blockquote { color: #fff; }

/* ----- problem (centred heading, 2x2 grid of cards) --------------------- */
.problem { text-align: center; }
.problem ul { list-style: none; margin: 2.4rem auto 0; padding: 0; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.problem li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem 1.1rem 3.2rem; position: relative; color: var(--slate); }
.problem li::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--terracotta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 680px) { .problem ul { grid-template-columns: 1fr; } }

/* ----- final CTA --------------------------------------------------------- */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-inline: auto; }
.final-cta .hero__cta { margin-top: 1.8rem; }

/* ----- footer ------------------------------------------------------------ */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.8); padding-block: 3rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; }
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-family: var(--ff-head); font-weight: 700; }
.site-footer__legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.4rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.site-footer .site-footer__sep { color: rgba(255,255,255,0.35); }
.site-footer .site-footer__privacy { color: rgba(255,255,255,0.55); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .site-footer__privacy:hover { color: rgba(255,255,255,0.9); }

/* ----- modal ------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(1, 30, 15, 0.6); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; width: 100%; max-width: 920px; max-height: 92vh; overflow: auto; background: var(--ivory); border-radius: var(--radius-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.5); display: grid; grid-template-columns: 0.9fr 1.1fr; }
.modal__aside { background: var(--green); color: #fff; padding: 2.4rem 2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.modal__aside .quote__mug { margin: 0 0 0.4rem; width: 64px; height: 64px; font-size: 1.4rem; background: rgba(255,255,255,0.12); color: var(--gold); border-color: rgba(255,255,255,0.5); }
.modal__aside blockquote { font-family: var(--ff-head); font-weight: 800; font-size: 1.3rem; line-height: 1.25; margin: 0; }
.modal__aside cite { font-style: normal; font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.modal__aside cite b { display: block; font-family: var(--ff-head); }
.modal__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.modal__aside ul li { position: relative; padding-left: 1.7rem; font-size: var(--body); }
.modal__aside ul li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; background: var(--gold); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
.modal__direct { margin-top: auto; display: grid; gap: 0.7rem; }
.modal__direct a { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; font-family: var(--ff-head); font-weight: 700; padding: 0.6rem 0; border-top: 1px solid rgba(255,255,255,0.15); }
.modal__direct a svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.modal__direct a:hover { color: var(--gold); }

.modal__body { padding: 2.4rem 2.2rem; }
.modal__body h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.modal__body > p { color: var(--muted); margin-bottom: 1.6rem; }

.modal__close { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.85); color: var(--green); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.modal__close:hover { background: #fff; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--slate); }
.field input, .field textarea { width: 100%; font-family: var(--ff-body); font-size: 1rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.field textarea { min-height: 110px; resize: vertical; }

.form__error { margin: 0.9rem 0 0; color: var(--terracotta-dark); font-size: 0.92rem; }
/* Kit (ck.5.js) messages inside the health-check pop-up */
.modal__body .formkit-alert { list-style: none; margin: 0 0 1rem; padding: 0; }
.modal__body .formkit-alert:empty { display: none; }
.modal__body .formkit-alert-error { color: var(--terracotta-dark); font-size: 0.92rem; }
.modal__body .formkit-alert-success { background: var(--green-tint); border: 1px solid var(--green); color: var(--green); border-radius: 10px; padding: 0.9rem 1rem; text-align: center; font-family: var(--ff-head); font-weight: 800; }
.form__thanks { display: none; text-align: center; padding: 2rem 1rem; }
.form__thanks.is-shown { display: block; }
.form__thanks svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 1rem; }
.form.is-sent { display: none; }

@media (max-width: 720px) {
  .modal__dialog { grid-template-columns: 1fr; max-height: 94vh; }
  .modal__aside { order: 2; }
  .modal__direct { margin-top: 0; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* reveal-on-scroll - only hides when JS is active, so the site degrades gracefully */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ----- legal / long-form Page content (page.php) ------------------------- */
.legal .wrap { max-width: 820px; }
.legal__head { margin-bottom: 2.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.legal__body { font-size: var(--body); }
.legal__body > *:first-child { margin-top: 0; }
.legal__body h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: 2.4rem 0 0.7rem; }
.legal__body h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.legal__body p { margin: 0 0 1.1em; }
.legal__body ul, .legal__body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.legal__body li { margin-bottom: 0.5em; }
.legal__body li::marker { color: var(--terracotta); }
.legal__body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--terracotta); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: 0.98rem; }
.legal__body caption { text-align: left; }
.legal__body th, .legal__body td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.legal__body thead th, .legal__body tr:first-child th { background: var(--green-tint); color: var(--green); font-family: var(--ff-head); }
.legal__body figure.wp-block-table { margin: 1.4em 0 1.8em; }
.legal__body figure.wp-block-table table { margin: 0; }
@media (max-width: 620px) {
  .legal__body table, .legal__body thead, .legal__body tbody, .legal__body th, .legal__body td, .legal__body tr { display: block; }
  .legal__body td { border-top: 0; }
  .legal__body tr { margin-bottom: 1rem; border: 1px solid var(--line); }
  .legal__body tr th:first-child, .legal__body tr td:first-child { border-top: 1px solid var(--line); }
}
