/* Carbolt: green carbon identity.
   Fresh paper, deep green ink, leaf accent. Comparison-bar motif. */

:root {
  --paper: #f6faf1;
  --paper-deep: #eaf3df;
  --card: #ffffff;
  --ink: #152419;
  --ink-soft: #2e4234;
  --muted: #63755f;
  --line: #dce8cf;
  --green: #2e9e5b;
  --green-deep: #1d7a43;
  --green-tint: #e2f2e2;
  --hot: #d95f33;
  --radius: 18px;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green-tint); }

.wrap { width: min(1060px, 100% - 3rem); margin-inline: auto; }

a { color: var(--green-deep); }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.back { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.back:hover { color: var(--ink); }
.brandmark { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; letter-spacing: -0.01em; }
.brandmark .leaf {
  width: 26px; height: 26px; flex: none;
  background: var(--green);
  border-radius: 3px 50% 3px 50%;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px var(--green-tint);
}

/* ---------- hero ---------- */
.hero { padding: 3rem 0 3.8rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-tint);
  border: 1px solid #cbe5cb; border-radius: 999px;
  padding: 0.42rem 0.85rem; margin-bottom: 1.3rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 1.2rem; }
.hl { color: var(--green-deep); box-shadow: inset 0 -0.32em 0 var(--green-tint); }

.sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.cta-row.center { justify-content: center; }
.btn {
  display: inline-block;
  background: var(--green-deep); color: #fff;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--green); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-deep); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: #ffffff88; }
.btn-ghost.on-dark:hover { background: #ffffff22; border-color: #fff; }

.stats { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2.2rem; }
.stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green-deep); line-height: 1.15; }
.stats span { color: var(--muted); font-size: 0.92rem; }

/* ---------- comparison card ---------- */
.compare {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: 0 24px 48px -24px rgba(21, 36, 25, 0.22);
}
.compare-title { font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 1.3rem; }
.compare .row { margin-bottom: 1.3rem; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 0.45rem; }
.row-head .val { font-weight: 800; }
.val.hot { color: var(--hot); }
.val.cool { color: var(--green-deep); }
.bar { height: 14px; background: var(--paper-deep); border-radius: 999px; overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 999px; }
.fill.hot { background: linear-gradient(90deg, #e8835a, var(--hot)); }
.fill.cool { background: linear-gradient(90deg, var(--green), var(--green-deep)); min-width: 14px; }
.compare-foot { color: var(--ink-soft); }
.compare-foot strong { color: var(--green-deep); }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-align: center; margin-bottom: 0.8rem; }
.lede { text-align: center; color: var(--muted); max-width: 38rem; margin: 0 auto 2.8rem; }

.features { display: grid; gap: 1.25rem; max-width: 780px; margin: 0 auto; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.feature .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.feature h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); }
.feature ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.feature ul li { position: relative; padding-left: 1.6em; color: var(--ink-soft); }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1em; height: 1em; border-radius: 50%;
  background: var(--green-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a43' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.62em no-repeat;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.step .n { font-size: 1.9rem; font-weight: 800; color: var(--green); margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); }

/* ---------- final ---------- */
.final { background: var(--green-deep); color: #eafaf0; text-align: center; padding: 4.8rem 0; }
.final h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.final p { color: #c4ecd2; margin-bottom: 2rem; }
.final .btn { background: #fff; color: var(--green-deep); }
.final .btn:hover { background: var(--green-tint); }

footer { padding: 2rem 0 2.8rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--green-deep); }
