/* wecomax.com — colour chapters in the Wecomax brand (owner, 2026-11-05: «верни мои цвета»): brand blue #2e6bf6, navy #0a1633, white,
   the old site's 3D illustrations and the Callbot robot. «yellow» names the light accent field (a pale brand blue now). */
:root {
  --paper: #ffffff; --paper-2: #eef3ff; --ink: #0a1633; --ink-soft: #45506e;
  --ultra: #2e6bf6; --ultra-2: #1f55d6; --on-ultra: #ffffff; --on-ultra-soft: #dce6ff;
  --yellow: #eaf1ff; --on-yellow: #0a1633; --on-yellow-soft: #45506e;
  --black: #0a1633; --black-2: #16244d; --on-black: #ffffff; --on-black-soft: #b6c2e0;
  --hi: #8fb0ff;
  --ok: #17a462; --err: #e5484d;
  --wm-accent: #2e6bf6;
  --m: clamp(16px, 4vw, 56px);
  --r: 18px;
  --s-small: 0.875rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --s-sub: clamp(1.625rem, 1.2rem + 1.5vw, 2.625rem);
  --s-head: clamp(2.5rem, 1.5rem + 4.2vw, 5.5rem);
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans SC", "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0b1430; --paper-2: #16244d; --ink: #eef3ff; --ink-soft: #b6c2e0;
  --yellow: #dfe9ff; --black: #060d22; --black-2: #121e40;
  --wm-accent: #6f9bff; --bezel: #1d2b55;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1430; --paper-2: #16244d; --ink: #eef3ff; --ink-soft: #b6c2e0;
    --yellow: #dfe9ff; --black: #060d22; --black-2: #121e40;
    --wm-accent: #6f9bff; --bezel: #1d2b55;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--ultra); color: #fff; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
.ch-yellow :focus-visible, .ch-paper :focus-visible, .top :focus-visible, .foot :focus-visible { outline-color: var(--ultra); }
:root[data-theme="dark"] .ch-paper :focus-visible, :root[data-theme="dark"] .top :focus-visible, :root[data-theme="dark"] .foot :focus-visible { outline-color: var(--hi); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ch-paper :focus-visible, :root:not([data-theme="light"]) .top :focus-visible, :root:not([data-theme="light"]) .foot :focus-visible { outline-color: var(--hi); } }
input, select { caret-color: var(--hi); }
section[id] { scroll-margin-top: 0; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- buttons: one pill shape, colour picked per field ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 500; font-size: var(--s-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-on-ultra { background: #fff; color: var(--ultra); font-weight: 600; }
.btn-on-ultra:hover { background: var(--black); color: #fff; }
.btn-on-black { background: var(--ultra); color: #fff; font-weight: 600; }
.btn-on-black:hover { background: #fff; color: #0a1633; }
.btn-on-yellow { background: var(--ultra); color: #fff; font-weight: 600; }
.btn-on-yellow:hover { background: #0a1633; }
.btn-on-paper { background: var(--ultra); color: #fff; font-weight: 600; }
.btn-on-paper:hover { background: var(--ink); color: var(--paper); }
.btn-top { background: var(--ultra); color: #fff; font-weight: 600; min-height: 44px; padding: 0 20px; font-size: var(--s-small); }
.btn-top:hover { background: var(--ultra-2); color: #fff; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.link { font-weight: 500; text-decoration: underline; padding: 12px 4px; }
.link:hover { text-decoration-thickness: .14em; }

/* ---------- header ---------- */
.top { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 18px var(--m); }
.brand { display: inline-flex; color: var(--ink); padding: 8px 0; }
.wm { height: 26px; width: auto; aspect-ratio: 9537 / 1504; }
.links { display: flex; gap: 28px; margin-left: 16px; font-size: var(--s-small); font-weight: 500; }
.links a { text-decoration: none; padding: 10px 0; }
.links a:hover { text-decoration: underline; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: var(--s-small); font-weight: 500; cursor: pointer; background: var(--paper-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang:not([open]) ul { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--paper); color: var(--ink); border-radius: 14px; min-width: 168px; box-shadow: 0 12px 32px rgba(5, 6, 13, .18), 0 2px 6px rgba(5, 6, 13, .08); } /* taste-skill-ignore: the open menu really floats */
.lang li a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: var(--s-small); }
.lang li a:hover { background: var(--paper-2); }
.lang li a[aria-current] { font-weight: 600; background: var(--paper-2); }
.theme { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--paper-2); cursor: pointer; }
.theme .i-moon { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: none; } :root[data-theme="dark"] .theme .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-sun { display: none; } :root:not([data-theme="light"]) .theme .i-moon { display: block; } }
@media (max-width: 1023px) { .links { display: none; } }
@media (max-width: 479px) { .btn-top { display: none; } .wm { height: 21px; } }

/* ---------- hero: two fields meet at the waterline, the headline crosses it ---------- */
.hero { --seam: 50%; position: relative; min-height: max(640px, 100svh); overflow: hidden; color: var(--on-ultra); }
.hero-fields i { position: absolute; left: 0; right: 0; }
.hero-fields i:first-child { top: 0; height: var(--seam); background: var(--paper); }
.hero-fields i:last-child { top: var(--seam); bottom: 0; background: var(--ultra); }
.hero-type { position: absolute; left: var(--m); right: var(--m); top: var(--seam); transform: translateY(-75%); text-align: center; }
.hl { margin: 0; font-weight: 600; font-size: min(8rem, calc((100vw - 2 * var(--m)) / (var(--n) * .58))); line-height: 1.04; letter-spacing: -.035em; }
.hl .line { display: block; }
.hl .line > span { display: inline-block; }
.hl-top { position: relative; z-index: 1; color: var(--ultra); clip-path: inset(-40% -10% 25% -10%); }
.hl-low { position: absolute; inset: 0; color: var(--on-ultra); clip-path: inset(75% -10% -40% -10%); }
.hero-foot { position: absolute; left: var(--m); right: var(--m); bottom: clamp(32px, 6svh, 64px); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.hero-foot .lead { margin: 0; max-width: 40ch; color: var(--on-ultra); }
:root[data-theme="dark"] .hl-top { color: #6f9bff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl-top { color: #6f9bff; } }
@media (max-width: 767px) {
  .hero { --seam: 44%; min-height: max(600px, 100svh); }
  .hero-foot { align-items: flex-start; text-align: left; gap: 22px; }
}

/* ---------- chapters ---------- */
.ch { padding-block: clamp(96px, 12vw, 200px); }
.ch-paper { background: var(--paper); color: var(--ink); --soft: var(--ink-soft); --tick: var(--ultra); }
.ch-black { background: var(--black); color: var(--on-black); --soft: var(--on-black-soft); --tick: var(--hi); }
.ch-ultra { background: var(--ultra); color: var(--on-ultra); --soft: var(--on-ultra-soft); --tick: #fff; }
.ch-yellow { background: var(--yellow); color: var(--on-yellow); --soft: var(--on-yellow-soft); --tick: var(--ultra); }
:root[data-theme="dark"] .ch-paper { --tick: #8f9bff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ch-paper { --tick: #8f9bff; } }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .split > :first-child { grid-column: 1 / span 6; }
  .split > :last-child { grid-column: 8 / span 5; }
  .split-rev { align-items: end; }
}
.head { margin: 0 0 32px; font-size: var(--s-head); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; max-width: 14ch; }
:lang(zh) .head, :lang(ko) .head { letter-spacing: -.02em; line-height: 1.12; max-width: 12em; }
.lead { margin: 0 0 32px; font-size: var(--s-lead); line-height: 1.4; font-weight: 350; max-width: 36ch; text-wrap: pretty; }
.sub { margin: 0 0 24px; font-size: var(--s-lead); font-weight: 500; letter-spacing: -.01em; }
.ticks { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: var(--s-body); }
.ticks svg { flex: none; color: var(--tick); margin-top: .1em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.price { margin: 0 0 32px; display: grid; gap: 4px; }
.price b { font-size: var(--s-sub); font-weight: 500; letter-spacing: -.02em; color: var(--tick); }
.price span { color: var(--soft); font-size: var(--s-small); }
#web .split > :last-child { margin: 0; font-size: var(--s-lead); }
#web .ticks li { font-size: var(--s-lead); line-height: 1.3; }

/* ---------- the live chat: pick a messenger ---------- */
.chat { margin: 0; color: #05060d; }
.chat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chat-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--black-2); color: var(--on-black); font-size: var(--s-small); font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.chat-tabs button:hover { background: #22305c; }
.chat-tabs button[aria-selected="true"] { background: #fff; color: #05060d; }
.chat-win { --app: #0068ff; background: #fff; border-radius: 24px; overflow: hidden; }
.chat-win[data-m="whatsapp"] { --app: #128c4a; }
.chat-win[data-m="telegram"] { --app: #1f8fd6; }
.chat-win[data-m="line"] { --app: #06a346; }
.chat-win[data-m="voice"] { --app: #2e6bf6; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--app); color: #fff; transition: background-color .3s; }
.chat-head b { display: block; font-weight: 500; }
.chat-head small { display: block; font-size: var(--s-small); opacity: .9; }
.ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--app); font-weight: 600; }
.clock { margin-left: auto; font-size: var(--s-small); font-variant-numeric: tabular-nums; }
.chat-body { display: grid; gap: 10px; padding: 20px; background: #f1f3f8; min-height: 340px; align-content: start; }
.msg { margin: 0; max-width: 85%; padding: 11px 15px; border-radius: 18px; font-size: 16px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: msg .5s var(--ease) forwards; }
.msg-c { background: #fff; border-bottom-left-radius: 6px; }
.msg-b { justify-self: end; background: var(--app); color: #fff; border-bottom-right-radius: 6px; transition: background-color .3s; }
.msg:nth-child(2) { animation-delay: .5s; } .msg:nth-child(3) { animation-delay: 1s; } .msg:nth-child(4) { animation-delay: 1.5s; }
.saved { margin: 4px 0 0; justify-self: center; padding: 8px 14px; border-radius: 999px; background: #dff5e9; color: #0b5a33; font-size: var(--s-small); font-weight: 500; opacity: 0; animation: msg .5s var(--ease) 2s forwards; }
.chat-win[data-m="voice"] .chat-body { background: #f4f5fb; }
.chat-win[data-m="voice"] .msg { max-width: 100%; background: transparent; padding: 0 0 0 14px; border-radius: 0; color: #05060d; border-left: 3px solid #c7cbe0; justify-self: start; }
.chat-win[data-m="voice"] .msg-b { border-left-color: var(--app); }
.chat figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--soft); }
@keyframes msg { to { opacity: 1; transform: none; } }

/* ---------- work: an index of real sites and a stage ---------- */
.work { display: grid; gap: 32px; margin-top: clamp(96px, 10vw, 160px); }
.work-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.work-name { border: 0; background: none; padding: 6px 0; font-size: var(--s-sub); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--ink-soft); opacity: .55; cursor: pointer; white-space: nowrap; transition: opacity .2s, color .2s; }
.work-name:hover { opacity: .85; }
.work-name[aria-pressed="true"] { color: var(--ink); opacity: 1; }
.work-stage { background: var(--paper-2); border-radius: var(--r); overflow: hidden; padding: 24px 0 0 24px; min-height: 280px; }
.work-shot { margin: 0; }
.work-shot .browser { width: 118%; background: #fff; border-top-left-radius: 14px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #e3e5ee; color: #3d4052; font-size: 13px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3c6d4; }
.browser-bar b { margin-left: 14px; font-weight: 400; padding: 3px 12px; background: #fff; border-radius: 999px; }
.work-shot img { width: 100%; height: auto; }
.work-shot.on img { animation: drift 7s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06); transform-origin: 0 0; } to { transform: scale(1); transform-origin: 0 0; } }
.work-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 24px 24px 0; font-size: var(--s-body); color: var(--ink); }
.work-shot figcaption b { font-weight: 500; margin-right: 8px; }
.work-shot figcaption a { font-weight: 500; }
@media (min-width: 960px) {
  .work { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .work-index { grid-column: 1 / span 4; position: sticky; top: 32px; }
  .work-names { display: grid; overflow: visible; gap: 6px; }
  .work-stage { grid-column: 5 / span 8; padding: 56px 0 0 56px; }
  .work-shot figcaption { padding: 24px 56px 32px 0; }
}

.phones-wrap { margin-top: clamp(72px, 8vw, 128px); }
.phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.phones a { display: grid; gap: 12px; text-decoration: none; }
.phone { display: block; border: 6px solid var(--bezel, #05060d); border-radius: 30px; overflow: hidden; background: var(--bezel, #05060d); aspect-ratio: 600 / 985; transition: transform .3s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones a:hover .phone { transform: translateY(-6px); }
.phone-name { font-weight: 500; }
.phones a:hover .phone-name { text-decoration: underline; }
@media (min-width: 768px) { .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .phones { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- GEO: an AI answer that names the business ---------- */
.answer { margin: 0; background: #fff; color: #05060d; border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.ask { margin: 0; justify-self: end; max-width: 90%; padding: 12px 18px; border-radius: 18px 18px 6px 18px; background: #0a1633; color: #fff; font-size: var(--s-body); }
.engines { display: flex; flex-wrap: wrap; gap: 6px; }
.engines span { padding: 6px 12px; border-radius: 999px; background: #f1f2f6; font-size: var(--s-small); color: #3d4052; }
.engines span:first-child { background: var(--ultra); color: #fff; }
.reply { margin: 0; font-size: var(--s-lead); line-height: 1.45; font-weight: 350; }
.reply mark { background: var(--ultra); color: #fff; padding: 0 .2em; border-radius: 4px; font-weight: 500; }
.answer figcaption { font-size: var(--s-small); color: #555a6e; }

/* ---------- how we work ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 40px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps li::before { content: ""; display: block; height: 6px; border-radius: 8px; background: rgba(255, 255, 255, .9); width: 25%; margin-bottom: 12px; }
.steps li:nth-child(2)::before { width: 50%; } .steps li:nth-child(3)::before { width: 75%; } .steps li:nth-child(4)::before { width: 100%; }
.steps h3 { margin: 0; font-size: var(--s-sub); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.steps p { margin: 0; color: var(--soft); max-width: 30ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ: filled tiles ---------- */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .faq .head { grid-column: 1 / span 5; max-width: none; align-self: start; position: sticky; top: 48px; }
  .faq-list { grid-column: 6 / span 7; }
}
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--paper-2); border-radius: var(--r); transition: background-color .25s, color .25s; }
.faq-list summary { list-style: none; display: flex; align-items: center; gap: 24px; min-height: 72px; padding: 18px 24px; font-size: var(--s-lead); font-weight: 400; line-height: 1.3; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 18px; height: 18px; margin-left: auto; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] { background: var(--ultra); color: #fff; }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details p { margin: 0; padding: 0 24px 24px; max-width: 58ch; }
.faq-list summary:hover { opacity: .85; }

/* ---------- contact form ---------- */
#contact .split { align-items: start; }
.direct { margin: 0; font-size: var(--s-lead); }
.direct a { font-weight: 500; }
.lead-form { display: grid; gap: 18px; }
.kinds { border: 0; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { padding: 0; margin-bottom: 12px; font-size: var(--s-small); color: var(--soft); }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--black-2); font-size: var(--s-small); font-weight: 500; transition: background-color .2s, color .2s; }
.kinds input:checked + span { background: var(--ultra); color: #fff; }
.kinds input:focus-visible + span { outline: 3px solid var(--hi); outline-offset: 3px; }
.row { display: grid; gap: 18px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; font-size: var(--s-small); color: var(--soft); }
.field input, .field select { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 2px solid transparent; background: var(--black-2); color: var(--on-black); font-size: 16px; transition: border-color .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23babdcc' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input::placeholder { color: #8b8fa3; }
.field input:hover, .field select:hover { border-color: #2a3c70; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ultra); }
.field .error { border-color: var(--err); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn-wide { width: 100%; margin-top: 6px; }
.status { margin: 0; min-height: 1.5em; font-size: var(--s-body); }
.status.ok { color: #6fe0a5; } .status.err { color: #ff9a9d; }
.legal { margin: 0; font-size: var(--s-small); color: var(--soft); }

/* ---------- task switcher: pick a job, the card swaps with a crossfade, chips pop in ---------- */
.tasks { margin: 0 0 40px; max-width: 620px; }
.tk-pick { margin: 0 0 12px; font-size: var(--s-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.tk-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tk-tabs button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 2px solid #2a3c70; background: var(--black-2); color: var(--on-black); font: 600 var(--s-small)/1 var(--font); cursor: pointer; box-shadow: 0 0 0 transparent; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tk-tabs button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #2a3c70; }
.tk-tabs button:active { transform: translate(1px, 1px); box-shadow: 0 0 0 transparent; }
.tk-tabs button[aria-selected="true"] { background: var(--ultra); border-color: var(--ultra); color: #fff; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--hi); }
.tk-tabs button svg { flex: none; }
.tk-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .85); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.tasks.auto .tk-tabs button[aria-selected="true"] .tk-bar { animation: tk-bar var(--tk-ms, 4800ms) linear forwards; }
@keyframes tk-bar { to { transform: scaleX(1); } }
.tk-card { position: relative; display: grid; padding: 22px 22px 18px; border-radius: 20px; border: 2px solid #2a3c70; background: var(--black-2); box-shadow: 6px 6px 0 var(--ultra); transition: box-shadow .3s; }
.tk-layer { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, visibility .4s, transform .45s var(--ease); }
.tk-layer.on { opacity: 1; visibility: visible; transform: none; }
.tk-kick { margin: 0 0 8px; font-size: var(--s-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hi); }
.tk-text { margin: 0 0 18px; font-size: var(--s-body); line-height: 1.45; font-weight: 500; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid #3a4e8a; font-size: var(--s-small); font-weight: 600; color: var(--on-black); }
.tk-chip.dark { background: #fff; border-color: #fff; color: var(--black); }
.tk-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ultra); animation: tk-pulse 1.6s ease-in-out infinite; }
@keyframes tk-pulse { 50% { transform: scale(1.6); opacity: .55; } }
.tk-layer.on .tk-chip { animation: tk-pop .5s var(--ease) both; animation-delay: calc(.12s + var(--i) * .09s); }
@keyframes tk-pop { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.tk-ch { grid-area: 2 / 1; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #2a3c70; font-size: var(--s-small); color: var(--soft); }
@media (max-width: 599px) {
  .tk-tabs { gap: 8px; }
  .tk-tabs button { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
  .tk-card { padding: 18px 16px 14px; box-shadow: 4px 4px 0 var(--ultra); }
}
@media (prefers-reduced-motion: reduce) { .tk-layer, .tk-tabs button { transition: none; } .tk-layer.on .tk-chip, .tk-chip i { animation: none; } }

/* ---------- order window: the request form in a modal ---------- */
.om-lock, .om-lock body { overflow: hidden; }
.om-lock body { position: fixed; inset-inline: 0; width: 100%; }
.om { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.om[hidden] { display: none; }
.om-back { position: fixed; inset: 0; background: rgba(4, 9, 26, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.om-box { position: relative; width: min(640px, 100%); margin: auto; background: var(--black); color: var(--on-black); --soft: var(--on-black-soft); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .25s, transform .35s var(--ease); outline: none; }
.om.on .om-back { opacity: 1; }
.om.on .om-box { opacity: 1; transform: none; }
.om-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--black-2); color: var(--on-black); cursor: pointer; transition: background-color .2s; }
.om-x:hover { background: var(--ultra); }
.om-h { margin: 0 52px 10px 0; font-size: var(--s-sub); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.om-lead { margin: 0 0 24px; color: var(--soft); font-size: var(--s-body); }
.om-box .lead-form { gap: 14px; }
.om-box .field input, .om-box .field select { min-height: 52px; }
.om-done { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 12px 0 4px; }
.om-done[hidden] { display: none; }
.om-ok { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 999px; background: var(--ok); color: #fff; }
.om-msg { margin: 0; font-size: var(--s-lead); max-width: 28ch; }
.om-done .btn { min-width: 180px; }
.om-slot[hidden], .om-box:has(.om-done:not([hidden])) .om-lead { display: none; }
@media (max-width: 599px) {
  .om { padding: 0; place-items: end stretch; }
  .om-box { width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .om-h { font-size: 1.5rem; }
  .om-lead { margin-bottom: 18px; font-size: 1rem; }
  .om-box .kinds legend { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .om-back, .om-box { transition: none; } }

/* ---------- footer: a board of tiles ---------- */
.foot { background: var(--paper); padding: 10px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tile { background: var(--paper-2); border-radius: var(--r); padding: 20px; min-width: 0; }
.t-mark { grid-column: 1 / -1; order: -2; display: grid; place-items: center; min-height: 160px; background: var(--black); color: #fff; --wm-accent: #6f9bff; }
.t-mark .wm { width: min(78%, 900px); height: auto; }
.t-go { grid-column: 1 / -1; order: -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; min-height: 140px; background: var(--ultra); color: #fff; text-decoration: none; font-size: var(--s-sub); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; transition: background-color .2s; }
.t-go span { align-self: flex-start; }
.t-go svg { flex: none; transition: transform .25s var(--ease); }
.t-go:hover { background: var(--ultra-2); }
.t-go:hover svg { transform: translate(4px, -4px); }
.t-nav { display: grid; align-content: start; gap: 2px; }
.t-nav a { text-decoration: none; padding: 6px 0; }
.t-nav a:hover { text-decoration: underline; }
.t-mail { display: grid; align-content: space-between; gap: 24px; }
.t-mail span { color: var(--ink-soft); font-size: var(--s-small); }
.t-mail { text-decoration: none; transition: background-color .2s; } .t-mail:hover { background: var(--yellow); } .t-mail b { font-size: var(--s-body); font-weight: 600; color: var(--ultra); }
.t-time p { margin: 0 0 4px; }
.t-time span { color: var(--ink-soft); font-size: var(--s-small); }
.t-time b { font-weight: 500; font-variant-numeric: tabular-nums; }
.foot-langs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--s-small); }
.foot-langs a { display: inline-block; padding: 6px 0; }
.t-line { grid-column: 1 / -1; display: grid; align-content: space-between; gap: 32px; }
.t-line p { margin: 0; font-size: var(--s-lead); line-height: 1.3; max-width: 26ch; }
.t-line small { font-size: var(--s-small); color: var(--ink-soft); }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 28px; }
  .t-line, .t-nav, .t-time, .t-mail, .t-mark, .t-go { order: 0; min-height: 240px; }
  .t-line { grid-column: 1 / span 4; } .t-nav { grid-column: 5 / span 3; } .t-time { grid-column: 8 / span 2; } .t-mail { grid-column: 10 / span 3; }
  .t-mail b { font-size: clamp(1.0625rem, 0.3rem + 1vw, 1.375rem); }
  .t-mark { grid-column: 1 / span 8; min-height: 320px; } .t-go { grid-column: 9 / span 4; min-height: 320px; }
}

/* ---------- motion: the headline rises, every chapter's parts enter once ---------- */
.js .hl .line > span { animation: rise 1s var(--ease) both; }
.js .hl .line + .line > span { animation-delay: .11s; }
.js .hero-foot { animation: fade .8s var(--ease) .45s both; }
@keyframes rise { from { transform: translateY(.7em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .chat:not(.in) .msg, .js .chat:not(.in) .saved { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .chat:not(.in) .msg, .js .chat:not(.in) .saved { animation-play-state: running; }
}

/* CJK: system faces have no true light cut, and Korean breaks between words */
:lang(zh) .hl, :lang(ko) .hl, :lang(zh) .head, :lang(ko) .head, :lang(zh) .steps h3, :lang(ko) .steps h3, :lang(zh) .t-go, :lang(ko) .t-go { font-weight: 400; }
:lang(ko) { word-break: keep-all; }

/* ---------- brand graphics: the old site's 3D art and the Callbot robot, drawn icons for the steps ---------- */
.hero-art { position: absolute; z-index: 2; pointer-events: none; }
/* Callbot as it is — black and white (owner, 2026-11-05: «Колбот у нас чёрно-белый»): a live call card in the blue field, beside the lead */
.hero-call { right: clamp(16px, 3vw, 56px); top: calc(var(--seam) + 96px); width: min(21vw, 300px); padding: 18px; border-radius: 22px; background: #0b0b0d; color: #fff; display: grid; gap: 16px; box-shadow: 0 30px 60px -24px rgba(10, 22, 51, .6); transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.hc-top { display: flex; align-items: center; gap: 10px; }
.hc-ava { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.hc-who b { display: block; font-weight: 600; font-size: 15px; }
.hc-who small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #a1a1a9; }
.hc-who small i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hc-time { margin-left: auto; font-size: 13px; color: #a1a1a9; font-variant-numeric: tabular-nums; }
.hc-wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.hc-wave i { flex: 1; height: var(--h); border-radius: 3px; background: #fff; opacity: .9; animation: wave 1.6s ease-in-out infinite; animation-delay: calc(var(--h) * -0.02s); transform-origin: center; }
.hc-wave i:nth-child(3n) { opacity: .45; }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.hc-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hc-tag { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: 12px; }
.hc-saved { padding: 6px 12px; border-radius: 999px; background: #fff; color: #0b0b0d; font-size: 12px; font-weight: 600; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (min-width: 768px) and (max-width: 1099px) { .hero-call { display: none; } }
@media (max-width: 767px) { .hero-call { right: auto; bottom: auto; left: 50%; margin-left: -120px; top: calc(var(--seam) + 40px); width: 240px; padding: 14px; gap: 12px; } .hc-wave { height: 30px; } .hc-foot { display: none; } }
@media (max-height: 700px) and (max-width: 1099px) { .hero-call { display: none; } }
.chat { position: relative; }
.geo-art { width: min(100%, 360px); height: auto; margin: 44px 0 0; border-radius: 28px; box-shadow: 0 24px 50px -30px rgba(10, 22, 51, .45); }
.step-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--ultra); box-shadow: 0 14px 30px -14px rgba(10, 22, 51, .6); }
.step-ic svg { width: 30px; height: 30px; }
.steps li::before { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-art, .hc-wave i { animation: none; } }

/* ---------- work: icon cards (owner, 2026-11-05: «достаточно иконки и о чём коротко», no screenshots) ---------- */
.work-cards { margin-top: clamp(72px, 8vw, 128px); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.work-grid a { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--paper-2); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.work-grid a:hover { transform: translateY(-3px); background: var(--yellow); }
.wk-ico { width: 56px; height: 56px; border-radius: 14px; flex: none; object-fit: cover; box-shadow: 0 6px 16px -8px rgba(10, 22, 51, .35); }
.wk-text { display: grid; gap: 2px; min-width: 0; }
.wk-text b { font-weight: 600; font-size: var(--s-body); }
.wk-text small { color: var(--ink-soft); font-size: var(--s-small); line-height: 1.35; }
.wk-go { margin-left: auto; color: var(--ultra); font-size: 1.2rem; }
