:root {
  color-scheme: light;
  --bg: #f4efe6;
  --panel: rgba(255, 250, 242, 0.92);
  --text: #1f1a16;
  --muted: #5f554d;
  --line: rgba(31, 26, 22, 0.12);
  --accent: #bb5a2a;
  --accent-soft: #f3c58d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 197, 141, 0.85), transparent 34%),
    linear-gradient(145deg, #f7f0e5 0%, #ead8c4 52%, #d9b089 100%);
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.hero-panel,
.module-grid article {
  backdrop-filter: blur(16px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(73, 43, 18, 0.12);
}

.hero-panel {
  padding: clamp(2rem, 4vw, 4rem);
}

.eyebrow,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--muted);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  margin-top: 0.75rem;
}

.hero-copy {
  max-width: 46rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-actions a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
}

.primary-link {
  color: white;
  background: linear-gradient(135deg, #cb6b35, #96451d);
}

.secondary-link {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.module-grid article {
  padding: 1.5rem;
}

.module-grid p {
  color: var(--muted);
  line-height: 1.6;
}

h2 {
  font-size: 1.7rem;
  margin-top: 0.65rem;
}

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