:root {
  --ink: #18201c;
  --muted: #5d675f;
  --line: #d8ded6;
  --paper: #f8f8f3;
  --white: #ffffff;
  --green: #1e6b4c;
  --green-2: #d8efe3;
  --gold: #c28a2c;
  --rose: #b85c55;
  --shadow: 0 24px 70px rgba(24, 32, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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 {
  align-items: center;
  background: rgba(248, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 222, 214, 0.8);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta,
.button,
.pilot-form button,
.checkout-button,
.text-checkout {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.header-cta,
.button.primary,
.pilot-form button,
.checkout-button {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  min-height: calc(100vh - 73px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 4vw, 56px) 56px;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 82px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 28px;
  max-width: 900px;
}

.hero p,
.section-head p,
.split-section p,
.pilot p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  margin: 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.proof-strip {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 46px 0 0;
  max-width: 780px;
  padding-top: 24px;
}

.proof-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-strip dd {
  font-size: 15px;
  font-weight: 800;
  margin: 4px 0 0;
}

.hero-visual {
  background:
    linear-gradient(145deg, rgba(30, 107, 76, 0.14), rgba(194, 138, 44, 0.12)),
    radial-gradient(circle at top right, rgba(30, 107, 76, 0.18), transparent 34%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(16px, 4vw, 38px);
}

.dashboard {
  background: var(--white);
  border: 1px solid rgba(216, 222, 214, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.5vw, 26px);
}

.dash-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dash-top span,
.matter small,
.packet span {
  color: var(--muted);
  font-size: 13px;
}

.matter {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  padding: 16px;
}

.matter.active {
  background: var(--green-2);
  border-color: rgba(30, 107, 76, 0.25);
}

.status {
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.status.ready {
  background: var(--green);
}

.status.warn {
  background: var(--gold);
}

.status.hold {
  background: var(--rose);
}

.time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.packet {
  background: var(--ink);
  border-radius: 12px;
  color: var(--white);
  display: grid;
  gap: 6px;
  padding: 18px;
}

.packet span {
  color: rgba(255, 255, 255, 0.68);
}

.section,
.split-section,
.pilot {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-head {
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 900px;
}

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

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

.workflow-grid article,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.workflow-grid p,
.price-card p,
.price-card li,
.market-list li {
  color: var(--muted);
}

.step {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 42px;
}

.split-section {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

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

.market-list li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

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

.price-card.featured {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  color: var(--ink);
  font-size: 44px;
  font-weight: 850;
  margin: 12px 0;
}

.featured .price {
  color: var(--white);
}

.price span {
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  margin-right: 8px;
}

.featured li::before {
  color: var(--green-2);
}

.checkout-button {
  border: 0;
  cursor: pointer;
  margin-top: 24px;
  width: 100%;
}

.checkout-button.light {
  background: var(--white);
  color: var(--green);
}

.checkout-button[disabled],
.text-checkout[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.setup-line {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
}

.setup-line span {
  color: var(--muted);
}

.text-checkout {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

.checkout-error {
  color: var(--rose);
  font-size: 14px;
  margin-top: 16px;
}

.pilot {
  align-items: start;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.pilot p {
  color: rgba(255, 255, 255, 0.72);
}

.pilot-form {
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: 22px;
}

.pilot-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

input,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

footer span {
  font-weight: 850;
}

footer a {
  color: var(--muted);
  font-size: 14px;
}

.content-page {
  margin: 0 auto;
  max-width: 960px;
  padding: clamp(46px, 7vw, 86px) 18px;
}

.content-page h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  margin: 0 0 22px;
}

.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 18px;
}

.content-block {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}

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

  .hero,
  .split-section,
  .pilot {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .proof-strip,
  .workflow-grid,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-visual {
    border-radius: 14px;
    padding: 10px;
  }
}
