:root {
  --bg: #f4efe7;
  --bg-soft: rgba(255, 250, 243, 0.82);
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #16211d;
  --muted: #516059;
  --line: rgba(22, 33, 29, 0.12);
  --brand: #0f766e;
  --brand-deep: #0d4f58;
  --accent: #bf6a35;
  --shadow: 0 24px 80px rgba(31, 43, 35, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(191, 106, 53, 0.2), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #f1ebe1 52%, #ece4d7 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
}

.brand span {
  display: inline-block;
  font-size: 1.2em;
  letter-spacing: -0.03em;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(28, 34, 30, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.98rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fffaf4;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 30px rgba(13, 79, 88, 0.2);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: rgba(13, 79, 88, 0.18);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  padding: 76px 0 36px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--accent);
}

h1,
h2,
h3,
summary {
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.lead {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 1.13rem;
}

.hero-actions,
.hero-points,
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.metric-card,
.story-card,
.panel,
.hero-card,
.faq-list details,
.join-panel,
.legal-section,
.action-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
}

.hero-card {
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 241, 231, 0.78)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(191, 106, 53, 0.1));
}

.hero-stat {
  display: grid;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero-stat span,
.metric-card p {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.hero-stat strong,
.metric-card strong {
  font-size: 1.5rem;
  line-height: 1.3;
}

.quote-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-strong);
}

.quote-card p {
  color: var(--text);
  font-size: 1.2rem;
}

.section {
  padding: 36px 0;
}

.intro-grid,
.story-grid,
.action-grid,
.metrics {
  display: grid;
  gap: 22px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.story-card,
.metric-card,
.action-grid article,
.join-panel,
.legal-section {
  border-radius: var(--radius);
  padding: 28px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.action-band {
  border-radius: 36px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(191, 106, 53, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 1.6rem;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  border-radius: 22px;
  padding: 20px 22px;
}

summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 12px;
}

.join-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(12, 86, 93, 0.94), rgba(191, 106, 53, 0.88));
}

.join-panel h2,
.join-panel p,
.join-panel .section-label {
  color: #fffaf4;
}

.footer {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding: 28px 0 0;
}

.footer-links a {
  color: var(--brand-deep);
}

.footer-note {
  font-size: 0.94rem;
}

.legal-body {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #efe7db 100%);
}

.legal-shell {
  max-width: 900px;
}

.legal-topbar {
  position: static;
}

.legal-main {
  padding: 64px 0 24px;
}

.legal-main h1 {
  max-width: none;
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  margin-bottom: 16px;
}

.legal-section {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .story-grid,
  .action-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .topbar,
  .join-panel {
    border-radius: 28px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .button-ghost {
    width: 100%;
  }

  .join-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 12px;
  }

  .topbar,
  .panel,
  .story-card,
  .metric-card,
  .action-grid article,
  .join-panel,
  .hero-card,
  .legal-section {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }
}




