@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

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

:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #15202b;
  --muted: #5b6b7c;
  --line: #d7dee6;
  --accent: #0f766e;
  --accent-ink: #0b4f49;
  --warn: #b45309;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(21, 32, 43, 0.06);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(15, 118, 110, 0.12), transparent 60%),
    linear-gradient(180deg, #eef2f5 0%, var(--bg) 40%);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo { font-weight: 700; color: var(--ink); max-width: 70%; }
.top-nav { display: flex; gap: 14px; font-size: 0.95rem; }
.top-nav a { color: var(--muted); }

main { max-width: 1080px; margin: 0 auto; padding: 28px 18px 64px; }
.foot { max-width: 1080px; margin: 0 auto; padding: 24px 18px 48px; color: var(--muted); border-top: 1px solid var(--line); }

.hero { padding: 28px 0 12px; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 14px; }
h2 { font-size: 1.25rem; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.section { margin-top: 42px; }
.steps { padding-left: 1.2rem; display: grid; gap: 8px; color: var(--muted); }
.steps strong { color: var(--ink); }

.grid { display: grid; gap: 14px; }
.industries { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 16px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.tile, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile { color: inherit; }
.tile:hover, .card:hover { border-color: #9eb0bf; text-decoration: none; }
.tile h3 { font-size: 1.05rem; }
.tile p, .card p { color: var(--muted); font-size: 0.95rem; }
.meta, .linkish { font-size: 0.85rem; color: var(--accent-ink); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.secondary { background: #e7f3f1; color: var(--accent-ink); }
.btn.ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.disabled { opacity: 0.45; pointer-events: none; }

.trust-list, .pains, .product ul { padding-left: 1.1rem; color: var(--muted); display: grid; gap: 6px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.industry-intro { margin-bottom: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }

.badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e8eef3;
  color: var(--muted);
}
.level-Базовая { background: #dff5ef; color: #0f766e; }
.level-Средняя { background: #e8eefc; color: #1e3a8a; }
.level-Сложная { background: #fde8d8; color: #9a3412; }

.price { display: grid; gap: 2px; margin-top: auto; }
.anchor { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.price strong, .price-block .now { font-size: 1.05rem; }

.product { display: grid; gap: 22px; max-width: 760px; }
.early {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #7c2d12;
  padding: 14px 16px;
  border-radius: var(--radius);
}
.price-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.ask { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-repeat { margin-top: 8px; }

.checkout, .order-done { max-width: 560px; display: grid; gap: 14px; }
.checkout-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.checkout-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.checkout-form input[type="text"],
.checkout-form input:not([type]),
.checkout-form input[type="tel"],
.checkout-form textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  width: 100%;
}
.checkout-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.checkout-form .radio { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
.err { color: #b91c1c; font-weight: 600; }
.price-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }

.my-orders-banner {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #9ec5c1;
  background: #e8f6f4;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.my-orders-banner[hidden] { display: none !important; }
.my-orders-banner p { margin: 0; color: var(--accent-ink); font-weight: 500; max-width: 70%; }

.my-orders { max-width: 640px; display: grid; gap: 14px; }
.my-orders-list { display: grid; gap: 12px; }
.my-order-card { color: inherit; }
.my-order-card:hover { text-decoration: none; border-color: #9eb0bf; }

@media (max-width: 640px) {
  .top-nav { display: none; }
  .logo { font-size: 0.95rem; }
  .my-orders-banner p { max-width: 100%; }
}
