:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #64746d;
  --soft: #eef4f0;
  --line: #dce6df;
  --bg: #f8fbf8;
  --panel: #ffffff;
  --green: #176c46;
  --green-dark: #0d4f32;
  --mint: #d9f2e6;
  --gold: #d39a29;
  --coral: #bd5b49;
  --blue: #2d628f;
  --shadow: 0 28px 90px rgba(22, 37, 31, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(217, 242, 230, 0.45), transparent 500px),
    var(--bg);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(248, 251, 248, 0.9);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #2f8d64);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(23, 108, 70, 0.22);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--green-dark);
}

.nav-cta {
  padding: 10px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 69px);
  padding: clamp(46px, 7vw, 98px) clamp(18px, 5vw, 72px) 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

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

.hero-text,
.section-heading p,
.workflow-grid p,
.lead-section p,
.price-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 720px;
  font-size: 18px;
}

.hero-actions,
.metrics,
.tabs,
.review-meta,
.reply-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(23, 108, 70, 0.22);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: #e7eee9;
}

.button.full {
  width: 100%;
}

.metrics {
  margin: 38px 0 0;
}

.metrics div {
  min-width: 124px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics dt {
  font-size: 32px;
  font-weight: 950;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.dashboard-mock {
  width: min(100%, 450px);
  padding: 18px;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 246, 0.98));
  box-shadow: var(--shadow);
}

.mock-top,
.review-card,
.reply-card,
.mini-grid div {
  border-radius: 8px;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.mock-top strong {
  margin-left: auto;
  color: var(--green-dark);
  font-size: 18px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #29b56c;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(41, 181, 108, 0.14);
}

.review-card,
.reply-card {
  margin-top: 14px;
  padding: 18px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
}

.review-card small {
  color: var(--muted);
}

.reply-card {
  color: #fff;
  background:
    linear-gradient(135deg, var(--green), #25805a);
}

.reply-label {
  justify-content: space-between;
}

.reply-label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reply-label button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--green-dark);
  background: var(--mint);
  font-weight: 900;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.mini-grid div {
  padding: 14px;
  background: #edf4ef;
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) 26px;
}

.proof-strip span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.generator-section,
.pricing-section {
  background: #fff;
}

.generator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.tool-panel,
.output-panel,
.price-card,
.lead-form,
.workflow-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfb;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 108, 70, 0.14);
  border-color: rgba(23, 108, 70, 0.45);
}

textarea {
  resize: vertical;
}

.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tabs {
  margin-bottom: 14px;
}

.tab {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
}

.tab.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.output {
  display: none;
  min-height: 260px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 8px;
  background: #f2f7f4;
  color: #26312d;
  line-height: 1.78;
  white-space: pre-wrap;
}

.output.active {
  display: block;
}

.workflow-section {
  background: #f2f7f4;
}

.workflow-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-grid article span,
.plan-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-card.featured {
  border-color: rgba(23, 108, 70, 0.52);
  box-shadow: 0 18px 52px rgba(23, 108, 70, 0.13);
}

.price {
  margin-bottom: 8px;
  font-size: 46px;
  font-weight: 950;
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 26px;
  align-items: start;
  background:
    linear-gradient(120deg, rgba(23, 108, 70, 0.12), transparent 55%),
    #edf4ef;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form input {
  margin: 0;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.article-hero {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px) 36px;
}

.article-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.article-section {
  display: grid;
  gap: 18px;
  background: #fff;
}

.template-block {
  max-width: 920px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sample-review {
  color: var(--muted);
  line-height: 1.7;
}

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

.footer a:hover {
  color: var(--green-dark);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .generator-grid,
  .workflow-grid,
  .pricing-grid,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: start;
  }

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

@media (max-width: 560px) {
  .topbar {
    gap: 12px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .inline-fields,
  .metrics,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: grid;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
