:root {
  color-scheme: light;
  --bg: #f6f2e8;
  --bg-strong: #efe5d3;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #fffaf1;
  --text: #1d2430;
  --muted: #5f6672;
  --line: rgba(29, 36, 48, 0.12);
  --accent: #b45309;
  --accent-soft: rgba(180, 83, 9, 0.12);
  --shadow: 0 24px 80px rgba(29, 36, 48, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(180, 83, 9, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 148, 136, 0.1), transparent 30%),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg) 100%);
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
  transform: translateY(-1px);
}

.hero,
.page-hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(255, 247, 234, 0.92));
  box-shadow: var(--shadow);
}

.hero {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 14px 28px rgba(29, 36, 48, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

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

.feature-card,
.content-card,
.info-block,
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}

.statement-copy,
.stat-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
}

.stat-panel {
  display: grid;
  gap: 18px;
}

.stat-item {
  padding: 20px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(29, 36, 48, 0.08);
}

.stat-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.3rem;
  line-height: 1;
}

.page-hero p {
  max-width: 58ch;
  margin-top: 18px;
}

.page-stack {
  display: grid;
  gap: 24px;
}

.footer {
  margin-top: 26px;
  padding: 24px 10px 10px;
  text-align: center;
}

code {
  padding: 0.15em 0.38em;
  border-radius: 6px;
  background: rgba(29, 36, 48, 0.08);
  color: var(--text);
}

@media (max-width: 900px) {
  .grid-section,
  .card-grid,
  .statement {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding: 32px 24px;
  }

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

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

  h1 {
    max-width: 100%;
  }

  .nav {
    width: 100%;
  }
}
