/* === Reset & Base === */

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

:root {
  --green: #2D5F2D;
  --green-light: #3A7A3A;
  --green-bg: #F0F5F0;
  --gold: #DBAD3E;
  --gold-light: #E8C54A;
  --gold-bg: #FDF8F0;
  --bg: #FAF8F5;
  --text: #2A2A2A;
  --text-muted: #5A5A5A;
  --white: #FFFFFF;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

h1 .cap {
  font-size: 1.15em;
  line-height: 1;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--green);
}



h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.2rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

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

em {
  font-style: italic;
}

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

ul {
  list-style: none;
  padding: 0;
}

/* === Note Aside === */

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding: 0.6rem 1rem;
  margin: 1.5rem auto;
  max-width: 65ch;
}

/* === Layout === */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--green-bg);
}

/* === Section Separators === */

.sep-stripe {
  border: none;
  margin: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold) 50%, var(--green) 50%);
}

.sep-stripe.sep-flip {
  background: linear-gradient(to right, var(--green) 50%, var(--gold) 50%);
}

/* === Hero === */

.hero {
  background: var(--green);
  color: var(--white);
  padding: 6rem 0 5rem;
  text-align: center;
}

.title-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #000;
  background: var(--bg);
  border: 12px solid var(--gold);
  padding: 0.15em 0.35em;
  text-wrap: nowrap;
  width: fit-content;
}

.hero .tagline {
  font-size: 1.2rem;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0.92;
}

.hero .tagline strong {
  color: var(--gold-light);
}

/* === Cards === */

.card-pair,
.card-trio {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.card-pair {
  grid-template-columns: 1fr 1fr;
}

.card-trio {
  grid-template-columns: 1fr 1fr 1fr;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 5px solid transparent;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.card ul li {
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-muted);
}

.card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--text);
}

.card ul ul {
  margin-top: 0.2rem;
}

.card ul ul li {
  padding-left: 1rem;
  font-size: 0.9em;
  font-style: italic;
}

.card ul ul li::before {
  content: "—";
  font-weight: normal;
}

.card-green {
  border-top-color: var(--green);
}

.card-gold {
  border-top-color: var(--gold);
}

.card-dark {
  border-top-color: #A63030;
}

.card-dark h3 {
  color: #A63030;
}

.card-bright {
  border-top-color: var(--green);
  background: var(--white);
}

.card-bright h3 {
  color: var(--green);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* === Flow Cards (Capital section) === */

.flow-cards {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.flow-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.flow-step p {
  margin-bottom: 0;
  color: var(--text-muted);
  max-width: none;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
}

/* === Callout === */

.callout {
  border-left: 5px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
  max-width: none;
}

.callout-final {
  border-left-color: var(--green);
  background: var(--green-bg);
  font-size: 1.15rem;
  text-align: center;
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green);
}

/* === Examples Bar === */

.examples-bar {
  margin-top: 2.5rem;
  text-align: center;
}

.examples-bar h3 {
  color: var(--text-muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.chip {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}

/* === Final Section === */

.section-final {
  background: var(--bg);
  text-align: center;
}

.section-final p {
  margin-left: auto;
  margin-right: auto;
}

/* === Footer === */

.footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid #E0DDD8;
}

.footer p {
  margin-bottom: 0;
  max-width: none;
}

/* === Responsive === */

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  h2 {
    font-size: 1.65rem;
  }


  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .card-pair,
  .card-trio {
    grid-template-columns: 1fr;
  }

  .flow-cards {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }
}
