/* Вейтлист Joov — айдентика сайта (web/styles.css): светлый монохром, Inter Tight 300, курсив Source Serif, точечный орб. */
:root {
  --page: #ebebe9; --paper: #fff; --soft: #f5f5f3; --line: #e4e4e0; --line-2: #d6d6d1;
  --ink: #141414; --muted: #6e6e6a; --gray: #a3a3a0; --ok: #1f8a4c; --err: #c0392b;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif; --serif: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.ob-open { overflow: hidden; }
a { color: inherit; }
canvas, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, .btn, .chip, legend { text-wrap: balance; }
p, li, label { text-wrap: pretty; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.frame { max-width: 1440px; margin: 12px auto; background: var(--paper); border-radius: 28px; overflow: clip; min-height: calc(100vh - 24px); }
@media (max-width: 640px) { .frame { margin: 8px; border-radius: 22px; } }
.wrap { padding-inline: var(--gutter); max-width: 1280px; margin-inline: auto; }
.g { color: var(--gray); }
.it { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.03em; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply; background-image: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Шапка */
.top { position: sticky; top: 8px; z-index: 40; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-block: 10px; border-radius: 999px; transition: background .3s, box-shadow .3s, max-width .4s cubic-bezier(.2, .8, .2, 1), padding .4s; }
.top.stuck { max-width: 920px; padding-inline: 18px 8px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .08); }
@media (max-width: 960px) { .top.stuck { max-width: calc(100% - 16px); } }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo .dotmark { width: 22px; height: 22px; flex: none; }
.logo.sm { font-size: 17px; } .logo.sm .dotmark { width: 18px; height: 18px; }
.lang-dd { position: relative; margin-left: auto; }
.lang-b { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; letter-spacing: .03em; cursor: pointer; }
.lang-b svg { width: 15px; height: 15px; color: var(--muted); }
.lang-b i { font-style: normal; font-size: 10px; color: var(--muted); transition: transform .2s; }
.lang-dd.open .lang-b i { transform: rotate(180deg); }
.lang-m { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 168px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(0, 0, 0, .12); display: none; }
.lang-dd.open .lang-m { display: block; animation: rise .2s cubic-bezier(.2, .8, .2, 1) both; }
.lang-m a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 14.5px; }
.lang-m a:hover, .lang-m a:focus-visible { background: var(--soft); }
.lang-m a[aria-current] { font-weight: 500; }
.lang-m a[aria-current]::after { content: "✓"; margin-left: auto; }
.lang-m small { color: var(--gray); font-size: 11.5px; letter-spacing: .04em; }
.lang-m a[aria-current] small { display: none; }
@media (max-width: 520px) { .top .top-cta { display: none; } }

/* Кнопки */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; font-size: 15.5px; transition: transform .15s, background .2s, box-shadow .2s, opacity .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-dark { background: linear-gradient(180deg, #3a3a3a, #1b1b1b); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .18); }
.btn-dark:hover { background: linear-gradient(180deg, #474747, #222); }
.btn-light { background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); }
.btn-light:hover { box-shadow: 0 0 0 1px var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 6vw, 80px) clamp(36px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); margin: 0; max-width: 100%; }
.eyebrow b { font-weight: 500; color: var(--ink); background: var(--paper); border-radius: 999px; padding: 1px 8px; box-shadow: 0 0 0 1px var(--line); white-space: nowrap; }
.display { font-weight: 300; font-size: clamp(36px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -0.045em; margin: 22px 0 20px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 32em; margin: 0 0 26px; font-weight: 300; }
.art { position: relative; width: 100%; max-width: 620px; justify-self: end; padding: 112px 0 96px; font-size: 13.5px; }
.art-bg { position: absolute; inset: 52px 0 0 10%; border-radius: 36px; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #f4efe9, transparent 60%), radial-gradient(100% 80% at 90% 90%, #e9ecf4, transparent 60%), var(--soft); }
.bi { width: 14px; height: 14px; flex: none; display: inline-block; vertical-align: -2px; }
.win { position: relative; margin-right: 16%; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .12), 0 0 0 1px var(--line); }
.win-top { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.win-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.win-top span { margin: 0 auto; padding-right: 40px; font-size: 12px; color: var(--gray); }
.win-tabs { display: flex; gap: 4px; padding: 8px 10px 0; overflow: hidden; }
.win-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.win-tabs span.on { background: var(--soft); color: var(--ink); }
.win-main { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.win-side { list-style: none; margin: 0; padding: 12px 8px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; font-size: 12.5px; color: var(--muted); }
.win-side li { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-side li i { width: 7px; height: 7px; border-radius: 2px; background: var(--line-2); flex: none; }
.win-side li.on { background: var(--soft); color: var(--ink); } .win-side li.on i { background: #2bb36b; }
.win-body { padding: 12px 16px 16px; min-height: 206px; display: grid; align-content: start; gap: 7px; }
.win-body p { margin: 0; }
.you { justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; }
.ln { display: flex; gap: 8px; align-items: baseline; font: 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: #3a3a38; }
.ln.ok { color: var(--ok); } .ln.ok span { color: #3a3a38; }
.ln.lk span { text-decoration: underline; text-underline-offset: 2px; }
.cur { width: 7px; height: 14px; background: var(--ink); border-radius: 1px; }
.win-st { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.win-st span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2bb36b; box-shadow: 0 0 0 3px rgba(43, 179, 107, .18); }
.phone { position: absolute; right: 0; bottom: 6px; width: min(236px, 44%); padding: 10px 10px 12px; border-radius: 24px; background: #eef1f4; box-shadow: 0 24px 60px rgba(0, 0, 0, .16), 0 0 0 1px var(--line); display: grid; gap: 7px; }
.ph-top { display: flex; align-items: center; gap: 7px; padding: 2px 4px 6px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ph-top .bi { width: 18px; height: 18px; }
.ph-top small { color: var(--gray); font-size: 11.5px; }
.msg { margin: 0; padding: 7px 10px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; max-width: 90%; background: var(--paper); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg.me { justify-self: end; background: #dff3d3; border-bottom-right-radius: 4px; }
.msg.bot { border-bottom-left-radius: 4px; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ph-btns span { text-align: center; padding: 6px 4px; border-radius: 10px; background: rgba(255, 255, 255, .8); font-size: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); white-space: nowrap; }
.buddy { position: absolute; left: 2%; top: 0; width: 124px; height: 124px; z-index: 1; }
.buddy .orb { width: 100%; height: 100%; }
.art.hop .orb { animation: hop .62s cubic-bezier(.3, .6, .4, 1) 3; }
.say { position: absolute; left: 96%; top: 22px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--paper); box-shadow: 0 10px 30px rgba(0, 0, 0, .1), 0 0 0 1px var(--line); font-size: 13px; white-space: nowrap; animation: float 5s ease-in-out infinite; }
/* Появление строк в «терминале», сообщений и реплик (класс .in ставит live.js) */
.in { animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.say.pop { animation: popin .35s cubic-bezier(.2, .8, .2, 1.2) both, float 5s ease-in-out .4s infinite; }
@keyframes popin { from { opacity: 0; transform: translateY(6px) scale(.92); } }
.dots { display: inline-flex; gap: 4px; padding: 3px 2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gray); animation: blink 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
.mini-orb { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9a9a96, #141414 70%); display: inline-block; flex: none; }
.ph-msgs { display: grid; gap: 7px; min-height: 150px; align-content: start; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes hop { 0% { transform: translateY(0) scale(1.06, .94); } 45% { transform: translateY(-9%) scale(.98, 1.03); } 80% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
@keyframes float { 50% { transform: translateY(-6px); } }
html.static .in, html.static .say { animation: none; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 22px 0 0; padding-left: 8px; font-size: 14px; color: var(--gray); }
.works b { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; color: var(--ink); }
.works .bi { width: 17px; height: 17px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .art { justify-self: center; max-width: 540px; }
}
@media (max-width: 520px) {
  .art { font-size: 12.5px; padding: 84px 0 30px; }
  .art-bg { inset: 40px -8px 0 12%; border-radius: 28px; }
  .win { margin-right: 4%; }
  .win-body { min-height: 186px; padding: 10px 12px 12px; }
  .win-main { grid-template-columns: 1fr; } .win-side { display: none; }
  .ph-msgs { min-height: 132px; }
  .win-st span:last-child { display: none; }
  .phone { position: relative; width: 74%; margin: -28px -4px 0 auto; }
  .buddy { width: 92px; height: 92px; left: 0; }
  .say { font-size: 12px; left: 94%; top: 16px; }
}

/* Форма */
.join { display: grid; gap: 10px; max-width: 540px; }
.field { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 8px 26px rgba(0, 0, 0, .06); }
.field:focus-within { box-shadow: 0 0 0 1.5px var(--ink), 0 8px 26px rgba(0, 0, 0, .08); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; cursor: pointer; padding-left: 8px; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.consent a { color: var(--ink); text-underline-offset: 2px; }
.note { margin: 0; font-size: 13px; color: var(--gray); padding-left: 8px; }
.hero .note { display: none; }
.err { margin: 0; font-size: 14px; color: var(--err); padding-left: 8px; }
.err[hidden] { display: none; }
@media (max-width: 480px) {
  .field { flex-direction: column; border-radius: 22px; }
  .field input { height: 48px; }
  .field .btn { width: 100%; }
}
.joined { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px 14px 20px; border-radius: 22px; background: #f2fbf5; max-width: 540px; }
.joined p { margin: 0; flex: 1 1 220px; color: var(--muted); overflow-wrap: anywhere; }
.joined b { color: var(--ok); font-weight: 500; }

/* УТП */
.usp { padding-block: clamp(24px, 5vw, 64px); }
.kicker { font: italic 300 clamp(19px, 1.8vw, 24px)/1.2 var(--serif); letter-spacing: -0.01em; color: var(--muted); margin: 0 0 10px; }
.kicker::before { content: "{"; margin-right: .1em; } .kicker::after { content: "}"; margin-left: .1em; }
.h2 { font-weight: 300; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 clamp(22px, 3vw, 40px); }
.card { position: relative; padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: var(--soft); display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin: 0 0 8px; font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
.card > p { margin: 0; color: var(--muted); font-size: 15px; }
.card.dark { background: var(--ink); color: #fff; }
.card.dark > p { color: rgba(255, 255, 255, .62); }
.vig { margin-bottom: 22px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13.5px; }
.vig p, .vig ul, .vig ol, .vig pre { margin: 0; }
/* Как это работает: 5 шагов, на десктопе — закреплённая сцена, шаг меняется прокруткой */
.st-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 40px; margin-bottom: clamp(22px, 3vw, 40px); }
.st-head .h2 { margin: 0; }
.st-note { margin: 0 0 6px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; max-width: 16em; }
.st-pin { display: grid; gap: 14px; }
.st-item { display: grid; gap: 14px; }
.st-n { margin: 0 0 6px; font-size: 18px; color: var(--gray); letter-spacing: -0.02em; }
.st-n b { font-weight: 300; font-size: 44px; color: var(--ink); letter-spacing: -0.04em; }
.st-item h3 { margin: 0; font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.08; }
.st-d { margin: 0; color: var(--muted); font-size: 16px; max-width: 24em; }
.st-stage { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 3vw, 40px); display: grid; align-items: center; min-height: 300px; font-size: 15px; }
.st-stage .vig { position: relative; margin: 0; font-size: 15px; }
.s-plans .st-stage { background: radial-gradient(90% 80% at 20% 10%, #f6e9e1, transparent 70%), #ece9f3; }
.s-term .st-stage { background: radial-gradient(90% 80% at 80% 10%, #e3ece6, transparent 70%), #e8ebe4; }
.s-tg .st-stage { background: radial-gradient(90% 80% at 20% 90%, #dcebf6, transparent 70%), #e9eef3; }
.s-night .st-stage { background: radial-gradient(90% 80% at 80% 0%, #2c2c34, transparent 70%), #141414; color: #fff; }
.s-sec .st-stage { background: radial-gradient(90% 80% at 10% 10%, #f4eadf, transparent 70%), #f1ede7; }
.st-dots { display: none; }
.st.pinned { height: calc(var(--n, 5) * 75vh + 100vh); }
.st.pinned .st-pin { position: sticky; top: 90px; height: calc(100vh - 110px); max-height: 720px; display: block; }
.st.pinned .st-item { position: absolute; inset: 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .8fr); align-items: center; gap: clamp(20px, 3vw, 48px); pointer-events: none; }
.st.pinned .st-item > * { opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.st.pinned .st-item.past > * { transform: translateY(-24px); }
.st.pinned .st-item.on > * { opacity: 1; transform: none; pointer-events: auto; }
.st.pinned .st-item.on > .st-stage { transition-delay: .05s; } .st.pinned .st-item.on > .st-d { transition-delay: .1s; }
.st.pinned .st-stage { height: min(440px, 100%); }
.st.pinned .st-stage .vig { transform: scale(1.12); transform-origin: center; }
.st.pinned .st-dots { display: flex; gap: 6px; position: absolute; left: 0; bottom: 0; }
.st-dots i { width: 22px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s, width .3s; }
.st-dots i.on { background: var(--ink); width: 40px; }
@media (max-width: 899px) { .st-item { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 12px; } .st-item:last-child { border: 0; } .st-stage { min-height: 0; } }

.v-night { list-style: none; padding: 0; display: grid; gap: 2px; }
.v-night li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.v-night li:last-child { border: 0; color: #fff; }
.v-night time { font: 12.5px/1.6 ui-monospace, Menlo, monospace; color: rgba(255, 255, 255, .45); }
.v-night span { color: rgba(255, 255, 255, .8); }
.v-plans { display: grid; gap: 8px; }
.v-plans p { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.v-plans .bi { width: 20px; height: 20px; }
.v-plans span { flex: 1; min-width: 0; }
.v-plans em { font-style: normal; font-size: 12.5px; color: var(--ok); white-space: nowrap; }
.v-term { padding: 14px; border-radius: 14px; background: #161616; color: #e9e9e5; font: 12.5px/1.75 ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow: hidden; }
.v-term span:last-child { color: #9a9a95; }
.v-tg { display: grid; gap: 7px; padding: 12px; border-radius: 18px; background: #e8ecf0; }
.v-sec { list-style: none; padding: 0; display: grid; gap: 8px; }
.v-sec li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.v-sec b { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 500; background: var(--soft); }
.v-sec .fire b { background: #fde8e1; color: #c2410c; } .v-sec .ok b { background: #e3f4ea; color: var(--ok); }

/* Что такое Joov: схема слоёв + 6 карточек */
.os-sec { padding-block: clamp(24px, 5vw, 64px) 0; }
.os-map { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(18px, 3vw, 40px); background: radial-gradient(80% 70% at 15% 0%, #f3ece4, transparent 70%), radial-gradient(70% 70% at 100% 100%, #e6e9f3, transparent 70%), var(--soft); display: grid; gap: 0; }
.os-map > * { position: relative; }
.os-asst { justify-self: center; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.orb-xs { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.os-asst p { margin: 0; display: grid; line-height: 1.25; } .os-asst b { font-weight: 500; font-size: 16px; } .os-asst span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.os-wire { display: grid; grid-template-columns: repeat(3, 1fr); height: 34px; }
.os-wire i { justify-self: center; width: 1px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 4px, transparent 4px 8px); background-size: 1px 16px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 0 16px; } }
.os-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.os-p { padding: 14px; border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0, 0, 0, .05); display: grid; gap: 6px; align-content: start; }
.os-pn { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.os-pn .ic { width: 16px; height: 16px; }
.os-s { margin: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--soft); font-size: 13.5px; }
.os-s span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-s em { font-style: normal; font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.os-s .dot { width: 6px; height: 6px; box-shadow: none; animation: blink 1.6s ease-in-out infinite; }
.os-base { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.os-base > div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.os-base b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.os-base p { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.os-base span { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.6vw, 36px); margin-top: clamp(28px, 4vw, 48px); }
.pillars article { border-top: 1px solid var(--ink); padding-top: 16px; }
.pillars .ic { width: 22px; height: 22px; margin-bottom: 14px; }
.pillars h3 { margin: 0 0 6px; font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.025em; line-height: 1.15; }
.pillars p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .os-projects, .os-base { grid-template-columns: 1fr; } .os-wire { height: 22px; grid-template-columns: 1fr; } .os-wire i:not(:first-child) { display: none; }
  .os-p { grid-template-columns: 1fr 1fr; } .os-pn { grid-column: 1 / -1; } .os-s em { display: none; }
  .pillars { grid-template-columns: 1fr; }
}
/* Подключения в шагах */
.v-conn { display: flex; flex-wrap: wrap; gap: 8px; }
.v-conn span { padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: 14px; }
.v-conn span:not(.ok) { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); border-style: dashed; }
.v-conn em { font-style: normal; color: var(--ok); }
.s-conn .st-stage { background: radial-gradient(90% 80% at 20% 90%, #e2eef6, transparent 70%), #ecebf4; }

/* Финальный призыв */
.cta { padding-block: clamp(12px, 3vw, 40px) clamp(28px, 5vw, 64px); }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 64px) var(--gutter); background: radial-gradient(90% 120% at 50% 0%, #f1ede7, transparent 70%), var(--soft); display: grid; justify-items: center; text-align: center; }
.cta-card > * { position: relative; }
.cta-card .orb-sm { width: 120px; height: 120px; margin-bottom: 6px; }
.cta-card .h2 { margin-bottom: 12px; }
.cta-card .lead { margin-inline: auto; }
.cta-card .join, .cta-card .joined { width: 100%; text-align: left; }

/* Подвал */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-t { flex: 1 1 260px; }
.foot .lang-dd { margin-left: 0; }
.foot .lang-m { top: auto; bottom: calc(100% + 6px); }

/* Персонаж-ассистент в углу */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.fab[hidden] { display: none; }
.fab-b { pointer-events: auto; width: 68px; height: 68px; flex: none; border: 0; padding: 4px; border-radius: 50%; cursor: pointer; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(0, 0, 0, .16); transition: transform .2s; }
.fab-b:hover { transform: translateY(-2px) scale(1.04); }
.fab-b canvas { width: 100%; height: 100%; }
.fab-say { pointer-events: auto; margin: 0 0 18px; max-width: 280px; padding: 11px 14px; border-radius: 18px 18px 4px 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(0, 0, 0, .14); font-size: 14.5px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.94); transform-origin: bottom right; transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1.2); visibility: hidden; }
.fab-say.in { opacity: 1; transform: none; visibility: visible; animation: none; }
.fab-go { display: block; margin-top: 8px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .fab-b { width: 56px; height: 56px; } .fab-say { max-width: calc(100vw - 110px); font-size: 13.5px; margin-bottom: 12px; } }

/* Анкета */
.ob { position: fixed; inset: 0; z-index: 60; background: rgba(18, 18, 18, .45); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; overflow-y: auto; }
.ob.in { opacity: 1; }
.ob[hidden] { display: none; }
.ob-card { width: min(620px, 100%); background: var(--paper); border-radius: 28px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); transform: translateY(12px); transition: transform .3s cubic-bezier(.2, .8, .2, 1); outline: 0; }
.ob.in .ob-card { transform: none; }
.ob-card.hello { text-align: center; display: grid; justify-items: center; }
.ob-orb { width: 120px; height: 120px; }
.ob-card h2 { font-weight: 300; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.035em; line-height: 1.08; margin: 6px 0 14px; }
.ob-lead { color: var(--muted); margin: 0 0 22px; font-size: 16px; max-width: 30em; }
.ob-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--gray); }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.x:hover { background: var(--soft); color: var(--ink); }
.bar { height: 4px; border-radius: 4px; background: var(--soft); margin: 8px 0 20px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width .35s; }
.grp { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.grp legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.grp legend:empty { display: none; }
.grp legend small { color: var(--gray); font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 0; border-radius: 999px; padding: 9px 15px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 14.5px; line-height: 1.2; text-align: left; transition: background .15s, color .15s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.own { margin-top: 10px; width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 14px; font-size: 16px; outline: 0; }
.own:focus { border-color: var(--ink); }
.ob-b { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.ob-b .sp { flex: 1; }
.ob-b.center { justify-content: center; margin-top: 0; }
@media (max-width: 560px) {
  .ob { padding: 0; place-items: end stretch; }
  .ob-card { border-radius: 24px 24px 0 0; max-height: 100dvh; overflow-y: auto; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .ob-b .btn { --h: 46px; }
  .ob-b .btn-dark:last-child { flex: 1 1 100%; order: 3; }
}

/* Политика */
.policy { max-width: 760px; padding-block: 24px 56px; }
.policy h1 { font-weight: 300; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 24px 0 18px; }
.policy h2 { font-weight: 400; font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 8px; }
.policy p { color: #3a3a38; margin: 0 0 12px; }
.policy a { text-underline-offset: 2px; }

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

/* «Сделайте: сайт → CRM → …» в hero */
.make { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 .3em; }
.make > span { line-height: 1.3; }
.make > span { color: var(--gray); }
.mk { position: relative; display: inline-block; height: 1.3em; padding-bottom: .04em; overflow: hidden; overflow-x: visible; overflow-y: clip; vertical-align: bottom; transition: width .4s cubic-bezier(.2, .8, .2, 1); font: italic 400 1.04em/1.2 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.mk-w { display: inline-block; white-space: nowrap; padding-right: .12em; }
.mk-w.in { position: absolute; left: 0; top: 0; animation: mkin .45s cubic-bezier(.2, .8, .2, 1) both; }
.mk-w.out { position: absolute; left: 0; top: 0; animation: mkout .3s ease-in both; }
@keyframes mkin { from { opacity: 0; transform: translateY(110%); } }
@keyframes mkout { to { opacity: 0; transform: translateY(-110%); } }

/* Результаты: что получится */
.res { padding-block: clamp(24px, 5vw, 64px) 0; }
.res-note { color: var(--muted); }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rc { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 18px; border-radius: 26px; background: var(--soft); min-width: 0; }
.rc h3 { margin: 4px 10px 0; font-weight: 400; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
.rc-ask { margin: 0 10px; font-size: 15px; line-height: 1.4; }
.rc-ask small { display: block; font-size: 12px; color: var(--gray); margin-bottom: 2px; }
.rc-tools { margin: auto 10px 0; display: flex; flex-wrap: wrap; gap: 5px; padding-top: 4px; }
.rc-tools span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.rc-v { position: relative; overflow: hidden; height: 172px; border-radius: 18px; display: grid; place-items: center; padding: 16px; font-size: 12.5px; background: radial-gradient(90% 90% at 20% 10%, var(--a, #f3ece4), transparent 70%), radial-gradient(90% 90% at 100% 100%, var(--b, #e6e9f3), transparent 70%), #f0efec; }
.rc-v > :not(.grain) { position: relative; width: 100%; max-width: 250px; }
.r-site { --a: #f1e6da; --b: #e9e4f2; } .r-crm { --a: #e3ede6; --b: #eef0f5; } .r-motion { --a: #ece3f1; --b: #f5e8df; }
.r-bot { --a: #e1ebf4; --b: #eef1f4; } .r-content { --a: #f6e7e2; --b: #e9eef4; } .r-inbox { --a: #e6eaf4; --b: #f3ede4; }
.r-dash { --a: #e5efe8; --b: #f1ece3; } .r-auto { --a: #efefe2; --b: #e5ebf3; } .r-app { --a: #ede6f3; --b: #e2efed; }
.mk-site, .mk-crm, .mk-inbox, .mk-dash, .mk-app { background: var(--paper); border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); padding: 12px; display: grid; gap: 7px; }
.mk-site i { height: 50px; border-radius: 8px; background: linear-gradient(135deg, #d9c3a9, #a98a6c); }
.mk-site b { font-weight: 500; font-size: 13px; }
.mk-site span { height: 5px; border-radius: 3px; background: var(--line); } .mk-site span + span { width: 70%; }
.mk-site em { justify-self: start; font-style: normal; font-size: 11px; color: #fff; background: var(--ink); padding: 3px 10px; border-radius: 999px; }
.mk-crm p, .mk-inbox p { margin: 0; display: flex; align-items: center; gap: 8px; }
.mk-crm i { width: 20px; height: 20px; border-radius: 50%; background: hsl(var(--h) 45% 82%); flex: none; }
.mk-crm b, .mk-inbox b { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-crm em, .mk-inbox em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.mk-crm em.t2 { background: #e2f3e8; color: var(--ok); }
.mk-inbox i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 500; background: #e1ebf4; flex: none; }
.mk-inbox em.hot { background: #fdeee6; color: #b45a2a; }
.mk-motion { display: grid; gap: 8px; }
.mk-frame { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background: linear-gradient(120deg, #2a2440, #6a4f8a 55%, #e0a87c); box-shadow: 0 10px 26px rgba(0, 0, 0, .14); display: grid; place-items: center; }
.mk-play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); font-size: 12px; padding-left: 2px; }
.mk-cap { position: absolute; left: 12px; bottom: 10px; width: 46%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .8); box-shadow: 0 -10px 0 -1px rgba(255, 255, 255, .5); }
.mk-tl { position: relative; display: flex; gap: 3px; height: 14px; }
.mk-tl i { flex: 2; border-radius: 4px; background: #c9b8dc; } .mk-tl i:nth-child(2) { flex: 3; background: #e8c4a8; } .mk-tl i:nth-child(3) { flex: 1.5; background: #b9cde0; }
.mk-tl u { position: absolute; left: 38%; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }
.mk-motion small { justify-self: end; color: var(--muted); font-size: 11px; margin-top: -4px; }
.mk-bot { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #eef1f4; box-shadow: 0 10px 26px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.mk-bot .msg { max-width: 100%; }
.ph-btns.one { grid-template-columns: 1fr; }
.mk-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 186px !important; }
.mk-content i { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.mk-content .c0 { background: linear-gradient(160deg, #f0c9a8, #d98f6a); } .mk-content .c1 { background: linear-gradient(160deg, #3a3350, #7c6aa0); }
.mk-content .c2 { background: linear-gradient(160deg, #cfe0d4, #8fb59c); } .mk-content .c3 { background: linear-gradient(160deg, #e7dcc9, #bfa98a); }
.mk-content .c4 { background: linear-gradient(160deg, #a9c0db, #5f7fa8); } .mk-content .c5 { background: linear-gradient(160deg, #f2d9e0, #d89aab); }
.mk-dash b { font-weight: 500; font-size: 13px; }
.mk-dash div { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.mk-dash i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #c7d8cc; } .mk-dash i:last-child { background: var(--ink); }
.mk-auto { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: none !important; }
.mk-auto span { padding: 7px 9px; font-size: 12px; border-radius: 12px; background: var(--paper); box-shadow: 0 6px 18px rgba(0, 0, 0, .07), 0 0 0 1px var(--line); white-space: nowrap; }
.mk-auto .ai { background: var(--ink); color: #fff; font-weight: 500; }
.mk-auto i { font-style: normal; color: var(--gray); }
.mk-app p { margin: 0; display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 8px; background: var(--soft); }
.mk-app p.sum { background: var(--ink); color: #fff; } .mk-app b { font-weight: 500; }
.mk-app em { justify-self: end; font-style: normal; font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .results { grid-template-columns: minmax(0, 1fr); } .rc-v { height: 150px; } .rc { gap: 8px; padding-bottom: 16px; } }

/* Главное: шесть УТП крупно, как бенто */
.key { padding-block: clamp(8px, 3vw, 40px) 0; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(22px, 3vw, 40px); }
.kc { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.4vw, 30px); border-radius: 26px; background: var(--soft); }
.kc h3 { margin: auto 0 6px; font-weight: 400; font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.03em; line-height: 1.1; }
.kc p { margin: 0; color: var(--muted); font-size: clamp(14.5px, 1.2vw, 16px); line-height: 1.45; }
.kv { height: clamp(92px, 9vw, 128px); display: flex; align-items: flex-start; margin-bottom: 18px; }
.kv-big { font-weight: 300; font-size: clamp(54px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.06em; }
.k-net .kv-big { font: italic 300 clamp(46px, 5.2vw, 78px)/1 var(--serif); letter-spacing: -0.03em; }
.kv-logos { display: flex; }
.kv-logos .bi, .kv-tg .bi { width: clamp(52px, 5vw, 70px); height: clamp(52px, 5vw, 70px); padding: 13px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 8px 22px rgba(0, 0, 0, .07); }
.kv-logos .bi + .bi { margin-left: -12px; }
.kv-box { position: relative; display: grid; gap: 5px; width: clamp(104px, 10vw, 136px); padding: 10px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 8px 22px rgba(0, 0, 0, .07); }
.kv-box i { display: block; height: 12px; border-radius: 4px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.kv-box i::after { content: ""; position: absolute; right: 6px; top: 3.5px; width: 5px; height: 5px; border-radius: 50%; background: #2bb36b; }
.kv-box b { font-weight: 400; font-size: 12px; color: var(--muted); text-align: center; }
.kv-orb { width: clamp(84px, 8vw, 116px) !important; height: clamp(84px, 8vw, 116px) !important; }
.k-clock { background: var(--ink); color: #fff; } .k-clock p { color: rgba(255, 255, 255, .62); }
@media (max-width: 860px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .keys { gap: 8px; }
  .kc { padding: 16px 14px 16px; border-radius: 20px; }
  .kc h3 { font-size: 17.5px; letter-spacing: -0.02em; }
  .kc p { font-size: 13.5px; line-height: 1.4; }
  .kv { height: 64px; margin-bottom: 12px; }
  .kv-big { font-size: 46px; } .k-net .kv-big { font-size: 34px; }
  .kv-logos .bi, .kv-tg .bi { width: 48px; height: 48px; padding: 11px; }
  .kv-box { width: 92px; padding: 7px; gap: 4px; } .kv-box i { height: 9px; } .kv-box i::after { top: 2px; } .kv-box b { font-size: 10.5px; }
  .kv-orb { width: 64px !important; height: 64px !important; }
}

/* Мобильный: только главное */
@media (max-width: 600px) {
  .hero .eyebrow, .hero .works { display: none; }
  .hero .display { margin-top: 6px; }
  .art .phone { display: none; }
  .art { padding-bottom: 8px; }
  .win-tabs span:not(.on) { display: none; }
  /* результаты — лента со свайпом */
  .results { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .results::-webkit-scrollbar { display: none; }
  .rc { scroll-snap-align: start; }
  .res-note { display: none; }
  /* «что такое Joov» — схема + коротко */
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .pillars .ic { margin-bottom: 8px; width: 18px; height: 18px; }
  .pillars h3 { font-size: 17px; }
  .pillars p { font-size: 13.5px; line-height: 1.4; }
  .os-map { padding: 14px; border-radius: 22px; }
  .os-base { display: none; }
  .os-p:nth-child(3) { display: none; }
  .os-p { padding: 10px; gap: 6px; }
  .os-s { font-size: 12.5px; }
}

/* Шапка: быстрые ссылки по разделам */
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 7px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); background: var(--soft); }
.nav + .lang-dd { margin-left: 8px; }
.nav-b { display: none; width: 40px; height: 36px; border: 0; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-b i { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-open .nav-b i:first-child { transform: translateY(3.25px) rotate(45deg); } .menu-open .nav-b i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-padding-top: 84px; }
@media (max-width: 1060px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 55; flex-direction: column; gap: 2px; margin: 0; padding: 8px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(0, 0, 0, .12); }
  .top.menu-open .nav { display: flex; animation: rise .2s cubic-bezier(.2, .8, .2, 1) both; }
  .nav a { font-size: 17px; padding: 12px 14px; border-radius: 14px; color: var(--ink); }
  .nav-b { display: inline-flex; }
  .nav + .lang-dd { margin-left: auto; }
}
