:root {
  --brand: #ff8a5b;
  --brand-dark: #e8663a;
  --bg: #fffaf5;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412;
    --text: #f3efe9;
    --muted: #b8b0a6;
    --card-bg: #221d1a;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.topbar {
  display: flex;
  align-items: center;
  padding: 16px 24px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  width: 100%;
  height: min(60vh, 480px);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  color: #fff;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-overlay p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  text-align: center;
}

.intro h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.intro > p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 40px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.pillar {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
}

.pillar-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pillar-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.pillar-link:hover {
  text-decoration: underline;
}
