/* ==========================================================================
   Molegru'm GHL — Gut Health & Lifestyle
   Single shared stylesheet for every page.
   --------------------------------------------------------------------------
   CONTENTS
     1.  Design tokens
     2.  Reset & base
     3.  Typography
     4.  Layout & sections
     5.  Header & navigation
     6.  Buttons
     7.  Hero
     8.  Cards & post lists
     9.  Article layout (blog posts)
    10.  Callouts (e.g. "when to see a doctor")
    11.  Forms & email signup
    12.  Book page
    13.  Lists (steps, inside-list)
    14.  Footer
    15.  Utilities
    16.  Motion & print
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand colours */
  --forest:      #0D2818;
  --deep:        #0a1a0f;
  --green:       #0F6E56;
  --bright:      #1D9E75;
  --cream:       #F7F3EA;
  --ink:         #1a1f1c;

  /* Supporting tones */
  --cream-2:     #F1EBDD;   /* subtle band / alternate section */
  --paper:       #FFFFFF;
  --line:        #E0D8C8;   /* thin rules and card borders */
  --line-soft:   #ECE5D7;
  --muted:       #59615b;   /* secondary text on cream */

  /* Type */
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;

  /* Measure */
  --wrap:  1100px;   /* outer content width */
  --read:  680px;    /* comfortable reading width */

  /* Shape & depth */
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(13, 40, 24, .05);
  --shadow-md: 0 12px 32px rgba(13, 40, 24, .09);
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* clears the sticky header on anchor jumps */
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: rgba(29, 158, 117, .22);
  color: var(--forest);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -.028em;
}

h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.14rem, 2vw, 1.32rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; }

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .18em;
  transition: color .15s ease;
}
a:hover { color: var(--forest); }

strong { font-weight: 600; }
small { font-size: .875rem; }

blockquote {
  margin: 2rem 0;
  padding: .2rem 0 .2rem 1.4rem;
  border-left: 3px solid var(--bright);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--forest);
}
blockquote p:last-child { margin-bottom: 0; }

figure { margin: 2rem 0; }
figcaption {
  margin-top: .7rem;
  font-size: .82rem;
  color: var(--muted);
}

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ==========================================================================
   4. LAYOUT & SECTIONS
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap--narrow { max-width: 820px; }
.wrap--read   { max-width: var(--read); }

@media (min-width: 640px) {
  .wrap { padding: 0 2rem; }
}

.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section--tight-top { padding-top: clamp(1.25rem, 3vw, 2rem); }
.section--tight { padding: clamp(1.75rem, 4vw, 3rem) 0; }

.section--alt {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--forest {
  background: var(--forest);
  color: rgba(247, 243, 234, .82);
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 { color: var(--cream); }
.section--forest a { color: var(--cream); }
.section--forest a:hover { color: #fff; }
.section--forest strong { color: var(--cream); }

/* Section intro block */
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.6rem);
}
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--forest .section-head p { color: rgba(247, 243, 234, .75); }

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

/* Small uppercase label above headings */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 1px;
  background: currentColor;
}
.section--forest .eyebrow { color: var(--bright); }

/* Generic two-column text block */
.split { display: grid; gap: 2rem; }
@media (min-width: 840px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.panel > :last-child { margin-bottom: 0; }


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  color: var(--forest);
}
.brand:hover { color: var(--forest); }
.brand__mark {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand__sub {
  margin-top: 4px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--green);
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s ease;
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--forest);
  transition: transform .22s var(--ease), opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: .4rem 0 1.1rem;
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.site-nav a {
  display: block;
  padding: .78rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--green); }

.site-nav .nav-cta {
  margin-top: .75rem;
  text-align: center;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-weight: 600;
}
.site-nav .nav-cta:hover {
  background: var(--forest);
  color: var(--cream);
}

/* Desktop nav */
@media (min-width: 860px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
  }

  .site-nav a {
    padding: .35rem 0;
    font-size: .95rem;
    border-bottom: 0;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--bright);
  }

  .site-nav .nav-cta {
    margin-top: 0;
    padding: .6rem 1.15rem;
    border-color: var(--forest);
    background: var(--forest);
    color: var(--cream);
    font-size: .9rem;
  }
  .site-nav .nav-cta:hover {
    background: var(--deep);
    color: #fff;
  }
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn--secondary:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}
.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--deep);
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}


/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.hero__inner { max-width: 880px; }
.hero h1 { margin-bottom: 1.15rem; }
.hero .lede {
  max-width: 60ch;
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  line-height: 1.62;
  color: var(--muted);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta li {
  position: relative;
  padding-left: 1.1rem;
}
.hero__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bright);
}


/* ==========================================================================
   8. CARDS & POST LISTS
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d3c8b2;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.45rem 1.45rem 1.55rem;
  text-decoration: none;
  color: inherit;
}
.post-card__link:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.post-card h2,
.post-card h3 {
  margin: .1rem 0 .55rem;
  font-size: 1.2rem;
  line-height: 1.25;
}
.post-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.62;
  color: var(--muted);
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Category tag */
.tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: .3rem .55rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid rgba(15, 110, 86, .3);
  border-radius: 2px;
}

/* Text link with arrow (no icons, just a rule) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link-arrow::after { content: "\2192"; font-size: .95em; }
.link-arrow:hover { color: var(--forest); }


/* ==========================================================================
   9. ARTICLE LAYOUT (blog posts)
   ========================================================================== */
.breadcrumb {
  padding-top: 1.4rem;
  font-size: .8rem;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: .35rem;
  color: var(--line);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.article-head {
  max-width: var(--read);
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) 0 clamp(.75rem, 2vw, 1.25rem);
}
.article-head h1 { margin: .55rem 0 1rem; }
.article-head .lede {
  margin: 0 0 1.5rem;
  font-size: 1.11rem;
  line-height: 1.62;
  color: var(--muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem 0;
  margin: 0;
  padding: 1.1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.post-meta li { display: flex; align-items: center; }
.post-meta li + li::before {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  margin: 0 .75rem;
  background: var(--line);
}
.post-meta a { color: var(--green); }

.article-body {
  max-width: var(--read);
  margin: 0 auto;
  font-size: 1.15rem;     /* ~18.4px */
  line-height: 1.78;
  color: var(--ink);
}
.article-body > p:first-child {
  font-size: 1.2rem;
  line-height: 1.7;
}
.article-body h2 {
  margin: 2.6rem 0 .85rem;
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
}
.article-body h3 {
  margin: 2rem 0 .6rem;
  font-size: 1.17rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
  padding-left: 1.25em;
}
.article-body li { margin-bottom: .5em; }
.article-body li > ul,
.article-body li > ol { margin-top: .5em; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-body hr { margin: 2.5rem 0; }

/* Author box at the foot of a post */
.author-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: var(--read);
  margin: 3rem auto 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.author-box img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream-2);
}
.author-box__text { flex: 1 1 260px; }
.author-box__text p { margin: .35rem 0 0; font-size: .93rem; color: var(--muted); }
.author-box__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}


/* ==========================================================================
   10. CALLOUTS
   ========================================================================== */
.callout {
  margin: 2.2rem 0;
  padding: 1.3rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout > h2,
.callout > h3 {
  margin: 0 0 .7rem;
  font-size: 1.02rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--forest);
}
.callout p,
.callout li { font-size: 1rem; line-height: 1.65; }
.callout ul { margin-bottom: 0; }
.callout > :last-child { margin-bottom: 0; }

.callout--doctor { border-left-color: #b4552f; }
.callout--note   { border-left-color: var(--bright); background: #FBF8F1; }


/* ==========================================================================
   11. FORMS & EMAIL SIGNUP
   ========================================================================== */
.signup {
  padding: clamp(1.6rem, 4vw, 2.75rem);
  background: var(--forest);
  color: rgba(247, 243, 234, .8);
  border-radius: var(--radius);
}
.signup h2 {
  margin-bottom: .55rem;
  color: var(--cream);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.signup p { max-width: 54ch; }
.signup form { margin-top: 1.5rem; }
.signup .form-note { color: rgba(247, 243, 234, .62); }
.signup .form-note a { color: rgba(247, 243, 234, .88); }

/* Form rows */
.form-row {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
@media (min-width: 620px) {
  .form-row { flex-direction: row; align-items: stretch; }
  .form-row input { flex: 1 1 auto; }
  .form-row .btn { flex: 0 0 auto; }
}

.form-note {
  margin: 1rem 0 0;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Inputs */
.input,
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  width: 100%;
  padding: .88rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}

:where(.input, input, textarea):focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, .28);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--forest);
}
.field .hint {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--muted);
}


/* ==========================================================================
   12. BOOK PAGE
   ========================================================================== */
.book-grid { display: grid; gap: 2.25rem; }
@media (min-width: 820px) {
  .book-grid {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.book-cover {
  width: 100%;
  max-width: 300px;
  border-radius: 4px;
  border: 1px solid rgba(13, 40, 24, .1);
  box-shadow: 0 18px 40px rgba(13, 40, 24, .18);
  background: var(--cream-2);
}

.book-facts {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.book-facts li {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
}
.book-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--forest);
  letter-spacing: -.005em;
}

/* Promo code chip */
.code {
  display: inline-block;
  padding: .45rem .75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--forest);
  background: var(--cream-2);
  border: 1px dashed var(--green);
  border-radius: 4px;
}

.phase-list {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: phase;
}
.phase-list li {
  counter-increment: phase;
  position: relative;
  padding-left: 3.2rem;
}
.phase-list li::before {
  content: counter(phase);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(15, 110, 86, .35);
  border-radius: 50%;
}
.phase-list h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.phase-list p { margin: 0; font-size: .96rem; color: var(--muted); }


/* ==========================================================================
   13. LISTS (steps, what's inside)
   ========================================================================== */
.inside-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.inside-list li {
  display: grid;
  gap: .3rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.inside-list strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -.01em;
}
.inside-list span {
  font-size: .96rem;
  line-height: 1.65;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.35rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(15, 110, 86, .35);
  border-radius: 50%;
}
.steps h3 { margin: 0 0 .3rem; font-size: 1.06rem; }
.steps p { margin: 0; font-size: .96rem; color: var(--muted); }


/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
  margin-top: 0;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 1.5rem;
  background: var(--forest);
  color: rgba(247, 243, 234, .72);
  font-size: .92rem;
}
.site-footer a {
  color: rgba(247, 243, 234, .82);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.site-footer h2,
.site-footer h3 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cream);
}
.site-footer .brand__mark { color: var(--cream); font-size: 1.42rem; }
.site-footer .brand__sub { color: var(--bright); }

.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 2.5rem; }
}

.footer-about p {
  max-width: 34ch;
  margin: .9rem 0 0;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(247, 243, 234, .62);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 243, 234, .14);
  font-size: .8rem;
  color: rgba(247, 243, 234, .5);
}
.footer-bottom p { margin: 0; }

.footer-disclaimer {
  max-width: 72ch;
  margin: 1.5rem 0 0;
  font-size: .79rem;
  line-height: 1.6;
  color: rgba(247, 243, 234, .5);
}


/* ==========================================================================
   15. UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .8rem 1.1rem;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--cream);
  outline: 3px solid var(--bright);
  outline-offset: -3px;
}

.center { text-align: center; }
.center > * { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Simple inline quote / pull line */
.pull {
  margin: 2.2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--bright);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--forest);
}

/* Error page */
.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 3rem 0;
  text-align: center;
}
.error-page h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: .5rem; }
.error-page p { max-width: 46ch; color: var(--muted); }


/* ==========================================================================
   16. MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .signup,
  .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .article-body { max-width: none; }
  a { color: #000; text-decoration: underline; }
}
