:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #68716c;
  --paper: #f7f8f5;
  --card: rgba(255, 255, 255, .82);
  --line: rgba(24, 32, 29, .11);
  --accent: #146b52;
  --accent-soft: #dff2e9;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 15px; font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.nav { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.hero { position: relative; min-height: 590px; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: min(520px, 52%); padding: clamp(64px, 9vw, 112px) 0 64px clamp(28px, 6vw, 76px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(46px, 7vw, 82px); line-height: .98; letter-spacing: -.065em; }
.lead { margin: 26px 0 0; max-width: 500px; color: #4f5853; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 46px; padding: 0 20px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.secondary { background: rgba(255,255,255,.72); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(10px); }

.section { padding: 88px 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; margin-bottom: 38px; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.section-copy { margin: 0; color: var(--muted); line-height: 1.8; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.card-number { display: block; margin-bottom: 34px; color: var(--accent); font-size: 13px; font-weight: 760; }
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 32px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.subject-hero { padding: 106px 0 74px; }
.subject-hero h1 { max-width: 850px; }
.subject-hero .lead { max-width: 720px; }
.subject-grid { grid-template-columns: repeat(3, 1fr); }
.subject-card { display: flex; flex-direction: column; min-height: 230px; }
.subject-card .tag { align-self: flex-start; margin-top: auto; padding: 7px 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 12px; font-weight: 700; }

@media (max-width: 800px) {
  .shell { width: min(100% - 24px, 1160px); }
  .topbar { height: auto; padding: 20px 0; align-items: flex-start; }
  .nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; }
  .hero { min-height: 700px; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.72) 48%, rgba(255,255,255,.03) 74%); }
  .hero-image { object-position: 68% center; }
  .hero-content { width: 100%; padding: 52px 28px; z-index: 2; }
  .section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .grid, .subject-grid { grid-template-columns: 1fr; }
  .subject-hero { padding: 72px 0 40px; }
  .footer { flex-direction: column; }
}
