:root {
  --bg: #fafaf9; --ink: #0a0a0a; --muted: #57534e; --line: #e7e5e4; --card: #ffffff; --accent: #0a0a0a;
  --ok: #15803d; --bad: #b91c1c;
  --sans: "Inter Tight", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --g: clamp(16px, 4vw, 64px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
       padding: 14px var(--g); background: rgba(250,250,249,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
       border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: -.02em; }

.cta { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
       background: var(--accent); color: #fff; font: 600 16px var(--sans); transition: transform .2s; }
.cta:hover { transform: translateY(-2px); }
.cta--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta--small { padding: 9px 18px; font-size: 14px; }
.cta:disabled { opacity: .5; cursor: wait; transform: none; }

.hero { padding: clamp(40px, 8vw, 96px) var(--g) 40px; max-width: 1280px; margin: 0 auto; text-align: center; }
.kicker { font: 400 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-top: 14px; font-size: clamp(44px, 9vw, 128px); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); }
.film { margin: clamp(28px, 5vw, 56px) auto 0; border-radius: clamp(12px, 2vw, 24px); overflow: hidden; background: #000;
        box-shadow: 0 30px 80px rgba(0,0,0,.18); aspect-ratio: 16 / 9; }
.film { display: block; position: relative; }
.film img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.film:hover img { transform: scale(1.02); }
.film__cta { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 13px 24px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

.rules { width: calc(100% - 2 * var(--g)); max-width: 1180px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
         background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rules div { background: var(--card); padding: 24px; display: grid; gap: 8px; }
.rules b { font-size: 18px; letter-spacing: -.02em; }
.rules span { color: var(--muted); line-height: 1.45; font-size: 15px; }

.scenarios, .register { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--g) 0; }
h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.sub { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 640px; line-height: 1.45; }
.grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: grid; gap: 10px; align-content: start; padding: 26px; min-height: 220px; border-radius: 18px; background: var(--card);
        border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.card .num { font: 400 13px var(--mono); color: var(--muted); }
.card b { font-size: 24px; letter-spacing: -.03em; }
.card span:last-child { color: var(--muted); line-height: 1.45; }
.card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--dark .num, .card--dark span:last-child { color: #d6d3d1; }

.register { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 72px); padding-bottom: 96px; }
.register__copy p { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.45; }
.register__copy .small { font-size: 14px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
label.wide, form .cta, .status { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #d6d3d1; background: #fff; color: var(--ink);
                          font: 400 16px var(--sans); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; font-size: 15px; }
.status.ok { color: var(--ok); font-weight: 600; } .status.bad { color: var(--bad); }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--g); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .register { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rules, .grid, form { grid-template-columns: 1fr; }
  .hero__actions .cta { width: 100%; }
}
