:root {
  color-scheme: dark;
  --bg: #0b090e; --ink: #f5f2ef; --muted: #d3cfd4;
  --purple: #b23cf0; --line: #ffffff40; --focus: #e1adff;
  --gutter: clamp(20px, 5.6vw, 100px);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg); color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 8px auto auto 8px; z-index: 10; background: #29143d; padding: 12px; }
.site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; background: radial-gradient(ellipse at 4% 0%, #321343 0, transparent 25%), radial-gradient(ellipse at 92% 95%, #331640 0, transparent 35%), #0b090e; }
.shell { width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: var(--gutter); }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: clamp(74px, 5.5vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; }
.brand { display: block; flex: 0 1 clamp(180px, 19vw, 310px); min-width: 0; }
.brand img { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 3vw, 52px); flex-wrap: wrap; }
.nav-link, .contact-link { border: 0; padding: 0; background: none; font-size: clamp(15px, 1.3vw, 21px); display: inline-flex; align-items: center; min-height: 44px; }
.nav-link:hover, .contact-link:hover { color: #e1adff; }
.outline, .primary { border: 1px solid #a82ce8; border-radius: 9px; padding: 12px 20px; min-height: 44px; background: #100d15; color: var(--ink); font-size: clamp(15px, 1.25vw, 20px); }
.outline:hover { background: #291436; }
.nav .outline { position: relative; }
.nav .outline::before { content: ''; position: absolute; left: calc(-1 * clamp(8px, 1.5vw, 26px)); top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.hero { flex: 1; position: relative; display: grid; grid-template-columns: minmax(0, 61%) minmax(0, 39%); align-items: center; padding-block: clamp(46px, 6vw, 108px); min-height: 0; }
.editorial { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 47%; overflow: hidden; pointer-events: none; }
.editorial img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.editorial::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), transparent 27%), linear-gradient(0deg, var(--bg), transparent 18%); }
.hero-copy { grid-column: 1; min-width: 0; position: relative; }
.accent { width: clamp(46px, 5vw, 84px); height: 4px; background: var(--purple); margin-bottom: clamp(18px, 2vw, 34px); }
h1 { font-size: clamp(62px, 8.9vw, 151px); font-weight: 800; line-height: .98; letter-spacing: -.065em; margin: 0 0 13px; }
h2 { font-size: clamp(21px, 2.05vw, 34px); line-height: 1.22; margin: 0; letter-spacing: -.025em; }
.intro { font-size: clamp(16px, 1.5vw, 24px); line-height: 1.44; color: var(--muted); margin: clamp(24px, 2.1vw, 34px) 0; }
.slogan { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); font-size: clamp(19px, 1.9vw, 32px); font-style: italic; font-weight: 700; line-height: 1.24; margin: clamp(26px, 3vw, 48px) 0; }
.slogan::before { content: ''; height: 2px; width: clamp(26px, 3.5vw, 60px); flex: none; background: var(--purple); }
#signup { width: 100%; max-width: 780px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.email-field { display: flex; align-items: center; gap: 12px; min-width: 0; border: 1px solid #b1a9b5; border-radius: 7px; background: #100d15db; padding-inline: clamp(12px, 1.3vw, 22px); min-height: 60px; }
.email-field:focus-within { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 2px; }
.email-field svg, .contact-link svg { width: 24px; height: 24px; flex: none; }
.email-field input { border: 0; background: transparent; color: var(--ink); min-width: 0; width: 100%; padding-block: 12px; font-size: clamp(16px, 1.4vw, 23px); outline: none; }
.email-field input::placeholder { color: #c3bdc8; opacity: 1; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #7840a0; border-radius: 7px; background: linear-gradient(110deg,#532075,#713099); font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.primary:hover { background: #7934a4; }
.primary span { font-size: 1.25em; }
.consent { border: 1px solid #8650a5; border-radius: 8px; margin-top: 14px; padding: 18px; background: #17101f; color: var(--muted); max-width: 100%; }
.consent p { margin: 0 0 12px; line-height: 1.5; }
.check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.check input { width: 18px; height: 18px; flex: none; accent-color: #a448db; margin-top: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#status { line-height: 1.45; margin: 12px 0 0; padding: 12px; border: 1px solid #8e71a3; border-radius: 6px; background: #18101f; overflow-wrap: anywhere; }
#status[data-kind="error"] { border-color: #ed9f9f; color: #ffcdcd; }
.footer { padding-block: 10px clamp(22px, 3vw, 45px); }
.contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 22px; }
.contact-link { gap: 11px; font-size: clamp(14px, 1.2vw, 19px); overflow-wrap: anywhere; max-width: 100%; }
.contacts > :nth-child(2) { padding-left: 25px; border-left: 1px solid var(--line); }
.domain { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); letter-spacing: .2em; font-size: clamp(12px, 1.25vw, 20px); text-align: center; }
.domain::before, .domain::after { content: ''; height: 1px; background: #ffffff80; flex: 1; }
dialog { width: min(calc(100% - 32px), 480px); max-height: calc(100% - 32px); overflow: auto; padding: 24px; background: #17101f; color: var(--ink); border: 1px solid #8650a5; border-radius: 12px; }
dialog p { color: var(--muted); line-height: 1.5; } dialog::backdrop { background: #000b; }
@media (min-width: 901px) and (max-height: 800px) { .hero { padding-block: 30px; } .intro { margin-block: 20px; } .slogan { margin-block: 25px; } .footer { padding-bottom: 20px; } .contacts { margin-bottom: 12px; } }
@media (max-width: 1050px) { .nav { gap: 14px; } .nav .outline::before { display: none; } .desktop-break { display: none; } }
@media (max-width: 900px) { .header-inner { flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 15px; } .brand { flex-basis: 220px; } .nav { width: 100%; justify-content: center; gap: 6px 18px; } .hero { grid-template-columns: minmax(0, 1fr); padding-block: 0 30px; } .editorial { position: relative; z-index: 0; width: auto; height: clamp(220px, 57vw, 440px); margin-inline: calc(-1 * var(--gutter)); grid-row: 1; } .editorial img { object-position: center 26%; } .editorial::after { background: linear-gradient(0deg,var(--bg),transparent 28%); } .hero-copy { grid-row: 2; padding-top: 16px; } h1 { font-size: clamp(57px, 11.5vw, 100px); } .footer { padding-top: 5px; } }
@media (max-width: 520px) { .form-row { grid-template-columns: minmax(0, 1fr); gap: 12px; } .form-row .primary { min-height: 54px; } .nav { gap: 3px 14px; } .nav .outline { padding: 9px 14px; } .contacts { gap: 8px; flex-direction: column; align-items: flex-start; } .contacts > :nth-child(2) { padding-left: 0; border: 0; } .consent-actions > * { flex: 1 1 100%; } }
/* Maintain original portrait bytes; composite it into the common page background. */
@media (min-width: 901px) and (max-height: 800px) {
  h1 { font-size: clamp(62px, 8.3vw, 140px); }
  .hero { padding-block: 22px; }
  .accent { margin-bottom: 18px; }
  .intro { margin-block: 17px; }
  .slogan { margin-block: 22px; }
  .footer { padding-bottom: 15px; }
}
@media (max-width: 900px) { .editorial { height: clamp(250px, 78vw, 480px); } }
/* V1.2 — native mobile navigation and lightweight atmospheric motion. */
.hamburger, .drawer-close { display: none; }
.header { position: relative; z-index: 4; }
.hero { isolation: isolate; }
.hero-copy { z-index: 2; }
.motion-control { margin-inline-start: auto; border: 0; background: transparent; color: #c3b5cb; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; font-size: 12px; }
.motion-control:hover { color: var(--ink); }
.drawer { display: none; }
@media (max-width: 900px) {
  :root { --mobile-header: 70px; }
  .site { padding-top: calc(var(--mobile-header) + env(safe-area-inset-top, 0px)); }
  .header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: #0b090e; padding-top: env(safe-area-inset-top, 0px); }
  .header-inner { height: var(--mobile-header); min-height: var(--mobile-header); padding-block: 0; flex-wrap: nowrap; justify-content: space-between; gap: 16px; }
  .header .brand { flex: 0 1 clamp(158px, 52vw, 240px); }
  .header .nav { display: none; }
  .hamburger, .drawer-close { display: inline-grid; place-items: center; flex: none; border: 1px solid #ffffff26; border-radius: 8px; width: 46px; height: 46px; background: transparent; padding: 0; }
  .hamburger:hover, .drawer-close:hover { border-color: #ad6ed7; }
  html { scroll-padding-top: calc(var(--mobile-header) + env(safe-area-inset-top, 0px) + 12px); }
  .skip:focus { z-index: 25; }
  .drawer[open] { display: block; }
  .drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(86vw, 380px); max-width: 100%; height: 100%; height: 100dvh; max-height: none; border: 0; border-left: 1px solid #ffffff24; border-radius: 0; padding: 0; background: #09080b; box-shadow: -16px 0 60px #0006; overflow: auto; overscroll-behavior: contain; }
  .drawer[open] { animation: drawer-in 260ms cubic-bezier(.2,.8,.2,1) both; }
  .drawer[open]::backdrop { background: #000a; animation: shade-in 260ms ease both; }
  .drawer[open].closing { animation: drawer-out 220ms cubic-bezier(.4,0,.7,1) both; }
  .drawer[open].closing::backdrop { animation: shade-out 220ms ease both; }
  .drawer-inner { min-height: 100%; display: flex; flex-direction: column; padding: calc(20px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 21px; border-bottom: 1px solid #ffffff24; }
  .drawer-head h2 { font-size: 22px; }
  .drawer-kicker { margin: 32px 0 12px; color: #c6a2da; letter-spacing: .17em; font-size: 11px; font-weight: 700; }
  .drawer-kicker span { color: #b23cf0; }
  .drawer-nav { display: grid; gap: 0; }
  .drawer-nav > :not(.drawer-news) { display: flex; align-items: center; justify-content: space-between; text-align: left; border: 0; border-bottom: 1px solid #ffffff1b; background: none; padding: 19px 0; min-height: 60px; font-size: 19px; color: var(--ink); }
  .drawer-nav > :not(.drawer-news) span { color: #b98bd5; font-size: 17px; }
  .drawer-nav > :not(.drawer-news):hover { color: #e1adff; }
  .drawer-news { margin-top: 28px; min-height: 53px; font-size: 15px; width: 100%; }
  .drawer-slogan { margin: auto 0 0; padding-top: 40px; font-style: italic; font-weight: 700; font-size: 17px; line-height: 1.4; }
  .drawer-domain { color: #bcb3c4; font-size: 11px; letter-spacing: .14em; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ffffff24; }
  html.drawer-open, html.drawer-open body { overflow: hidden; }
  .motion-control { margin-inline-start: 0; }
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes drawer-out { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes shade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shade-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .drawer[open], .drawer[open]::backdrop { animation: none !important; }
}

/* V1.4 — real alpha compositing; no opaque video rectangle or separate footer gradient. */
.site { position: relative; overflow: clip; background: radial-gradient(ellipse at 4% 0%, #2b123b 0, transparent 25%), #0b090e; }
.hero { isolation: auto; }
.header { background: #0b090e99; }
.editorial { z-index: 0; top: 0; bottom: -96px; width: 49%; overflow: hidden; pointer-events: none; }
.editorial img { object-position: center top; mask-image: linear-gradient(to right,transparent 0%,#000 28%),linear-gradient(to bottom,#000 0%,#000 58%,transparent 100%); mask-composite: intersect; }
.editorial::after { content: none; }
.smoke-canvas { position: absolute; z-index: 1; pointer-events: none; background: transparent; top: 0; right: 0; width: 78%; height: calc(100% + 86px); opacity: .46; filter: blur(8px) saturate(1.05); transform: translateZ(0); }
.footer { position: relative; z-index: 2; background: transparent; }
@media (max-width: 900px) {
  .header { background: #0b090e; }
  .editorial { top: auto; bottom: auto; width: auto; }
  .editorial img { object-position: center top; mask-image: linear-gradient(to bottom,#000 0%,#000 62%,transparent 100%); }
  .smoke-canvas { width: 100%; height: clamp(250px,78vw,480px); right: 0; top: 0; opacity: .42; filter: blur(7px) saturate(1.04); }
}
.smoke-canvas[data-state="reduced"], .smoke-canvas[data-state="error"] { visibility: hidden; }
