:root {
  --bg: #f7f4ee;
  --bg-alt: #efe8dc;
  --surface: rgba(255,255,255,0.72);
  --text: #1f1c19;
  --muted: #645b53;
  --line: rgba(31, 28, 25, 0.12);
  --gold: #b08a4a;
  --shadow: 0 20px 50px rgba(25, 22, 18, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f5ef 0%, #f4efe6 100%);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 48px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 238, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand,
.footer-brand,
h1, h2, h3,
.section-label,
.eyebrow,
.page-intro-title {
  font-family: 'Cinzel', Georgia, serif;
}

.brand {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active,
.contact-link:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero,
.page-hero {
  padding: 88px 0 72px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--gold);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 500;
}

h3,
.page-intro-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 500;
}

.lead {
  font-size: 1.1rem;
  color: #342e28;
}

.hero-card,
.card,
.feature-box,
.page-intro-card {
  background: var(--surface);
  border: 1px solid rgba(176, 138, 74, 0.18);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card,
.page-intro-card {
  padding: 34px;
}

.hero-card ul,
.page-intro-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
}

.button.primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.button.secondary {
  background: transparent;
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.alt {
  background: rgba(239, 232, 220, 0.45);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.card {
  padding: 28px;
}

.columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.feature-box {
  padding: 28px;
}

.partners-grid,
.ecosystem-grid,
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.two-col-grid {
  grid-template-columns: repeat(2, 1fr);
}

.partner-item,
.ecosystem-grid span,
.note-box {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
}

.partnership-copy,
.max-copy {
  max-width: 780px;
}

.contact-section {
  text-align: center;
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  background: rgba(247, 244, 238, 0.9);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.page-copy p + p {
  margin-top: 16px;
}

.page-intro {
  padding-bottom: 30px;
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .columns,
  .cards,
  .partners-grid,
  .ecosystem-grid,
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards article:last-child,
  .partners-grid div:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    background: rgba(247, 244, 238, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .page-hero-grid,
  .columns,
  .cards,
  .partners-grid,
  .ecosystem-grid,
  .two-col-grid {
    grid-template-columns: 1fr;
  }

  .cards article:last-child,
  .partners-grid div:last-child {
    grid-column: auto;
  }

  .hero,
  .page-hero {
    padding-top: 64px;
  }

  .container,
  .narrow {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 68px 0;
  }
}
