:root {
  color-scheme: light dark;
  --landing-bg: #f7faf8;
  --landing-surface: #ffffff;
  --landing-surface-soft: #eef6f2;
  --landing-ink: #10231d;
  --landing-muted: #61736c;
  --landing-line: #dce8e2;
  --landing-primary: #087565;
  --landing-primary-strong: #065e52;
  --landing-primary-soft: #dff3ec;
  --landing-accent: #d8f56f;
  --landing-dark: #10231d;
  --landing-shadow: 0 24px 70px rgba(22, 63, 50, .12);
  --landing-radius: 24px;
  --landing-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing {
  margin: 0;
  background: var(--landing-bg);
  color: var(--landing-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }

.landing-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--landing-dark);
  color: #fff;
  transform: translateY(-160%);
}
.landing-skip:focus { transform: translateY(0); }

.landing-shell {
  width: min(calc(100% - 40px), var(--landing-shell));
  margin-inline: auto;
}

.landing-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(220, 232, 226, .82);
  background: color-mix(in srgb, var(--landing-bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.landing-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 20px;
}
.landing-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--landing-primary);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(8, 117, 101, .2);
}
.landing-nav { display: flex; align-items: center; gap: 22px; }
.landing-nav > a:not(.landing-button) {
  text-decoration: none;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
}
.landing-nav > a:not(.landing-button):hover { color: var(--landing-ink); }

.landing-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 19px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.landing-button:hover { transform: translateY(-1px); }
.landing-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--landing-primary) 35%, transparent); outline-offset: 3px; }
.landing-button--small { min-height: 40px; padding-inline: 15px; font-size: 13px; border-radius: 12px; }
.landing-button--large { min-height: 54px; padding-inline: 24px; }
.landing-button--primary {
  background: var(--landing-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 117, 101, .2);
}
.landing-button--primary:hover { background: var(--landing-primary-strong); box-shadow: 0 16px 34px rgba(8, 117, 101, .24); }
.landing-button--ghost { border-color: var(--landing-line); background: color-mix(in srgb, var(--landing-surface) 78%, transparent); }
.landing-button--ghost:hover { border-color: #bed4ca; background: var(--landing-surface); }
.landing-button--dark { background: var(--landing-dark); color: #fff; }
.landing-button--dark:hover { background: #1b352c; }
.landing-button--block { width: 100%; }

.landing-hero {
  overflow: hidden;
  padding: 86px 0 76px;
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 245, 111, .24), transparent 26%),
    radial-gradient(circle at 14% 70%, rgba(8, 117, 101, .07), transparent 28%);
}
.landing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 72px;
}
.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--landing-primary);
  font-size: 12px;
  font-weight: 830;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing-eyebrow > span { width: 24px; height: 2px; border-radius: 99px; background: currentColor; }
.landing-eyebrow--light { color: #a9e3d4; }
.landing-hero h1,
.landing-section h2,
.landing-signup h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .98;
}
.landing-hero h1 { max-width: 760px; font-size: clamp(52px, 6.7vw, 86px); font-weight: 820; }
.landing-hero h1 em { color: var(--landing-primary); font-style: normal; }
.landing-hero__lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--landing-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 620;
}
.landing-trust li::before { content: "✓"; margin-right: 7px; color: var(--landing-primary); font-weight: 900; }

.landing-product {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 212, 201, .88);
  border-radius: 28px;
  background: var(--landing-surface);
  box-shadow: var(--landing-shadow);
  transform: rotate(1deg);
}
.landing-product::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 52%;
  width: 180px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: var(--landing-accent);
}
.landing-product__topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--landing-line);
}
.landing-product__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.landing-product__brand > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #fff; background: var(--landing-primary); }
.landing-product__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--landing-primary-soft); color: var(--landing-primary); font-size: 10px; font-weight: 800; }
.landing-product__body { min-height: 430px; display: grid; grid-template-columns: 126px 1fr; }
.landing-product__sidebar { display: flex; flex-direction: column; gap: 6px; padding: 18px 11px; border-right: 1px solid var(--landing-line); background: #fbfdfc; }
.landing-product__sidebar span { padding: 10px 11px; border-radius: 9px; color: #75867f; font-size: 11px; font-weight: 650; }
.landing-product__sidebar .is-active { background: var(--landing-primary-soft); color: var(--landing-primary); }
.landing-product__content { padding: 24px; }
.landing-product__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.landing-product__heading div { display: flex; flex-direction: column; gap: 4px; }
.landing-product__heading small { color: var(--landing-muted); font-size: 10px; }
.landing-product__heading strong { font-size: 18px; letter-spacing: -.03em; }
.landing-product__heading > span { padding: 7px 9px; border: 1px solid var(--landing-line); border-radius: 9px; color: var(--landing-muted); font-size: 10px; }
.landing-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.landing-kpis article { padding: 14px; border: 1px solid var(--landing-line); border-radius: 13px; background: #fcfefd; }
.landing-kpis small, .landing-kpis span { display: block; color: var(--landing-muted); font-size: 9px; }
.landing-kpis strong { display: block; margin: 4px 0; font-size: 22px; letter-spacing: -.04em; }
.landing-chart-card { margin-top: 11px; padding: 15px; border: 1px solid var(--landing-line); border-radius: 14px; }
.landing-chart-card__head { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--landing-muted); }
.landing-chart-card__head strong { color: var(--landing-primary); }
.landing-chart { height: 74px; display: flex; align-items: end; gap: 5px; padding-top: 10px; }
.landing-chart i { flex: 1; min-height: 14px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #16a68e, #8fd8c8); opacity: .9; }
.landing-chart i:nth-child(1) { height: 32%; }
.landing-chart i:nth-child(2) { height: 46%; }
.landing-chart i:nth-child(3) { height: 40%; }
.landing-chart i:nth-child(4) { height: 64%; }
.landing-chart i:nth-child(5) { height: 54%; }
.landing-chart i:nth-child(6) { height: 78%; }
.landing-chart i:nth-child(7) { height: 70%; }
.landing-chart i:nth-child(8) { height: 88%; }
.landing-chart i:nth-child(9) { height: 76%; }
.landing-chart i:nth-child(10) { height: 94%; }
.landing-stock-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 9px; padding: 10px 12px; border: 1px solid var(--landing-line); border-radius: 12px; }
.landing-stock-row__dot { width: 8px; height: 8px; border-radius: 50%; background: #36b98b; }
.landing-stock-row__dot--warn { background: #f1a93b; }
.landing-stock-row div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.landing-stock-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.landing-stock-row small { color: var(--landing-muted); font-size: 8px; }
.landing-stock-row b { font-size: 10px; }

.landing-proof { border-block: 1px solid var(--landing-line); background: var(--landing-surface); }
.landing-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.landing-proof__grid > div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; border-right: 1px solid var(--landing-line); }
.landing-proof__grid > div:last-child { border-right: 0; }
.landing-proof strong { font-size: 24px; letter-spacing: -.04em; }
.landing-proof span { margin-top: 4px; color: var(--landing-muted); font-size: 12px; }

.landing-section { padding: 110px 0; }
.landing-section--soft { background: var(--landing-surface-soft); }
.landing-section__head { max-width: 720px; margin-bottom: 48px; }
.landing-section__head--center { margin-inline: auto; text-align: center; }
.landing-section__head--center .landing-eyebrow { justify-content: center; }
.landing-section h2, .landing-signup h2 { font-size: clamp(40px, 5.1vw, 64px); }
.landing-section__head > p { margin: 20px 0 0; color: var(--landing-muted); font-size: 17px; line-height: 1.7; }

.landing-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.landing-feature { min-height: 280px; position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--landing-line); border-radius: var(--landing-radius); background: var(--landing-surface); }
.landing-feature--wide { grid-column: 1 / -1; min-height: 320px; padding-right: min(48%, 560px); }
.landing-feature__number { color: var(--landing-primary); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.landing-feature h3 { margin: 40px 0 12px; font-size: 26px; letter-spacing: -.04em; }
.landing-feature p { max-width: 540px; margin: 0; color: var(--landing-muted); line-height: 1.65; }
.landing-feature__visual--stock { position: absolute; right: 28px; bottom: 28px; width: min(42%, 460px); display: grid; gap: 8px; }
.landing-feature__visual--stock span { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--landing-line); border-radius: 12px; background: #fbfdfc; font-size: 12px; }
.landing-feature__visual--stock small { color: var(--landing-muted); }
.landing-feature__visual--stock .is-low { border-color: #f1cf8f; background: #fffaf0; }

.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.landing-steps article { padding: 30px; border: 1px solid var(--landing-line); border-radius: 22px; background: var(--landing-surface); }
.landing-steps article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--landing-primary); color: #fff; font-weight: 850; }
.landing-steps h3 { margin: 28px 0 10px; font-size: 21px; letter-spacing: -.03em; }
.landing-steps p { margin: 0; color: var(--landing-muted); line-height: 1.65; }

.landing-pricing { max-width: 900px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 auto; }
.landing-price { position: relative; padding: 34px; border: 1px solid var(--landing-line); border-radius: 26px; background: var(--landing-surface); box-shadow: 0 12px 36px rgba(22, 63, 50, .06); }
.landing-price--featured { border-color: #79bfae; box-shadow: 0 20px 48px rgba(8, 117, 101, .12); }
.landing-price__badge { position: absolute; top: -13px; left: 26px; padding: 7px 11px; border-radius: 999px; background: var(--landing-primary); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.landing-price__name { margin: 5px 0 18px; color: var(--landing-muted); font-size: 14px; font-weight: 750; }
.landing-price__amount { display: flex; align-items: end; gap: 8px; }
.landing-price__amount strong { font-size: clamp(36px, 5vw, 50px); letter-spacing: -.06em; }
.landing-price__amount span { margin-bottom: 8px; color: var(--landing-muted); font-size: 12px; }
.landing-price__note { min-height: 44px; margin: 14px 0 26px; color: var(--landing-muted); font-size: 13px; line-height: 1.55; }
.landing-price ul { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.landing-price li { font-size: 14px; }
.landing-price li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--landing-primary-soft); color: var(--landing-primary); font-size: 11px; font-weight: 900; }
.landing-price__trial { display: block; margin-top: 14px; text-align: center; color: var(--landing-muted); font-size: 12px; font-weight: 650; }

.landing-signup { padding: 100px 0; background: var(--landing-dark); color: #fff; }
.landing-signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .8fr); align-items: center; gap: 80px; }
.landing-signup__copy > p { max-width: 600px; margin: 22px 0 0; color: #bdd0c9; font-size: 17px; line-height: 1.7; }
.landing-signup__copy ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: #d5e3de; font-size: 14px; }
.landing-signup__copy li::before { content: "✓"; margin-right: 9px; color: var(--landing-accent); font-weight: 900; }
.landing-signup__card { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 25px; background: #fff; color: var(--landing-ink); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.landing-signup__card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.landing-signup__card-head > div { display: flex; flex-direction: column; gap: 3px; }
.landing-signup__card-head strong { font-size: 18px; letter-spacing: -.03em; }
.landing-signup__card-head small { color: var(--landing-muted); font-size: 11px; }
.landing-form { display: grid; gap: 14px; }
.landing-form label { display: grid; gap: 7px; }
.landing-form label > span { color: #455a52; font-size: 11px; font-weight: 760; }
.landing-form input { width: 100%; height: 48px; border: 1px solid #cfddd7; border-radius: 12px; padding: 0 14px; background: #fff; color: #10231d; outline: none; }
.landing-form input:focus { border-color: var(--landing-primary); box-shadow: 0 0 0 3px rgba(8, 117, 101, .12); }
.landing-form input::placeholder { color: #99aaa3; }
.landing-form button { margin-top: 4px; }
.landing-signup__login { margin: 18px 0 0; text-align: center; color: var(--landing-muted); font-size: 12px; }
.landing-signup__login a { color: var(--landing-primary); font-weight: 760; }

.landing-footer { background: #0b1b16; color: #d5e3de; border-top: 1px solid rgba(255,255,255,.08); }
.landing-footer__inner { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.landing-footer p { margin: 0; color: #8fa69e; text-align: center; font-size: 12px; }
.landing-footer > div > a { color: #b9cec7; font-size: 12px; font-weight: 700; }

@media (max-width: 980px) {
  .landing-nav > a:not(.landing-button), .landing-nav__trial { display: none; }
  .landing-hero { padding-top: 62px; }
  .landing-hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .landing-product { width: min(100%, 700px); margin: 0 auto; transform: none; }
  .landing-signup__grid { grid-template-columns: 1fr; gap: 46px; }
  .landing-signup__card { width: min(100%, 580px); }
}

@media (max-width: 720px) {
  .landing-shell { width: min(calc(100% - 28px), var(--landing-shell)); }
  .landing-header__inner { min-height: 64px; }
  .landing-nav { gap: 8px; }
  .landing-hero { padding: 52px 0 52px; }
  .landing-hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .landing-hero__lead { font-size: 16px; }
  .landing-hero__actions { display: grid; grid-template-columns: 1fr; }
  .landing-hero__actions .landing-button { width: 100%; }
  .landing-trust { display: grid; gap: 8px; }
  .landing-product__body { grid-template-columns: 1fr; min-height: auto; }
  .landing-product__sidebar { display: none; }
  .landing-product__content { padding: 18px; }
  .landing-kpis { gap: 6px; }
  .landing-kpis article { padding: 11px; }
  .landing-kpis strong { font-size: 18px; }
  .landing-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .landing-proof__grid > div { min-height: 90px; padding: 16px; border-bottom: 1px solid var(--landing-line); }
  .landing-proof__grid > div:nth-child(2) { border-right: 0; }
  .landing-proof__grid > div:nth-child(3), .landing-proof__grid > div:nth-child(4) { border-bottom: 0; }
  .landing-section { padding: 78px 0; }
  .landing-section__head { margin-bottom: 34px; }
  .landing-section__head > p { font-size: 15px; }
  .landing-features, .landing-steps, .landing-pricing { grid-template-columns: 1fr; }
  .landing-feature--wide { grid-column: auto; min-height: auto; padding-right: 26px; padding-bottom: 26px; }
  .landing-feature__visual--stock { position: static; width: 100%; margin-top: 26px; }
  .landing-feature { min-height: 230px; padding: 26px; }
  .landing-feature h3 { margin-top: 30px; }
  .landing-price { padding: 28px; }
  .landing-signup { padding: 76px 0; }
  .landing-signup__card { padding: 22px; }
  .landing-footer__inner { grid-template-columns: 1fr; justify-items: center; padding: 28px 0; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-button { transition: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --landing-bg: #0e1714;
    --landing-surface: #15211d;
    --landing-surface-soft: #111d19;
    --landing-ink: #edf6f2;
    --landing-muted: #9eb1aa;
    --landing-line: #283a34;
    --landing-primary: #2ab89f;
    --landing-primary-strong: #249e8a;
    --landing-primary-soft: #153b33;
    --landing-dark: #09120f;
    --landing-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  }
  .landing-header { border-bottom-color: rgba(40, 58, 52, .88); }
  .landing-product__sidebar, .landing-kpis article, .landing-feature__visual--stock span { background: #111c18; }
  .landing-price--featured { border-color: #327f70; }
  .landing-feature__visual--stock .is-low { border-color: #68572d; background: #241f14; }
  .landing-form input { background: #f9fbfa; color: #10231d; }
}
