:root {
  --canvas: #f4f1ec;
  --paper: #fffefa;
  --paper-soft: #f8f4ee;
  --ink: #1a201d;
  --muted: #66716b;
  --forest: #23533c;
  --forest-deep: #123526;
  --forest-soft: #e6efe9;
  --accent: #d77f61;
  --accent-deep: #bd6448;
  --accent-soft: #f7e6df;
  --line: rgba(26, 32, 29, 0.12);
  --shadow: 0 22px 54px rgba(24, 44, 34, 0.11);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--container), calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest-deep);
}

.brand img {
  width: 106px;
  height: auto;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--forest-deep);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
  background: var(--forest);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.86fr);
  gap: 52px;
  align-items: end;
  overflow: hidden;
  padding: 68px 62px 58px;
  border-radius: var(--radius-xl);
  color: var(--paper);
  background:
    linear-gradient(105deg, rgba(7, 25, 18, 0.9), rgba(7, 25, 18, 0.56) 58%, rgba(7, 25, 18, 0.72)),
    url("/assets/images/source-forest-road.png") center / cover;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 28, 21, 0.08), rgba(10, 28, 21, 0.48));
}

.hero-copy,
.hero-aside {
  position: relative;
  z-index: 1;
}

.hero h1,
.section h2,
.section-accent h2,
.showcase h2,
.faq h2,
.cta h2 {
  margin: 18px 0 0;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero .eyebrow {
  color: rgba(255, 254, 250, 0.9);
}

.hero p.lead,
.section p,
.section-accent p,
.showcase p,
.faq-item p,
.cta p,
.card p,
.feature p {
  max-width: 66ch;
  line-height: 1.72;
}

.hero p.lead {
  max-width: 58ch;
  margin: 24px 0 0;
  color: rgba(255, 254, 250, 0.88);
  font-size: 1.05rem;
}

.section p,
.showcase p,
.cta p,
.feature p {
  color: var(--muted);
}

.section p + p,
.section-accent p + p,
.showcase p + p,
.cta p + p,
.card p + p {
  margin-top: 18px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.metric {
  min-height: 138px;
  padding: 17px;
  border: 1px solid rgba(255, 254, 250, 0.18);
  border-radius: var(--radius-md);
  background: rgba(7, 25, 18, 0.4);
  backdrop-filter: blur(10px);
}

.metric strong,
.feature strong {
  display: block;
}

.metric strong {
  color: var(--paper);
  font-size: 1.08rem;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 254, 250, 0.76);
  font-size: 0.78rem;
  line-height: 1.48;
}

.hero-aside,
.timeline,
.faq-list {
  display: grid;
  gap: 18px;
}

.card,
.section-accent {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.card {
  border: 1px solid rgba(255, 254, 250, 0.16);
  color: var(--paper);
  background: rgba(9, 33, 24, 0.73);
  backdrop-filter: blur(13px);
}

.card h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card ul,
.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.list li {
  position: relative;
  padding-left: 19px;
  line-height: 1.55;
}

.card li + li,
.list li + li {
  margin-top: 9px;
}

.card li::before,
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.redirect-card {
  color: var(--ink);
  border-color: rgba(255, 254, 250, 0.48);
  background: rgba(255, 252, 247, 0.95);
}

.redirect-status {
  min-height: 3em;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.button,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button {
  color: #fffefa;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(189, 100, 72, 0.2);
}

.button-secondary {
  color: var(--forest-deep);
  border: 1px solid rgba(18, 53, 38, 0.19);
  background: rgba(255, 254, 250, 0.28);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--paper);
  border-color: var(--forest);
  background: var(--forest);
  transform: translateY(-2px);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 52px;
  align-items: center;
  margin-top: 90px;
  padding: 54px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper);
}

.showcase h2 {
  max-width: 14ch;
  color: var(--forest-deep);
  font-size: clamp(2rem, 3.2vw, 3.45rem);
}

.showcase-art {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 74% 20%, rgba(215, 127, 97, 0.26), transparent 30%),
    linear-gradient(145deg, #e4eee8, #f4eee8);
}

.showcase-product {
  position: absolute;
  z-index: 2;
  right: -12%;
  bottom: 0;
  width: 92%;
  max-height: 94%;
  object-fit: contain;
}

.showcase-dashboard {
  position: absolute;
  z-index: 3;
  left: -7%;
  bottom: 4%;
  width: 58%;
  filter: drop-shadow(0 20px 23px rgba(24, 44, 34, 0.16));
}

.illustration-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.illustration-item {
  min-height: 132px;
  padding: 15px;
  border-radius: var(--radius-md);
  background: var(--forest-soft);
}

.illustration-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.illustration-item strong {
  display: block;
  margin-top: 13px;
  color: var(--forest-deep);
  font-size: 0.79rem;
  line-height: 1.35;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 34px;
  margin-top: 90px;
}

.section,
.faq,
.cta {
  border-radius: var(--radius-xl);
  background: var(--paper);
}

.section {
  grid-column: span 7;
  padding: 46px;
}

.section h2,
.section-accent h2,
.faq h2,
.cta h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature,
.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.78);
}

.feature strong {
  color: var(--forest-deep);
}

.section-accent {
  grid-column: span 5;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(18, 53, 38, 0.94), rgba(27, 75, 54, 0.86)),
    url("/assets/images/source-sawmill-yard.png") center / cover;
}

.section-accent .eyebrow {
  color: rgba(255, 254, 250, 0.86);
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--forest-deep);
  background: var(--accent-soft);
  font-weight: 800;
}

.faq {
  margin-top: 90px;
  padding: 46px;
}

.faq-list {
  margin-top: 28px;
}

.faq-item summary {
  cursor: pointer;
  color: var(--forest-deep);
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.cta {
  margin-top: 90px;
  padding: 48px;
  background:
    linear-gradient(140deg, rgba(247, 230, 223, 0.98), rgba(255, 254, 250, 0.96)),
    linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(244, 241, 236, 0.94));
}

.cta h2 {
  max-width: 22ch;
  color: var(--forest-deep);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer a {
  color: var(--forest-deep);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-art {
    min-height: 380px;
  }
}

@media (max-width: 880px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-accent {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(var(--container), calc(100% - 30px));
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .header {
    padding-bottom: 15px;
  }

  .brand img {
    width: 92px;
  }

  .brand-copy span {
    max-width: 220px;
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .hero {
    gap: 30px;
    padding: 34px 23px 23px;
    border-radius: 20px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .hero p.lead {
    font-size: 0.94rem;
  }

  .hero-metrics,
  .cards,
  .illustration-row {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .card,
  .section-accent {
    padding: 22px;
  }

  .showcase,
  .section,
  .faq,
  .cta {
    padding: 26px;
    border-radius: 20px;
  }

  .showcase,
  .section-grid,
  .faq,
  .cta {
    margin-top: 54px;
  }

  .showcase {
    gap: 24px;
  }

  .showcase-art {
    min-height: 260px;
  }

  .showcase-product {
    right: -24%;
    width: 112%;
  }

  .showcase-dashboard {
    left: -10%;
    width: 69%;
  }
}
