@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f7f9f7;
  --panel: #f0f4f0;
  --panel2: #e8ede8;
  --text: #111612;
  --muted: #5a6360;
  --line: #dde3da;
  --brand: #16a34a;
  --brand-light: #f0fdf4;
  --brand-border: #bbf7d0;
  --brand-dark: #15803d;
  --warn: #92400e;
  --warn-bg: #fef3c7;
  --warn-border: #fcd34d;
  --bad: #991b1b;
  --bad-bg: #fef2f2;
  --bad-border: #fca5a5;
  --ok: #16a34a;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.05);
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  font-family:
    'Inter',
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
}

.skip:focus {
  left: 12px;
  z-index: 1000;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.muted {
  color: var(--muted);
}

/* BADGE */
.badge {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: var(--brand-light);
  color: var(--brand);
  letter-spacing: 0.02em;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.nav {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand);
}

.brand__text {
  font-size: 16px;
}

.brand--footer .brand__text {
  font-size: 15px;
}

.nav__toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  cursor: pointer;
}

.nav__burger {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 99px;
}

.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav__toggle.is-open .nav__burger { background: transparent; }
.nav__toggle.is-open .nav__burger::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open .nav__burger::after { top: 0; transform: rotate(-45deg); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__menu li {
  display: flex;
  align-items: center;
}

.nav__menu li:last-child {
  margin-left: 8px;
}

.nav__link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--text);
  text-decoration: none;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  border-color: #c7cec7;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 3px solid var(--brand-border);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
}

.btn--sm {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
}

.btn--block { width: 100%; }

/* HERO */
.hero {
  padding: 80px 0 60px;
  background: var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 20px;
  padding: 7px 12px;
  border: 1px solid var(--brand-border);
  background: var(--brand-light);
  border-radius: 999px;
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--text);
}

.hero-accent {
  color: var(--brand);
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
}

/* DASHBOARD MOCKUP */
.shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.shot__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.shot__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.shot__dot:nth-child(1) { background: #fc5a5a; }
.shot__dot:nth-child(2) { background: #fcba00; }
.shot__dot:nth-child(3) { background: #27c940; }

.shot__title {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.shot__body {
  padding: 16px;
  background: var(--bg);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.kpi {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.kpi__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi__value {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 4px;
  color: var(--text);
}

.kpi__value--warn { color: var(--warn); }
.kpi__value--bad { color: var(--bad); }
.kpi__value--ok { color: var(--ok); }

.kpi__sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.kpi-progress {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.kpi-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.kpi-progress__pct {
  font-weight: 700;
  color: var(--brand);
}

.kpi-progress__bar {
  height: 5px;
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.kpi-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
}

.panel {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.panel__title { font-weight: 700; font-size: 12px; color: var(--text); }
.panel__hint { font-size: 11px; color: var(--muted); }

.table { padding: 6px 12px 10px; }

.row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr;
  gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.row:last-child { border-bottom: none; }

.row--head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.tag--warn { border: 1px solid var(--warn-border); background: var(--warn-bg); color: var(--warn); }
.tag--bad { border: 1px solid var(--bad-border); background: var(--bad-bg); color: var(--bad); }
.tag--neutral { border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); }

/* SECTIONS */
.section { padding: 72px 0; }

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head { margin-bottom: 40px; }
.section__head h2 { margin-bottom: 10px; }
.section__head .muted { font-size: 16px; max-width: 52ch; }

h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
}

h3 {
  margin: 0 0 8px;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
}

p { margin: 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* CARDS */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #c8d0c5;
}

.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.card h3 { font-size: 15px; margin-bottom: 6px; }
.card--line { background: var(--bg); border-color: var(--line); }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand);
}

.step__body p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.step__body h3 { margin-bottom: 6px; }

/* CALLOUT */
.callout {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  background: var(--brand-light);
}

.callout__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-border);
  background: #ffffff;
  color: var(--brand);
}

.callout__body { font-size: 14px; color: var(--text); line-height: 1.6; }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.feature {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.feature h3 { font-size: 14px; margin-bottom: 6px; }

.feature__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid var(--brand-border);
  background: var(--brand-light);
  margin-bottom: 12px;
}

.feature--roadmap {
  background: var(--bg-soft);
  border-style: dashed;
  border-color: #c8d0c4;
}

.mini {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  vertical-align: middle;
  font-weight: 500;
}

.divider { margin: 32px 0 20px; height: 1px; background: var(--line); }

/* QUOTE */
.quote {
  display: grid;
  gap: 10px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  background: var(--brand-light);
}

.quote p { font-size: 17px; color: var(--text); letter-spacing: -0.015em; line-height: 1.65; font-style: italic; }
.quote__by { font-size: 13px; color: var(--muted); }

/* STAT STRIP */
.stat-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
}

.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* TESTIMONIALS */
.testimonials-section { padding: 0 0 72px; background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.testimonial-stars { margin-bottom: 14px; color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; line-height: 1.72; color: var(--text); margin: 0 0 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 13px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* CTA SECTION */
.section--cta {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}

.bullets { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.bullets li { margin: 4px 0; }

/* TRUST ROW */
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.trust-item svg { color: var(--brand); flex-shrink: 0; }

/* FORM */
.form {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 24px;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 12px; font-weight: 600; color: var(--text); }

input,
textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder,
textarea::placeholder { color: #aab5aa; }

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

.fineprint { margin-top: 10px; font-size: 12px; color: var(--muted); }

.fineprint a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand-border);
  text-underline-offset: 3px;
}

.form__success { margin-top: 10px; font-size: 12px; color: var(--brand); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; }

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: border-color 150ms ease;
}

.faq__item:hover { border-color: var(--brand-border); }

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 15px;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__body { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* FOOTER */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer__inner { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 14px; align-items: start; }
.footer__links { display: grid; gap: 10px; align-content: start; font-size: 14px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.footer__links a:hover { color: var(--text); }
.footer__small { font-size: 12px; text-align: right; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__small { text-align: left; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  h1 { font-size: 36px; }
  .stat-number { font-size: 28px; }

  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav__menu {
    position: absolute;
    right: 0;
    top: 54px;
    width: min(360px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 10px 12px; border-radius: 10px; }
  .nav__link:hover { background: var(--bg-soft); }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .feature, .testimonial-card { transition: none; }
}
