/* Конструктор. Сначала телефон, от 960px — версия для компьютера. Оформление «чёрный глянец»: чёрный фон, розовые засветы, стеклянные карточки — как в гайде. */
:root { --a-bg: #0b0a0d; --a-card: rgba(255, 255, 255, .05); --a-solid: #17121a; --a-field: rgba(255, 255, 255, .06); --a-text: #fbf6f9; --a-muted: #b3a6b0; --a-line: rgba(255, 255, 255, .12);
  --a-accent: #ff5aa8; --a-soft: rgba(255, 90, 168, .14); --a-ok: #5ce39a; --a-warn: #ffc06a; --a-warn-soft: rgba(255, 192, 106, .12); --a-err: #ff8f8f;
  --a-grad: linear-gradient(120deg, #ff7ac0, #ff2d95); --a-glow: 0 8px 28px rgba(255, 45, 149, .4); --a-glass: blur(14px); color-scheme: dark; }
.pf { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background:
  radial-gradient(60vmax 60vmax at 100% -10%, rgba(255, 45, 149, .28), transparent 60%),
  radial-gradient(50vmax 50vmax at -10% 110%, rgba(170, 30, 120, .25), transparent 60%), var(--a-bg); background-attachment: fixed; min-height: 100vh; color: var(--a-text); font: 15px/1.5 'Manrope', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.app { min-height: 100dvh; display: flex; flex-direction: column; }
.side, .prev { display: none; }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 10, 13, .72); backdrop-filter: var(--a-glass); -webkit-backdrop-filter: var(--a-glass); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 12px 16px 10px; }
.top-row { display: flex; align-items: center; gap: 10px; }
.logo { font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--a-text); }
.saved { margin-left: auto; font-size: 12px; color: var(--a-muted); transition: color .3s; }
.saved.on { color: var(--a-ok); }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--a-line); background: var(--a-card); border-radius: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.segs { display: flex; gap: 4px; margin-top: 12px; }
.segs span { flex: 1; height: 4px; border-radius: 2px; background: var(--a-line); }
.segs span.on { background: var(--a-grad); box-shadow: 0 0 10px rgba(255, 90, 168, .5); }

.pane { flex: 1; padding: 8px 16px 120px; width: 100%; max-width: 640px; margin: 0 auto; }
.pane h1 { margin: 10px 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.pane h1, .login h1, .adm h1, .legal h1 { font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 800; text-wrap: balance;
  background: linear-gradient(100deg, #fff 0%, #ffb3d8 35%, #ff4fa3 70%, #c4127a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 0 18px; color: var(--a-muted); }
.pane h2 { margin: 26px 0 10px; font-size: 16px; }

.f { display: block; margin-bottom: 14px; }
.f > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.f small, .hint { display: block; font-size: 12px; color: var(--a-muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=date], input[type=url], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-field); font-size: 16px; outline: none; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b3a6b0' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-soft); }
::placeholder { color: rgba(251, 246, 249, .34); }
select option { background: #1a1418; color: #fbf6f9; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.btn { min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--a-text); }
.btn:active { transform: scale(.985); }
.btn.pri { background: var(--a-grad); color: #fff; border-color: transparent; box-shadow: var(--a-glow); }
.btn.big { width: 100%; min-height: 64px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn.sm.pri { box-shadow: 0 4px 14px rgba(255, 45, 149, .35); }
.btn.ghost { border-color: transparent; background: none; color: var(--a-muted); box-shadow: none; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--a-line); background: var(--a-card); font-size: 13px; cursor: pointer; text-align: left; }
.chip.on { background: var(--a-grad); color: #fff; border-color: transparent; }

.card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 22px; padding: 16px; margin-bottom: 10px; }
.item { display: flex; gap: 12px; align-items: flex-start; }
.item-thumb { width: 54px; aspect-ratio: 9/16; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--a-muted); text-align: center; }
.item-thumb img, .item-thumb video { width: 100%; height: 100%; object-fit: cover; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.item-body input, .item-body select { min-height: 42px; font-size: 15px; }
.item-acts { display: flex; gap: 6px; }
.mini { width: 38px; height: 38px; border: 1px solid var(--a-line); background: var(--a-card); border-radius: 12px; cursor: pointer; padding: 0; font-size: 16px; }
.mini:disabled { opacity: .3; }

.avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .08); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.theme { border: 2px solid var(--a-line); border-radius: 16px; padding: 12px; cursor: pointer; text-align: left; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; }
.theme.on { border-color: var(--a-accent); box-shadow: 0 0 0 2px var(--a-bg), 0 0 0 4px var(--a-accent), 0 0 26px rgba(255, 90, 168, .45); }
.theme b { font-size: 13px; }
.theme i { width: 46px; height: 18px; border-radius: 999px; display: block; }

.linkbox { background: linear-gradient(120deg, rgba(255, 90, 168, .18), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 140, 200, .5); border-radius: 22px; padding: 16px; margin-bottom: 14px; }
.linkbox code { display: block; font: 600 17px ui-monospace, Menlo, monospace; overflow-wrap: anywhere; margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 20px; padding: 14px; cursor: pointer; text-align: left; }
.tile b { display: block; margin-bottom: 2px; }
.tile span { font-size: 12px; color: var(--a-muted); }

.letter pre { white-space: pre-wrap; font: inherit; margin: 10px 0 12px; padding: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; font-size: 14px; }
.letter summary, .day summary, .brand summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.letter summary::-webkit-details-marker, .day summary::-webkit-details-marker, .brand summary::-webkit-details-marker { display: none; }
.letter summary::after, .day summary::after, .brand summary::after { content: '+'; color: var(--a-muted); font-weight: 400; }
.letter[open] summary::after, .day[open] summary::after, .brand[open] summary::after { content: '−'; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.beat { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--a-line); }
.beat:first-child { border-top: 0; }
.beat time { font-weight: 700; font-size: 13px; }
.beat p { margin: 0; }
.beat .shot { font-size: 12px; color: var(--a-muted); margin-bottom: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--a-accent); }
.day .dnum { color: var(--a-muted); font-weight: 500; margin-right: 8px; }

.socials { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.social { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.social b { display: block; font-weight: 500; font-size: 16px; overflow-wrap: anywhere; }
.social span { display: block; font-size: 13px; color: var(--a-muted); }

/* работы */
.work .item { margin-bottom: 12px; }
button.item-thumb { position: relative; border: 0; padding: 0; cursor: pointer; width: 64px; }
button.item-thumb:disabled { cursor: default; }
.tplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; background: rgba(0,0,0,.25); }
.wlink { margin-bottom: 12px; }
.wlink input { min-height: 44px; font-size: 15px; }
.item-acts { flex-wrap: wrap; align-items: center; }

/* хуки */
.hooklist { display: flex; flex-direction: column; gap: 8px; }
.hook { text-align: left; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-card); cursor: pointer; line-height: 1.4; }
.hook.on { border-color: rgba(255, 140, 200, .9); background: var(--a-soft); box-shadow: 0 0 18px rgba(255, 90, 168, .25); }
.hook:active { transform: scale(.99); }

/* трекер */
.brand summary { align-items: center; }
.tb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--a-soft); color: #ff9ccc; border: 1px solid transparent; white-space: nowrap; }
.sub-t { margin: 6px 0 10px; font-size: 13px; font-weight: 700; }
.chain { border-left: 2px solid var(--a-line); margin-left: 6px; padding-left: 16px; display: flex; flex-direction: column; gap: 14px; }
.touch { position: relative; display: flex; flex-direction: column; gap: 6px; }
.touch::before { content: ''; position: absolute; left: -23px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--a-accent); box-shadow: 0 0 10px rgba(255, 90, 168, .7); }
.touch-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.touch-h input[type=date] { grid-column: 1 / -1; grid-row: 2; max-width: 180px; }
.touch input, .touch select { min-height: 42px; font-size: 14px; padding: 8px 10px; }
.touch select { padding-right: 30px; background-position: right 10px center; }
.touch .mini { height: 42px; }

/* оформление: свои цвета */
.custom-btn { margin-top: 10px; flex-direction: column; gap: 0; min-height: 60px; border-width: 2px; }
.custom-btn span { font-size: 12px; font-weight: 400; color: var(--a-muted); }
.custom-btn.on { border-color: var(--a-accent); }
.colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.color { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.color input { width: 48px; height: 48px; flex: none; padding: 0; border: 1px solid var(--a-line); border-radius: 12px; background: none; cursor: pointer; }
.color input::-webkit-color-swatch-wrapper { padding: 4px; }
.color input::-webkit-color-swatch { border: 0; border-radius: 8px; }
.warn { color: var(--a-warn); min-height: 0; }
.warn:empty { display: none; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: rgba(11, 10, 13, .82); backdrop-filter: var(--a-glass); -webkit-backdrop-filter: var(--a-glass); border-top: 1px solid rgba(255, 255, 255, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.bar .btn { flex: 1; }
.bar .btn.pri { flex: 2; }
.bar .back { flex: 0 0 48px; padding: 0; }

.drawer, .pv { position: fixed; inset: 0; z-index: 30; }
.drawer { background: rgba(0,0,0,.6); }
.drawer-in { position: absolute; left: 0; top: 0; bottom: 0; width: min(84vw, 320px); background: #100d12; border-right: 1px solid var(--a-line); padding: 18px 12px; overflow-y: auto; }
.nav-t { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--a-muted); margin: 16px 10px 6px; }
.nav { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border: 0; background: none; border-radius: 14px; color: var(--a-text); cursor: pointer; text-align: left; font-weight: 500; }
.nav.on { background: linear-gradient(120deg, rgba(255, 90, 168, .22), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 140, 200, .45); }
.nav .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--a-muted); }
.nav.done .n { background: var(--a-ok); border-color: var(--a-ok); color: #0b0a0d; }
.pv { background: #000; display: flex; flex-direction: column; }
.pv-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: #fff; font-size: 13px; }
.pv-top .btn { background: #222; border-color: #333; color: #fff; }
.pv iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50; background: #fff; color: #120b10; font-weight: 600; padding: 10px 16px; border-radius: 999px; font-size: 13px; white-space: nowrap; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }

@media (min-width: 960px) {
  .app { flex-direction: row; height: 100dvh; }
  .side { display: block; width: 250px; flex: none; padding: 20px 12px; border-right: 1px solid var(--a-line); overflow-y: auto; background: rgba(11, 10, 13, .45); }
  .side .logo { padding: 0 10px 8px; display: block; font-size: 18px; }
  .main { overflow-y: auto; position: relative; }
  .top .icon-btn, .top .logo, .bar .pv-btn { display: none; }
  .saved { margin-left: 0; }
  .top { padding: 20px 32px 10px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
  .segs { max-width: 576px; }
  .pane { padding: 8px 32px 110px; margin: 0; }
  .bar { position: sticky; padding: 12px 32px; }
  .bar .btn, .bar .btn.pri { flex: 0 0 auto; min-width: 150px; }
  .prev { display: flex; flex-direction: column; width: 380px; flex: none; padding: 20px; border-left: 1px solid var(--a-line); gap: 10px; background: rgba(11, 10, 13, .45); }
  .prev p { margin: 0; font-size: 12px; color: var(--a-muted); }
  .prev iframe { flex: 1; width: 100%; border: 1px solid rgba(255, 140, 200, .35); border-radius: 26px; background: #fff; box-shadow: 0 0 40px rgba(255, 45, 149, .18); }
  .toast { bottom: 30px; }
}

/* вход */
.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-in { width: 100%; max-width: 400px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 26px; padding: 28px 22px; backdrop-filter: var(--a-glass); -webkit-backdrop-filter: var(--a-glass); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.login h1 { margin: 16px 0 8px; font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.login .btn + .btn { margin-top: 8px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--a-muted); font-size: 12px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--a-line); }
.err { color: var(--a-err); }
.err:empty { display: none; }
.btn:disabled { opacity: .45; cursor: default; }

/* плашка оплаты и уведомление */
.trial { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 8px 8px 14px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; font-size: 13px; font-weight: 600; }
.trial.hot { border-color: rgba(255, 192, 106, .6); background: var(--a-warn-soft); }
.trial .btn { white-space: nowrap; }
.notice { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.65); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.notice-in { width: 100%; max-width: 420px; background: var(--a-solid); border: 1px solid rgba(255, 140, 200, .35); border-radius: 26px; padding: 24px 20px; box-shadow: 0 0 60px rgba(255, 45, 149, .25); }
.notice-in b { display: block; font-size: 18px; line-height: 1.3; }
.notice-in p { margin: 8px 0 16px; color: var(--a-muted); }
.notice-in .btn { flex: 1; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan { text-align: left; padding: 14px; border: 2px solid var(--a-line); border-radius: 20px; background: var(--a-card); color: var(--a-text); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.plan.on { border-color: rgba(255, 140, 200, .9); background: linear-gradient(120deg, rgba(255, 90, 168, .2), rgba(255, 255, 255, .04)); box-shadow: 0 0 26px rgba(255, 90, 168, .3); }
.plan-p { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.plan-p s { font-size: 13px; font-weight: 400; color: var(--a-muted); }
.plan span:last-child { font-size: 12px; color: var(--a-muted); }
.sale { border-color: rgba(255, 140, 200, .6); background: var(--a-soft); }
.sale span { color: var(--a-muted); }
@media (min-width: 960px) { .notice { align-items: center; } .trial { max-width: 576px; } }

/* согласие при входе, документы */
.agree { margin: 4px 0 14px; font-size: 13px; line-height: 1.4; color: var(--a-muted); }
.agrees { margin: 4px 0 14px; }
.agrees .agree { margin: 0 0 8px; }
.agree a, .legal a, .hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.legal { max-width: 680px; margin: 0 auto; padding: 28px 18px 80px; line-height: 1.6; }
.legal h1 { margin: 18px 0 4px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.legal h2 { margin: 28px 0 8px; font-size: 18px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal mark { background: var(--a-warn-soft); color: var(--a-warn); padding: 0 4px; border-radius: 4px; }
.legal .logo { text-decoration: none; }
.card h3, .pane h3, #so-form { margin: 18px 0 10px; font-size: 16px; }

/* общие элементы на тёмном фоне */
.chip, .hook, .tile, .mini, .theme, .custom-btn, .linkbtn, .letter summary, .day summary, .brand summary { color: var(--a-text); }
.pane h2, .adm h2 { letter-spacing: -.01em; }
.tile:hover, .hook:hover, .chip:hover { border-color: rgba(255, 140, 200, .55); }
.btn:focus-visible, .nav:focus-visible, .chip:focus-visible, .tile:focus-visible, .plan:focus-visible, .hook:focus-visible, .mini:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.linkbox code { color: #fff; }
.kpi b { color: #fff; }
.notice-in .btn { padding: 0 12px; font-size: 14px; white-space: nowrap; }

/* Окно подтверждения */
.modal-back { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 6, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: modal-in .18s ease-out; }
.modal { width: 100%; max-width: 420px; padding: 22px 20px 18px; border-radius: 22px; background: var(--a-solid); border: 1px solid rgba(255, 90, 168, .5); box-shadow: 0 18px 60px rgba(255, 45, 149, .25); color: var(--a-text); }
.modal h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.modal p { margin: 0 0 16px; color: var(--a-muted); font-size: 15px; line-height: 1.5; }
.modal-acts { display: flex; gap: 10px; margin-top: 4px; }
.modal-acts .btn { flex: 1; }
.btn.danger { background: var(--a-err); color: #1a0b0b; border-color: transparent; }
.modal .btn[disabled] { opacity: .4; cursor: default; box-shadow: none; }
@keyframes modal-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .modal-back { animation: none; } }
.gift-note { border-color: rgba(255, 140, 200, .55); background: linear-gradient(120deg, rgba(255, 90, 168, .2), rgba(255, 255, 255, .04)); margin: 0 0 14px; }

/* ---------- бесплатный тариф и Pro ---------- */
.lock { border-color: rgba(255, 140, 200, .45); background: linear-gradient(120deg, rgba(255, 90, 168, .14), rgba(255, 255, 255, .03)); }
.lock b { display: block; }
.pro-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--a-soft); color: #ff9ccc; margin-left: 4px; vertical-align: 1px; }
.compare { display: grid; gap: 10px; margin-bottom: 18px; }
.compare ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.compare li { margin-bottom: 4px; }
.pro-card { border-color: rgba(255, 140, 200, .7); background: linear-gradient(120deg, rgba(255, 90, 168, .2), rgba(255, 255, 255, .04)); box-shadow: 0 0 30px rgba(255, 45, 149, .18); }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
/* что показывать на странице */
.toggles { padding: 6px 16px 12px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--a-line); cursor: pointer; font-size: 15px; }
.toggle.off { cursor: default; color: var(--a-muted); }
.toggle input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; min-height: 0; padding: 0; flex: none; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 0; position: relative; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked { background: var(--a-grad); }
.toggle input:checked::after { transform: translateX(18px); }
.toggle input:disabled { opacity: .45; cursor: default; }
.toggle input:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; box-shadow: none; }
/* готовность */
.ready-h { display: flex; flex-direction: column; gap: 8px; }
.ready-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ready-bar i { display: block; height: 100%; background: var(--a-grad); border-radius: inherit; box-shadow: 0 0 12px rgba(255, 90, 168, .6); }
.nav-pct { margin-left: auto; font-size: 12px; color: var(--a-muted); font-weight: 600; }
/* QR */
.qr-card { display: flex; gap: 16px; align-items: center; }
.qr-card svg { width: 120px; height: 120px; flex: none; border-radius: 12px; }
/* просмотры и личные ссылки */
.views { margin-top: 10px; display: flex; flex-direction: column; }
.views .line { all: unset; display: block; padding: 10px 0; border-top: 1px solid var(--a-line); cursor: pointer; }
.views .line b { display: block; }
.views .line span { font-size: 13px; color: var(--a-muted); }
.plink { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plink code { flex: 1 1 200px; min-width: 0; padding: 9px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--a-line); font: 600 13px ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.pl-stat { color: var(--a-ok); }
.pl-works { display: flex; flex-direction: column; margin-bottom: 8px; }
.pl-works .check { padding: 6px 0; font-size: 14px; }
/* заявки */
.req-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.req-h b { font-size: 17px; }
.req-row { margin: 2px 0; font-size: 14px; }
.req-row span { display: inline-block; min-width: 76px; color: var(--a-muted); }
.req-text { margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); font-size: 14px; white-space: pre-wrap; }
.req .acts { margin-top: 10px; }
.req-done { opacity: .6; }
/* работы сверх бесплатного лимита */
.work.over { border-style: dashed; opacity: .75; }
.over-note { margin: 0 0 10px; color: var(--a-warn); }
.intro-card b { display: block; }
/* полоса над примером портфолио */
.demo-bar { display: block; position: sticky; top: 0; z-index: 10; padding: 10px 16px; text-align: center; font: 500 13px 'Manrope', sans-serif; color: #fff; background: linear-gradient(120deg, #ff7ac0, #ff2d95); text-decoration: none; }

/* ---------- страница перед входом ---------- */
.land { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }
.land-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.hero { padding: 28px 0 10px; max-width: 720px; }
.hero h1 { margin: 0 0 14px; font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 800; font-size: clamp(30px, 7.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
  background: linear-gradient(100deg, #fff 0%, #ffb3d8 35%, #ff4fa3 70%, #c4127a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 17px; max-width: 56ch; }
.hero-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.hero-acts .btn { flex: 1 1 200px; width: auto; min-height: 56px; }
.feats { display: grid; gap: 28px; margin: 40px 0; }
.feat h2 { margin: 18px 0 6px; font-size: 19px; }
.feat p { margin: 0; color: var(--a-muted); }
@media (min-width: 860px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.land-plans { display: grid; gap: 12px; margin: 10px 0 40px; }
.land-plans b { font-size: 18px; }
.plan-big { margin: 6px 0 8px; font: 800 30px 'Unbounded', 'Manrope', sans-serif; }
.plan-big small { font: 500 14px 'Manrope', sans-serif; color: var(--a-muted); }
.land-plans ul { margin: 0; padding-left: 18px; line-height: 1.5; }
@media (min-width: 640px) { .land-plans { grid-template-columns: 1fr 1fr; } }
.land .login { min-height: 0; padding: 0 0 30px; scroll-margin-top: 16px; }
.land-foot { text-align: center; font-size: 12px; color: var(--a-muted); }
.land-foot a { color: inherit; }

/* телефоны с анимацией */
.phone { width: 220px; height: 400px; margin: 0 auto; padding: 10px; border-radius: 38px; background: #1a141c; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 50px rgba(255, 45, 149, .18); }
.phone-in { position: relative; height: 100%; overflow: hidden; border-radius: 29px; background: #fff; padding: 22px 12px 12px; color: #111; font-size: 11px; }
.ph-head { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.ph-head b { width: 60%; height: 12px; border-radius: 6px; background: #111; }
.ph-head span { width: 40%; height: 8px; border-radius: 4px; background: #ddd; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-grid i { aspect-ratio: 9 / 16; border-radius: 8px; background: linear-gradient(160deg, #f6d4e3, #e9e3f7); }
.ph-grid i:nth-child(2n) { background: linear-gradient(160deg, #ffe6c7, #f6d4e3); }
.ph-grid .tap { position: relative; }
.ph-grid .tap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: rgba(255, 45, 149, .55); animation: ph-tap 6s infinite; opacity: 0; }
.ph-video { position: absolute; inset: 0; background: linear-gradient(170deg, #2b1a26, #0b0a0d 60%), #000; opacity: 0; animation: ph-video 6s infinite; }
.ph-video::before { content: ''; position: absolute; inset: 22% 18%; border-radius: 16px; background: linear-gradient(160deg, #ff9ccc, #ff2d95 60%, #8a1350); animation: ph-sway 6s infinite; }
.ph-bar { position: absolute; left: 16px; right: 16px; bottom: 18px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ph-bar::after { content: ''; position: absolute; inset: 0; background: #ff5aa8; transform-origin: left; animation: ph-progress 6s infinite; }
@keyframes ph-tap { 0%, 18% { opacity: 0; transform: scale(.4); } 24% { opacity: 1; transform: scale(1); } 32%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ph-video { 0%, 28% { opacity: 0; } 34%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes ph-sway { 0%, 30% { transform: scale(.94); } 60% { transform: scale(1.02) rotate(-1deg); } 90%, 100% { transform: scale(.98); } }
@keyframes ph-progress { 0%, 32% { transform: scaleX(0); } 88%, 100% { transform: scaleX(1); } }
.ph-seen .phone-in, .ph-tg .phone-in { background: #f4f1f6; }
.ph-card { display: flex; justify-content: space-between; align-items: center; padding: 12px; margin-bottom: 8px; border-radius: 12px; background: #fff; }
.ph-card b { font-size: 13px; }
.ph-card span { color: #999; }
.ph-push { position: absolute; left: 10px; right: 10px; top: 14px; padding: 12px; border-radius: 16px; background: rgba(20, 14, 20, .94); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 3px; transform: translateY(-140%); animation: ph-push 6s infinite; }
.ph-push b { font-size: 12px; }
.ph-push span { color: #ff9ccc; }
.ph-push::before { content: 'UGC Card · сейчас'; font-size: 9px; color: #aaa; }
@keyframes ph-push { 0%, 20% { transform: translateY(-140%); } 30%, 80% { transform: translateY(0); } 90%, 100% { transform: translateY(-140%); } }
.ph-chat { display: flex; flex-direction: column; gap: 8px; height: 100%; justify-content: flex-end; }
.ph-who { text-align: center; color: #999; margin-bottom: auto; padding-top: 4px; }
.ph-msg { align-self: flex-start; max-width: 88%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); opacity: 0; transform: translateY(14px); animation: ph-msg 6s infinite; }
.ph-msg b { color: #e0217f; font-size: 12px; }
@keyframes ph-msg { 0%, 20% { opacity: 0; transform: translateY(14px); } 30%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ph-grid .tap::after, .ph-video, .ph-video::before, .ph-bar::after, .ph-push, .ph-msg { animation: none; }
  .ph-push, .ph-msg { transform: none; opacity: 1; }
}
.ph-title { margin: 30px 0 10px; font-weight: 800; font-size: 13px; }
.ph-badge { font-size: 9px !important; font-weight: 700; padding: 3px 7px; border-radius: 99px; background: #eee; color: #777 !important; }
.ph-badge.hot { background: #ffe0ee; color: #e0217f !important; animation: ph-hot 6s infinite; }
.ph-badge.ok { background: #dff6e8; color: #1d9457 !important; }
@keyframes ph-hot { 0%, 28% { opacity: 0; } 34%, 100% { opacity: 1; } }
.ph-old { align-self: flex-start; max-width: 88%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #fff; display: flex; flex-direction: column; gap: 2px; opacity: .7; }
.ph-old b { color: #e0217f; font-size: 11px; }

.tg-ico { width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 4px; flex: none; }
.feat h2 .tg-ico { width: 22px; height: 22px; vertical-align: -4px; margin-right: 6px; }
.tg-btn .tg-ico { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }
.tg-wait { display: grid; gap: 10px; text-align: left; }
.tg-wait b .tg-ico { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.ph-grid i[style] { background-size: cover; background-position: center; }
.ph-video:has(video)::before { display: none; }
.ph-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
