/* apptonus.ru: графит и жёлтый, как в приложении. Шрифты: Unbounded для заголовков, Golos Text для текста. */
:root {
  --bg: #121212;
  --bg-2: #1b1b1b;
  --card: #232323;
  --line: #2f2f2f;
  --text: #f2f2f2;
  --muted: #9b9b9b;
  --accent: #ffe500;
  --accent-ink: #141400;
  --max: 1080px;
  --doc: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 229, 0, 0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(255, 229, 0, 0.05), transparent 60%);
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* шапка */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand.small { font-size: 16px; }
.mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent);
  position: relative;
  box-shadow: 0 0 0 4px rgba(255, 229, 0, 0.12);
}
.mark::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px;
  border-radius: 3px; background: var(--bg);
}
nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 15px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }
nav .lang { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* главная */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 80px;
  animation: rise 0.7s ease both;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  overflow-wrap: anywhere;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.lead { font-size: clamp(18px, 2.2vw, 22px); color: #d6d6d6; max-width: 56ch; margin: 0 0 32px; }
.cta { margin: 0 0 64px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px rgba(255, 229, 0, 0.18);
}
.button:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 229, 0, 0.28); }
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  animation: rise 0.7s ease both;
}
.features li:nth-child(2) { animation-delay: 0.08s; }
.features li:nth-child(3) { animation-delay: 0.16s; }
.features li:nth-child(4) { animation-delay: 0.24s; }
.features li:nth-child(5) { animation-delay: 0.32s; }
.features b { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; }
.features span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.note { color: var(--muted); font-size: 14px; max-width: 64ch; margin: 0; }

/* документы */
.doc {
  max-width: var(--doc);
  margin: 0 auto;
  padding: 40px 20px 80px;
  animation: rise 0.6s ease both;
}
.doc h1 { font-size: clamp(26px, 5vw, 48px); max-width: none; margin-bottom: 10px; overflow-wrap: anywhere; hyphens: auto; }
.meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc section { padding: 26px 0; border-top: 1px solid var(--line); }
.doc h2 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 14px;
}
.doc p { margin: 0 0 14px; color: #dcdcdc; }
.doc ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.doc li { position: relative; padding-left: 22px; margin: 0 0 10px; color: #dcdcdc; }
.doc li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px;
  border-radius: 3px; background: var(--accent);
}

/* подвал */
footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}
.foot-grid p { margin: 10px 0 0; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 560px) {
  .top { padding: 16px; }
  nav { gap: 12px; font-size: 14px; width: 100%; justify-content: flex-start; }
  nav .lang { margin-left: auto; }
  .hero { padding: 36px 16px 64px; }
  .doc { padding: 28px 16px 64px; }
}
