:root {
  --ink: #14211d;
  --muted: #5c6b64;
  --line: #dbe4de;
  --panel: #ffffff;
  --soft: #f4f7f3;
  --mint: #0f8b68;
  --mint-dark: #0b654e;
  --amber: #c88322;
  --brick: #9b4235;
  --blue: #355f8f;
  --shadow: 0 24px 80px rgba(20, 33, 29, 0.12);
  color-scheme: light;
  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(244, 247, 243, 0.95) 0%, rgba(255, 255, 255, 0.9) 36%),
    #fbfcfa;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 228, 222, 0.72);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 12px 26px rgba(15, 139, 104, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(15, 139, 104, 0.2);
  border-radius: 999px;
  color: var(--mint-dark);
  background: rgba(15, 139, 104, 0.08);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(52px, 8vw, 108px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 86px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
}

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

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

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

.primary-action,
.secondary-action,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-action,
.lead-form button {
  color: #fff;
  background: var(--mint);
  box-shadow: 0 14px 32px rgba(15, 139, 104, 0.25);
}

.secondary-action {
  color: var(--mint-dark);
  background: #fff;
  border-color: rgba(15, 139, 104, 0.18);
}

.primary-action:hover,
.secondary-action:hover,
.lead-form button:hover {
  transform: translateY(-1px);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid rgba(20, 33, 29, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 29, 0.1);
  border-radius: 18px;
  background: #e9efe9;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.visual-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  color: #fff;
  background: rgba(11, 37, 30, 0.82);
  box-shadow: 0 16px 42px rgba(20, 33, 29, 0.2);
  backdrop-filter: blur(10px);
}

.visual-panel strong,
.visual-panel span {
  display: block;
}

.visual-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-title h2 {
  max-width: 820px;
}

.section-title.narrow {
  display: block;
  max-width: 860px;
}

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

.fit-grid article,
.pricing-grid article,
.flow-list article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(20, 33, 29, 0.06);
}

.fit-grid article {
  min-height: 230px;
  padding: 26px;
}

.fit-grid span {
  color: var(--amber);
  font-weight: 900;
}

.fit-grid h3,
.pricing-grid h3,
.flow-list h3 {
  margin-top: 18px;
}

.fit-grid p,
.pricing-grid p,
.flow-list p,
.trial p,
.apply-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.flow {
  background: #eef3ef;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.flow-list article {
  min-height: 250px;
  padding: 24px;
}

.role {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.flow-list article:nth-child(2) .role {
  background: var(--amber);
}

.flow-list article:nth-child(3) .role {
  background: var(--mint-dark);
}

.flow-list article:nth-child(4) .role {
  background: var(--brick);
}

.trial {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.trial-copy {
  max-width: 700px;
}

.trial-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trial-steps div {
  min-height: 128px;
  padding: 22px;
  border: 1px solid rgba(20, 33, 29, 0.1);
  border-radius: 12px;
  background: #fff;
}

.trial-steps strong {
  display: block;
  color: var(--mint);
  font-size: 28px;
}

.trial-steps span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 32px;
  padding-bottom: 32px;
  background: var(--ink);
  color: #fff;
}

.proof div {
  padding: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.proof div:first-child {
  border-left: 0;
}

.metric {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
}

.proof span {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid article {
  padding: 28px;
}

.price {
  margin: 20px 0 8px;
  color: var(--mint-dark);
  font-size: 32px;
  font-weight: 900;
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #f0f5f1;
}

.apply-copy {
  position: sticky;
  top: 104px;
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  line-height: 1.7;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(20, 33, 29, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

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

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #d6dfd9;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
  font-weight: 500;
}

.lead-form textarea {
  min-height: 116px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(15, 139, 104, 0.16);
  border-color: var(--mint);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  line-height: 1.6;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.lead-form button {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form-status.success {
  color: var(--mint-dark);
}

.form-status.error {
  color: var(--brick);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .hero,
  .trial,
  .apply {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .apply-copy {
    position: static;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 16px 18px;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero-visual img {
    min-height: 360px;
  }

  .fit-grid,
  .pricing-grid,
  .proof,
  .trial-steps,
  .flow-list,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .proof div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof div:first-child {
    border-top: 0;
  }

  .lead-form .full,
  .lead-form button,
  .form-status {
    grid-column: auto;
  }
}
