/* CheckMoon — checkmoon.ru
   Палитра: ночь, вода, роговица цвета hazel. */

:root {
  --bg: #06090f;
  --bg-soft: #0a1018;
  --surface: #0d1420;
  --surface-2: #111a27;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f1f5f9;
  --muted: #9fb0c2;
  --muted-dim: #7b8da1;
  --hazel: #c9a35b;
  --hazel-deep: #8e7618;
  --hazel-pale: #ebd6a9;
  --moon: #fbf3df;
  --sea: #45d3e3;
  --radius: 22px;
  --container: 1160px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 720px at 82% -12%, rgba(201, 163, 91, .17), transparent 62%),
    radial-gradient(900px 640px at 4% 4%, rgba(69, 211, 227, .09), transparent 58%),
    var(--bg);
  color: var(--text);
  font: 19px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.06; margin: 0; }
p { margin: 0; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.hazel { color: var(--hazel-pale); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: var(--hazel-pale); color: #1a1408; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── шапка ─────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 15, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; flex: none;
}
.logo-eye {
  width: 42px; height: 42px; border-radius: 50%; display: block;
}
.logo-text {
  display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.15;
}
.logo-word {
  font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--text);
}
/* вторая строка растянута ровно по ширине «CheckMoon» */
.logo-sub {
  display: flex; justify-content: space-between;
  margin-top: 2px; font-size: 10px; letter-spacing: .03em;
  color: var(--muted-dim);
}
.logo-sub > span { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  text-decoration: none; font-size: 16px; color: var(--muted);
  transition: color .18s;
}
.nav > a:not(.btn):hover { color: var(--text); }

.langs {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.langs button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font: 600 12.5px/1 var(--font);
  padding: 7px 9px; border-radius: 999px;
  transition: color .18s, background .18s;
}
.langs button:hover { color: var(--text); }
.langs button.active { background: rgba(255, 255, 255, .11); color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 17px/1 var(--font); text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(180deg, #efdcb2, var(--hazel));
  color: #1a1408;
  box-shadow: 0 12px 34px -12px rgba(201, 163, 91, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(201, 163, 91, .7); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }

.burger {
  display: none; width: 48px; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: transparent; padding: 0; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── герой ─────────────────────────────────────────────── */

.hero { padding: 82px 0 80px; }

.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 56px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(201, 163, 91, .3);
  background: rgba(201, 163, 91, .09);
  color: var(--hazel-pale);
  font-size: 14.5px; letter-spacing: .02em;
}
.badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hazel); box-shadow: 0 0 12px var(--hazel);
}
.badge-quiet { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--muted); }
.badge-quiet::before { background: var(--sea); box-shadow: 0 0 12px var(--sea); }

h1 { font-size: clamp(38px, 4.9vw, 62px); margin: 0 0 24px; }

.lede {
  max-width: 54ch;
  font-size: clamp(18px, 1.35vw, 20.5px);
  line-height: 1.62; color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.strip-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px;
  margin: 40px 0 0; padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-art { position: relative; display: grid; justify-items: center; margin: 0; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 163, 91, .24), transparent 64%);
  filter: blur(30px);
}

/* глаз-кнопка */
.eye {
  position: relative; z-index: 1;
  width: min(100%, 460px); aspect-ratio: 1;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent;
  overflow: hidden; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.eye-iris {
  position: absolute; left: 3%; top: 3%; width: 94%; height: 94%;
  object-fit: contain;
  transform: translate3d(var(--ix, 0px), var(--iy, 0px), 0);
  scale: 1;
  transition: scale .3s cubic-bezier(.22, .7, .3, 1), filter .3s ease;
  will-change: transform;
  user-select: none; -webkit-user-drag: none;
}
.eye.is-pressed .eye-iris { scale: 1.055; filter: brightness(1.06) saturate(1.05); }

.ripple {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; border: 2px solid rgba(235, 214, 169, .6);
  pointer-events: none;
  animation: eye-ripple .75s ease-out forwards;
}
@keyframes eye-ripple {
  from { transform: scale(.4); opacity: .9; }
  to { transform: scale(32); opacity: 0; }
}

.hero-art figcaption {
  position: relative; z-index: 1;
  margin-top: 24px; font-size: 15px; line-height: 1.55;
  color: var(--muted-dim); text-align: center; max-width: 38ch;
}
.hero-art figcaption b { color: var(--hazel-pale); font-weight: 600; }
.hero-art .hint { display: block; margin-top: 8px; color: var(--muted); }

/* ── секции ────────────────────────────────────────────── */

.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section[id] { scroll-margin-top: 92px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hazel);
}

h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px;
}
.section-head > p { max-width: 40ch; color: var(--muted); font-size: 17px; }

/* плитки */

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  padding: 26px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: border-color .2s, transform .2s, background .2s;
}
.feature:hover { border-color: rgba(201, 163, 91, .34); transform: translateY(-2px); }
.feature .icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(201, 163, 91, .12);
  color: var(--hazel-pale);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19.5px; letter-spacing: -.015em; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 16px; line-height: 1.58; }

/* иконки */

.icon svg, .icon-inline svg {
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* экраны */

.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.screen-card {
  margin: 0; padding: 40px 28px 32px;
  border: 1px solid var(--line); border-radius: 30px;
  background:
    radial-gradient(520px 320px at 50% 0%, rgba(69, 211, 227, .07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
  display: grid; justify-items: center; gap: 26px;
}
.watch-case {
  width: min(100%, 340px); aspect-ratio: 1;
  padding: 9px; border-radius: 50%;
  background: conic-gradient(from 215deg, #2b323c, #10151c 38%, #333b46 58%, #0d1219);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -26px rgba(0, 0, 0, .9);
}
.watch-case img {
  width: 100%; height: 100%; border-radius: 50%;
  background: #050b14; object-fit: cover;
}
.screen-card figcaption { text-align: center; }
.screen-card figcaption b { display: block; font-size: 21px; letter-spacing: -.02em; margin-bottom: 6px; }
.screen-card figcaption span { color: var(--muted); font-size: 16px; }

.screens-note {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 26px; color: var(--muted); font-size: 16.5px; text-align: center;
}
.icon-inline { display: inline-grid; place-items: center; color: var(--hazel); flex: none; }
.icon-inline svg { width: 22px; height: 22px; }


/* экраны: группы по лицу */
.screen-group { margin-top: 56px; }
.screen-group-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 22px;
}
.screen-group-head h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.screen-group-head p { max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }

/* данные */

.data-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start;
}
.prose {
  margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.68;
}
.prose b { color: var(--text); font-weight: 600; }

.panel {
  padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 163, 91, .07), rgba(255, 255, 255, .012));
}
.panel h3 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--hazel-pale); margin-bottom: 18px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0; border-top: 1px solid var(--line);
  font-size: 16px;
}
.list li:first-child { border-top: 0; padding-top: 0; }
.list span { color: var(--muted-dim); }
.list b { text-align: right; font-weight: 600; color: var(--text); }
.panel-note {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 15px; line-height: 1.55;
}

/* кому: полоса в герое */

.strip-item { padding: 2px 0 22px 18px; border-left: 2px solid rgba(201, 163, 91, .45); }
.strip-item b { display: block; font-size: 17px; letter-spacing: -.01em; }
.strip-item span { color: var(--muted-dim); font-size: 15px; }

/* скачать */

.download {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 44px;
  border-radius: 32px;
  border: 1px solid rgba(201, 163, 91, .22);
  background:
    radial-gradient(700px 380px at 88% 15%, rgba(201, 163, 91, .18), transparent 66%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}
.download h2 { margin-bottom: 0; }
.download .prose { max-width: 52ch; }

.roadmap { list-style: none; margin: 0; padding: 0; }
.roadmap li {
  position: relative; padding: 15px 0 15px 34px;
  border-top: 1px solid var(--line); font-size: 16px; color: var(--muted);
}
.roadmap li:first-child { border-top: 0; }
.roadmap li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--muted-dim);
}
.roadmap li.done::before { border-color: var(--hazel); background: var(--hazel); box-shadow: 0 0 12px rgba(201, 163, 91, .6); }
.roadmap li.wip::before { border-color: var(--sea); background: rgba(69, 211, 227, .35); }
.roadmap .rm-label {
  display: block; margin-bottom: 3px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-dim);
}
.roadmap .rm-text { display: block; }
.roadmap li.done .rm-label { color: var(--hazel); }
.roadmap li.wip .rm-label { color: var(--sea); }

/* подвал */

.site-footer { padding: 54px 0 64px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start;
}
.footer-brand p { margin-top: 12px; color: var(--muted-dim); font-size: 15.5px; max-width: 44ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a {
  text-decoration: none; color: var(--muted); font-size: 15.5px;
}
.footer-nav a:hover { color: var(--text); }
.footer-legal { color: var(--muted-dim); font-size: 14px; line-height: 1.7; }

/* ── появление ─────────────────────────────────────────── */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── адаптив ───────────────────────────────────────────── */

@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .nav > a:not(.btn) { font-size: 15px; }
  .langs button { padding: 6px 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { order: -1; }
  .eye { width: min(100%, 380px); }
  .features { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: 1fr; gap: 32px; }
  .download { grid-template-columns: 1fr; gap: 32px; padding: 34px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 76px 0 auto; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 24px 26px;
    background: rgba(6, 9, 15, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; width: 100%; }
  .nav .langs { margin-top: 14px; align-self: flex-start; }
  .burger { display: inline-flex; }

  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .features { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  .btn { width: 100%; }
  .actions { gap: 12px; }
  .download { padding: 26px 22px; border-radius: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .screen-card { padding: 26px 18px 24px; border-radius: 26px; }
  .screens-note { font-size: 15.5px; }
}
