/* getpingo — палитра из спецификации: ночь Арктики, клюв, лёд */
:root {
  --night: #0b1220;
  --night-2: #121a2b;
  --white: #f5f7fa;
  --beak: #ff7a1a;
  --ice: #22d3ee;
  --muted: #8a94a6;
  --hood: #1b2433;
  --radius: 14px;
  --max: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--night);
  color: var(--white);
  font-family: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--white); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--beak); }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.topbar nav { display: flex; gap: 18px; font-size: 15px; }

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

.hero { padding: 40px 0 24px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.lead { color: #c9d1de; max-width: 620px; margin: 0 0 26px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

.btn {
  display: inline-block;
  background: var(--beak);
  color: #14100c;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--beak);
}
.btn:hover { filter: brightness(1.06); border-bottom-color: transparent; }
.btn-ghost { background: transparent; color: var(--white); border-color: #2a3548; }
.btn-ghost:hover { border-color: var(--muted); }

.catalog { padding-top: 32px; }
.catalog h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 18px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--night-2);
  border: 1px solid #1e2840;
  border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 10px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; }

.card-head { display: flex; align-items: center; justify-content: space-between; }
.score {
  font-weight: 800;
  color: var(--beak);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.region { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.empty {
  border: 1px dashed #2a3548;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.empty p { margin: 0 0 8px; }
code { background: var(--night-2); padding: 2px 6px; border-radius: 6px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid #1a2337;
  font-size: 14px;
}
.footer p { margin: 4px 0; }

/* Статистика в hero */
.stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #1a2337;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ice); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 13px; color: var(--muted); }

/* Как это работает */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step {
  background: var(--night-2);
  border: 1px solid #1e2840;
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--beak); color: #14100c; font-weight: 800;
}
.step h3 { margin: 12px 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 15px; color: #c9d1de; }

/* Тарифы */
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--beak); margin: 10px 0 8px; }
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: 14px; text-align: center; }
.plan-active { border-color: var(--beak); }
.plan-list { margin: 0 0 6px; padding: 0 0 0 18px; color: #c9d1de; font-size: 15px; }
.plan-list li { margin: 6px 0; }

/* Карточка идеи на лендинге */
.idea-card .problem { color: #c9d1de; }

/* Мобильная адаптация */
@media (max-width: 640px) {
  html, body { font-size: 16px; }
  .topbar { padding: 14px 16px; flex-wrap: wrap; }
  .topbar nav { gap: 14px; }
  main { padding: 4px 16px 48px; }
  .hero { padding: 26px 0 16px; }
  .stats { gap: 18px; }
  .stat .num { font-size: 22px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .btn { display: block; text-align: center; }
  .cta-row { gap: 10px; }
  .footer { padding: 22px 16px 36px; }
}
