/* ==========================================================================
   Лендинг ActiveTimeMap (activetimemap.ton)
   Статика без внешних зависимостей: системные шрифты, CSS-переменные.
   Светлая тема в палитре логотипа: тёмно-синий #112a38, оранжевая
   стрелка #ec673b, голубые неоновые детали #76b9c7.
   ========================================================================== */

:root {
  --bg: #f2f6f8;
  --surface: #ffffff;
  --text: #112a38;
  --muted: #4e6b7a;
  --border: #dbe5ea;
  --accent: #ec673b;
  --accent-2: #f2834f;
  --accent-dark: #d4551f;
  --accent-soft: #fdeee6;
  --cyan: #76b9c7;
  --cyan-dark: #4d97a8;
  --cyan-soft: #e9f4f6;
  --amber: #eab308;
  --slate: #94a3b8;
  --radius: 16px;
  --shadow-soft: 0 6px 18px rgba(17, 42, 56, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 860px;
}

section[id],
main[id] {
  scroll-margin-top: 84px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 14px;
}

/* --- Шапка ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}

.logo-mark {
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(17, 42, 56, 0.3);
}

.logo-text em {
  font-style: normal;
  color: var(--accent-dark);
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-dark);
}

/* --- Кнопки --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(236, 103, 59, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(236, 103, 59, 0.38);
}

.btn-outline {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* --- Хиро ----------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 84px 0 64px;
  background: radial-gradient(900px 420px at 50% -8%, rgba(118, 185, 199, 0.24), transparent 65%),
    radial-gradient(640px 300px at 84% 2%, rgba(236, 103, 59, 0.1), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.05rem, 5vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 12px;
  box-shadow: var(--shadow-soft);
}

.stats strong {
  display: block;
  font-size: 1.25rem;
}

.stats span {
  font-size: 12.5px;
  color: var(--muted);
}

/* --- Секции --------------------------------------------------------------- */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.section h2 {
  margin-bottom: 10px;
}

/* --- Карточки -------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.section-alt .card {
  box-shadow: none;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card p a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.card p a:hover {
  text-decoration: underline;
}

/* --- Списки ---------------------------------------------------------------- */

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding: 0 0 10px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-dark);
}

.list li:last-child {
  padding-bottom: 0;
}

.list a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.list a:hover {
  text-decoration: underline;
}

/* --- White Paper ----------------------------------------------------------- */

#whitepaper h3 {
  margin-top: 30px;
}

#whitepaper p {
  color: var(--muted);
}

/* Выноска-триггер для условий распределения */
.callout {
  background: var(--accent-soft);
  border: 1px solid #f6d8c8;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 0.97rem;
}

#whitepaper .callout {
  color: var(--text);
}

.split {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #edf1f7;
  margin: 20px 0 14px;
}

.seg {
  display: block;
  height: 100%;
}

.seg-ops {
  background: var(--slate);
}

.seg-rewards {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
}

.seg-usdt {
  background: var(--cyan);
}

.seg-team {
  background: var(--slate);
}

.seg-partners {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
}

.seg-users {
  background: var(--cyan);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 8px;
}

.c-ops {
  background: var(--slate);
}

.c-rewards {
  background: var(--accent);
}

.c-usdt {
  background: var(--cyan);
}

.c-team {
  background: var(--slate);
}

.c-partners {
  background: var(--accent);
}

.c-users {
  background: var(--cyan);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14.5px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table th {
  background: #f2f6f8;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table tr:last-child td {
  border-bottom: none;
}

.table th:last-child,
.table td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Roadmap ---------------------------------------------------------------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.rm-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.rm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.rm-head h3 {
  margin: 0;
  font-size: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.rm-done .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.rm-wip .dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px #faf3d9;
}

.rm-plan .dot {
  background: var(--slate);
  box-shadow: 0 0 0 4px #e9f0f4;
}

.rm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rm-list li {
  position: relative;
  padding: 0 0 12px 18px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.rm-list li:last-child {
  padding-bottom: 0;
}

.rm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rm-done .rm-list li::before {
  background: var(--accent);
}

.rm-wip .rm-list li::before {
  background: var(--amber);
}

.rm-plan .rm-list li::before {
  background: var(--slate);
}

/* --- Футер ------------------------------------------------------------------ */

.site-footer {
  background: #112a38;
  color: #9db4c0;
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
}

.footer-brand .logo-text em {
  font-style: normal;
  color: #ec673b;
}

.footer-brand p {
  margin: 10px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #dbe4f0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ec673b;
}

.disclaimer {
  border-top: 1px solid rgba(157, 180, 192, 0.22);
  padding-top: 20px;
  margin: 0;
  font-size: 12.5px;
  color: #7f97a5;
}

.copy {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #7f97a5;
}

/* --- Адаптив ---------------------------------------------------------------- */

@media (max-width: 900px) {
  .roadmap {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .header-inner .btn-sm {
    margin-left: auto;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 56px 0;
  }
}
