:root {
  --bg: #f4ead7;
  --paper: rgba(255, 250, 241, 0.88);
  --paper-strong: rgba(255, 252, 246, 0.96);
  --ink: #17120b;
  --muted: #5c5247;
  --line: rgba(23, 18, 11, 0.12);
  --accent: #a3dd39;
  --accent-2: #ff8e45;
  --shadow: 0 28px 80px rgba(38, 26, 8, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(163, 221, 57, 0.18), transparent 20%),
    radial-gradient(circle at top right, rgba(255, 142, 69, 0.14), transparent 18%),
    linear-gradient(180deg, #f4ead7 0%, #efe1ca 100%);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
pre, code { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0 16px;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  padding: 22px 0 38px;
}

.hero-copy,
.panel,
.card,
.feature,
.install-grid pre {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy { padding: 36px; }

.eyebrow {
  margin: 0 0 14px;
  color: #4f6d11;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.lede,
.section-head p:last-child,
.card p,
.feature p {
  color: var(--muted);
  line-height: 1.82;
}

.lede { margin-top: 18px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #d7f58f);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.hero-proof,
.cards,
.install-grid {
  display: grid;
  gap: 18px;
}

.hero-proof {
  grid-template-columns: 1fr;
  align-content: start;
  align-self: start;
  height: fit-content;
  align-items: start;
  gap: 0;
}

.hero-panel {
  align-self: start;
  height: fit-content;
  margin: 0;
}

.panel {
  overflow: hidden;
  padding: 8px 8px 4px;
  background: var(--paper-strong);
}

.hero-panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.panel figcaption {
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section { padding: 30px 0; }
.section-head { max-width: 760px; }

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.card,
.feature { padding: 20px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 20px;
  align-items: start;
}

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

.hero-feature-board .feature {
  min-height: 132px;
  background: rgba(255, 252, 246, 0.98);
}

.feature span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(163, 221, 57, 0.18);
  color: #4f6d11;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
}

.install-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.install-grid pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(249, 242, 228, 0.98));
}

@media (max-width: 980px) {
  .hero,
  .cards,
  .feature-board,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page { width: min(100% - 24px, 1160px); }
  .hero-copy,
  .panel,
  .card,
  .feature,
  .install-grid pre {
    border-radius: 22px;
  }
  .hero-copy { padding: 28px; }
}
