:root {
  --bg: #f7f9fc;
  --bg-soft: #eef3f8;
  --card: #ffffff;
  --ink: #16202a;
  --muted: #5d6b78;
  --line: #dfe7ef;
  --brand: #1d5f4a;
  --brand-dark: #133f33;
  --brand-2: #2b6ca3;
  --accent: #e4b24f;
  --shadow: 0 18px 45px rgba(16, 32, 47, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 999;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.site-header {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.03em;
  font-size: 1.18rem;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 12px 24px rgba(29,95,74,.22);
  font-size: 1rem;
  font-weight: 900;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: .94rem;
  padding: 9px 11px;
  border-radius: 999px;
}
.main-nav a:hover,
.main-nav a.active {
  text-decoration: none;
  background: var(--bg-soft);
  color: var(--brand-dark);
}
.main-nav .nav-cta {
  background: var(--brand);
  color: white;
  margin-left: 8px;
}
.main-nav .nav-cta:hover {
  background: var(--brand-dark);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(228,178,79,.32), transparent 28%),
    radial-gradient(circle at 80% 5%, rgba(43,108,163,.22), transparent 32%),
    linear-gradient(135deg, #f9fbfd 0%, #eef4f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
  padding: 78px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  background: rgba(29,95,74,.10);
  border: 1px solid rgba(29,95,74,.16);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  line-height: .99;
  letter-spacing: -.065em;
  margin: 18px 0 20px;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 720px;
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  text-decoration: none;
}
.button:hover { text-decoration: none; }
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: var(--brand); color: var(--brand-dark); }

.hero-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(223,231,239,.9);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-top {
  padding: 24px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}
.hero-card-top h2 { margin: 0 0 8px; font-size: 1.35rem; }
.hero-card-top p { margin: 0; color: rgba(255,255,255,.82); }
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.hero-mini {
  background: #fff;
  padding: 20px;
  min-height: 138px;
}
.hero-mini strong { display: block; margin-bottom: 6px; }
.hero-mini span { color: var(--muted); font-size: .94rem; }

.section { padding: 72px 0; }
.section.compact { padding: 46px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 0 0 14px;
}
h3 { line-height: 1.18; margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16,32,47,.05);
}
.card.featured {
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%);
  border-color: rgba(29,95,74,.22);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(29,95,74,.10);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}
.card ul,
.content ul {
  padding-left: 20px;
  margin: 14px 0 0;
}
.card li,
.content li { margin: 7px 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: start;
}
.panel {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.panel p { color: rgba(255,255,255,.78); }
.panel a { color: #fff; font-weight: 800; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
  color: var(--muted);
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
}
.panel .check-list li { color: rgba(255,255,255,.82); }
.panel .check-list li:before { color: var(--accent); }

.page-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(228,178,79,.26), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #eef4f7 100%);
  border-bottom: 1px solid var(--line);
  padding: 62px 0;
}
.breadcrumbs {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--muted); font-weight: 700; }
.content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(16,32,47,.05);
}
.content h2 { font-size: 2rem; margin-top: 24px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 20px; }
.content p, .content li { max-width: 850px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.stat strong { display: block; font-size: 1.5rem; color: var(--brand-dark); }
.stat span { color: var(--muted); font-size: .92rem; }

.notice {
  background: #fff8e8;
  border: 1px solid #f2d48d;
  color: #57400f;
  padding: 18px;
  border-radius: 18px;
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-card p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.contact-card a { color: white; }
.contact-card .button { background: white; color: var(--brand-dark); }

.site-footer {
  background: #101820;
  color: rgba(255,255,255,.78);
  padding: 46px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.82); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin: 8px 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 12px; }
  .main-nav .nav-cta { margin-left: 0; }
  .hero-inner,
  .split { grid-template-columns: 1fr; }
  .grid.three,
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }
  .hero-inner { padding: 52px 0; }
  .section { padding: 52px 0; }
  .grid.two,
  .grid.three,
  .grid.four,
  .stat-row { grid-template-columns: 1fr; }
  .hero-card-grid { grid-template-columns: 1fr; }
  .content { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
