:root { --max: 1120px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% -10%, #c8ebd9 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 0%, #fdefd6 0%, transparent 45%),
    #f7fbf8;
  overflow-x: hidden;
}
a { color: var(--color-emerald); text-decoration: none; font-weight: 700; }

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.top-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: 0.04em; font-size: 12px; min-width: 0;
}
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; }
.top-nav a { color: var(--color-text-700); font-weight: 600; }

.btn-sm, .btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-align: center;
}
.btn-sm, .btn-primary { background: var(--color-emerald); color: #fff !important; }
.btn-ghost { background: #fff; color: var(--color-ink) !important; border-color: var(--color-border); }

main { max-width: var(--max); margin: 0 auto; padding: 24px 16px 64px; }

.hero {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center;
  padding: 20px 0 36px;
}
.eyebrow {
  color: var(--color-emerald); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 40px); line-height: 1.2;
  margin: 8px 0 12px; word-break: break-word;
}
.lead {
  color: var(--color-slate); font-size: 16px; line-height: 1.55;
  margin: 0 0 20px; max-width: 48ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { color: var(--color-slate); font-size: 13px; margin-top: 12px; line-height: 1.4; }
.hero-visual { text-align: center; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.hero-pills span {
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600;
}

.block { padding: 28px 0; }
.block.tint {
  background: #fff; border: 1px solid var(--color-border); border-radius: 24px;
  padding: 24px 18px; margin: 12px 0;
}
.block h2 { margin: 0 0 8px; font-size: clamp(20px, 4vw, 24px); line-height: 1.25; }
.section-lead { color: var(--color-slate); margin: 0 0 20px; line-height: 1.5; }

.cards-3, .cards-2 { display: grid; gap: 14px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 article, .cards-2 article {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 18px; padding: 18px; min-width: 0;
}
.cards-3 h3, .cards-2 h3 { margin: 0 0 8px; font-size: 16px; }
.cards-3 p, .cards-2 p {
  margin: 0 0 12px; color: var(--color-slate); font-size: 14px; line-height: 1.5;
}

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat {
  background: var(--color-green-50); border-radius: 16px;
  padding: 16px 10px; text-align: center; min-width: 0;
}
.stat .n { font-size: clamp(22px, 5vw, 28px); font-weight: 700; color: var(--color-emerald); }
.stat .l { font-size: 12px; color: var(--color-slate); margin-top: 4px; line-height: 1.3; }

.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.checklist { margin: 0; padding-left: 18px; color: var(--color-text-700); line-height: 1.7; }
.funnel ol { margin: 12px 0; padding-left: 20px; line-height: 1.7; color: var(--color-text-700); }

.journey {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.journey li {
  background: var(--color-green-50); border-radius: 16px; padding: 14px 16px;
  display: grid; gap: 4px;
}
.journey strong { font-size: 15px; color: var(--color-ink); }
.journey span { font-size: 13px; color: var(--color-slate); line-height: 1.45; }
.journey a { font-size: 13px; margin-top: 4px; }

.foot {
  max-width: var(--max); margin: 0 auto; padding: 24px 16px 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--color-border); color: var(--color-slate); font-size: 13px;
}
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 120px; height: auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-nav a:not(.btn-sm) { display: none; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .demo-actions .btn-primary,
  .demo-actions .btn-ghost {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .brand span { max-width: 140px; }
}
