/* Vitrine v11 — витрина, в которой лента становится сайтом */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/onest-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/onest-normal-latin.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; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.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 {
  --paper: #F4F0E8;
  --paper-2: #EAE4D7;
  --card: #FBF9F4;
  --ink: #121110;
  --ink-2: #1C1A17;
  --ink-3: #2B2824;
  --muted: #69635A;
  --line: rgba(18, 17, 16, .12);
  --line-d: rgba(244, 240, 232, .13);
  --cream-2: rgba(244, 240, 232, .66);
  --cobalt: #2A32E0;
  --cobalt-2: #1A1FA3;
  --cobalt-3: #4750FF;
  --cobalt-soft: #DDDEFB;
  --cobalt-light: #B4B8FF;
  --ok: #82E6AC;
  --err: #B3261E;
  --err-light: #FFB4A8;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --hdr: 72px;
  --pad: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
body::after { /* бумажное зерно поверх всей страницы */
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); opacity: .045;
}
::selection { background: var(--cobalt); color: var(--paper); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--cobalt); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(26, 31, 163, .7);
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover { background: var(--cobalt-3); transform: translateY(-1px); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-dark { --bg: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #2a2724; }
.btn-light { --bg: var(--paper); --fg: var(--ink); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-d); }
.btn-ghost-light:hover { background: rgba(244,240,232,.08); box-shadow: inset 0 0 0 1.5px rgba(244,240,232,.4); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; color: var(--cobalt); }
.logo-word { font-weight: 700; font-size: 21px; letter-spacing: -.035em; }
.logo-light { color: var(--paper); --mark-line: var(--ink); }

/* ---------- Шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr.is-scrolled { background: rgba(244, 240, 232, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-dark .logo { color: var(--paper); --mark-line: var(--ink); }
.hdr.is-dark .logo-mark { color: var(--cobalt-3); }
.hdr.is-dark .hdr-nav a { color: rgba(244, 240, 232, .78); }
.hdr.is-dark .hdr-nav a:hover { background: rgba(244, 240, 232, .1); color: var(--paper); }
.hdr.is-dark.is-scrolled { background: rgba(18, 17, 16, .7); box-shadow: 0 1px 0 var(--line-d); }
.hdr.is-dark :focus-visible { outline-color: var(--cobalt-light); }
.hdr-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.hdr-nav { display: flex; gap: 4px; margin-left: auto; }
.hdr-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: #3b3732; transition: background-color .2s, color .2s; }
.hdr-nav a:hover { background: rgba(18,17,16,.06); color: var(--ink); }
.hdr .btn { margin-left: 8px; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; max-width: 1440px; margin: 0 auto;
  min-height: 100svh; padding: calc(var(--hdr) + 20px) var(--pad) 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 72px);
}
.hero-copy { max-width: 620px; }
.h1 { font-weight: 650; font-size: clamp(40px, 4.65vw, 78px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.h1 > span { display: block; }
.h1-b { margin-top: .06em; }
.h1 em, .h2 em, .h-final em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.h1 em { color: var(--cobalt); font-size: 1.16em; line-height: .8; padding-right: .04em; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--muted); max-width: 30em; text-wrap: pretty; }

/* форма ника */
.ig-form { margin-top: 32px; max-width: 560px; container-type: inline-size; }
.field {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1.5px rgba(18,17,16,.10), 0 18px 40px -24px rgba(18,17,16,.35);
  transition: box-shadow .25s;
}
.field:focus-within { box-shadow: 0 0 0 2px var(--cobalt), 0 0 0 7px rgba(42,50,224,.14), 0 18px 40px -24px rgba(18,17,16,.35); }
.field-box { flex: 1; min-width: 0; display: flex; align-items: center; height: 56px; cursor: text; }
.at { padding: 0 2px 0 20px; font-size: 24px; font-weight: 500; color: var(--cobalt); line-height: 1; transform: translateY(-1px); }
.field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: 500 19px/1 var(--sans); letter-spacing: -.01em; color: var(--ink); padding: 0 8px 0 4px;
}
.field input::placeholder { color: #A39D92; font-weight: 400; }
.field input:focus-visible { outline: none; }
.ig-form.is-error .field { box-shadow: 0 0 0 2px var(--err), 0 0 0 7px rgba(179,38,30,.12); }
.form-msg { min-height: 24px; margin-top: 10px; padding-left: 22px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.form-msg.is-addr { color: var(--ink); }
.form-msg.is-addr b { color: var(--cobalt); font-weight: 600; }
.form-msg.is-err { color: var(--err); font-weight: 500; }

.proof { margin-top: 8px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); font-weight: 500; }
.proof-faces { display: flex; }
.proof-faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px var(--paper); background: #ddd; }
.proof-faces img + img { margin-left: -9px; }

/* ---------- Сцена-витрина ---------- */
.stage {
  position: relative; container-type: inline-size;
  width: min(800px, 54vw, calc((100svh - var(--hdr) - 56px) * 1.1765));
  aspect-ratio: 800 / 680;
  --tile-r: 0px;
}
.arch {
  position: absolute; left: 21.25%; top: 0; width: 78.75%; height: 100%; overflow: hidden;
  border-radius: 50% 50% 3.2% 3.2% / 46.3% 46.3% 3.8% 3.8%;
  background:
    radial-gradient(70% 45% at 34% 14%, rgba(132, 140, 255, .55), transparent 70%),
    radial-gradient(90% 60% at 80% 100%, rgba(10, 12, 90, .55), transparent 70%),
    linear-gradient(180deg, #3038EC 0%, #2229C9 55%, #1A1FA3 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 40px 80px -40px rgba(26, 31, 163, .55);
}
.arch::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; }
.arch-fan { position: absolute; left: 0; top: 0; width: 100%; height: 46.3%; overflow: visible; }
.arch-fan path { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.arch-frame {
  position: absolute; inset: 2.2cqw 2.2cqw 2.2cqw; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .16);
}
.arch-sheen {
  position: absolute; top: -10%; bottom: -10%; left: -30%; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  transform: skewX(-14deg); animation: sheen 9s var(--ease-io) 2.4s infinite;
}
@keyframes sheen { 0% { left: -30%; } 30%, 100% { left: 120%; } }

.stage::after { /* мягкая тень на «полу» под витриной */
  content: ''; position: absolute; z-index: -1; left: 4%; right: -2%; bottom: -5%; height: 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(26, 31, 120, .28), transparent 70%); filter: blur(6px);
}
.status {
  position: absolute; z-index: 3; left: 63.25%; top: 30.2%; transform: translate(-50%, 0);
  display: inline-flex; align-items: center; gap: 1cqw; height: 4.4cqw; padding: 0 1.9cqw 0 1.4cqw; border-radius: 99px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--paper); font-size: 1.75cqw; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .4s;
}
.status-ic { position: relative; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; border: .28cqw solid rgba(255,255,255,.3); border-top-color: var(--paper); animation: spin .9s linear infinite; }
.status.is-done { background: rgba(130, 230, 172, .18); }
.status-ic svg { position: absolute; inset: -.28cqw; width: calc(100% + .56cqw); height: calc(100% + .56cqw); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.status.is-done .status-ic { animation: none; border-color: var(--ok); background: var(--ok); }
.status.is-done .status-ic svg { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.browser {
  position: absolute; z-index: 2; left: 29.5%; top: 39.5%; width: 67.5%;
  border-radius: 1.5cqw; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 3.5cqw 7cqw -2cqw rgba(6, 8, 60, .6), 0 1cqw 2cqw rgba(6, 8, 60, .25);
}
.browser-bar { height: 4.4cqw; display: flex; align-items: center; padding: 0 1.4cqw; background: #F3F0EA; border-bottom: 1px solid #E4DFD5; }
.dots { display: flex; gap: .75cqw; flex: none; width: 9cqw; }
.dots i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #D8D2C7; }
.url { flex: 1; max-width: 66%; margin: 0 auto; transform: translateX(-4.5cqw); height: 2.8cqw; padding: 0 1.4cqw; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px #E8E3DA; display: flex; align-items: center; justify-content: center; gap: .6cqw; font-size: 1.55cqw; font-weight: 500; color: #3a3631; white-space: nowrap; overflow: hidden; }
.url-lock { width: 1.4cqw; height: 1.4cqw; color: #8F897F; flex: none; }
.url-tx { overflow: hidden; text-overflow: ellipsis; }
.url-caret { width: 1px; height: 1.6cqw; background: var(--cobalt); opacity: 0; flex: none; margin-left: -.3cqw; }
.stage.is-typing .url-caret { opacity: 1; animation: blink 1s steps(1) infinite; }
.stage.is-mine .url-tx { color: var(--cobalt); }
@keyframes blink { 50% { opacity: 0; } }

.view { position: relative; aspect-ratio: 16 / 10; background: #F6F3EE; overflow: hidden; }
.site-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.view.is-done .site-img { opacity: 1; }

/* скелет страницы, пока сайт собирается */
.skel { position: absolute; inset: 0; padding: 2.2cqw 3cqw; transition: opacity .4s; }
.skel i, .skel-img { display: block; border-radius: 99px; background: #E7E2D8; }
.skel-nav { display: flex; align-items: center; justify-content: space-between; }
.skel-nav span { display: flex; gap: 1.6cqw; }
.skel-nav span i { width: 4cqw; height: .9cqw; }
.skel-nav .w1 { width: 8cqw; height: 1.4cqw; }
.skel-nav .w2 { width: 7cqw; height: 2.4cqw; }
.skel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 5cqw; align-items: center; }
.skel-copy i { height: 2.4cqw; margin-bottom: 1.2cqw; }
.skel-copy .l1 { width: 90%; } .skel-copy .l2 { width: 76%; } .skel-copy .l3 { width: 58%; margin-bottom: 2.4cqw; }
.skel-copy .p1 { height: .9cqw; width: 80%; margin-bottom: .9cqw; } .skel-copy .p2 { height: .9cqw; width: 64%; margin-bottom: 2.6cqw; }
.skel-copy .b { width: 12cqw; height: 3cqw; background: #D9D3C7; }
.skel-img { height: 24cqw; border-radius: 1cqw; }
.skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.view.is-done .skel { opacity: 0; }

/* клетки, в которые садятся плитки ленты */
.cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1cqw; padding: 1cqw; transition: gap .5s var(--ease-io), padding .5s var(--ease-io), opacity .5s; }
.cells.is-sealed { gap: 0; padding: 0; }
.view.is-done .cells { opacity: 0; }
.cell { position: relative; perspective: 60cqw; opacity: 0; }
.cell.is-landed { opacity: 1; }
.cell-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease-io); }
.cell.is-flipped .cell-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; overflow: hidden; border-radius: .7cqw; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: border-radius .5s; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face-back { transform: rotateY(180deg); background-size: 300% 200%; background-repeat: no-repeat; }
.cells.is-sealed .face { border-radius: 0; }

.flyers { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.flyer { position: absolute; overflow: hidden; will-change: left, top, width, height, transform; box-shadow: 0 1.5cqw 3cqw -1cqw rgba(6, 8, 60, .55); }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.glint { position: absolute; z-index: 7; width: 2.4cqw; height: 2.4cqw; margin: -1.2cqw 0 0 -1.2cqw; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, rgba(180,184,255,.6) 40%, transparent 70%); pointer-events: none; }

/* ---------- Телефон с профилем ---------- */
.phone { position: absolute; z-index: 4; left: 0; top: 17.5%; width: 31.25%; font-size: calc(31.25cqw / 41.4); }
.phone-body {
  position: relative; width: 100%; aspect-ratio: 414 / 868; padding: 1.2em; border-radius: 6.4em;
  background: linear-gradient(145deg, #3a3a3e, #121214 30%, #0b0b0c 70%, #2b2b2f);
  box-shadow: inset 0 0 0 .18em #4a4a50, inset 0 0 0 .5em #0a0a0b, 0 4em 7em -2em rgba(10, 12, 50, .55), 0 1.2em 2.4em rgba(10, 12, 50, .25);
}
.phone-body::before, .phone-body::after { content: ''; position: absolute; left: -.35em; width: .35em; border-radius: .2em 0 0 .2em; background: #2a2a2e; }
.phone-body::before { top: 15em; height: 5.5em; }
.phone-body::after { top: 22em; height: 5.5em; }
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5.2em; background: #fff; color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', var(--sans);
  letter-spacing: -.01em; line-height: 1.25;
}
.ios-bar { position: relative; height: 5.4em; display: flex; align-items: center; justify-content: space-between; padding: .6em 2.6em 0 3.4em; }
.ios-time { font-size: 1.65em; font-weight: 600; letter-spacing: -.02em; }
.ios-island { position: absolute; left: 50%; top: 1.1em; width: 12.2em; height: 3.6em; margin-left: -6.1em; border-radius: 2em; background: #000; }
.ios-icons { width: 7em; height: 1.4em; fill: #000; }
.ig { transition: opacity .35s, transform .45s var(--ease); }
.ig.is-out { opacity: 0; transform: translateY(1.2em); }
.ig-top { height: 4.4em; display: flex; align-items: center; justify-content: space-between; padding: 0 1.4em 0 1.6em; }
.ig-user { display: flex; align-items: center; gap: .3em; font-size: 2.1em; font-weight: 700; letter-spacing: -.02em; min-width: 0; }
.ig-user > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 10.5em; }
.ig-user svg { width: .62em; height: .62em; flex: none; }
.ig-top-ic { display: flex; gap: 1.6em; flex: none; }
.ig-top-ic svg { width: 2.5em; height: 2.5em; }
.ig-head { display: flex; align-items: center; gap: 2em; padding: .8em 1.6em .4em; }
.ig-ava { flex: none; width: 8.8em; height: 8.8em; border-radius: 50%; padding: .32em; background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.ig-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: .3em solid #fff; background: #f2f2f2; }
.ig-meta { min-width: 0; flex: 1; }
.ig-name { display: block; font-size: 1.45em; font-weight: 600; margin-bottom: .45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-counts { display: flex; gap: 2.2em; }
.ig-counts span { display: flex; flex-direction: column; font-size: 1.3em; line-height: 1.2; }
.ig-counts b { font-size: 1.24em; font-weight: 700; }
.ig-bio { display: flex; flex-direction: column; padding: .6em 1.6em 0; font-size: 1.38em; line-height: 1.32; }
.ig-cat { color: #737373; }
.ig-link { display: flex; align-items: center; gap: .3em; color: #00376B; font-weight: 600; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s .1s; position: relative; }
.ig-link svg { width: 1.05em; height: 1.05em; flex: none; transform: rotate(-45deg); }
.ig-link > span { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-link > span::after { content: ''; position: absolute; inset: 0 -.2em; background: rgba(42,50,224,.18); border-radius: .2em; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .25s; }
.ig.has-link .ig-link { max-height: 1.6em; opacity: 1; }
.ig.has-link .ig-link > span::after { transform: scaleX(1); }
.ig-btns { display: flex; gap: .6em; padding: 1.2em 1.6em .4em; }
.ig-btns span { flex: 1; height: 3.3em; display: grid; place-items: center; border-radius: .9em; background: #EFEFEF; font-size: 1.32em; font-weight: 600; white-space: nowrap; }
.ig-tabs { display: flex; justify-content: space-around; height: 4.6em; align-items: center; margin-top: .8em; border-bottom: .07em solid #e6e6e6; }
.ig-tabs svg { width: 2.4em; height: 2.4em; opacity: .45; }
.ig-tabs svg.on { opacity: 1; }
.ig-tabs { position: relative; }
.ig-tabs::after { content: ''; position: absolute; left: 0; bottom: -.07em; width: 33.33%; height: .14em; background: #000; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .15em; }
.ig-tile { aspect-ratio: 3 / 4; overflow: hidden; background: #eee; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 8.4em; background: rgba(255,255,255,.97); border-top: .07em solid #e3e3e3; display: flex; justify-content: space-around; align-items: flex-start; padding: 1.2em 1em 0; }
.ig-nav svg { width: 2.6em; height: 2.6em; }
.ig-nav-ava { width: 2.6em; height: 2.6em; border-radius: 50%; box-shadow: 0 0 0 .14em #000; overflow: hidden; }
.ig-nav-ava img { width: 100%; height: 100%; object-fit: cover; }
.home-ind { position: absolute; left: 50%; bottom: .8em; width: 13.4em; height: .5em; margin-left: -6.7em; border-radius: 1em; background: #000; }

/* ---------- Сейчас собираются ---------- */
.live { background: var(--ink); color: var(--paper); padding: clamp(56px, 6.5vw, 88px) 0; position: relative; overflow: hidden; }
.live-in { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.h2-sm { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.live-dot { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--ok); }
.live-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.board { border-top: 1px solid var(--line-d); }
.row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 16px; height: 68px; border-bottom: 1px solid var(--line-d); overflow: hidden; }
.row.is-new { animation: rowIn .9s var(--ease) both; }
.row.is-gone { animation: rowOut .5s var(--ease-io) forwards; }
@keyframes rowIn { from { height: 0; opacity: 0; } to { height: 68px; opacity: 1; } }
@keyframes rowOut { to { height: 0; opacity: 0; border-bottom-color: transparent; } }
.row-name { display: flex; align-items: center; gap: 16px; min-width: 0; }
.row-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); color: var(--cobalt-light); }
.row-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.row.is-building .row-ic { box-shadow: inset 0 0 0 1px rgba(180,184,255,.35); background: rgba(71,80,255,.12); }
.row-niche { font-size: 19px; font-weight: 550; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-city { color: var(--cream-2); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-st { display: flex; align-items: center; justify-content: flex-end; gap: 14px; font-size: 15px; white-space: nowrap; color: var(--cream-2); }
.row-bar { width: 96px; height: 4px; border-radius: 99px; background: rgba(244,240,232,.12); overflow: hidden; }
.row-bar i { display: block; height: 100%; width: var(--p, 10%); border-radius: inherit; background: linear-gradient(90deg, var(--cobalt-3), var(--cobalt-light)); transition: width 1.6s var(--ease); }
.row.is-building .row-st { color: var(--paper); }
.row-ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(130,230,172,.16); color: var(--ok); }
.row-ok svg { width: 14px; height: 14px; }
.row.is-flash .row-st { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { color: var(--ok); } 100% { color: var(--cream-2); } }

/* ---------- Три шага ---------- */
.how { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 9vw, 130px); }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.step-vis { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); }
.step-tx { padding: 26px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.step-n { font-size: 14px; font-weight: 600; color: var(--cobalt); letter-spacing: .02em; }
.step h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.step p { color: var(--muted); font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.step-magic { background: var(--cobalt); color: var(--paper); box-shadow: none; }
.step-magic .step-vis { background: radial-gradient(80% 70% at 50% 30%, #4750FF, transparent 75%), var(--cobalt-2); }
.step-magic .step-n { color: var(--cobalt-light); }
.step-magic p { color: rgba(244,240,232,.78); }

/* шаг 1: поле с набором */
.demo-field { width: min(84%, 330px); height: 62px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 2px var(--cobalt), 0 0 0 7px rgba(42,50,224,.12), 0 18px 34px -20px rgba(18,17,16,.4); display: flex; align-items: center; font-size: 19px; font-weight: 500; }
.demo-field .at { font-size: 23px; padding-left: 20px; }
.demo-type { padding-left: 4px; white-space: nowrap; }
.demo-caret { width: 2px; height: 24px; margin-left: 2px; background: var(--cobalt); animation: blink 1s steps(1) infinite; }
.demo-addr { position: absolute; left: 50%; top: calc(50% + 50px); transform: translate(-50%, 8px); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--cobalt); opacity: 0; transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.demo-addr .ic { width: 16px; height: 16px; }
.demo-addr.is-on { opacity: 1; transform: translate(-50%, 0); }

/* шаг 2: мини-браузер */
.mini-browser { width: min(86%, 340px); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -20px rgba(4, 6, 50, .7); }
.mini-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #F3F0EA; }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D8D2C7; }
.mini-view { position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); background: #F6F3EE; }
.mini-cell { position: relative; perspective: 400px; animation: miniPlace 8s var(--ease) infinite; animation-delay: var(--d); }
.mini-cell-in { position: absolute; inset: 0; transform-style: preserve-3d; animation: miniFlip 8s var(--ease-io) infinite; animation-delay: var(--d); }
.mini-cell .face { border-radius: 0; inset: -.5px; }
@keyframes miniPlace {
  0% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.7); opacity: 0; }
  8% { opacity: 1; }
  22%, 100% { transform: none; opacity: 1; }
}
@keyframes miniFlip { 0%, 30% { transform: none; } 42%, 92% { transform: rotateY(180deg); } 100% { transform: rotateY(180deg); } }

/* шаг 3: ссылка в шапке профиля */
.mini-ig { width: min(86%, 330px); padding: 20px 20px 18px; border-radius: 22px; background: #fff; color: #000; box-shadow: 0 22px 44px -26px rgba(18,17,16,.45); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', var(--sans); letter-spacing: -.01em; }
.mini-ig-head { display: flex; align-items: center; gap: 16px; }
.mini-ig-head b { font-size: 15px; font-weight: 600; }
.mini-ava { flex: none; width: 64px; height: 64px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.mini-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; }
.mini-counts { display: flex; gap: 18px; margin-top: 4px; }
.mini-counts span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.2; }
.mini-counts b { font-size: 15px; font-weight: 700; }
.mini-bio { margin-top: 12px; font-size: 14px; }
.mini-link { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 14px; font-weight: 600; color: #00376B; }
.mini-link svg { width: 15px; height: 15px; transform: rotate(-45deg); }
.mini-link span { position: relative; }
.mini-link span::before { content: ''; position: absolute; inset: -1px -4px; border-radius: 5px; background: rgba(42,50,224,.16); transform-origin: left; animation: mark 4.5s var(--ease) infinite; z-index: -1; }
.mini-link { isolation: isolate; }
@keyframes mark { 0%, 12% { transform: scaleX(0); } 30%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.tap { position: absolute; left: 62%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(42,50,224,.25); box-shadow: 0 0 0 2px rgba(42,50,224,.5); opacity: 0; animation: tap 4.5s var(--ease) infinite; }
@keyframes tap { 0%, 40% { transform: scale(.4); opacity: 0; } 46% { transform: scale(.7); opacity: 1; } 62%, 100% { transform: scale(1.5); opacity: 0; } }
.mini-btns { display: flex; gap: 6px; margin-top: 14px; }
.mini-btns span { flex: 1; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #EFEFEF; font-size: 11.5px; font-weight: 600; white-space: nowrap; }

/* ---------- Работы ---------- */
.works { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 9vw, 130px); position: relative; }
.works-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 72px); }
.h2 { font-size: clamp(40px, 5.6vw, 92px); font-weight: 650; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.h2 em { font-size: 1.12em; line-height: .8; }
.works .h2 em { color: var(--cobalt-light); }
.sub { margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); color: var(--cream-2); max-width: 34em; text-wrap: pretty; }
.h2-mute { color: #A29B90; }

.stack { display: grid; gap: 28px; }
.work {
  position: sticky; top: calc(var(--hdr) + 20px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch;
  padding: clamp(14px, 1.6vw, 22px); border-radius: 30px; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line-d), 0 -24px 60px -20px rgba(0,0,0,.6);
  transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear;
}
.work-shot { display: flex; flex-direction: column; position: relative; border-radius: 18px; overflow: hidden; background: #2a2824; text-decoration: none; }
.work-bar { flex: none; height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #2A2723; }
.work-bar .dots { width: auto; gap: 6px; }
.work-bar .dots i { width: 9px; height: 9px; background: #4a4640; }
.work-url { flex: 1; text-align: center; font-size: 13px; color: rgba(244,240,232,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 40px; }
.work-shot-img { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 10; overflow: hidden; }
.work-shot-img img { position: absolute; inset: 0; }
.work-shot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-shot:hover .work-shot-img img { transform: scale(1.03); }
.work-info { display: flex; flex-direction: column; padding: 8px 6px 6px 0; min-width: 0; }
.work-from { display: flex; align-items: center; gap: 12px; }
.work-ava { flex: none; width: 52px; height: 52px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.work-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink-2); }
.work-handle { font-weight: 600; font-size: 17px; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-stats { font-size: 14px; color: var(--cream-2); }
.work-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 18px; border-radius: 12px; overflow: hidden; }
.work-feed img { aspect-ratio: 1; width: 100%; height: 100%; object-fit: cover; }
.work-title { margin-top: auto; padding-top: 22px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.work-niche { margin-top: 6px; color: var(--cream-2); font-size: 15px; line-height: 1.4; }
.work-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.work-actions .btn { height: 46px; padding: 0 18px; font-size: 15px; flex: 1 1 auto; }
.works-all { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- Тарифы ---------- */
.pricing { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); }
.pricing .h2 { max-width: 15em; font-size: clamp(36px, 4.6vw, 76px); }
.plans { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 28px; padding: 32px 30px 30px; border-radius: 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-size: clamp(52px, 5vw, 72px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.plan-price span { font-size: 16px; color: var(--muted); }
.plan-lead { margin-top: 14px; font-size: 20px; font-weight: 550; letter-spacing: -.02em; line-height: 1.25; }
.plan-list { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); flex: 1; }
.plan-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.4; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.7 2.7L14 7.3' fill='none' stroke='%232A32E0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-pro { margin: -16px 0 16px; background: var(--cobalt); color: var(--paper); box-shadow: 0 40px 80px -40px rgba(26,31,163,.7); position: relative; overflow: hidden; }
.plan-pro::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 50% at 20% 0%, rgba(132,140,255,.5), transparent 70%); pointer-events: none; }
.plan-pro > * { position: relative; }
.plan-pro .plan-price span { color: rgba(244,240,232,.72); }
.plan-pro .plan-list { border-top-color: rgba(244,240,232,.2); }
.plan-pro .plan-list li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.7 2.7L14 7.3' fill='none' stroke='%23F4F0E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-pro .btn-light { box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); }
.plan-pro .btn-light:focus-visible { outline-color: var(--paper); }
.plan-soon { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(18,17,16,.16); }
.plan-soon .plan-price b, .plan-soon .plan-lead { color: #4E4943; }
.plan-soon .plan-list li { color: #4E4943; }
.plan-soon .plan-list li::before { background-color: rgba(18,17,16,.07); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.7 2.7L14 7.3' fill='none' stroke='%2369635A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pill-soon { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .01em; }

/* ---------- Вопросы ---------- */
.faq { padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 10vw, 150px); }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px 24px 0; cursor: pointer; font-size: clamp(18px, 1.55vw, 22px); font-weight: 550; letter-spacing: -.02em; line-height: 1.3; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--cobalt); }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s, box-shadow .3s, transform .45s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; margin: -.9px 0 0 -6.5px; background: currentColor; border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.qa[open] summary i { background: var(--cobalt); color: var(--paper); box-shadow: none; }
.qa[open] summary i::after { transform: rotate(0); }
.qa-a p { padding: 0 64px 26px 0; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 40em; text-wrap: pretty; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- Финал ---------- */
.final { position: relative; overflow: hidden; background: var(--cobalt-2); color: var(--paper); padding: clamp(100px, 13vw, 190px) var(--pad); isolation: isolate; }
.final-wall { position: absolute; inset: -10% -5%; z-index: -2; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; transform: rotate(-6deg); opacity: .62; }
.wall-col { display: flex; flex-direction: column; gap: 10px; animation: wallUp 60s linear infinite; }
.wall-col:nth-child(even) { animation-name: wallDown; }
.wall-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; filter: grayscale(1) contrast(1.05); }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 45%, rgba(42,50,224,.95) 0%, rgba(38,46,214,.88) 50%, rgba(26,31,163,.74) 100%); }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.final-in { max-width: 980px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.h-final { font-size: clamp(40px, 5.8vw, 96px); font-weight: 650; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.h-final em { display: block; color: var(--cobalt-light); font-size: 1.08em; line-height: 1; margin-top: .04em; }
.ig-form-final { margin-top: 44px; width: 100%; max-width: 600px; text-align: left; }
.ig-form-final .field { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), 0 24px 50px -24px rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ig-form-final .field:focus-within { box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 6px rgba(255,255,255,.16); }
.ig-form-final .at { color: var(--cobalt-light); }
.ig-form-final .field input { color: var(--paper); }
.ig-form-final .field input::placeholder { color: rgba(244,240,232,.55); }
.ig-form-final .form-msg { color: rgba(244,240,232,.75); }
.ig-form-final .form-msg.is-addr b { color: var(--paper); }
.ig-form-final .form-msg.is-err { color: var(--err-light); }
.ig-form-final.is-error .field { box-shadow: inset 0 0 0 2px var(--err-light), 0 0 0 6px rgba(255,180,168,.16); }
.final :focus-visible { outline-color: var(--paper); }

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: var(--paper); padding: 56px 0 28px; overflow: hidden; }
.ftr-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ftr .logo-mark { color: var(--cobalt-3); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ftr-nav a { text-decoration: none; color: var(--cream-2); font-size: 15px; transition: color .2s; }
.ftr-nav a:hover { color: var(--paper); }
.ftr-word { margin: clamp(36px, 6vw, 80px) 0 0 -.04em; font-weight: 700; font-size: clamp(100px, 28.4vw, 436px); letter-spacing: -.055em; line-height: .76; user-select: none; white-space: nowrap;
  background: linear-gradient(180deg, rgba(244,240,232,.16), rgba(244,240,232,.02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 13.5px; color: rgba(244,240,232,.5); }
.ftr :focus-visible { outline-color: var(--cobalt-light); }

/* ---------- Узкая форма (телефон, узкая колонка): поле и кнопка друг под другом ---------- */
@container (max-width: 400px) {
  .field { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; background: none; box-shadow: none; }
  .field:focus-within { box-shadow: none; }
  .field-box { flex: none; height: 58px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px rgba(18,17,16,.12), 0 14px 30px -22px rgba(18,17,16,.4); transition: box-shadow .25s; }
  .field-box:focus-within { box-shadow: 0 0 0 2px var(--cobalt), 0 0 0 6px rgba(42,50,224,.14); }
  .ig-form.is-error .field { box-shadow: none; }
  .ig-form.is-error .field-box { box-shadow: 0 0 0 2px var(--err), 0 0 0 6px rgba(179,38,30,.12); }
  .field .btn { height: 56px; width: 100%; }
  .ig-form-final .field, .ig-form-final .field:focus-within, .ig-form-final.is-error .field { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ig-form-final .field-box { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
  .ig-form-final .field-box:focus-within { box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 5px rgba(255,255,255,.16); }
  .ig-form-final.is-error .field-box { box-shadow: inset 0 0 0 2px var(--err-light); }
}

/* ---------- Страница «Все сайты» ---------- */
.all { padding: calc(var(--hdr) + clamp(36px, 5vw, 72px)) 0 clamp(80px, 9vw, 130px); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.back .ic { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .35s var(--ease); }
.back:hover { color: var(--ink); }
.back:hover .ic { transform: rotate(180deg) translateX(3px); }
.all-sub { margin-top: 18px; max-width: 36em; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); text-wrap: pretty; }
.all-grid { margin-top: clamp(36px, 4vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.tile { padding: 10px 10px 8px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), translate .4s var(--ease); }
.tile:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(18,17,16,.35); }
.tile-shot { position: relative; display: block; border-radius: 15px; overflow: hidden; text-decoration: none; background: #EFEBE3; }
.tile .work-bar { height: 28px; background: #EFEBE3; }
.tile .work-bar .dots i { width: 8px; height: 8px; background: #D6CFC3; }
.tile .work-url { font-size: 12px; color: #8A8378; padding-right: 30px; }
.tile-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-feed { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 30px 10px 10px; background: linear-gradient(180deg, transparent, rgba(10,10,10,.55)); transform: translateY(101%); transition: transform .6s var(--ease); }
.tile-feed img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.tile:hover .tile-feed, .tile-shot:focus-visible .tile-feed { transform: none; }
@media (hover: none) { .tile-feed { transform: none; } }
.tile-meta { display: flex; align-items: center; gap: 12px; padding: 14px 6px 6px; }
.tile-meta .work-ava { width: 44px; height: 44px; }
.tile-meta .work-ava img { border-color: var(--card); }
.tile-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.tile-tx b { font-size: 16px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-tx span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, color .25s, box-shadow .25s; }
.tile-go:hover { background: var(--cobalt); color: var(--paper); box-shadow: none; }
.tile-go .ic { width: 18px; height: 18px; }
@media (max-width: 1080px) { .all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .all-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ---------- Появление ---------- */
.js [data-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .is-ready [data-in] { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + 80ms); }
.js .stage { opacity: 0; transform: translateY(24px) scale(.985); }
.js .is-ready .stage { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) .25s, transform 1.4s var(--ease) .25s; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* если скрипты не загрузились, всё показываем без анимаций */
.no-app [data-in], .no-app [data-reveal], .no-app .stage { opacity: 1 !important; transform: none !important; filter: none !important; }
.no-app .view .site-img { opacity: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .hdr-nav a { padding: 8px 10px; font-size: 14.5px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .hero { gap: 32px; }
  .h1 { font-size: clamp(40px, 5vw, 60px); }
  .stage { width: min(800px, 52vw, calc((100svh - var(--hdr) - 56px) * 1.1765)); }
  .field .btn-lg { padding: 0 20px; font-size: 16px; }
  .at { padding-left: 16px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: calc(var(--hdr) + 40px); gap: 48px; }
  .hero-copy { max-width: 720px; }
  .h1 { font-size: clamp(40px, 7.4vw, 72px); }
  .stage { width: min(100%, 760px); justify-self: center; }
}
@media (max-width: 1080px) {
  .live-in { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .step-vis { height: auto; min-height: 260px; }
  .work { grid-template-columns: minmax(0, 1fr); position: relative; top: auto; }
  .work-title { margin-top: 18px; padding-top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .plan-pro { margin: 0; }
}
@media (max-width: 860px) {
  .hdr-nav { display: none; }
  .hdr .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  :root { --hdr: 60px; }
  body { font-size: 16px; }
  .logo-word { font-size: 19px; }
  .logo-mark { width: 25px; height: 25px; }
  .hdr .btn { height: 38px; padding: 0 15px; font-size: 14px; }
  .hero { padding: calc(var(--hdr) + 16px) var(--pad) 24px; gap: 18px; }
  .h1 { font-size: clamp(34px, 10vw, 52px); line-height: 1; letter-spacing: -.045em; }
  .lead { margin-top: 12px; font-size: 17px; }
  .ig-form { margin-top: 18px; }
  .field input { font-size: 17px; }
  .form-msg { padding-left: 20px; min-height: 22px; font-size: 14.5px; margin-top: 8px; }
  .proof { font-size: 14.5px; }

  /* сцена на телефоне: окно-арка справа, телефон слева поверх */
  .stage { width: 100%; aspect-ratio: 360 / 336; }
  .arch { left: 9%; width: 91%; border-radius: 50% 50% 4% 4% / 29% 29% 4.4% 4.4%; }
  .arch-frame { inset: 2.6cqw; }
  .browser { left: 15%; top: 21%; width: 81%; border-radius: 2cqw; }
  .browser-bar { height: 6cqw; }
  .dots { width: 10cqw; } .dots i { width: 1.6cqw; height: 1.6cqw; }
  .url { height: 3.9cqw; font-size: 2.3cqw; max-width: 72%; transform: translateX(-4cqw); }
  .url-lock { width: 2cqw; height: 2cqw; }
  .status { left: 55.5%; top: 8%; height: 6.6cqw; font-size: 2.9cqw; padding: 0 2.8cqw 0 2cqw; gap: 1.5cqw; }
  .status-ic { width: 2.8cqw; height: 2.8cqw; border-width: .45cqw; }
  .phone { top: 27%; width: 33%; font-size: calc(33cqw / 41.4); }
  .flyer { box-shadow: 0 2cqw 4cqw -1cqw rgba(6, 8, 60, .55); }

  .live { padding: 52px 0 56px; }
  .row { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-template-areas: "ic name name" "ic city st"; height: 76px; gap: 3px 12px; align-content: center; }
  @keyframes rowIn { from { height: 0; opacity: 0; } to { height: 76px; opacity: 1; } }
  .row-name { display: contents; }
  .row-ic { grid-area: ic; align-self: center; width: 34px; height: 34px; } .row-ic svg { width: 17px; height: 17px; }
  .row-niche { grid-area: name; font-size: 17px; }
  .row-city { grid-area: city; font-size: 14px; }
  .row-st { grid-area: st; font-size: 13.5px; gap: 8px; }
  .row-bar { width: 52px; }
  .row-ok { width: 17px; height: 17px; } .row-ok svg { width: 12px; height: 12px; }

  .how { padding: 72px 0 72px; }
  .step { display: flex; }
  .step-vis { min-height: 240px; height: 240px; }
  .step-tx { padding: 22px 22px 26px; }

  .works { padding: 76px 0 72px; }
  .h2 { font-size: clamp(36px, 10.6vw, 52px); }
  .stack { gap: 18px; }
  .work { padding: 10px 10px 18px; border-radius: 24px; }
  .work-shot { border-radius: 16px; }
  .work-bar { height: 28px; }
  .work-url { font-size: 11.5px; padding-right: 20px; }
  .work-info { padding: 6px 8px 0; }
  .work-actions .btn { flex: 1 1 100%; }
  .work-feed { grid-template-columns: repeat(6, 1fr); gap: 2px; margin-top: 14px; border-radius: 10px; }
  .work-ava { width: 44px; height: 44px; }
  .work-handle { font-size: 16px; } .work-stats { font-size: 13px; }

  .pricing { padding: 76px 0 56px; }
  .pricing .h2 { font-size: clamp(32px, 9.4vw, 46px); }
  .plan { padding: 26px 22px 22px; gap: 22px; }

  .faq { padding: 30px 0 84px; }
  .qa summary { padding: 20px 0; font-size: 18px; gap: 16px; }
  .qa summary i { width: 32px; height: 32px; }
  .qa-a p { padding-right: 0; font-size: 16px; }

  .final { padding: 92px var(--pad) 96px; }
  .h-final { font-size: clamp(34px, 10.2vw, 52px); }
  .final-wall { grid-template-columns: repeat(4, 1fr); }
  .ig-form-final { margin-top: 30px; }

  .ftr { padding-top: 44px; }
  .ftr-word { font-size: 31vw; }
  .ftr-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-in], .js [data-reveal], .js .stage { opacity: 1; transform: none; filter: none; }
  .arch-sheen, .skel::after { display: none; }
  .mini-cell, .mini-cell-in { animation: none !important; }
  .mini-cell-in { transform: rotateY(180deg); }
  .wall-col { animation: none !important; }
}
