/* Stewardship Bridge landing page.
   Layout follows the Lovable preview: tagline as the headline, illustration
   beside it, cream panels, three how-it-works cards.
   Colors and type follow brand tokens v0.1. Body is 18px for older readers.
   Terracotta is for the header button and eyebrows; links use Terracotta Deep. */

:root {
  --forest: #425c46;
  --forest-deep: #2f4433;
  --terracotta: #d77456;
  --terracotta-deep: #a75a43;
  --cream: #fef7ef;
  --white: #ffffff;
  --ink: #243128;
  --muted: #3e5344;
  --line: #e7e0d6;
  --font-heading: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  --font-body: "Source Sans 3", "Open Sans", Arial, system-ui, sans-serif;
  --wrap: 1080px;
  --header: 84px;
  --radius: 22px;
  --shadow: 0 16px 40px rgba(66, 92, 70, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--forest);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--terracotta-deep);
}

:focus-visible {
  outline: 3px solid var(--terracotta-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--forest);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  transform: none;
  color: var(--white);
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
}

.header-bar,
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
}

.eyebrow,
.sample figcaption,
.sample-kicker {
  margin: 0 0 12px;
  color: var(--terracotta-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-grid,
.split,
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.lede,
.section-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid var(--forest);
}

.button:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--white);
}

.button-quiet {
  background: var(--white);
  color: var(--forest);
  border-color: #ddd6cc;
}

.button-quiet:hover {
  background: var(--cream);
  color: var(--forest-deep);
  border-color: #ddd6cc;
}

.button-accent {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
  min-height: 44px;
  font-size: 1rem;
  white-space: nowrap;
}

.button-accent:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: var(--white);
}

.hero-art {
  margin: 0;
  background: var(--cream);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  border-radius: 18px;
}

.band {
  padding: 36px 0;
}

.panel {
  background: var(--cream);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 52px);
}

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

.steps,
.tiers,
.audiences,
.guards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps,
.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.steps li,
.audiences li,
.tiers li,
.founders {
  background: var(--cream);
  border-radius: 20px;
  padding: 24px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--forest);
}

.steps p,
.tiers p,
.audiences p,
.guards li {
  margin: 0;
  color: var(--muted);
}

.guards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.guards li {
  padding-left: 14px;
  border-left: 3px solid var(--forest);
  color: var(--forest-deep);
  font-weight: 600;
}

.split,
.about-grid {
  align-items: start;
}

.tiers {
  display: grid;
  gap: 12px;
}

.sample {
  margin: 0;
  background: var(--cream);
  border-radius: 24px;
  padding: 20px;
}

.sample-page {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
}

.sample-page h3 {
  font-size: 1.4rem;
}

.sample-page dl {
  margin: 0 0 12px;
}

.sample-page dl div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.sample-page dt {
  font-weight: 600;
  color: var(--forest);
}

.sample-page dd {
  margin: 0;
}

.sample-page ol {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.watch {
  margin: 0;
  padding: 12px;
  background: var(--cream);
  border-radius: 12px;
}

.founders p:last-child,
.email-line {
  margin-bottom: 0;
}

.close-panel .button {
  margin-top: 8px;
}

.email-line {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-bottom: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-meta a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .about-grid,
  .steps,
  .audiences {
    grid-template-columns: 1fr;
  }

  .header-bar {
    min-height: 72px;
  }

  .button-accent {
    padding-inline: 14px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .header-bar {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .button-accent {
    margin-left: auto;
    font-size: 0.95rem;
    padding-inline: 14px;
  }

  .sample-page dl div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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