/* =========================================================
   Киберграмотный Казахстан — лендинг кибермарафона MSSP.Global × CitizenSec
   Mobile-first. Палитра и кнопки — по стилю MSSP.Global (фон #120C28, Inter).
   ========================================================= */

/* Inter (OFL, @fontsource-variable/inter): кириллица, расширенная кириллица (казахские буквы), латиница */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-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 {
  --bg: #120C28;
  --bg-deep: #0C0820;
  --surface: #1A1337;
  --surface-2: #221A46;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #FFFFFF;
  --text-2: rgba(236, 232, 250, .78);
  --text-3: rgba(236, 232, 250, .58);
  --violet: #7F56D9;
  --violet-2: #9E77ED;
  --violet-3: #C9A8FF;
  --violet-deep: #42307D;
  --electric: #A94CFF;
  --blue: #4F8BFF;
  --blue-2: #8AB4FF;
  --teal: #2DD4BF;
  --teal-2: #5EEAD4;
  --pink: #F0508C;
  --err: #FDA29B;
  --err-line: #F97066;
  --radius: 24px;
  --header-h: 76px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--header-h) - 4px); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ico { width: 24px; height: 24px; flex: none; }

.container { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: 880px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--bg);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 8px 28px 8px 8px;
  border: 0; border-radius: 999px;
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; text-decoration: none; text-align: center;
  background: linear-gradient(45deg, #7F56D9 0%, #42307D 38%, #53389E 55%, #A94CFF 90%);
  background-size: 200% 200%; background-position: 50% 0;
  box-shadow: 0 14px 34px -14px rgba(127, 86, 217, .85), inset 0 1px 0 rgba(255, 255, 255, .2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-position .8s cubic-bezier(.51, .03, .37, 1.02), transform .2s var(--ease), box-shadow .3s, opacity .2s;
}
.btn:hover { background-position: 0 50%; box-shadow: 0 18px 40px -14px rgba(127, 86, 217, 1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn:active { transform: translateY(1px); }
.btn-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--bg);
  box-shadow: inset 1px -1px 3px rgba(0, 0, 0, .3);
  transition: transform .5s var(--ease);
}
.btn-ico .ico { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn--ghost {
  padding: 8px 28px;
  background: rgba(255, 255, 255, .04);
  border: 1.5px solid rgba(255, 255, 255, .24);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.btn--light { background: #fff; color: var(--bg); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .7); }
.btn--light .btn-ico { background: linear-gradient(135deg, #7F56D9, #42307D); color: #fff; box-shadow: none; }
.btn--light:hover { background: #F3EEFF; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.btn--tg { background: linear-gradient(45deg, #1F8FD6 0%, #229ED9 40%, #4F8BFF 100%); box-shadow: 0 14px 34px -14px rgba(34, 158, 217, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--tg .btn-ico { color: #229ED9; }
.btn--tg .btn-ico .ico { width: 22px; height: 22px; }
.btn--block { display: flex; width: 100%; }
.btn--block > span:last-child { flex: 1; padding-right: 36px; }
.btn--ghost.btn--block { padding-inline: 20px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.btn.is-loading { pointer-events: none; opacity: .88; }
.btn.is-loading .btn-ico .ico { display: none; }
.btn.is-loading .btn-ico::after {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--violet-3); border-top-color: var(--violet-deep);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-pill-sm {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px;
  border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(to right top, #3C2971, #7F56D9, #A94CFF);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: filter .2s;
}
.btn-pill-sm:hover { filter: brightness(1.12); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; margin-top: 16px;
  border: 1.5px solid rgba(201, 168, 255, .55); border-radius: 999px;
  background: rgba(127, 86, 217, .14); color: #fff;
  font-size: 14.5px; font-weight: 700; letter-spacing: .03em; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(127, 86, 217, .26); border-color: var(--violet-3); }
.btn-outline .ico { width: 18px; height: 18px; }

.link-btn {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--violet-3); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Шапка ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: 12px; pointer-events: none; }
.site-header--static { position: relative; }
.header-inner { position: relative; display: flex; align-items: center; gap: 8px; }
.header-inner > * { pointer-events: auto; }
.header-inner::before {
  content: ''; position: absolute; inset: 0 16px; z-index: -1;
  border-radius: 999px;
  background: rgba(18, 12, 40, .84);
  border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .6);
  pointer-events: auto;
}
@media (min-width: 768px) { .header-inner::before { inset: 0 32px; } }
.brand { display: flex; align-items: center; gap: 8px; padding: 18px 0 18px 20px; margin-right: auto; color: #fff; text-decoration: none; }
.brand-logo { height: 22px; width: auto; aspect-ratio: 369 / 100; }
.brand-x { color: var(--violet-3); font-size: 15px; font-weight: 500; }
.brand-partner { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: rgba(255, 255, 255, .92); }
.nav { display: none; }
.nav a {
  padding: 8px 12px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-toggle {
  width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .08); cursor: pointer;
  display: grid; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1099px) {
  .nav.is-open {
    display: grid; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    padding: 10px; border-radius: 22px;
    background: rgba(18, 12, 40, .97); border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  }
  .nav.is-open a { padding: 14px 16px; font-size: 16px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .nav.is-open { left: 32px; right: 32px; } }
@media (max-width: 439px) {
  .brand { padding-left: 18px; }
  .brand-logo { height: 19px; }
  .brand-x, .brand-partner { display: none; }
  .btn-pill-sm { padding: 0 14px; font-size: 14px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; }
  .nav-toggle { display: none; }
  .header-inner .btn-pill-sm { margin-right: 10px; margin-left: 6px; }
}

/* ---------- Общие элементы секций ---------- */
.section { position: relative; padding-block: clamp(64px, 10vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 48px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.h2 {
  margin-top: 14px;
  font-size: clamp(27px, 7vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em;
  overflow-wrap: break-word;
}
.section-lead { margin-top: 18px; max-width: 64ch; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--text-2); }
.section-cta { margin-top: 36px; display: flex; justify-content: center; }

/* Заглушка под будущую 3D-иллюстрацию */
.ph-tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px dashed rgba(255, 255, 255, .28); background: rgba(12, 8, 32, .55);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .62);
  pointer-events: none;
}

/* ---------- 3.1. Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 36px) 0 clamp(48px, 8vw, 96px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 82% 28%, rgba(127, 86, 217, .34) 0%, rgba(127, 86, 217, 0) 70%),
    radial-gradient(45% 40% at 0% 95%, rgba(79, 139, 255, .22) 0%, rgba(79, 139, 255, 0) 70%),
    radial-gradient(35% 35% at 55% 105%, rgba(45, 212, 191, .14) 0%, rgba(45, 212, 191, 0) 70%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 35%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; } }

.hero-copy { container-type: inline-size; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  border: 1px solid rgba(201, 168, 255, .35); background: rgba(127, 86, 217, .14);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #fff;
}
.badge-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .2); }
.hero-title { margin-top: 20px; font-size: clamp(32px, 9.2vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
@supports (font-size: 1cqi) { .hero-title { font-size: min(10.4cqi, 96px); } }
.ht-line {
  display: block; white-space: nowrap;
  background: linear-gradient(180deg, #FFFFFF 40%, #D8C6FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ht-accent { background-image: linear-gradient(90deg, #5EEAD4 0%, #8AB4FF 45%, #C9A8FF 100%); }
.hero-lead { margin-top: 22px; max-width: 34ch; font-size: clamp(18.5px, 2vw, 23px); font-weight: 500; line-height: 1.4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 559px) { .hero-cta > .btn { width: 100%; } .hero-cta > .btn:first-child > span:last-child { flex: 1; padding-right: 36px; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-story { display: grid; gap: 12px; margin-top: 30px; max-width: 58ch; padding-left: 16px; border-left: 2px solid rgba(158, 119, 237, .45); font-size: 15.5px; color: var(--text-2); }

.countdown {
  margin-top: 26px; max-width: 460px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
}
.cd-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
.cd-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cd-cell { display: grid; justify-items: center; padding: 8px 4px; border-radius: 14px; background: rgba(12, 8, 32, .55); }
.cd-cell b { font-size: clamp(24px, 7vw, 34px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: 11.5px; color: var(--text-3); }
.cd-date { margin-top: 10px; font-size: 13.5px; color: var(--text-2); }

.hero-visual { position: relative; }
.hero-art { position: relative; max-width: 480px; margin-inline: auto; padding-bottom: 36px; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 1023px) { .hero-art { max-width: 400px; } }
.ha-float { transform-box: fill-box; transform-origin: center; animation: float 6s ease-in-out infinite; }
.ha-float--2 { animation-delay: -2s; }
.ha-float--3 { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 3.2. Почему участвовать ---------- */
.q-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .q-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.q-card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
}
.q-ico {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(169, 76, 255, .35), rgba(79, 139, 255, .25));
  border: 1px solid rgba(201, 168, 255, .3); color: #fff;
}
.q-card h3 { margin-top: 18px; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.q-card p { margin-top: 8px; color: var(--text-2); }

/* ---------- 3.3. Как работает ---------- */
.section--how { background: linear-gradient(180deg, var(--bg) 0%, #170F36 50%, var(--bg) 100%); }
.steps { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
}
.step p { margin-top: 0; }
@media (min-width: 640px) {
  .step { display: block; padding: 22px; }
  .step p { margin-top: 14px; }
}
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: rgba(45, 212, 191, .12); border: 1px solid rgba(94, 234, 212, .3);
  color: var(--teal-2); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.step > p { color: var(--text-2); }
.step b { display: block; margin-bottom: 4px; color: #fff; font-size: 18px; font-weight: 700; }

/* ---------- 3.4. Четыре недели ---------- */
.weeks { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.week { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.week-art {
  --c1: #A94CFF; --c2: #42307D;
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(70% 80% at 30% 20%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
}
.week-art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent 80%);
}
.week--blue .week-art { --c1: #4F8BFF; --c2: #2B2F8F; }
.week--teal .week-art { --c1: #2DD4BF; --c2: #1E4F8F; }
.week--pink .week-art { --c1: #F0508C; --c2: #53389E; }
.week-art-ico {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin-top: -18px; border-radius: 30px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #fff;
}
.week-art-ico .ico { width: 46px; height: 46px; }
.week-body { padding: 22px 22px 26px; }
.week-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.week-num {
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .09);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.week h3 { margin-top: 14px; font-size: 20px; font-weight: 700; line-height: 1.28; letter-spacing: -.015em; }
.week-body > p:last-child { margin-top: 10px; color: var(--text-2); }

/* ---------- 3.5. Подарки ---------- */
.prize-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center;
  padding: clamp(28px, 6vw, 64px); border-radius: 32px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(94, 234, 212, .22) 0%, rgba(94, 234, 212, 0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(240, 80, 140, .2) 0%, rgba(240, 80, 140, 0) 60%),
    linear-gradient(135deg, #5B3BB0 0%, #3E2A8E 45%, #22357F 100%);
  border: 1px solid rgba(255, 255, 255, .14);
}
@media (min-width: 900px) { .prize-panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.prize-copy .h2 { max-width: 16ch; }
.prize-text { margin-top: 16px; max-width: 52ch; font-size: clamp(16.5px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); }
.prize-copy .btn { margin-top: 28px; }
@media (max-width: 559px) { .prize-copy .btn { width: 100%; } .prize-copy .btn > span:last-child { flex: 1; padding-right: 36px; } }
.prize-art { position: relative; display: grid; place-items: center; min-height: 240px; }
.prize-orbit {
  position: absolute; width: 230px; height: 230px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .3);
  animation: spin 40s linear infinite;
}
.prize-gift {
  position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin-top: -24px; border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  color: #fff; transform: rotate(-6deg);
}
.prize-gift .ico { width: 76px; height: 76px; }
.prize-spark { position: absolute; color: var(--teal-2); }
.prize-spark .ico { width: 28px; height: 28px; }
.prize-spark--1 { top: 20px; right: 22%; }
.prize-spark--2 { bottom: 54px; left: 18%; color: #FFC7DF; }
.prize-spark--2 .ico { width: 20px; height: 20px; }

/* ---------- 3.6. Для кого ---------- */
.aud-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aud-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
}
.aud-ico {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(45, 212, 191, .12); border: 1px solid rgba(94, 234, 212, .28); color: var(--teal-2);
}
.aud-item p { padding-top: 2px; font-size: 16.5px; color: var(--text-2); }
.aud-item b { color: #fff; font-weight: 700; }

/* ---------- 3.7. Организаторы ---------- */
.section--org { background: linear-gradient(180deg, var(--bg) 0%, #150E32 100%); }
.org-logos { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .org-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.org-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 150px;
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.org-card figcaption, .org-partners-label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.org-logo { height: 46px; width: auto; aspect-ratio: 369 / 100; color: #fff; }
.org-wordmark span {
  display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(90deg, #5EEAD4, #8AB4FF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.org-wordmark small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.org-partners-label { margin-top: 32px; }
.partner-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.partner-slot {
  display: grid; place-items: center; min-height: 92px; padding: 14px; border-radius: 18px;
  border: 1.5px dashed rgba(255, 255, 255, .2); text-align: center;
  font-size: 13px; line-height: 1.4; color: var(--text-3);
}

/* ---------- 3.8. Регистрация ---------- */
.section--register { overflow: hidden; }
.section--register::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 75% 40%, rgba(127, 86, 217, .25) 0%, rgba(127, 86, 217, 0) 70%);
}
.reg-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) { .reg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: start; } }
.reg-facts { display: grid; gap: 12px; margin-top: 26px; }
.reg-facts li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 600; }
.reg-facts .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(45, 212, 191, .16); color: var(--teal-2); }
.reg-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; max-width: 46ch;
  padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}
.reg-note .ico { width: 22px; height: 22px; color: var(--violet-3); }

.reg-card {
  position: relative; padding: clamp(20px, 4.4vw, 36px); border-radius: 28px;
  background: linear-gradient(180deg, #211849 0%, #170F35 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -50px rgba(127, 86, 217, .8);
}

.field { min-width: 0; }
.field + .field, .field + .hp + .consents, .field + .consents { margin-top: 18px; }
.field label:not(.check) { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.req { margin-left: 3px; color: var(--violet-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  display: block; width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 15px;
  background: rgba(10, 6, 28, .65); color: #fff;
  font-size: 16px; line-height: 1.3;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: rgba(236, 232, 250, .36); }
.field input:hover { border-color: rgba(255, 255, 255, .28); }
.field input:focus { outline: none; border-color: var(--violet-2); background: rgba(10, 6, 28, .85); box-shadow: 0 0 0 4px rgba(158, 119, 237, .25); }
.field input:disabled { opacity: .45; }
.field input[aria-invalid="true"] { border-color: var(--err-line); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(249, 112, 102, .22); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 100px #1A1238 inset;
  caret-color: #fff;
  transition: background-color 9999s;
}
.input-prefix { position: relative; }
.input-prefix > span {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 16px; font-weight: 600; color: var(--violet-3); pointer-events: none;
}
.input-prefix input { padding-left: 36px !important; }
.hint { margin-top: 7px; font-size: 13px; color: var(--text-3); }
.err { margin-top: 7px; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--err); }
.err:empty { display: none; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.consents { margin-top: 22px; }
.check {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer;
}
.consents > .check:first-child { margin-top: 0; }
.check input {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin: 0; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .34); background: rgba(10, 6, 28, .65);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input:checked {
  border-color: var(--violet-2);
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check input:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--err-line); }
.check a { color: var(--violet-3); text-underline-offset: 2px; }
.check--inline { margin-top: 12px; font-size: 13.5px; }
.reg-form .btn--block { margin-top: 24px; }
.form-status { margin-top: 14px; font-size: 14.5px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; border-radius: 14px; background: rgba(249, 112, 102, .12); border: 1px solid rgba(249, 112, 102, .35); color: var(--err); }
.form-status.is-info { padding: 12px 14px; border-radius: 14px; background: rgba(127, 86, 217, .16); border: 1px solid rgba(201, 168, 255, .3); color: #fff; }
.form-foot { margin-top: 14px; text-align: center; font-size: 13.5px; }
.form-foot a { color: var(--text-2); text-underline-offset: 3px; }

/* Экран «Ты в игре!» */
.reg-done { text-align: center; outline: none; scroll-margin-top: calc(var(--header-h) + 12px); }
.done-badge {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 4px auto 0; border-radius: 50%;
  background: linear-gradient(135deg, #5EEAD4, #4F8BFF); color: var(--bg);
  box-shadow: 0 0 0 8px rgba(94, 234, 212, .14), 0 18px 40px -12px rgba(45, 212, 191, .7);
}
.done-badge .ico { width: 34px; height: 34px; }
.done-title {
  margin-top: 20px; font-size: clamp(34px, 9vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(90deg, #5EEAD4, #8AB4FF 50%, #C9A8FF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.done-text { margin: 14px auto 0; max-width: 46ch; color: var(--text-2); }
.done-id {
  margin-top: 24px; padding: 20px 16px; border-radius: 22px;
  border: 1.5px dashed rgba(201, 168, 255, .55); background: rgba(127, 86, 217, .12);
}
.done-id-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--violet-3); }
.done-id-value {
  margin-top: 6px; font-size: clamp(38px, 12vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em;
  -webkit-user-select: all; user-select: all;
}
.done-id-note { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.copy-status { min-height: 1.4em; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--teal-2); }
.done-tg-text { margin: 18px auto 18px; max-width: 46ch; color: var(--text-2); }
.done-pending { margin-top: 10px; font-size: 13.5px; color: var(--text-3); }
.reg-done .btn--ghost { margin-top: 12px; }
.done-email { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.reg-done .link-btn { margin-top: 10px; }

/* ---------- 3.9. FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-size: clamp(16.5px, 1.8vw, 19px); font-weight: 600; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.faq-ico::before, .faq-ico::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--teal-2); transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 2px 22px; max-width: 64ch; color: var(--text-2); }

/* ---------- Подвал ---------- */
.site-footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.brand--footer { padding: 0; margin: 0; }
.footer-copy { font-size: 13.5px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--text-3); }
.footer-links a { color: var(--text-2); text-underline-offset: 3px; }

/* ---------- Закреплённая кнопка (телефоны) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 18px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(18, 12, 40, 0) 0%, rgba(18, 12, 40, .94) 40%);
  transform: translateY(110%); transition: transform .35s var(--ease);
  pointer-events: none;
}
.sticky-cta.is-visible { transform: none; pointer-events: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Узкие телефоны (до 419px): подписи кнопок в одну строку, где это возможно ---------- */
@media (max-width: 419px) {
  .btn { font-size: 15px; letter-spacing: .01em; }
  .btn--block > span:last-child,
  .hero-cta > .btn:first-child > span:last-child,
  .prize-copy .btn > span:last-child { padding-right: 10px; }
  .prize-panel { padding: 26px 20px; border-radius: 26px; }
  .reg-card { padding: 20px 16px; border-radius: 24px; }
}

/* ---------- Страница документа ---------- */
.page-doc .site-header { padding-bottom: 12px; }
.doc { padding: 32px 0 80px; }
.doc-back { display: inline-block; margin-bottom: 24px; color: var(--violet-3); font-weight: 600; text-decoration: none; }
.doc-title { font-size: clamp(28px, 6vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.doc-draft { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(245, 196, 81, .12); border: 1px solid rgba(245, 196, 81, .4); color: #FCE7B2; font-size: 14.5px; }
.doc-section { margin-top: 32px; }
.doc-section h2 { font-size: 20px; font-weight: 700; }
.doc-section p { margin-top: 10px; color: var(--text-2); }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Личный кабинет и страницы заданий (WordPress-тема)
   ========================================================= */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.doc-body h2 { margin-top: 28px; font-size: 20px; font-weight: 700; }
.doc-body p { margin-top: 10px; color: var(--text-2); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; vertical-align: middle;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn .ico { width: 18px; height: 18px; }
.btn:disabled { opacity: .7; cursor: progress; }

.cab { padding-bottom: 32px; }
.cab-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 28px) 0 28px; }
.cab-hero > .container { position: relative; }
.cab-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.cab-title { margin-top: 10px; font-size: clamp(30px, 8vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.cab-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
@media (min-width: 900px) { .cab-stats { grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr; } }
.stat { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); min-width: 0; }
.stat--id { grid-column: 1 / -1; }
@media (min-width: 900px) { .stat--id { grid-column: auto; } }
.stat dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.stat dd { margin: 6px 0 0; font-size: clamp(22px, 5.5vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.stat dd.stat-small { font-size: 18px; font-weight: 700; }
.stat--id dd { display: flex; align-items: center; }
.stat .copy-status { margin-top: 4px; min-height: 0; }
.cab-note { margin-top: 16px; font-size: 14.5px; color: var(--text-2); }

.verify-box {
  margin-top: 18px; padding: 18px; border-radius: 20px;
  background: rgba(127, 86, 217, .14); border: 1px solid rgba(201, 168, 255, .35);
}
.verify-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.verify-head .ico { width: 26px; height: 26px; color: var(--violet-3); flex: none; }
.verify-title { font-weight: 700; font-size: 17px; }
.verify-text { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.verify-sent { margin-bottom: 12px; font-size: 14.5px; }
.verify-form .field { max-width: 260px; }
.verify-form input { letter-spacing: .3em; font-size: 22px !important; font-weight: 700; }
.verify-form .btn { margin-top: 12px; }
.field input:not([type="checkbox"]):not([type="radio"]) {
  display: block; width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 15px; background: rgba(10, 6, 28, .65); color: #fff; font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(158, 119, 237, .25); }
.field input[aria-invalid="true"] { border-color: var(--err-line); }

.today-card {
  display: grid; gap: 10px; margin-top: 18px; padding: 20px; border-radius: 22px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(127, 86, 217, .55), rgba(34, 53, 127, .55)); border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .2s var(--ease), box-shadow .3s;
}
.today-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(127, 86, 217, .9); }
.today-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-2); }
.today-title { font-size: clamp(20px, 5vw, 26px); font-weight: 800; line-height: 1.2; }
.today-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.today-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.today-go .ico { width: 14px; height: 14px; }

.chip {
  display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; background: rgba(255, 255, 255, .1); color: var(--text-2);
}
.chip--open { background: rgba(94, 234, 212, .16); color: var(--teal-2); }
.chip--done { background: rgba(45, 212, 191, .9); color: var(--bg); }
.chip--submitted, .chip--review { background: rgba(138, 180, 255, .18); color: var(--blue-2); }
.chip--missed, .chip--rejected { background: rgba(249, 112, 102, .14); color: var(--err); }
.chip--event { background: rgba(240, 80, 140, .18); color: #FFC7DF; }

.cab-days { padding-top: 24px; }
.week-head { margin: 28px 0 12px; font-size: 15px; font-weight: 700; color: var(--text-2); }
.week-head span { margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.day-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .day-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.day-link {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: #fff; text-decoration: none;
}
a.day-link:hover { border-color: rgba(201, 168, 255, .45); background: var(--surface-2); }
.day-item--locked .day-link { opacity: .6; }
.day-n { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .07); font-weight: 800; font-variant-numeric: tabular-nums; }
.day-item--done .day-n { background: rgba(45, 212, 191, .9); color: var(--bg); }
.day-item--open .day-n { background: rgba(127, 86, 217, .55); }
.day-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.day-name { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.day-sub { font-size: 13px; color: var(--text-3); }

.cab--login { padding: calc(var(--header-h) + 48px) 0 64px; }
.cab-login { max-width: 520px; }
.cab-login-form { margin-top: 24px; }
.cab-login-form .btn { margin-top: 16px; }
.cab-login-foot { margin-top: 18px; font-size: 14.5px; }
.cab-login-foot a { color: var(--violet-3); }

/* Страница задания */
.day { padding: calc(var(--header-h) + 24px) 0 64px; }
.day-badge { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; background: rgba(127, 86, 217, .2); color: var(--violet-3); }
.week-tone-2 { background: rgba(79, 139, 255, .18); color: var(--blue-2); }
.week-tone-3 { background: rgba(45, 212, 191, .16); color: var(--teal-2); }
.week-tone-4 { background: rgba(240, 80, 140, .16); color: #FFC7DF; }
.day-title { margin-top: 14px; font-size: clamp(28px, 7vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: break-word; }
.day-num { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; letter-spacing: .18em; color: var(--teal-2); }
.day-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.day-art {
  position: relative; display: grid; place-items: center; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: radial-gradient(70% 80% at 30% 20%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #7F56D9, #22357F);
}
.day-art--img { background: var(--surface); }
.day-art .day-img { width: 100%; height: 100%; object-fit: cover; }
.day-art .week-art-ico { margin-top: -10px; }
.day-content { margin-top: 26px; font-size: 17px; line-height: 1.65; }
.day-content > * + * { margin-top: 14px; }
.day-content p { color: var(--text-2); }
.day-content h3 { margin-top: 28px; font-size: 20px; font-weight: 700; color: #fff; }
.day-content ol { padding-left: 0; counter-reset: step; display: grid; gap: 10px; }
.day-content ol li { position: relative; padding: 12px 14px 12px 52px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); counter-increment: step; color: var(--text-2); }
.day-content ol li::before {
  content: counter(step); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; background: rgba(45, 212, 191, .14); color: var(--teal-2); font-weight: 800; font-size: 14px;
}
.day-content .cm-material { padding: 14px 16px; border-radius: 16px; background: rgba(127, 86, 217, .12); border-left: 3px solid var(--violet-2); color: var(--text); }
.cm-fact { border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.cm-fact summary { padding: 14px 16px; cursor: pointer; font-weight: 600; color: #fff; }
.cm-fact p { padding: 0 16px 14px; color: var(--teal-2); }

.day-task { margin-top: 36px; padding: clamp(18px, 4.4vw, 32px); border-radius: 26px; background: linear-gradient(180deg, #211849, #170F35); border: 1px solid var(--line-2); }
.day-task-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.task-form { margin-top: 18px; }
.task-id { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.task-id span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--text-3); }
.task-id b { font-size: 18px; }
.task-field { margin-top: 20px; }
.task-field fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.task-field legend, .task-field > label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.task-field .opt { font-weight: 400; color: var(--text-3); }
.opts { display: grid; gap: 8px; }
.opts--scale { display: flex; flex-wrap: wrap; }
.opts .opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(10, 6, 28, .5); color: var(--text); cursor: pointer; }
.opts--scale .opt { min-width: 56px; justify-content: center; padding: 12px 16px; font-weight: 700; }
.opts .opt:hover { border-color: rgba(201, 168, 255, .5); }
.opts .opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--violet); }
.opts--scale .opt input { position: absolute; opacity: 0; pointer-events: none; }
.opts .opt:has(input:checked) { border-color: var(--violet-2); background: rgba(127, 86, 217, .25); }
.opts .opt:has(input:focus-visible) { outline: 3px solid var(--teal-2); outline-offset: 2px; }
.task-field input[type="text"], .task-field input[type="number"], .task-field textarea {
  display: block; width: 100%; padding: 13px 15px; border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 14px;
  background: rgba(10, 6, 28, .65); color: #fff; font: inherit; font-size: 16px; line-height: 1.45;
}
.task-field input[type="number"] { max-width: 180px; }
.task-field textarea { resize: vertical; min-height: 110px; }
.task-field input:focus, .task-field textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(158, 119, 237, .25); }
.task-field.has-error .opts .opt, .task-field.has-error input, .task-field.has-error textarea { border-color: var(--err-line); }
.task-form .btn--block { margin-top: 24px; }

.day-result { margin-top: 16px; padding: 16px; border-radius: 18px; background: rgba(45, 212, 191, .1); border: 1px solid rgba(94, 234, 212, .35); }
.day-result > * + * { margin-top: 8px; }
.day-result-status { font-size: 16px; }
.day-result-msg { color: var(--text-2); }
.explain { margin-top: 12px; }
.explain-title { font-weight: 700; }
.explain ul { display: grid; gap: 8px; margin-top: 8px; }
.explain li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.explain li.is-ok span { color: var(--teal-2); }
.explain li.is-wrong span { color: var(--err); }
.explain small { color: var(--text-3); font-size: 13.5px; }
.day-locked { margin-top: 24px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: grid; gap: 16px; justify-items: start; }
.day-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.day-nav a { color: var(--violet-3); font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ha-float, .prize-orbit { animation: none; }
  .btn, .btn-ico, .today-card { transition: none; }
}
