/* =========================================================
   The Trust Collective — Landing Page
   Earth-tone palette, warm and unhurried.
   ========================================================= */

:root {
  --colour-bone: #F5F0E8;          /* primary background */
  --colour-sandstone: #D4B896;     /* warm mid-tone, borders, accents */
  --colour-sage: #8A9E7E;          /* sage green, secondary accent */
  --colour-eucalyptus: #4A6741;    /* deeper green, headings, strong accents */
  --colour-tan: #C4956A;           /* warm tan, CTA buttons */
  --colour-tan-dark: #B07E54;      /* button hover, ~10% darker tan */
  --colour-bark: #5C3D2E;          /* deep brown, body text */
  --colour-cream: #FAF6F0;         /* section background variation */

  --max-width: 720px;
  --section-pad: 80px;
}

/* ---------- Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--colour-bone);
  /* very subtle paper texture, kept faint so it never clutters */
  background-image: radial-gradient(
    var(--colour-sandstone) 0.5px,
    transparent 0.5px
  );
  background-size: 22px 22px;
  background-attachment: fixed;
  color: var(--colour-bark);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--colour-eucalyptus);
  text-decoration-color: var(--colour-sandstone);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--colour-eucalyptus);
}

/* ---------- Layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 28px;
}

.section {
  padding-block: var(--section-pad);
}

.section--cream {
  background-color: var(--colour-cream);
}

/* thin horizontal rule between sections */
.rule {
  border: 0;
  height: 1px;
  max-width: var(--max-width);
  margin-inline: auto;
  background-color: var(--colour-sandstone);
  opacity: 0.4;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--colour-eucalyptus);
  font-weight: 400;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--colour-bark);
}

p {
  margin-block: 0 1.4rem;
}

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

.eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--colour-sage);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.15rem;
}

.caption {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--colour-bark);
  opacity: 0.75;
}

/* ---------- Navigation ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__sprig {
  flex: none;
}

.wordmark {
  line-height: 1.1;
}

.wordmark__name {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--colour-eucalyptus);
}

.wordmark__tagline {
  display: block;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--colour-bark);
  opacity: 0.8;
  margin-top: 2px;
}

.nav__social {
  flex: none;
  display: inline-flex;
  color: var(--colour-eucalyptus);
}

.nav__social:hover {
  color: var(--colour-tan);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 56px;
  padding-bottom: var(--section-pad);
  text-align: center;
}

.hero__sub {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.hero__body {
  text-align: left;
  margin-top: 2.4rem;
}

.cta-line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--colour-eucalyptus);
  text-align: center;
  margin-top: 2.6rem;
  margin-bottom: 1.6rem;
}

/* ---------- Form ---------- */

.form-block {
  max-width: 460px;
  margin-inline: auto;
}

.ml-embedded {
  width: 100%;
}

.form-reassure {
  text-align: center;
  margin-top: 1.2rem;
}

/* ---------- What is inside (cards) ---------- */

.inside-list {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.inside-item {
  padding-top: 22px;
  border-top: 1px solid var(--colour-sandstone);
}

.inside-item p {
  margin-bottom: 0;
}

/* ---------- About ---------- */

.about__close {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.4;
  color: var(--colour-eucalyptus);
  margin-top: 2rem;
}

/* ---------- Second CTA ---------- */

.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 0.6rem;
}

.cta__sub {
  margin-bottom: 2.4rem;
}

/* ---------- Footer ---------- */

.footer {
  background-color: var(--colour-eucalyptus);
  color: var(--colour-bone);
  text-align: center;
  padding-block: 56px;
}

.footer a {
  color: var(--colour-bone);
}

.footer__wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--colour-bone);
  margin-bottom: 0.8rem;
}

.footer__social {
  display: inline-flex;
  margin-block: 6px 14px;
  color: var(--colour-bone);
}

.footer__social:hover {
  color: var(--colour-sandstone);
}

.footer__copy {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin: 0;
}

.footer__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin: 8px 0 0;
}

/* ---------- Thank you page ---------- */

.thanks {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--section-pad);
}

.thanks__sprig {
  margin-bottom: 1.6rem;
}

.thanks p {
  max-width: 520px;
}

.btn {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 14px 30px;
  background-color: var(--colour-tan);
  color: var(--colour-bone);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--colour-tan-dark);
  color: var(--colour-bone);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  body {
    font-size: 1.05rem;
  }

  .wrap {
    padding-inline: 22px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .wordmark__name {
    font-size: 1.3rem;
  }

  .hero__body {
    margin-top: 2rem;
  }
}

/* ---------- Reduced motion ---------- */

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

  * {
    transition: none !important;
  }
}
