:root {
  --green-900: #003f24;
  --green-800: #00652f;
  --green-600: #168a3a;
  --green-400: #78be20;
  --lime: #c8f230;
  --yellow: #ffd166;
  --blue: #177ddc;
  --ink: #13231c;
  --muted: #607067;
  --line: #dce8dd;
  --paper: #f7fbf2;
  --surface: #ffffff;
  --soft: #edf8e8;
  --shadow: 0 24px 70px rgba(0, 63, 36, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 251, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-800), var(--green-400));
  color: white;
  font-size: 13px;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.main-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #40564a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.main-nav a:hover { background: var(--soft); color: var(--green-900); }
.menu-button { display: none; border: 0; background: var(--green-800); color: #fff; border-radius: 8px; min-width: 42px; min-height: 42px; font-size: 20px; }

.hero {
  position: relative;
  padding: clamp(34px, 6vw, 90px) clamp(18px, 4vw, 58px);
  background:
    linear-gradient(90deg, rgba(247, 251, 242, 0.94) 0%, rgba(247, 251, 242, 0.86) 37%, rgba(232, 246, 255, 0.62) 63%, rgba(232, 246, 255, 0.42) 100%),
    linear-gradient(180deg, rgba(247, 251, 242, 0.12), rgba(247, 251, 242, 0.52)),
    url("./assets/hero-wind-blue.jpg");
  background-position: center;
  background-size: cover;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: clamp(24px, 5vw, 74px); align-items: center; }
.hero-copy { max-width: 780px; }
.eyebrow, .section-kicker { margin: 0 0 10px; color: var(--green-600); font-size: 13px; font-weight: 950; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.05; }
h1 { font-size: clamp(42px, 6vw, 82px); color: var(--green-900); }
h2 { font-size: clamp(28px, 3.6vw, 48px); color: var(--green-900); }
h3 { font-size: 22px; color: var(--green-900); }
.lead { max-width: 680px; margin: 22px 0 0; color: #4a5d52; font-size: 20px; line-height: 1.6; }
.hero-actions, .signal-row, .source-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 900;
  text-decoration: none;
}
.primary { background: var(--green-800); color: white; box-shadow: 0 14px 34px rgba(0, 101, 47, 0.24); }
.secondary { border: 1px solid var(--green-400); background: #fff; color: var(--green-900); }
.signal-row span, .chip, .source-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 12px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.bill-checker, .tool-panel, .article-card, .content-card, .calc-card, .company-summary, .company-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}
.bill-checker { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); }
label { display: grid; gap: 7px; color: #42564b; font-size: 14px; font-weight: 850; }
input, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cddccc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
}
input:focus, select:focus { outline: 3px solid rgba(120, 190, 32, 0.28); border-color: var(--green-600); }
.input-unit { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid #cddccc; border-radius: 8px; background: #fff; }
.input-unit input { border: 0; border-radius: 0; }
.input-unit span { padding: 0 12px; color: var(--muted); font-weight: 900; }
.score-card { padding: 16px; border-radius: 8px; background: linear-gradient(135deg, var(--green-900), var(--green-800)); color: #fff; }
.score-card span { color: var(--lime); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.score-card strong { display: block; margin-top: 4px; font-size: 34px; }
.score-card p { margin: 8px 0 0; color: #e8f6df; line-height: 1.45; }

.section-head { max-width: 850px; margin-bottom: 24px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.ranking-strip, .tools-grid, .editorial, .strategy-band, .sources-block, .page, .calc-layout, .company-grid { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.ranking-strip { padding: 56px 0 24px; }
.ranking-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.rank-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  color: #30483a;
  text-decoration: none;
}
.rank-row:first-child { border-top: 0; }
.rank-row:hover { background: #f2faed; }
.rank-head { background: var(--green-900); color: white; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.tiny { color: var(--muted); font-size: 13px; line-height: 1.5; }

.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 30px 0; }
.tool-panel { padding: 22px; box-shadow: none; }
.tool-panel p, .article-card p, .content-card p, .company-card p { color: var(--muted); line-height: 1.55; }
.tool-panel a, .article-card { color: var(--green-800); font-weight: 900; }
.tool-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 16px; border-radius: 8px; background: var(--lime); color: var(--green-900); font-size: 22px; font-weight: 950; }

.editorial { padding: 36px 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-card { display: block; min-height: 220px; padding: 22px; text-decoration: none; box-shadow: none; }
.article-card span { color: var(--green-600); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.article-card h3 { margin-top: 12px; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.strategy-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
  padding: 34px;
  border-radius: 8px;
  background: var(--green-900);
  color: #fff;
}
.strategy-band h2 { color: #fff; }
.strategy-band .section-kicker { color: var(--lime); }
.steps { display: grid; gap: 14px; margin: 0; padding-left: 22px; color: #e8f6df; line-height: 1.55; }

.sources-block { padding: 34px 0 58px; }
.sources-block p { color: var(--muted); line-height: 1.6; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer a { color: var(--green-800); font-weight: 850; text-decoration: none; }
.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(430px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; color: var(--green-900); font-size: 18px; }
.cookie-banner p { margin: 8px 0 14px; color: var(--muted); line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button, .cookie-actions a {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}
.cookie-actions button { border: 0; background: var(--green-800); color: white; cursor: pointer; }
.cookie-actions a { border: 1px solid var(--line); color: var(--green-900); }

.page { padding: 44px 0 64px; }
.page-hero { max-width: 930px; margin-bottom: 28px; }
.page-hero p { color: var(--muted); font-size: 19px; line-height: 1.65; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.content-card { padding: 24px; box-shadow: none; }
.check-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; line-height: 1.5; color: #3c5146; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 950; }

.calc-layout { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 44px 0 64px; }
.calc-card { padding: 24px; box-shadow: none; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.result-box { padding: 16px; border-radius: 8px; background: var(--soft); }
.result-box span { color: var(--muted); font-size: 13px; font-weight: 900; }
.result-box strong { display: block; margin-top: 6px; color: var(--green-900); font-size: 26px; }
.note { color: var(--muted); font-size: 14px; line-height: 1.5; }

.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 12px 0 54px; }
.company-card { padding: 22px; text-decoration: none; box-shadow: none; }
.company-card b { color: var(--green-900); font-size: 21px; }
.company-card em { display: block; margin: 10px 0; color: var(--green-600); font-style: normal; font-weight: 900; }
.company-summary { padding: 24px; margin-bottom: 22px; box-shadow: none; }
.meta-table { display: grid; gap: 10px; margin-top: 18px; }
.meta-table div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px; border-radius: 8px; background: var(--soft); }
.meta-table span { color: var(--muted); font-weight: 850; }

@media (max-width: 980px) {
  .hero-grid, .strategy-band, .content-grid, .tools-grid, .article-grid, .company-grid { grid-template-columns: 1fr 1fr; }
  .bill-checker { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .menu-button { display: grid; place-items: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; }
  .main-nav.open { display: flex; }
  h1 { font-size: 42px; }
  .hero-grid, .strategy-band, .content-grid, .tools-grid, .article-grid, .company-grid, .calc-grid, .results { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 1fr; gap: 6px; }
  .rank-head { display: none; }
  .site-footer { flex-direction: column; }
  .meta-table div { grid-template-columns: 1fr; }
}
