/* clx.bet — заглушка домена коротких ссылок. Цвета — значения токенов кабинета (ui/styles/theme.css):
   отдельный сайт без сборщика не может импортировать их файл, поэтому повторяет нужные. */

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --blue: #0066FF;
  --yellow: #FDE74C;
  --bg: #11171C;
  --bg-2: #232A31;
  --text: #E6E6E6;
  --muted: #9A9EA0;
  --heading: #FFFFFF;
  --link: #4D95FF;
  --link-hover: #8ABBFF;
  --line: rgba(255, 255, 255, 0.14);
  --primary-hover: #0052CC;
  --font: "Montserrat Variable", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #FFFFFF;
    --bg-2: #F3F5F6;
    --text: #11171C;
    --muted: #63696D;
    --heading: #000000;
    --link: #005CE6;
    --link-hover: #003D99;
    --line: rgba(17, 23, 28, 0.16);
    --primary-hover: #003D99;
  }
}

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

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(45% 60% at 80% 35%, color-mix(in srgb, var(--blue) 26%, transparent), transparent 70%),
    radial-gradient(35% 45% at 10% 90%, color-mix(in srgb, var(--yellow) 12%, transparent), transparent 70%),
    linear-gradient(160deg, var(--bg-2), var(--bg) 60%);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.stage {
  flex: 1;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding: 2rem 1rem 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.intro {
  position: relative;
  z-index: 1;
}

.intro__logo {
  display: inline-block;
  width: 7.5rem;
  margin-bottom: 1.75rem;
  color: var(--heading);
}

.intro__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 25%, transparent);
}

h1 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.intro__lead {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding-left: 1.75rem;
}

/* Маркер — восьмиугольник знака Oktagon */
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  background: var(--blue);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, transform 120ms ease-out;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary,
.btn--primary:hover {
  color: #FFFFFF;
}

.btn--primary {
  background: var(--blue);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--blue) 35%, transparent);
}

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

.btn--ghost {
  border-color: var(--line);
  color: var(--heading);
}

.btn--ghost:hover {
  border-color: var(--link);
  color: var(--heading);
}

.owner {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.art {
  position: relative;
  display: grid;
  justify-items: center;
  max-width: 26rem;
  width: 100%;
  margin-inline: auto;
}

.art img {
  display: block;
  width: 100%;
  height: auto;
}

.art__wheel {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

/* Стол — подставка под колесо, уходит в фон к краям */
.art__table {
  width: 100%;
  margin-top: -18%;
  opacity: 0.55;
  mask-image: radial-gradient(60% 80% at 50% 30%, #000 40%, transparent 85%);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 1rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot a {
  color: inherit;
}

.foot a:hover {
  color: var(--heading);
}

.foot__age {
  font-weight: 700;
}

@media (min-width: 56rem) {
  .stage {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    padding-block: 3rem;
  }

  .art {
    max-width: 32rem;
  }

  /* На широком экране стол шире колеса; на узком упёрся бы в край и дал прокрутку вбок */
  .art__table {
    width: 125%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
