:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --text: #171717;
  --muted: #66665f;
  --border: #e7e5dc;
  --accent: #111111;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a:hover { opacity: 0.68; }

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { font-weight: 700; letter-spacing: -0.02em; }

nav { display: flex; gap: 26px; font-size: 0.93rem; color: var(--muted); }

.hero { padding: 130px 0 110px; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { margin-top: 0; }

h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 720px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.intro {
  max-width: 720px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions { display: flex; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}

.primary { background: var(--accent); color: white; }
.secondary { border: 1px solid var(--border); background: var(--surface); }

.section { padding: 92px 0; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }

.feature-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover { transform: translateY(-2px); opacity: 1; border-color: #c8c5ba; }
.feature-card h3 { margin: 8px 0 10px; font-size: 1.35rem; }
.feature-card p { margin: 0; max-width: 720px; color: var(--muted); }
.card-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.arrow { font-size: 1.7rem; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.topics-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.topics-grid span { font-size: 0.78rem; color: var(--muted); }
.topics-grid h3 { margin: 30px 0 8px; font-size: 1.05rem; }
.topics-grid p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.muted-section { background: #f2f1eb; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.text-block { color: var(--muted); font-size: 1.02rem; }
.text-block a { display: inline-block; margin-top: 12px; color: var(--text); font-weight: 600; }

.social-links { display: flex; gap: 18px; margin-top: 20px; }

footer { border-top: 1px solid var(--border); padding: 28px 0 42px; color: var(--muted); font-size: 0.86rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 820px) {
  nav { display: none; }
  .hero { padding: 92px 0 76px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .topics-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .feature-card { padding: 22px; }
  .footer-wrap { flex-direction: column; }
}
