/* Upkeep — static landing page */

:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-alt: #eef4f0;
  --ink: #101d17;
  --muted: #59695f;
  --line: #e0e8e3;
  --accent: #1f6f54;
  --accent-hover: #185c45;
  --accent-soft: #e3f2ea;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(16, 32, 25, .05), 0 16px 40px -20px rgba(16, 32, 25, .28);
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1512;
    --surface: #131f1a;
    --surface-alt: #101b16;
    --ink: #eaf2ee;
    --muted: #9db0a6;
    --line: #24352d;
    --accent: #4fbb90;
    --accent-hover: #66cda3;
    --accent-soft: #143026;
    --accent-ink: #08120d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -22px rgba(0, 0, 0, .8);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 650;
}
h1 { font-size: clamp(2.05rem, 4.2vw, 2.85rem); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-wrap: balance; }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container {
  width: min(var(--max), 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Notice bar ---------- */

.notice-bar {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink);
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 38px;
}

.pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 9px; }

.nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); text-decoration: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .35rem .7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang button:hover { color: var(--ink); }
.lang button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* не анимировать подсветку при первой отрисовке */
.no-transition .lang button { transition: none; }

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1 { margin-bottom: .45em; }

.lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }

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

.btn-block { width: 100%; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: var(--muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-visual { display: flex; justify-content: center; }

.hero-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-card-foot {
  padding: .85rem .6rem .35rem;
  font-size: .85rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 46ch;
  margin-bottom: 2.6rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow);
}
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card h3 { margin-bottom: .4em; }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }

/* ---------- About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p { color: var(--muted); max-width: 52ch; }

.checklist {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .7rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink);
  font-size: .96rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.stats {
  display: grid;
  gap: .9rem;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  min-width: 4.2rem;
}
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Build progress ---------- */

.progress-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
}

.progress-pct {
  margin-left: auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .6s ease;
}

/* ---------- Coming soon ---------- */

.soon-panel {
  max-width: 740px;
  margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.4rem, 5vw, 3rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.soon-panel .eyebrow { margin-bottom: .8rem; }
.soon-panel h2 { margin-bottom: .6rem; }

.soon-text {
  max-width: 52ch;
  margin: 0 auto 1.1rem;
  font-size: 1.03rem;
  color: var(--muted);
}

.soon-note {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.6rem;
}

.brand-footer { font-size: 1rem; }

.footer-text,
.footer-legal {
  margin: 0;
  font-size: .87rem;
  color: var(--muted);
}
.footer-legal { margin-left: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .about-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 380px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--max), 100% - 2rem); }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-points { flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
