/* ── Design tokens ── */
:root {
  --green:       #1D9E75;
  --green-dark:  #0F6E56;
  --green-bg:    #E1F5EE;
  --green-text:  #085041;
  --slate:       #1A2B2A;
  --slate-mid:   #2D4A47;
  --body:        #374845;
  --muted:       #627572;
  --hint:        #96A9A7;
  --border:      #D8E5E3;
  --surface:     #F4FAF8;
  --white:       #FFFFFF;
  --amber:       #BA7517;
  --amber-bg:    #FEF3DC;
  --amber-text:  #6B3F06;
  --blue:        #185FA5;
  --blue-bg:     #EAF2FB;
  --blue-text:   #0C3A6E;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow:      0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1,h2,h3,h4 { color: var(--slate); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(22px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 17px; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section.tight { padding: 40px 0; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px; color: var(--slate); text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px; background: var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: white;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--body);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: background 0.15s; text-decoration: none;
}
.nav-links a:hover { background: var(--surface); }
.nav-cta {
  background: var(--green); color: white !important;
  padding: 8px 18px !important; border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--slate); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-mid) 100%);
  color: white; padding: 80px 20px 72px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(29,158,117,0.25) 0%, transparent 70%);
}
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: rgba(29,158,117,0.15);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { color: white; margin-bottom: 18px; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.15s; text-decoration: none !important;
  font-family: inherit;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: white; color: var(--green-dark); }
.btn-white:hover { background: var(--surface); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Cards ── */
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
}
.card-sm { padding: 20px; border-radius: var(--radius-md); }

/* ── Grid utilities ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--green-dark);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ── Feature icons ── */
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px; flex-shrink: 0;
}

/* ── Stats bar ── */
.stats-bar { background: var(--green); color: white; padding: 28px 20px; }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; }
.stat-val { font-size: 32px; font-weight: 800; display: block; }
.stat-lbl { font-size: 13px; opacity: 0.75; }

/* ── How it works steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step-item { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; position: relative; padding-bottom: 32px; }
.step-item:last-child { padding-bottom: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0; position: relative; z-index: 1;
}
.step-line {
  position: absolute; left: 22px; top: 44px; bottom: 0;
  width: 1px; background: var(--border);
}
.step-content { padding-top: 10px; }
.step-content h4 { margin-bottom: 6px; font-size: 17px; }
.step-content p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.6; }

/* ── Info bands ── */
.band { border-radius: var(--radius-md); padding: 16px 18px; margin: 16px 0; display: flex; gap: 12px; align-items: flex-start; }
.band-green { background: var(--green-bg); }
.band-amber { background: var(--amber-bg); }
.band-blue  { background: var(--blue-bg); }
.band-icon  { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.band p     { font-size: 14px; line-height: 1.6; margin: 0; }
.band-green p { color: var(--green-text); }
.band-amber p { color: var(--amber-text); }
.band-blue  p { color: var(--blue-text); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--slate);
  font-family: inherit; text-align: left;
}
.faq-q:hover { color: var(--green-dark); }
.faq-toggle { font-size: 20px; color: var(--green); flex-shrink: 0; transition: transform 0.2s; }
.faq-a { font-size: 15px; color: var(--muted); padding-bottom: 18px; line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ── Footer ── */
.footer { background: var(--slate); color: rgba(255,255,255,0.65); padding: 56px 20px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1080px; margin: 0 auto 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 10px; max-width: 260px; }
.footer h5 { color: white; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.55); font-size: 14px; text-decoration: none; transition: color 0.15s; }
.footer ul li a:hover { color: var(--green); }
.footer-bottom { max-width: 1080px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--green); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 13px; color: var(--hint); margin-bottom: 24px; }
.breadcrumb a { color: var(--hint); }
.breadcrumb span { margin: 0 6px; }

/* ── Page hero (inner pages) ── */
.page-hero { background: var(--surface); padding: 48px 20px 40px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); display: block; margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--surface); padding: 12px 14px; text-align: left; font-weight: 600; color: var(--slate); border-bottom: 2px solid var(--border); font-size: 13px; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--body); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface); }

/* ── Pill / badge ── */
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.pill-green { background: var(--green-bg); color: var(--green-text); }
.pill-amber { background: var(--amber-bg); color: var(--amber-text); }
.pill-blue  { background: var(--blue-bg);  color: var(--blue-text); }
.pill-gray  { background: #F0F0EE; color: #555; }

/* ── Calculator embed container ── */
.calc-section { background: var(--surface); padding: 64px 20px; }
.calc-card {
  max-width: 640px; margin: 0 auto;
  background: white; border-radius: var(--radius-xl);
  border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.08);
  overflow: hidden;
}
.calc-header { background: var(--slate); padding: 20px 28px; display: flex; align-items: center; gap: 10px; }
.calc-header span { color: white; font-weight: 600; font-size: 15px; }
.calc-body { padding: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  section { padding: 48px 0; }
  .hero { padding: 56px 20px 52px; }
  .stats-bar .container { gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
