:root {
  color-scheme: light;
  --bg: #fbfaf5;
  --paper: #ffffff;
  --paper-2: #f4f1e8;
  --ink: #171713;
  --muted: #6f6c61;
  --line: #e2ded2;
  --green: #2e6a43;
  --green-dark: #173f2a;
  --soft-green: #e5f3dd;
  --yellow: #f4d36b;
  --red: #e18472;
  --shadow: 0 22px 70px rgba(52, 48, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

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

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

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

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

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

.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  flex-direction: column;
  gap: 44px;
  min-height: calc(100vh - 78px);
  justify-content: center;
  padding: 42px 0 64px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.section {
  padding: 72px 0;
}

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

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

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

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow),
.section > p,
.section h2 + p,
.lead-copy p {
  color: var(--muted);
  font-size: 18px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.product-shot {
  width: min(960px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(229, 243, 221, 0.9), rgba(255, 255, 255, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.shot-window {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
}

.shot-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  background: var(--paper-2);
}

.shot-sidebar span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ddd6c4;
}

.shot-sidebar span:first-child {
  background: var(--green);
}

.shot-main {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 34px;
}

.script-card,
.board-row article,
.flow-card,
.image-card,
.workflow-strip article,
.pricing-grid article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.script-card {
  width: min(520px, 100%);
  padding: 18px;
}

.script-card span,
.flow-card span,
.workflow-strip span,
.tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.script-card strong {
  display: block;
  font-size: 22px;
}

.board-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.board-row article {
  min-height: 138px;
  padding: 18px;
  background: var(--soft-green);
}

.board-row span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.board-row strong {
  display: block;
  margin-top: 50px;
  font-size: 20px;
}

.timeline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr;
  gap: 8px;
}

.timeline span {
  height: 16px;
  border-radius: 999px;
  background: var(--green);
}

.timeline span:nth-child(2) {
  background: var(--yellow);
}

.timeline span:nth-child(3) {
  background: var(--red);
}

.timeline span:nth-child(4) {
  background: #b7cfaa;
}

.pain-section,
.workflow-section,
.pricing-section {
  display: grid;
  justify-items: center;
  text-align: center;
}

.card-grid {
  display: grid;
  width: 100%;
  gap: 18px;
}

.three,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card {
  padding: 22px;
  text-align: left;
}

.image-card p,
.workflow-strip p,
.pricing-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-illustration {
  position: relative;
  height: 150px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-2);
}

.stack-illustration span,
.route-illustration span,
.report-illustration span {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.stack-illustration span:nth-child(1) {
  width: 64%;
  height: 38px;
  left: 18%;
  top: 26px;
}

.stack-illustration span:nth-child(2) {
  width: 72%;
  height: 38px;
  left: 14%;
  top: 58px;
  background: var(--soft-green);
}

.stack-illustration span:nth-child(3) {
  width: 58%;
  height: 38px;
  left: 21%;
  top: 90px;
}

.route-illustration span:nth-child(1),
.route-illustration span:nth-child(2),
.route-illustration span:nth-child(3) {
  width: 52px;
  height: 52px;
  top: 48px;
}

.route-illustration span:nth-child(1) {
  left: 24px;
  background: var(--soft-green);
}

.route-illustration span:nth-child(2) {
  left: calc(50% - 26px);
  background: var(--yellow);
}

.route-illustration span:nth-child(3) {
  right: 24px;
  background: var(--paper);
}

.report-illustration span:nth-child(1) {
  width: 64%;
  height: 92px;
  left: 18%;
  top: 28px;
}

.report-illustration span:nth-child(2) {
  width: 42%;
  height: 12px;
  left: 29%;
  top: 56px;
  background: var(--green);
}

.report-illustration span:nth-child(3) {
  width: 28%;
  height: 12px;
  left: 36%;
  top: 82px;
  background: var(--yellow);
}

.workflow-strip {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.workflow-strip article {
  padding: 22px;
  text-align: left;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: center;
}

.feature-copy p {
  color: var(--muted);
}

.feature-shot {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-2);
}

.flow-board {
  display: grid;
  gap: 12px;
}

.flow-card {
  padding: 18px;
}

.flow-card.active {
  background: var(--soft-green);
}

.flow-card strong {
  display: block;
  font-size: 22px;
}

.pricing-grid {
  margin-top: 14px;
}

.pricing-grid article {
  padding: 24px;
  text-align: left;
}

.pricing-grid .featured {
  background: var(--soft-green);
}

.price {
  color: var(--ink) !important;
  font-size: 32px !important;
  font-weight: 850;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(390px, 1fr);
  gap: 40px;
  align-items: start;
}

.lead-copy p {
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  box-shadow: 0 14px 44px rgba(52, 48, 36, 0.08);
}

.package-field {
  display: grid;
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
}

.package-field legend {
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 800;
}

.package-option {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
  cursor: pointer;
}

.package-option:has(input:checked) {
  border-color: rgba(46, 106, 67, 0.4);
  background: var(--soft-green);
}

.package-option input {
  width: auto;
  accent-color: var(--green);
}

.package-option span {
  display: grid;
  gap: 2px;
}

.package-option small {
  color: var(--muted);
  font-weight: 500;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 760;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: 3px solid rgba(46, 106, 67, 0.16);
  border-color: var(--green);
}

.full {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #9b3a2b;
}

.receipt-card {
  border: 1px solid rgba(46, 106, 67, 0.26);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft-green);
}

.receipt-card[hidden] {
  display: none;
}

.receipt-card h3 {
  margin-bottom: 14px;
}

.receipt-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.receipt-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(46, 106, 67, 0.16);
  padding-bottom: 8px;
}

.receipt-card dt {
  color: var(--muted);
  font-weight: 650;
}

.receipt-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-align: right;
}

.payment-box {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(46, 106, 67, 0.2);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.payment-box span {
  color: var(--muted);
  font-weight: 650;
}

.payment-box strong {
  text-align: right;
}

.copy-order-button {
  min-height: 42px;
  border: 1px solid rgba(46, 106, 67, 0.24);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.receipt-note {
  margin-bottom: 0;
  color: var(--muted);
}

.order-lookup-card {
  grid-column: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(52, 48, 36, 0.08);
}

.order-lookup-card p:not(.eyebrow) {
  color: var(--muted);
}

.order-lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.order-lookup-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.lookup-result {
  display: grid;
  gap: 4px;
  min-height: 28px;
  margin-top: 12px;
  color: var(--muted);
}

.lookup-result strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 920px) {
  .feature-section,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .order-lookup-card {
    grid-column: 1;
  }

  .three,
  .pricing-grid,
  .workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }

  .shot-window,
  .three,
  .pricing-grid,
  .workflow-strip,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .shot-sidebar {
    display: none;
  }

  .board-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 18px;
  }

  .order-lookup-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
