/* =========================================================
   ONECLI V2.0 — персональный Landing Page участника
   Тёмная тема (по умолчанию) + светлая «белый премиум»
   ========================================================= */
:root {
  --bg: #050505;
  --bg-2: #0B0A08;
  --card: rgba(18, 18, 18, .72);
  --card-solid: #111;
  --line: rgba(212, 175, 55, .22);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #E0E0E0;
  --strong: #FFFFFF;
  --muted: #8A8A8A;
  --gold: #D4AF37;
  --gold-light: #FFD700;
  --gold-pale: #FFF1B8;
  --gold-ink: #FFD700;
  --shadow: 0 40px 90px -40px #000;
  --glow: 0 0 25px rgba(212, 175, 55, .4);
  --gold-grad: linear-gradient(110deg, #8A6A12 0%, #D4AF37 22%, #FFF1B8 42%, #FFD700 55%, #D4AF37 72%, #8A6A12 100%);
  --ff-title: 'Unbounded', 'Arial Black', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  /* «шампань»: тёплый бежевый вместо белого, тёмный текст, насыщенное золото */
  --bg: #EAE3D4;
  --bg-2: #F4EFE4;
  --card: rgba(253, 250, 243, .9);
  --card-solid: #FDFAF3;
  --line: rgba(140, 105, 20, .3);
  --line-soft: rgba(60, 45, 10, .12);
  --text: #2B2620;
  --strong: #15120D;
  --muted: #5C5346;
  --gold: #8C6914;
  --gold-light: #A97F16;
  --gold-pale: #6B500C;
  --gold-ink: #7A5B10;
  --shadow: 0 28px 60px -32px rgba(70, 50, 5, .45), 0 2px 6px rgba(70, 50, 5, .06);
  --glow: 0 0 25px rgba(169, 127, 22, .25);
  --gold-grad: linear-gradient(110deg, #5E470B 0%, #9A7416 28%, #C99A2E 50%, #9A7416 72%, #5E470B 100%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--ff-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: var(--gold-light); animation: goldFlow 7s linear infinite;
}
@keyframes goldFlow { to { background-position: -220% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-title); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ''; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.h2 { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 54px); line-height: 1.08; letter-spacing: -.01em; color: var(--strong); }
.lead { color: var(--muted); font-size: clamp(15px, .4vw + 13.5px, 19px); font-weight: 300; }

/* ---------- фон ---------- */
.lp-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 80% 10%, rgba(212, 175, 55, .12), transparent 60%), radial-gradient(ellipse 50% 50% at 0% 90%, rgba(212, 175, 55, .08), transparent 60%), var(--bg); transition: background-color .5s; }
.lp-bg__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s var(--ease); }
.lp-bg__img.is-loaded { opacity: .55; }
.lp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, .35) 45%, transparent 70%); }
:root[data-theme="light"] .lp-bg::after { display: none; }
:root[data-theme="light"] .lp-bg__img { opacity: 0 !important; }
.lp-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
:root[data-theme="light"] .lp-bg canvas { opacity: .35; }

/* ---------- кнопки ---------- */
.btn {
  --py: 15px; --px: 28px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--py) var(--px); border-radius: 999px;
  font-family: var(--ff-title); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, color .35s;
}
.btn:hover { transform: scale(1.05); }
.btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--gold {
  color: #140f00; background: linear-gradient(110deg, #B8902A, #FFD700 30%, #FFF1B8 48%, #FFD700 62%, #B8902A); background-size: 220% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .5), 0 12px 30px -12px rgba(212, 175, 55, .7);
  animation: goldFlow 6s linear infinite;
}
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover { box-shadow: inset 0 0 0 1px rgba(255, 241, 184, .8), 0 0 40px rgba(255, 215, 0, .45); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--outline { color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(212, 175, 55, .05); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--gold-light), inset 0 0 20px rgba(212, 175, 55, .25), var(--glow); }
.btn--lg { --py: 18px; --px: 34px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.lp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: padding .4s var(--ease), background-color .4s; }
.lp-header.is-scrolled { padding: 10px 0; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.lp-header__inner { display: flex; align-items: center; gap: 22px; }
.lp-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.lp-logo__mark { position: relative; display: block; width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 215, 0, .3)); }
.lp-logo__mark img { display: block; width: 100%; height: 100%; }
.lp-logo__mark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 240, .95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  -webkit-mask: url("../img/logo-gold.webp") center / contain no-repeat;
          mask: url("../img/logo-gold.webp") center / contain no-repeat;
  mix-blend-mode: screen; animation: lpLogoShine 4.5s ease-in-out infinite;
}
@keyframes lpLogoShine { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
.lp-logo b { font-family: var(--ff-title); font-weight: 800; font-size: 17px; letter-spacing: .14em; }
.lp-nav { display: flex; gap: 28px; }
.lp-nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.lp-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-light); transform: scaleX(0); transition: transform .4s var(--ease); }
.lp-nav a:hover { color: var(--gold-ink); }
.lp-nav a:hover::after { transform: scaleX(1); }
.lp-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle { position: relative; width: 62px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0; }
.theme-toggle i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #FFE680, #D4AF37); box-shadow: 0 0 12px rgba(255, 215, 0, .55); transition: transform .45s var(--ease); display: grid; place-items: center; }
.theme-toggle i svg { width: 14px; height: 14px; fill: none; stroke: #1a1200; stroke-width: 2; stroke-linecap: round; }
:root[data-theme="light"] .theme-toggle i { transform: translateX(30px); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.lang-mini { display: flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.lang-mini a { padding: 6px 12px; border-radius: 999px; font-family: var(--ff-title); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); transition: color .2s, background .2s; }
.lang-mini a:hover { color: var(--gold-ink); }
.lang-mini a.is-active { color: #140f00; background: linear-gradient(135deg, #FFE680, #D4AF37); }

/* ---------- hero ---------- */
.lp-hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.lp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.lp-hero h1 { font-family: var(--ff-title); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4.8vw, 78px); line-height: 1.03; letter-spacing: -.02em; color: var(--strong); margin: 22px 0 22px; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lp-hero__rings { position: absolute; right: -10%; top: 50%; width: min(70vw, 900px); aspect-ratio: 1; transform: translateY(-50%) rotateX(66deg) rotateZ(-18deg); z-index: -1; pointer-events: none; }
.lp-hero__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .3); box-shadow: 0 0 40px rgba(212, 175, 55, .12); animation: spin 50s linear infinite; }
.lp-hero__rings i:nth-child(2) { inset: 14%; border-style: dashed; animation-direction: reverse; animation-duration: 70s; }
.lp-hero__rings i:nth-child(3) { inset: 30%; border-color: rgba(255, 215, 0, .5); animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* карточка пригласителя */
.inviter {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 34px 30px 30px; border-radius: 28px; text-align: center;
  background: var(--card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), box-shadow .6s;
}
.inviter::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--gold-light) 75%, transparent 85%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: angSpin 6s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes angSpin { to { --ang: 360deg; } }
.inviter__badge { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-ink); background: rgba(212, 175, 55, .1); border: 1px solid var(--line); white-space: nowrap; }
.inviter__ava { width: 148px; height: 148px; margin: 26px auto 18px; border-radius: 50%; padding: 4px; background: conic-gradient(from var(--ang, 0deg), #6B520E, #D4AF37, #FFF1B8, #FFD700, #8A6A12, #D4AF37, #6B520E); animation: angSpin 6s linear infinite; box-shadow: 0 0 50px -8px rgba(255, 215, 0, .55); }
.inviter__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--card-solid); background: var(--card-solid); }
.inviter h3 { font-family: var(--ff-title); font-weight: 700; font-size: 22px; color: var(--strong); text-transform: uppercase; }
.inviter__pos { margin-top: 4px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.inviter__quote { position: relative; margin: 20px 0 22px; padding: 34px 20px 18px; border-radius: 16px; background: rgba(212, 175, 55, .06); border: 1px solid var(--line-soft); font-size: 14.5px; font-style: italic; color: var(--text); text-align: left; white-space: pre-line; max-height: 220px; overflow: auto; }
.inviter__quote::before { content: '“'; position: absolute; top: 4px; left: 14px; font-family: Georgia, serif; font-size: 44px; line-height: 1; color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(212, 175, 55, .05);
  font-size: 13px; font-weight: 600; color: var(--strong);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.social svg { width: 18px; height: 18px; fill: currentColor; color: var(--gold-ink); }
.social:hover { transform: translateY(-3px); border-color: var(--gold-light); box-shadow: var(--glow); }

/* ---------- статистика ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.lp-stats div { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line-soft); }
.lp-stats div:first-child { border-left: 0; }
.lp-stats b { display: block; font-family: var(--ff-title); font-weight: 700; font-size: clamp(18px, 1.8vw, 28px); color: var(--gold-ink); }
.lp-stats span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- секции ---------- */
.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 64px); }
.section__head .h2 { margin: 16px 0 16px; }
.section__head--center { margin-inline: auto; text-align: center; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden; border-radius: 26px; display: flex; flex-direction: column;
  background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), box-shadow .6s, border-color .6s;
}
.product:hover { border-color: var(--gold); box-shadow: var(--shadow), 0 0 50px -15px rgba(255, 215, 0, .45); }
.product__media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 50%, #1d170a, #070604 70%); overflow: hidden; }
.product__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.product__img.is-loaded { opacity: 1; }
.product:hover .product__img { transform: scale(1.06); }
.product__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--card-solid)); opacity: .9; }
.product__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.product__img.is-loaded + .product__fallback { display: none; }
.product__fallback svg { width: 90px; fill: none; stroke: #FFD700; stroke-width: 1.2; filter: drop-shadow(0 0 16px rgba(255, 215, 0, .7)); }
.product__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product__body h3 { font-family: var(--ff-title); font-weight: 800; font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; color: var(--strong); }
.product__body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--gold-ink); background: rgba(212, 175, 55, .08); border: 1px solid var(--line); }
.product__foot { margin-top: auto; padding-top: 10px; }

/* видео */
.video {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 80px -30px rgba(255, 215, 0, .4);
  background: radial-gradient(ellipse at 50% 50%, #1b150a, #050505 70%);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 20px; color: #fff; }
.video__play { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FFE680, #D4AF37); box-shadow: 0 0 0 12px rgba(255, 215, 0, .12), 0 0 60px rgba(255, 215, 0, .5); animation: pulse 2.4s ease-in-out infinite; }
.video__play svg { width: 34px; height: 34px; fill: #1a1200; margin-left: 5px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 26px rgba(255, 215, 0, 0), 0 0 80px rgba(255, 215, 0, .6); } }
.video__poster b { font-family: var(--ff-title); font-size: clamp(16px, 2vw, 24px); text-transform: uppercase; letter-spacing: .06em; }
.video__poster span { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #bfa45a; }
.video::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .15); }

/* контакты */
.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold), var(--glow); }
.contact-card h3 { font-family: var(--ff-title); font-size: 20px; color: var(--strong); text-transform: uppercase; }
.contact-card p { color: var(--muted); font-size: 14px; }
.contact-card .socials { justify-content: flex-end; }

/* регистрация */
.reg { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.reg-form { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 80px -40px rgba(255, 215, 0, .4); }
.reg-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-form .full { grid-column: 1 / -1; }
.input {
  width: 100%; padding: 15px 18px; border-radius: 14px; outline: none;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--strong); font: inherit; font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}
.input::placeholder { color: var(--muted); }
.input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(255, 215, 0, .12), var(--glow); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--gold); background: transparent; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.check input:checked { background: linear-gradient(135deg, #FFE680, #D4AF37); box-shadow: 0 0 10px rgba(255, 215, 0, .5); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #1a1200; border-bottom: 2px solid #1a1200; transform: translateY(-1px) rotate(-45deg); }
.check a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.reg-perks { display: grid; gap: 14px; margin-top: 26px; }
.reg-perks li { display: flex; gap: 14px; align-items: center; }
.reg-perks i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(212, 175, 55, .1); border: 1px solid var(--line); font-style: normal; font-family: var(--ff-title); font-size: 12px; color: var(--gold-ink); }

/* футер */
.lp-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; font-size: 13px; color: var(--muted); }
.lp-footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.lp-footer h4 { font-family: var(--ff-title); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.lp-footer a { display: block; padding: 3px 0; transition: color .25s; }
.lp-footer a:hover, .lp-footer button:hover { color: var(--gold-ink); }
.lp-footer button { display: block; padding: 3px 0; text-align: left; color: var(--muted); }
.lp-footer__bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* модалка документов */
.doc-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 30px 16px; background: rgba(0, 0, 0, .8); backdrop-filter: blur(8px); overflow-y: auto; }
.doc-modal.is-open { display: flex; }
.doc-modal__box { position: relative; width: min(860px, 100%); display: grid; gap: 12px; }
.doc-modal__box img { width: 100%; border-radius: 12px; }
.doc-modal__close { position: sticky; top: 0; justify-self: end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #111; border: 1px solid var(--gold); color: #FFD700; font-size: 22px; z-index: 2; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* toastr */
#toast-container > div { opacity: 1 !important; border-radius: 14px !important; background-color: rgba(16, 16, 16, .96) !important; border: 1px solid rgba(212, 175, 55, .45) !important; box-shadow: 0 20px 40px -12px #000 !important; font-family: var(--ff-body); }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
  .lp-nav { display: none; }
  .lp-hero__grid, .reg { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .lp-stats div:last-child { grid-column: 1 / -1; }
  .contact-card { grid-template-columns: auto 1fr; }
  .contact-card .socials { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .lp-header .btn { display: none; }
  .lp-hero { padding-top: 100px; }
  .lp-hero__actions .btn { width: 100%; }
  .reg-form .grid { grid-template-columns: 1fr; }
  .lp-hero__rings { width: 130vw; right: -50%; top: 30%; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== светлая тема «шампань» — детали ===== */
:root[data-theme="light"] .lp-bg {
  background:
    radial-gradient(ellipse 60% 50% at 85% 5%, rgba(201, 154, 46, .28), transparent 65%),
    radial-gradient(ellipse 55% 45% at 5% 60%, rgba(201, 154, 46, .16), transparent 65%),
    radial-gradient(ellipse 70% 50% at 70% 100%, rgba(140, 105, 20, .14), transparent 65%),
    linear-gradient(180deg, #EFE9DC 0%, #E7DFCE 55%, #E2D8C4 100%);
}
:root[data-theme="light"] .lp-bg canvas { opacity: .5; mix-blend-mode: multiply; }
:root[data-theme="light"] .lead { font-weight: 400; color: var(--muted); }
:root[data-theme="light"] .lp-header.is-scrolled { background: rgba(239, 233, 220, .88); }
:root[data-theme="light"] .lp-nav a { color: #3B342A; }
:root[data-theme="light"] .inviter,
:root[data-theme="light"] .product,
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .reg-form {
  background: linear-gradient(180deg, #FFFDF8 0%, #F8F2E5 100%);
  border-color: rgba(140, 105, 20, .32);
}
:root[data-theme="light"] .product__body,
:root[data-theme="light"] .contact-card { box-shadow: var(--shadow), inset 0 1px 0 #fff; }
:root[data-theme="light"] .product__media::after { background: linear-gradient(180deg, transparent 55%, #FFFDF8); }
:root[data-theme="light"] .inviter__quote { background: #F3EBD9; border-color: rgba(140, 105, 20, .2); color: #2B2620; }
:root[data-theme="light"] .tags span,
:root[data-theme="light"] .social { background: #F3EBD9; border-color: rgba(140, 105, 20, .28); }
:root[data-theme="light"] .input { background: #FFFDF8; border-color: rgba(140, 105, 20, .3); }
:root[data-theme="light"] .input::placeholder { color: #8A7F6C; }
:root[data-theme="light"] .btn--outline { background: rgba(255, 253, 248, .6); }
:root[data-theme="light"] .lang-mini,
:root[data-theme="light"] .theme-toggle { background: rgba(255, 253, 248, .7); }
/* футер — тёмная плита: контраст и «премиум» */
:root[data-theme="light"] .lp-footer { background: #1B1712; border-top: 0; color: #B9AE9A; }
:root[data-theme="light"] .lp-footer h4 { color: #D4AF37; }
:root[data-theme="light"] .lp-footer button { color: #B9AE9A; }
:root[data-theme="light"] .lp-footer a:hover, :root[data-theme="light"] .lp-footer button:hover { color: #FFD700; }
:root[data-theme="light"] .lp-footer .gold-text { background: linear-gradient(110deg, #8A6A12, #D4AF37 30%, #FFF1B8 48%, #FFD700 60%, #8A6A12); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; }
:root[data-theme="light"] .lp-footer p, :root[data-theme="light"] .lp-footer span { color: #B9AE9A; }
:root[data-theme="light"] .lp-footer__bottom { border-top-color: rgba(255, 255, 255, .08); }
