/* При изменении файла поднять ?v= в index.html: Cloudflare и браузеры кэшируют CSS на часы.
   Лендинг thesportify.app без Тильды (T95, 2026-11-25): тексты и фото — с прежнего сайта, шрифт Manrope (OFL). */
@font-face { font-family: Manrope; src: url('/fonts/Manrope-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/Manrope-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/Manrope-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/Manrope-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --green: #00B140;
  --green-dark: #008A32;
  --ink: #1E2421;
  --muted: #6B7280;
  --soft: #F3F6F4;
  --dark: #333333;
  --line: #E3E8E5;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(34px, 5vw, 56px); max-width: 780px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.center { text-align: center; }
.soft { background: var(--soft); }
.dark { background: var(--dark); color: #fff; }
.green { color: var(--green); }
.sub { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 40px; }
.sub.left { margin-left: 0; }
.big { font-size: 21px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(23,23,23,.94); backdrop-filter: blur(8px); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: #fff; }
.nav a:hover { color: #5BE38A; }
.nav .ig { display: inline-flex; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--green); transition: background .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-sm { padding: 8px 18px; color: #fff !important; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); }
.btn-outline:hover { background: var(--soft); border-color: var(--green-dark); }
.btn-big { font-size: 19px; padding: 18px 34px; margin: 8px 0 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero { min-height: calc(100vh - 72px); display: flex; align-items: center; background-image: linear-gradient(rgba(20,24,22,.62), rgba(20,24,22,.72)), url('/img/hero.jpg'); background-size: cover; background-position: center; color: #fff; padding: 80px 0; }
.hero .lead { font-size: 20px; opacity: .9; }

.checks { list-style: none; padding: 0; margin: 0 auto; max-width: 620px; text-align: left; }
.checks li { position: relative; padding: 14px 0 14px 52px; font-weight: 700; font-size: 18px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--green);
  background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2300B140' stroke-width='3' d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-weight: 700; display: flex; align-items: center; gap: 14px; }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cards img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.cards figcaption { padding: 16px 18px; font-weight: 700; }

.who { list-style: none; padding: 0; margin: 24px 0 0; }
.who li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); }
.who b { color: #5BE38A; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan h3 { color: var(--green-dark); margin-bottom: 4px; }
.plan .muted { margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; font-size: 15px; }
.plan li { padding: 5px 0; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.download { background: linear-gradient(135deg, #E8F8EE, #F6FBF8); }
.howto { background: #fff; border-radius: var(--radius); padding: 28px 30px; border: 1px solid var(--line); }
.howto ol { padding-left: 20px; margin: 0 0 12px; }
.howto li { padding: 6px 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dots { padding-left: 20px; margin: 0; }
.dots li { padding: 6px 0; }
.dots li::marker { color: var(--green); }

.investors { background-image: linear-gradient(rgba(20,24,22,.7), rgba(20,24,22,.78)), url('/img/investors.jpg'); background-size: cover; background-position: center; color: #fff; }
.investors .big { max-width: 760px; }

.foot { background: #171717; color: #C9CDD1; padding: 40px 0; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot img { opacity: .9; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .split, .two { grid-template-columns: 1fr; gap: 32px; }
  .features, .cards, .plans { grid-template-columns: 1fr; }
  .nav a:not(.btn):not(.ig) { display: none; }
  .hero { min-height: 78vh; }
}
