/* Sieva landing — page styles */

body { background: #F4F3EF; }
.wrap { width: 1120px; margin: 0 auto; }

/* Smooth in-page anchors; sticky-nav offset for section targets */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 96px; }

/* ── Reveal on scroll (JS-gated, reduced-motion safe) ── */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Nav pill ── */
.nav { position: sticky; top: 16px; z-index: 50; width: 1120px; margin: 16px auto 0; }
.nav-pill { display: flex; align-items: center; gap: 28px; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 999px; padding: 10px 12px 10px 24px; box-shadow: var(--shadow-md); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.logo i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.nav-links { display: flex; gap: 24px; flex: 1; justify-content: center; }
.nav-links a { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.nav-links a:hover { color: var(--teal-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; border-radius: 999px; transition: all .15s ease; white-space: nowrap; }
.btn-teal { background: var(--teal); color: #fff; padding: 12px 24px; font-size: 14.5px; box-shadow: var(--shadow-teal); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; padding: 12px 24px; font-size: 14.5px; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ── Hero ── */
.hero { text-align: center; padding: 76px 0 40px; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(63,191,110,0.18); }
@media (prefers-reduced-motion: no-preference) {
  .hero-badge i { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63,191,110,0.10); } }
}
.hero h1 { font-size: 64px; font-weight: 800; letter-spacing: -0.035em; max-width: 820px; margin: 0 auto 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 16px; background: var(--teal-soft); z-index: -1; border-radius: 4px; }
.hero-sub { font-size: 19.5px; color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* Phone stage */
.stage { position: relative; width: 900px; margin: 56px auto 0; height: 660px; }
.phone { position: absolute; left: 50%; transform: translateX(-50%); width: 340px; height: 660px; background: var(--ink); border-radius: 44px; padding: 10px; box-shadow: var(--shadow-xl); }
.phone-scr { background: #E7E2DA; border-radius: 36px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.wa-head { background: var(--teal-dark); color: #fff; padding: 18px 16px 12px; display: flex; align-items: center; gap: 11px; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.wa-av img { width: 22px; height: 22px; }
.wa-head b { display: block; font-size: 14px; }
.wa-head small { font-size: 11px; opacity: 0.75; }
.wa-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.msg-in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { background: #D3F2E4; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg time { display: block; text-align: right; font-size: 9.5px; color: var(--muted-2); margin-top: 3px; }
.msg-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.msg-chip { border: 1.5px solid var(--teal); color: var(--teal-dark); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #fff; }
.msg-chip.on { background: var(--teal); color: #fff; }
/* chat animation states */
.wa-body.js-chat .msg { transition: opacity .3s ease, transform .3s ease; }
.wa-body.js-chat .msg:not(.in) { opacity: 0; transform: translateY(8px) scale(0.98); }
.msg.typing { display: flex; gap: 4px; align-items: center; padding: 13px 14px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
@media (prefers-reduced-motion: no-preference) {
  .msg.typing span { animation: tdot 1s ease-in-out infinite; }
  .msg.typing span:nth-child(2) { animation-delay: .15s; }
  .msg.typing span:nth-child(3) { animation-delay: .3s; }
  @keyframes tdot { 30% { transform: translateY(-4px); opacity: .5; } }
}

/* floating cards around phone */
.orb { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.orb-stat { padding: 16px 20px; }
.orb-stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.orb-stat b em { font-style: normal; color: var(--teal); }
.orb-stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.orb-pipe { padding: 14px 16px; width: 220px; }
.orb-pipe-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.orb-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--border); font-size: 12px; font-weight: 700; }
.orb-row i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.orb-row small { margin-left: auto; font-weight: 600; color: var(--muted-2); font-size: 11px; }
.orb-ai { padding: 14px 16px; width: 200px; }
.orb-ai-h { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--violet); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.orb-ai p { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.orb-ai p b { color: var(--teal-dark); }
.stage-note { margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted-2); }

/* roles marquee */
.roles { border-block: 1px solid var(--border); background: #fff; padding: 18px 0; margin-top: -70px; position: relative; z-index: 2; overflow: hidden; }
.roles-inner { display: flex; gap: 40px; width: max-content; }
.roles-track { display: flex; gap: 40px; white-space: nowrap; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); flex: none; }
.roles-track b { color: var(--teal-dark); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .roles-inner { animation: roll 38s linear infinite; }
  @keyframes roll { to { transform: translateX(calc(-50% - 20px)); } }
}

/* trust strip */
.trust { padding: 40px 0 0; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.trust-row p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-right: 12px; }
.trust-marks { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-mark { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--muted); }
.trust-mark-more { font-weight: 600; font-size: 13px; color: var(--muted); }
.trust-logo { display: block; height: 31px; width: auto; opacity: 0.92; }
.trust-logo-mercuris { height: 36px; }
.trust-logo-bistra { height: 48px; }

/* ── Sections ── */
section { padding: 92px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.sec-head .kicker { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; font-weight: 800; border-radius: 999px; padding: 7px 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.sec-head p { font-size: 17.5px; color: var(--muted); }

/* Dialog problem→solution */
.dialog { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.say { display: flex; gap: 14px; align-items: flex-end; }
.say.me { flex-direction: row-reverse; }
.say-av { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
.say.me .say-av { background: var(--warn); }
.say .say-av.cf { background: var(--teal); }
.wa-av b { color: var(--teal); font-weight: 800; font-size: 16px; }
.say-bub { max-width: 540px; padding: 18px 24px; border-radius: 20px; font-size: 16.5px; line-height: 1.55; box-shadow: var(--shadow-sm); }
.say.me .say-bub { background: #fff; border: 1px solid var(--border); border-bottom-right-radius: 6px; color: var(--ink-soft); }
.say.cf .say-bub { background: var(--teal); color: #fff; border-bottom-left-radius: 6px; }
.say.cf .say-bub b { font-weight: 800; }
.say-name { font-size: 11.5px; font-weight: 700; color: var(--muted-2); margin-bottom: 6px; }

/* Steps */
.steps-b { background: #fff; border-block: 1px solid var(--border); }
.stepb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stepb { text-align: center; padding: 0 20px; position: relative; }
.stepb-ic { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 20px; font-weight: 600; }
.stepb:nth-child(1) .stepb-ic { background: var(--teal-soft); color: var(--teal-dark); }
.stepb:nth-child(2) .stepb-ic { background: rgba(47,107,255,0.10); color: var(--info); }
.stepb:nth-child(3) .stepb-ic { background: rgba(124,92,255,0.10); color: var(--violet); }
.stepb h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.stepb p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.stepb + .stepb::before { content: "→"; position: absolute; left: -24px; top: 24px; font-size: 20px; color: var(--muted-2); }

/* ── Demo interview ── */
.demo-grid { display: grid; grid-template-columns: 340px 300px; gap: 64px; justify-content: center; align-items: center; }
.demo-phone { position: relative; left: auto; transform: none; height: 640px; }
.demo-body { overflow-y: auto; overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { .demo-body { scroll-behavior: smooth; } }
.demo-replies { background: #fff; border-top: 1px solid var(--border); padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; min-height: 58px; }
.demo-chip { font: inherit; cursor: pointer; border: 1.5px solid var(--teal); color: var(--teal-dark); background: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 9px 16px; transition: background .15s ease, color .15s ease, transform .15s ease; }
.demo-chip:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.demo-chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.demo-side { display: flex; flex-direction: column; gap: 14px; }
.demo-side-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.demo-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); transition: border-color .3s ease, box-shadow .3s ease; }
.demo-card .ai-row b { text-align: right; }
.demo-val-empty { color: var(--muted-2); font-weight: 600; }
.demo-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.demo-done { display: flex; flex-direction: column; gap: 10px; }
.demo-done[hidden], #demoDopor[hidden] { display: none; }
.demo-done .btn { font-size: 14px; padding: 13px 0; width: 100%; }
.demo-restart { font: inherit; background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: underline; padding: 4px; }
.demo-restart:hover { color: var(--teal-dark); }
.demo-restart:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.demo-complete .demo-card { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,155,142,0.12), var(--shadow-lg); }

/* ── Admin app section ── */
.app-sec { padding-bottom: 100px; }
.app-shot { background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-xl); overflow: hidden; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.app-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.app-url { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; }
.app-body { display: grid; grid-template-columns: 232px 1fr 264px; min-height: 420px; }
.app-list { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.app-list-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; font-weight: 800; padding: 0 6px 10px; }
.app-list-h small { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.ac { display: flex; gap: 9px; padding: 10px 8px; border-radius: 12px; align-items: center; }
.ac.on { background: var(--teal-soft); }
.ac-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.ac b { display: block; font-size: 12.5px; font-weight: 700; }
.ac small { font-size: 11px; color: var(--muted-2); }
.ac .dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.app-chat { background: var(--bg-alt); padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.app-chat .bub { max-width: 72%; padding: 9px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.bub-bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.bub-user { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.app-compose { margin-top: auto; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 8px 8px 18px; }
.app-compose span { flex: 1; font-size: 12.5px; color: var(--muted-2); }
.app-compose b { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 8px 16px; }
.app-side { border-left: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.side-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.side-h { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.side-h i { width: 7px; height: 7px; border-radius: 50%; }
.ai-row { display: flex; justify-content: space-between; font-size: 12px; padding: 5px 0; border-top: 1px dashed var(--border); }
.ai-row span { color: var(--muted); }
.ai-row b { font-weight: 700; }
.pipe-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--border); font-size: 12px; font-weight: 700; }
.pipe-row i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pipe-row small { margin-left: auto; font-family: var(--mono); font-weight: 600; color: var(--muted-2); font-size: 11px; }
.side-cta { margin-top: auto; text-align: center; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* Features chunky */
.featb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.featb { border-radius: 24px; padding: 36px; position: relative; overflow: hidden; min-height: 210px; transition: transform .2s ease, box-shadow .2s ease; }
.featb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featb h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.featb p { font-size: 15px; line-height: 1.6; max-width: 340px; }
.featb-1 { background: var(--ink); color: #fff; }
.featb-1 p { color: #C7CFDC; }
.featb-2 { background: #fff; border: 1px solid var(--border); }
.featb-2 p, .featb-3 p { color: var(--muted); }
.featb-3 { background: #fff; border: 1px solid var(--border); }
.featb-4 { background: var(--teal); color: #fff; }
.featb-4 p { color: rgba(255,255,255,0.85); }
.featb-chips { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.featb-chip { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 6px 14px; background: rgba(255,255,255,0.12); }
.featb-2 .featb-chip, .featb-3 .featb-chip { background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink-soft); }
.featb-mini { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.featb-bar { height: 10px; border-radius: 999px; background: var(--teal-soft); }
.featb-3 .featb-bar:nth-child(1) { width: 130px; background: var(--teal); }
.featb-3 .featb-bar:nth-child(2) { width: 96px; background: rgba(15,155,142,0.45); }
.featb-3 .featb-bar:nth-child(3) { width: 64px; }

.extra-caps { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.extra-caps-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.extra-caps-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cap { font-size: 13px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; color: var(--ink-soft); }

/* Quotes as chat */
.quoteb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.quoteb { display: flex; flex-direction: column; gap: 12px; }
.quoteb-bub { background: #fff; border: 1px solid var(--border); border-radius: 20px; border-bottom-left-radius: 6px; padding: 24px 26px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.quoteb-bub b { color: var(--teal-dark); }
.quoteb-who { display: flex; align-items: center; gap: 11px; padding-left: 8px; }
.quoteb-av { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; }
.quoteb-who b { display: block; font-size: 13.5px; }
.quoteb-who small { font-size: 12px; color: var(--muted-2); }

/* Pricing */
.pricing-b { background: #fff; border-block: 1px solid var(--border); }
.price-note { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; margin: -40px 0 44px; }
.planb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.plans-more { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.plans-more a { color: var(--teal-dark); font-weight: 800; border-bottom: 1.5px solid var(--teal); }
/* cost-of-vacancy band */
.loss { padding: 0 0 10px; }
.loss-card { background: var(--ink); color: #fff; border-radius: 32px; padding: 52px 64px; display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; overflow: hidden; }
.loss-card::before { content: ""; position: absolute; left: -100px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(15,155,142,0.14); }
.loss-card h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; position: relative; }
.loss-card p { font-size: 16.5px; color: #C7CFDC; max-width: 560px; line-height: 1.6; position: relative; }
.loss-card .btn { flex: none; position: relative; }
.planb { border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; background: #F4F3EF; transition: transform .2s ease; }
.planb:hover { transform: translateY(-3px); }
.planb.hot { background: var(--ink); color: #fff; position: relative; }
.planb.hot .planb-for, .planb.hot .planb-per { color: #7D879A; }
.planb.hot li { color: #C7CFDC; }
.planb-tag { position: absolute; top: 22px; right: 22px; background: var(--teal); color: #fff; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.planb-name { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.planb-for { font-size: 12.5px; color: var(--muted-2); margin-bottom: 24px; min-height: 34px; }
.planb-price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.planb-price small { font-size: 14px; font-weight: 700; color: var(--muted-2); }
.planb.hot .planb-price small { color: #7D879A; }
.planb-per { font-size: 12px; color: var(--muted-2); margin-bottom: 24px; }
.planb ul { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 26px; }
.planb li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 9px; line-height: 1.4; }
.planb li::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }
.planb .btn { width: 100%; font-size: 14px; padding: 13px 0; }
.btn-outline { border: 1.5px solid var(--border-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
/* Sign-in (secondary) next to the primary CTA — must precede the mobile
   media block so the ≤720px override wins by source order */
.nav .btn-login { padding: 12px 22px; font-size: 14.5px; }

/* FAQ */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px; font-size: 16.5px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--teal); transition: transform .15s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 28px 24px; font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 600px; }

/* CTA */
.cta-b { padding: 0 0 100px; }
.cta-card { background: var(--teal); border-radius: 32px; padding: 70px 80px; color: #fff; display: grid; grid-template-columns: 1fr 240px; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: 180px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-card.no-qr { grid-template-columns: 1fr; text-align: center; }
.cta-card.no-qr .qr { display: none; }
.cta-card h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; }
.cta-card > div > p { font-size: 17px; opacity: 0.88; margin-bottom: 32px; max-width: 460px; position: relative; }
.cta-card.no-qr > div > p { margin-inline: auto; }
.btn-white { background: #fff; color: var(--teal-dark); position: relative; }
.btn-white:hover { background: var(--cream); }
.cta-note { display: block; margin-top: 14px; font-size: 12.5px; opacity: 0.75; position: relative; }
.qr { background: #fff; border-radius: 20px; padding: 20px; text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.qr p { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.qr small { font-size: 11px; color: var(--muted-2); }
.demo-tile { padding: 28px 22px 22px; }
.demo-tile-ic { font-size: 44px; line-height: 1; margin-bottom: 12px; }
.demo-tile p { font-size: 14px; margin-bottom: 2px; }
.demo-tile .demo-tile-btn { margin-top: 16px; width: 100%; font-size: 13.5px; padding: 11px 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; }
.foot .logo { font-size: 18px; }
.foot-links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.foot-links a:hover { color: var(--teal-dark); }
.foot small { font-size: 12.5px; color: var(--muted-2); }

/* ── Mobile ── */
@media (max-width: 720px) {
  .wrap { width: auto; padding-inline: 20px; }
  .nav { width: auto; margin: 12px 14px 0; }
  .nav-pill { gap: 8px; padding: 8px 8px 8px 10px; justify-content: space-between; }
  .nav-pill .logo { font-size: 17px; gap: 7px; }
  .nav-pill .logo i { width: 28px; height: 28px; font-size: 15px; }
  /* Hide only the nav menu + its language dropdown on mobile; the footer
     dropdown (.foot-legal .lang-select) stays visible so mobile visitors can switch. */
  .nav-links, .nav .lang-select { display: none; }
  /* Make-style mobile: sign-in becomes a plain text link so the pill fits 320-375px */
  .nav .btn-login { border: 0; background: none; padding: 8px 2px; font-size: 13px; color: var(--ink); margin-left: auto; }
  .nav-pill .btn-teal { padding: 10px 12px; font-size: 13px; }
  .phone { width: min(340px, calc(100vw - 28px)); }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 16.5px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stage { width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
  .phone { position: static; transform: none; order: -1; }
  .orb { position: static !important; }
  .orb-pipe, .orb-ai { display: none; }
  .roles { margin-top: 0; }
  section { padding: 64px 0; }
  .sec-head h2 { font-size: 30px; }
  .say-bub { font-size: 15px; padding: 14px 18px; }
  .say-av { width: 36px; height: 36px; }
  .stepb-grid, .featb-grid, .quoteb-grid, .planb-grid { grid-template-columns: 1fr; }
  .loss-card { flex-direction: column; text-align: center; padding: 40px 26px; }
  .loss-card h2 { font-size: 26px; }
  .loss-card .btn { white-space: normal; } /* long RU/CS labels wrap inside the card at 320px */
  .stepb + .stepb::before { display: none; }
  .app-shot { overflow-x: auto; }
  .app-body { min-width: 860px; }
  .demo-grid { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .demo-phone { height: 600px; }
  .demo-side { width: 100%; max-width: 340px; }
  .cta-card { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
  .cta-card h2 { font-size: 32px; }
  .cta-card > div > p { margin-inline: auto; }
  .qr { width: 220px; margin: 0 auto; }
  .foot { flex-direction: column; gap: 16px; }
  .foot-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 359px) {
  /* very narrow phones: collapse the wordmark to the icon so both CTAs still fit */
  .nav-pill .logo { font-size: 0; gap: 0; }
  /* the nowrap .hl highlight («никогда не спит») outgrows 320px at 40px */
  .hero h1 { font-size: 34px; }
}

/* Language dropdown (CZ/EN/RU) */
.lang-select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%238B95AC'/%3E%3C/svg%3E") right 4px center no-repeat;
  border: 0; border-radius: 8px; padding: 5px 18px 5px 6px; cursor: pointer; line-height: 1.2;
}
.lang-select:hover { color: var(--ink); }
.lang-select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.foot-legal { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
