:root {
  --ink: #10211f;
  --muted: #61706c;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #dbe2da;
  --forest: #174239;
  --leaf: #5f8f4e;
  --amber: #d99a2b;
  --clay: #9c5e3f;
  --sky: #e7f1f4;
  --shadow: 0 22px 60px rgba(28, 44, 39, 0.16);
  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;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  min-height: 88px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid rgba(219, 226, 218, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #354440;
  font-size: 0.94rem;
}

.nav a:hover,
.footer a:hover {
  color: var(--forest);
}

.header-cta,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--forest);
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  color: var(--forest);
  background: #ffffff;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(23, 66, 57, 0.16);
}

.primary {
  color: #ffffff;
  background: var(--forest);
}

.secondary {
  background: rgba(255, 255, 255, 0.82);
}

.compact {
  min-height: 40px;
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #10211f;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 33, 31, 0.92) 0%, rgba(16, 33, 31, 0.68) 42%, rgba(16, 33, 31, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 33, 31, 0.42), rgba(16, 33, 31, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 84px);
  padding: 78px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats dt {
  font-size: 1.28rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.quote-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px clamp(18px, 5vw, 70px);
  color: #ffffff;
  background: var(--clay);
}

.quote-strip strong,
.quote-strip span {
  display: block;
}

.quote-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 70px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.section h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section p {
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 215px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(28, 44, 39, 0.06);
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--leaf);
  font-weight: 850;
}

.icon-line svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 20px 0 8px;
}

.feature p {
  margin: 0;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--sky);
}

.seller-panel {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #344743;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--leaf);
  border-bottom: 3px solid var(--leaf);
  transform: rotate(-45deg);
}

.route-card {
  min-height: 420px;
  border: 1px solid rgba(23, 66, 57, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.route-card canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.products {
  background: #ffffff;
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Why Greenkoal section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(28, 44, 39, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: 0 14px 34px rgba(28, 44, 39, 0.12);
}

.why-card .icon {
  background: var(--forest);
}

.why-card h3 {
  margin: 20px 0 8px;
}

.why-card p {
  margin: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.stat {
  text-align: left;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 850;
  color: var(--forest);
  letter-spacing: 0;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* How Greenkoal works - process steps */
.process {
  background: var(--sky);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid rgba(23, 66, 57, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(28, 44, 39, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step.is-active {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: 0 14px 34px rgba(28, 44, 39, 0.14);
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--amber);
  font-weight: 850;
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  font-size: 0.96rem;
}


.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.product-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.25fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span {
  padding: 18px;
  border-left: 1px solid var(--line);
}

.table-row span:first-child {
  border-left: 0;
  font-weight: 780;
}

.table-head {
  color: #ffffff;
  background: var(--forest);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  background: #eef3ec;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-points {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.94rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(23, 66, 57, 0.15);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 8px;
  color: #33433f;
  font-size: 0.9rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(95, 143, 78, 0.22);
  border-color: var(--leaf);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 740;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 830;
}

details p {
  max-width: 760px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer-brand {
  max-width: 460px;
}

.footer-brand img {
  display: block;
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 760;
  color: #ffffff;
}

.footer p {
  max-width: 640px;
  margin: 8px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.94rem;
}

.footer a:hover {
  color: #ffffff;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .two-column,
  .split-band,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .stat-strip,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand-mark {
    height: 42px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 33, 31, 0.92) 0%, rgba(16, 33, 31, 0.72) 52%, rgba(16, 33, 31, 0.4) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 48px 0;
  }

  .quote-strip,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .lead-form,
  .table-row,
  .why-grid,
  .stat-strip,
  .steps {
    grid-template-columns: 1fr;
  }

  .table-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .table-row span:first-child {
    border-top: 0;
  }
}
