:root {
  --bg: #f3efe6;
  --bg-2: #e7e1d4;
  --ink: #1c1914;
  --muted: #5f584e;
  --line: #ddd4c4;
  --card: #fffdf8;
  --green: #0c6b4d;
  --green-2: #084c37;
  --amber: #e7a23a;
  --warn: #8a3d12;
  --warn-bg: #fff1e4;
  --shadow: 0 18px 50px rgba(40, 32, 18, 0.08);
  --radius: 18px;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(12, 107, 77, 0.08), transparent 60%),
    var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
button, .btn, .btn-ghost {
  font: inherit;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #f6f3ec;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
}
.btn:hover { background: var(--green-2); }
.btn-ghost {
  display: inline-flex;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
}
.menu {
  display: none;
  margin-left: auto;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

.ban {
  background: var(--warn-bg);
  color: var(--warn);
  border-bottom: 1px solid #f0d2bb;
}
.ban p { margin: 0; padding: 10px 0; font-size: 14px; font-weight: 650; }

.hero { padding: 54px 0 20px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: end; }
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; line-height: 1.12; }
h1 { font-size: clamp(38px, 5vw, 64px); margin: 12px 0; }
h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 46rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.panel {
  background: var(--ink);
  color: #f6f3ec;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.panel header { display: flex; justify-content: space-between; color: #c8bfb0; font-size: 13px; }
.meters { margin-top: 18px; display: grid; gap: 12px; }
.meter { display: grid; gap: 6px; font-size: 14px; }
.bar { height: 8px; background: #2a261f; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--amber)); border-radius: inherit; animation: fill 1.6s ease forwards; }
.meter:nth-child(2) .bar span { animation-delay: .15s; }
.meter:nth-child(3) .bar span { animation-delay: .3s; }
@keyframes fill { to { width: var(--w); } }

section { padding: 42px 0; }
.grid-3, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3, .plan h3 { margin: 8px 0; font-size: 22px; }
.card p, .plan p { color: var(--muted); margin: 0; }
.price { font-family: var(--display); font-size: 32px; margin: 14px 0 4px; }
.price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { padding-left: 18px; margin: 12px 0 18px; color: var(--ink); }
.plan .btn, .plan .rent { width: 100%; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 16px; border-top: 2px solid var(--green); }
.step b { display: block; font-family: var(--display); margin-bottom: 6px; }

.prose { width: min(760px, 100%); }
.prose h1 { font-size: clamp(32px, 4vw, 48px); }
.prose h2 { font-size: 24px; margin-top: 28px; }
.prose p, .prose li { color: #3c372f; }
.legal-meta { color: var(--muted); font-size: 14px; }

footer {
  margin-top: 30px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(22, 18, 12, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}
.modal.open { display: flex; animation: fade .25s ease; }
.sheet {
  width: min(560px, 100%);
  background: var(--card);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.sheet h2 { font-size: 28px; }
.clusters { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.clusters li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f3ea;
  border: 1px solid var(--line);
}
.clusters li.wait { opacity: .45; }
.clusters li.run { outline: 2px solid rgba(12, 107, 77, 0.25); }
.status { font-weight: 800; font-size: 13px; color: var(--muted); }
.status.bad { color: var(--warn); }
.status.scan { color: var(--green-2); }
.result { display: none; }
.result.show { display: block; animation: rise .35s ease; }
.mail {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 18px;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 860px) {
  .hero, .grid-3, .plans, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
  }
  .menu { display: block; }
  .top .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
