@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-style: normal; font-display: swap;
  src: url('/fonts/big-shoulders-900.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 400 600; font-style: normal; font-display: swap;
  src: url('/fonts/inter-tight.woff2') format('woff2'); }

:root {
  --bg: #121417;
  --bg-2: #181b1f;
  --panel: #1d2126;
  --line: #2a2f36;
  --text: #eef0f2;
  --text-2: #a8afb8;
  --text-3: #79818b;
  --lime: #bfe264;
  --lime-hot: #c8f23c;
  --ink: #121417;
  --radius: 14px;
  --head: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--lime-hot); }
:focus-visible { outline: 2px solid var(--lime-hot); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lime { color: var(--lime); }
.dim { color: var(--text-3); }

h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 900; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(42px, 11vw, 84px); line-height: .95; }
h2 { font-size: clamp(32px, 7.5vw, 56px); line-height: 1; }
h3 { font-family: var(--body); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.lead { color: var(--text-2); font-size: clamp(15px, 4vw, 19px); line-height: 1.5; margin: 14px 0 0; max-width: 46ch; text-wrap: pretty; }
.small { color: var(--text-3); font-size: 14px; margin: 10px 0 0; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgb(18 20 23 / 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgb(255 255 255 / 0.05); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand img { width: 168px; height: auto; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 0 0 0 rgb(200 242 60 / 0); transition: background .15s, box-shadow .2s, transform .1s;
}
.btn:hover { background: var(--lime-hot); color: var(--ink); box-shadow: 0 0 28px -4px rgb(200 242 60 / 0.55); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 22px 0 48px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(191 226 100 / 0.14), transparent 70%); pointer-events: none;
}
.hero-in { position: relative; display: grid; gap: 36px; }
.hero .lead { margin-top: 12px; }

/* Форма */
.join-slot { margin-top: 20px; }
.join { max-width: 520px; }
.center .join { margin: 0 auto; text-align: left; }
.join .row { display: flex; gap: 8px; }
.join input[type=email] {
  flex: 1; min-width: 0; height: 50px; padding: 0 18px;
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  font: 400 16px var(--body);
}
.join input[type=email]::placeholder { color: var(--text-3); }
.join input[type=email]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgb(191 226 100 / 0.18); }
.join input[aria-invalid=true] { border-color: #ff7a6b; }
.devices { border: 0; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.devices legend { float: left; margin-right: 6px; font-size: 13px; color: var(--text-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--text-2); transition: all .12s;
}
.chip input:checked + span { background: rgb(191 226 100 / 0.14); border-color: var(--lime); color: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid var(--lime-hot); outline-offset: 2px; }
.consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--text-2); line-height: 1.4; cursor: pointer; }
.consent input { accent-color: var(--lime); width: 17px; height: 17px; margin: 0; flex: none; }
.consent.bad { color: #ff9c90; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.ts { margin-top: 10px; }
.msg { margin: 8px 0 0; font-size: 14px; color: #ff9c90; min-height: 0; }
.msg:empty { display: none; }
.note { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.done { max-width: 520px; padding: 20px 22px; border: 1px solid rgb(191 226 100 / 0.35); border-radius: var(--radius); background: rgb(191 226 100 / 0.06); }
.center .done { margin: 0 auto; }
.done p { margin: 0; color: var(--text-2); }
.done .done-h { font: 900 28px/1.1 var(--head); text-transform: uppercase; letter-spacing: 0.01em; color: var(--lime); margin-bottom: 6px; }
.done .done-links { margin-top: 10px; }

/* Скриншоты */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.shot img { width: 100%; }
.shot-hero { box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.03); }
.ph { aspect-ratio: 16 / 10; display: grid; place-items: center; background:
  repeating-linear-gradient(0deg, transparent 0 22px, rgb(255 255 255 / 0.025) 22px 23px),
  linear-gradient(160deg, #1b1f24, #15181b); }
.ph span { font-size: 13px; color: var(--text-3); letter-spacing: .04em; }

/* Секции */
.section { padding: 56px 0; }
.section h2 + .lead { margin-top: 12px; }
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 20px; }
.card .shot { border-radius: 9px; margin-bottom: 16px; }
.card h3, .card p { padding: 0 8px; }
.card p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }

.split-in { display: grid; gap: 24px; align-items: center; }
.local-in { display: flex; gap: 20px; align-items: flex-start; padding: 28px 22px; border-radius: var(--radius); background: linear-gradient(135deg, rgb(191 226 100 / 0.08), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.local-ico { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shot-wide { margin-top: 24px; }

.author { padding: 40px 0; }
.quote { margin: 0 auto; max-width: 30ch; text-align: center; font: 900 clamp(30px, 6.5vw, 46px)/1.1 var(--head); color: var(--text); text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--text-2); }

.final { padding-bottom: 72px; }
.final .join-slot { margin-top: 24px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--text-3); }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--lime); }

/* Privacy */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(40px, 9vw, 64px); }
.doc h2 { font-size: 26px; margin-top: 32px; }
.doc p, .doc li { color: var(--text-2); }

/* Телефон: форма целиком на первом экране */
@media (max-width: 480px) {
  .hero { padding-top: 16px; }
  .join .row { flex-direction: column; }
  .join input[type=email] { flex: none; }
  .join .btn { width: 100%; }
  .devices legend { float: none; width: 100%; margin-bottom: 2px; }
}

@media (min-width: 700px) {
  .wrap { padding: 0 28px; }
  .brand img { width: 200px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}

@media (min-width: 1000px) {
  .hero { padding: 64px 0 88px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .split-in { grid-template-columns: 5fr 6fr; gap: 56px; }
  .local-in { padding: 40px 44px; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ВАРИАНТ B — «отходим от Shure»: строчные буквы, заголовок разрезан струнами как логотип,
   кремовые кнопки, лайм только в деталях, струны вместо зелёного свечения */
:root { --cream: #eeece4; }
h1, h2, .quote, .done .done-h { text-transform: none; letter-spacing: 0.005em; }
h1 { font-size: clamp(48px, 12.5vw, 96px); line-height: .92; padding-bottom: .08em; }
h1 .lime { padding-bottom: .1em; }
h2 { font-size: clamp(36px, 8.5vw, 64px); line-height: .98; }
.quote { font-size: clamp(34px, 7.5vw, 54px); }
h1 .lime, .strung {
  color: transparent;
  background:
    repeating-linear-gradient(to bottom, transparent 0 0.095em, var(--bg) 0.095em 0.112em),
    linear-gradient(var(--lime), var(--lime));
  -webkit-background-clip: text; background-clip: text;
}
.hero::before {
  inset: 0; width: auto; height: auto; max-width: none; max-height: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
    repeating-linear-gradient(to bottom, transparent 0 38px, rgb(255 255 255 / 0.045) 38px 39px);
  -webkit-mask: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
          mask: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
}
body::after { content: 'ВАРИАНТ B'; position: fixed; left: 12px; bottom: 12px; z-index: 60; padding: 6px 12px; border-radius: 999px; background: #fff; color: #000; font: 600 12px var(--body); }

/* Градиент как в логотипе: белый слева → лайм справа */
h1 { color: transparent; background: linear-gradient(90deg, #f3f4f8 0%, #f3f4f8 30%, #e3efb4 75%, #d4ec86 100%); -webkit-background-clip: text; background-clip: text; }
h1 .lime { background:
    repeating-linear-gradient(to bottom, transparent 0 0.095em, var(--bg) 0.095em 0.112em),
    linear-gradient(90deg, #d4ec86 0%, var(--lime) 45%, var(--lime-hot) 100%);
  -webkit-background-clip: text; background-clip: text; }

/* ===== Общее для G / H / I (09.11): лайм чуть желтее, струны заметнее ===== */
:root { --lime: #cfe35a; --lime-hot: #dcf03a; }
h1 { background: linear-gradient(90deg, #f3f4f8 0%, #f3f4f8 30%, #ecefb4 75%, #dfec84 100%); -webkit-background-clip: text; background-clip: text; }
h1 .lime, .strung { background:
    repeating-linear-gradient(to bottom, transparent 0 0.088em, var(--bg) 0.088em 0.114em),
    linear-gradient(90deg, #dfec84 0%, var(--lime) 45%, var(--lime-hot) 100%);
  -webkit-background-clip: text; background-clip: text; }
.btn:hover { box-shadow: 0 0 28px -4px rgb(220 240 58 / 0.55); }
.hero::before { background:
    linear-gradient(90deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
    repeating-linear-gradient(to bottom, transparent 0 38px, rgb(255 255 255 / 0.08) 38px 39px); }

@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url("/fonts/michroma.woff2") format("woff2"); }
:root { --head: "Michroma", "Inter Tight", system-ui, sans-serif; }
h1, h2, .quote, .done .done-h { font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 8.6vw, 68px); line-height: 1.08; }
h2 { font-size: clamp(27px, 6vw, 46px); line-height: 1.1; }
.quote { font-size: clamp(26px, 5.6vw, 42px); line-height: 1.2; }
body::after { content: "ВАРИАНТ I · Michroma (11)"; }
/* Цвет как в программе (облик «Мастеринг», ночь): --accent #b6e34a, --accent-2 #dcf59a, --accent-text #c9ec74 */
:root { --lime: #b6e34a; --lime-hot: #c9ec74; }
h1 { background: linear-gradient(90deg, #f3f4f8 0%, #f3f4f8 30%, #e9f3c6 75%, #dcf59a 100%); -webkit-background-clip: text; background-clip: text; }
h1 .lime, .strung { background:
    repeating-linear-gradient(to bottom, transparent 0 0.088em, var(--bg) 0.088em 0.114em),
    linear-gradient(90deg, #dcf59a 0%, var(--lime) 45%, var(--lime-hot) 100%);
  -webkit-background-clip: text; background-clip: text; }
.btn:hover { box-shadow: 0 0 28px -4px rgb(182 227 74 / 0.55); }

/* Сравнение двух обликов — ползунок */
.cmp { position: relative; }
.cmp img { width: 100%; }
.cmp .cmp-top { position: absolute; inset: 0; height: 100%; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--lime); box-shadow: 0 0 12px rgb(182 227 74 / .6); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--lime); box-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.cmp-knob::before, .cmp-knob::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-knob::before { left: 5px; border-right-color: var(--ink); }
.cmp-knob::after { right: 5px; border-left-color: var(--ink); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.cmp-tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(18 20 23 / .75); color: var(--text); font-size: 12px; pointer-events: none; }
.cmp-tag-l { left: 10px; } .cmp-tag-r { right: 10px; }
/* Карточки: 8 штук — по три, табы — две широкие */
.card .shot img { width: 100%; }
@media (min-width: 700px) and (max-width: 999px) { .card.wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card.wide { grid-column: span 3; }
}
/* Облики — три картинки под ползунком */
.looks { display: grid; gap: 16px; margin-top: 16px; }
.looks .shot { border-radius: 10px; }
.looks img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.looks figcaption { padding: 10px 14px 12px; font-size: 14px; color: var(--text-2); }
@media (min-width: 700px) { .looks { grid-template-columns: repeat(3, 1fr); } }

/* Главная картинка: основное окно, потом другой облик — плавной сменой (02.12.2026) */
.hero-swap { position: relative; }
.hero-swap img { display: block; }
.hero-swap .swap-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hero-swap 14s ease-in-out 4s infinite; }
@keyframes hero-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-swap .swap-b { animation: none; } }

/* 02.12: главная картинка крупно — под текстом, шире колонки (Дима: «главная фотка маленькая, её нужно больше») */
@media (min-width: 1000px) {
  .hero { padding: 56px 0 80px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-text { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .hero-text h1 { grid-row: 1 / span 2; }
  .hero-text .lead { margin-top: 0; }
  .shot-hero { width: min(1440px, calc(100vw - 56px)); margin-left: calc(50% - min(720px, 50vw - 28px)); }
}
@media (min-width: 1000px) {
  .hero-text .lead { align-self: end; }
  .hero-text .join-slot { align-self: start; }
}

/* 02.12: «Таб для видео» — снова на странице (Дима: «верни, посмотрю»): полоса таба и схема аккорда рядом */
.vid-pair { display: grid; grid-template-columns: 2.18fr 1fr; gap: 12px; align-items: center; }
.vid-pair .shot { box-shadow: 0 20px 50px -24px rgb(0 0 0 / 0.8); }
body::after { content: "2 · главная — Витрина"; }
@media (min-width: 1000px) { .vid .split-in { grid-template-columns: 4fr 8fr; } }
/* 02.12: «Витрину» наверху чуть меньше (Дима: «не такой огромный») — 1260 вместо 1440 */
@media (min-width: 1000px) {
  .shot-hero { width: min(1260px, calc(100vw - 56px)); margin-left: calc(50% - min(630px, 50vw - 28px)); }
}
