:root {
  --bg: #f3efe7;
  --surface: #fcfaf6;
  --surface-soft: #f6f1e8;
  --ink: #171614;
  --muted: #666159;
  --line: rgba(23, 22, 20, 0.1);
  --line-strong: rgba(23, 22, 20, 0.18);
  --accent: #1f4033;
  --accent-soft: #e5ece8;
  --sand: #e9dfd1;
  --shadow: 0 14px 30px rgba(43, 34, 23, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1080px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f3ec 0%, var(--bg) 100%);
}

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

.page-shell {
  min-height: 100vh;
}

.hero,
.content-grid,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  padding: 18px 0 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(252, 250, 246, 0.88);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #f8f5ef;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  padding-top: 18px;
}

.hero-card,
.hero-stats,
.panel,
.footer-box {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-mark img {
  width: 70px;
  height: 70px;
}

.eyebrow,
.section-kicker,
.action-tag,
.board-role,
.fund-tag,
.highlight-label,
.hero-stat-label,
.plan-callout-label,
.treasury-note-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.hero-title,
.section-title,
.quote-text {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-summary,
.section-copy p,
.metric-label,
.fund-copy,
.footer-copy,
.footer-meta p,
.inline-line,
.quote-author {
  color: var(--muted);
}

.hero-summary {
  max-width: 42rem;
  margin: 18px 0 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.button-primary {
  background: var(--ink);
  color: #f8f5ef;
  border-color: var(--ink);
}

.button-footer {
  background: transparent;
  color: #f8f5ef;
  border-color: rgba(248, 245, 239, 0.2);
}

.hero-stats {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-stat {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.3;
}

.content-grid {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.panel {
  padding: 28px;
  background: rgba(252, 250, 246, 0.96);
  border: 1px solid var(--line);
}

.panel-feature {
  background: #24362f;
  color: #f8f5ef;
}

.panel-warm {
  background: var(--surface-soft);
}

.panel-bright {
  background: #eef2ef;
}

.panel-deep {
  background: #1c2421;
  color: #f8f5ef;
}

.panel-feature .section-kicker,
.panel-feature .section-title,
.panel-feature .section-copy p,
.panel-feature .highlight-label,
.panel-deep .section-kicker,
.panel-deep .section-title,
.panel-deep .section-copy p,
.panel-deep .quote-author {
  color: inherit;
}

.section-header {
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.section-copy p {
  margin: 0 0 12px;
  line-height: 1.75;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.highlight-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.highlight-label {
  color: rgba(248, 245, 239, 0.76);
}

.chip-list,
.benefit-cloud,
.presence-line,
.plan-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list span,
.benefit-cloud span,
.presence-line span,
.plan-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 700;
}

.highlight-card .chip-list span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8f5ef;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.metric-value {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-label {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.inline-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  line-height: 1.75;
}

.inline-line span::after {
  content: "•";
  margin-left: 10px;
  color: rgba(23, 22, 20, 0.26);
}

.inline-line span:last-child::after {
  content: "";
  margin: 0;
}

.benefit-cloud {
  margin-top: 16px;
}

.support-footer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.support-total {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.action-strip,
.board-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 0 4px;
}

.action-circle,
.board-circle {
  display: flex;
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  padding: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.action-strip::-webkit-scrollbar,
.board-strip::-webkit-scrollbar {
  height: 8px;
}

.action-strip::-webkit-scrollbar-thumb,
.board-strip::-webkit-scrollbar-thumb {
  background: rgba(23, 22, 20, 0.16);
  border-radius: 999px;
}

.action-title,
.board-name,
.fund-title,
.footer-title {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}

.action-title,
.board-name {
  font-size: 0.95rem;
}

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

.plan-callout {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan-callout-value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.plan-chip-list {
  margin-top: 6px;
}

.treasury-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.treasury-note p {
  margin: 0;
  line-height: 1.7;
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fund-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.fund-copy {
  margin: 10px 0 0;
  line-height: 1.7;
}

.quote-block {
  margin-bottom: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-text {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.quote-author {
  margin: 12px 0 0;
  color: rgba(248, 245, 239, 0.7);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer {
  padding: 0 0 32px;
}

.footer-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  gap: 18px;
  padding: 24px 26px;
  background: #171d1b;
  color: #f8f5ef;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-title {
  font-size: 1.08rem;
}

.footer-copy {
  margin: 8px 0 0;
  color: rgba(248, 245, 239, 0.72);
  line-height: 1.7;
}

.footer-meta p {
  margin: 0 0 8px;
  color: rgba(248, 245, 239, 0.76);
  line-height: 1.6;
}

.error-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-content,
  .split-layout,
  .fund-grid,
  .metrics-grid,
  .footer-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 20px, 1080px);
  }

  .hero {
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
  }

  .hero-card,
  .panel,
  .footer-box {
    padding: 22px;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .action-circle,
  .board-circle {
    flex-basis: 150px;
    width: 150px;
    height: 150px;
  }
}
