:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f4;
  color: #16201c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(79, 178, 134, 0.14), transparent 30%),
    linear-gradient(315deg, rgba(44, 92, 160, 0.12), transparent 34%),
    #f5f7f4;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 24px;
  min-height: 430px;
  align-items: stretch;
}

.hero-copy,
.visual-panel,
.panel,
.offer-strip,
.ops-strip article,
.seo-card {
  border: 1px solid #d7dfd7;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 70px rgba(22, 32, 28, 0.08);
}

.hero-copy {
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2d6b55;
}

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

h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 11ch;
}

.hero-copy p:not(.eyebrow),
.lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #43524a;
  max-width: 68ch;
}

.button-row,
.offer-actions,
.intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

button,
.primary,
.secondary,
.intent-links a {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid #b8c6bd;
  padding: 11px 15px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  background: #fff;
  color: #16201c;
}

.primary {
  border-color: #224d3e;
  background: #224d3e;
  color: #fff;
}

.secondary {
  background: #f8fbf8;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.72;
}

.visual-panel {
  border-radius: 8px;
  min-height: 430px;
  padding: 20px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  overflow: hidden;
}

.listing-preview {
  border-radius: 8px;
  background: #18231f;
  color: #f4faf7;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.listing-preview span {
  color: #9ad8be;
  font-weight: 800;
}

.listing-preview strong {
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
}

.csv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.csv-grid span {
  min-height: 56px;
  border-radius: 6px;
  background: #e9f3ee;
  color: #1c3d31;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.78rem;
  padding: 8px;
}

.offer-strip {
  margin: 24px 0;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.offer-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 20px;
}

.panel {
  border-radius: 8px;
  padding: 20px;
}

.controls {
  display: grid;
  gap: 13px;
  align-content: start;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: #2a3933;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c5d1c8;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: #16201c;
  background: #fff;
}

textarea {
  resize: vertical;
}

.output {
  display: grid;
  gap: 14px;
}

.output-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.output article {
  border: 1px solid #dce4dc;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfb;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  line-height: 1.55;
  color: #33443d;
}

.fineprint {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #5c6a63;
  font-size: 0.9rem;
}

.fineprint a {
  margin-left: 10px;
}

.ops-strip,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ops-strip article,
.seo-card {
  border-radius: 8px;
  padding: 18px;
}

.offer-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: #def2e8;
  color: #1d6048;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.intent-strip {
  margin-top: 24px;
  padding: 24px 0;
}

.legal {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  line-height: 1.7;
}

.seo-page h1 {
  max-width: 15ch;
}

.seo-card ul {
  padding-left: 20px;
}

@media (max-width: 820px) {
  .hero,
  .grid,
  .ops-strip,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .visual-panel {
    min-height: 320px;
  }

  .offer-strip,
  .output-head {
    align-items: stretch;
    flex-direction: column;
  }
}
