:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5b675f;
  --panel: #ffffff;
  --paper: #f6f4ef;
  --line: #d9ddd5;
  --green: #256c4f;
  --green-dark: #164735;
  --amber: #d89a33;
  --coral: #c85f4b;
  --blue: #355f7c;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 244, 239, 0.92);
  border-bottom: 1px solid rgba(23, 33, 28, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.96rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(28px, 6vw, 68px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lede {
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: transparent;
}

.product-visual {
  min-width: 0;
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.summary-band div {
  min-height: 132px;
  padding: 26px;
  background: var(--panel);
}

.summary-band strong,
.summary-band span {
  display: block;
}

.summary-band strong {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.summary-band span {
  color: var(--muted);
}

.section,
.split-section {
  scroll-margin-top: 96px;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card p,
.split-section p,
.deploy-copy {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  background: #e7ece5;
}

.stack-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 33, 28, 0.16);
}

.stack-list span {
  color: var(--muted);
}

.stack-list strong {
  text-align: right;
}

.deploy {
  background: var(--panel);
}

.code-panel {
  display: block;
  max-width: 760px;
  margin-bottom: 20px;
  padding: 22px 24px;
  overflow-x: auto;
  color: #f8fbf6;
  background: #17211c;
  border-radius: 8px;
}

.code-panel code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  white-space: nowrap;
}

.deploy-copy {
  max-width: 760px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.deploy-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f7f3;
}

.deploy-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deploy-card p,
.release-panel li {
  color: var(--muted);
}

.deploy-card code,
.release-panel code {
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.release-section {
  background: #eef0ea;
}

.release-panel {
  padding: 28px;
  border: 1px solid rgba(23, 33, 28, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.release-panel ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav {
    width: 100%;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 8px;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .section,
  .split-section {
    scroll-margin-top: 150px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 4rem;
  }

  .summary-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .summary-band div,
  .feature-card {
    min-height: auto;
  }

  .stack-list li {
    display: grid;
  }

  .stack-list strong {
    text-align: left;
  }
}
