:root {
  color-scheme: light;
  --bg: #f4eadc;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: #fff8f0;
  --ink: #2a1b12;
  --muted: #705d4e;
  --accent: #cf5f32;
  --accent-deep: #9f3f1b;
  --line: rgba(110, 79, 59, 0.14);
  --shadow: 0 30px 80px rgba(79, 40, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 32%),
    linear-gradient(180deg, #f8f0e4 0%, var(--bg) 55%, #eadbc8 100%);
  color: var(--ink);
  font-family: 'Space Grotesk', 'Avenir Next', sans-serif;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.hero {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.language-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(42, 27, 18, 0.06);
}

.language-pill {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
}

.language-pill.is-active {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(42, 27, 18, 0.08);
}

.hero-copy {
  margin-top: 44px;
  max-width: 760px;
}

.hero-copy.is-hidden {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f2;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(159, 63, 27, 0.24);
}

.invite-note {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pillar {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.72);
}

.pillar h2 {
  margin: 0 0 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .hero {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .hero-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .primary-cta {
    width: 100%;
  }
}
