@font-face { font-family: 'Averta'; src: url('/fonts/averta-regular-webfont.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Averta'; src: url('/fonts/averta-semibold-webfont.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Averta'; src: url('/fonts/averta-bold-webfont.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #fbfbfe;
  --bg-alt: #f3f5fb;
  --surface: #ffffff;
  --surface-2: #f6f7fc;
  --border: #e6e8f0;
  --border-strong: #d6d9e6;
  --text: #0b1020;
  --text-2: #4a5073;
  --text-3: #7c81a3;
  --brand: #4b61ee;
  --brand-hover: #3149e6;
  --brand-soft: #eef0fd;
  --brand-text: #3a50e0;
  --pink: #ff5979;
  --cyan: #09d3e0;
  --green: #10b97a;
  --amber: #f5a524;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 64, .06), 0 12px 32px -12px rgba(16, 24, 64, .18);
  --shadow-lg: 0 2px 4px rgba(16, 24, 64, .06), 0 40px 80px -24px rgba(16, 24, 64, .28);
  --glow-1: rgba(75, 97, 238, .16);
  --glow-2: rgba(255, 89, 121, .12);
  --glow-3: rgba(9, 211, 224, .12);
  --radius: 14px;
  --maxw: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e13;
    --bg-alt: #111319;
    --surface: #171a21;
    --surface-2: #1d2029;
    --border: #272b36;
    --border-strong: #353a47;
    --text: #eceef3;
    --text-2: #aeb2c2;
    --text-3: #868b9f;
    --brand: #4b61ee;
    --brand-hover: #5d71f2;
    --brand-soft: rgba(75, 97, 238, .16);
    --brand-text: #aab5ff;
    --on-brand: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 80px -24px rgba(0, 0, 0, .75);
    --glow-1: rgba(75, 97, 238, .28);
    --glow-2: rgba(255, 89, 121, .14);
    --glow-3: rgba(9, 211, 224, .12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0e13;
  --bg-alt: #111319;
  --surface: #171a21;
  --surface-2: #1d2029;
  --border: #272b36;
  --border-strong: #353a47;
  --text: #eceef3;
  --text-2: #aeb2c2;
  --text-3: #868b9f;
  --brand: #4b61ee;
  --brand-hover: #5d71f2;
  --brand-soft: rgba(75, 97, 238, .16);
  --brand-text: #aab5ff;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 80px -24px rgba(0, 0, 0, .75);
  --glow-1: rgba(75, 97, 238, .28);
  --glow-2: rgba(255, 89, 121, .14);
  --glow-3: rgba(9, 211, 224, .12);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Averta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 'Averta', system-ui, sans-serif;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 24px -8px rgba(75, 97, 238, .6); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; color: var(--text); }
.logo svg { height: 28px; width: auto; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 0 8px; }
.nav-login:hover { color: var(--text); text-decoration: none; }
.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer;
  font: 600 13px/1 'Averta', sans-serif;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); text-decoration: none; }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .nav-in { gap: 12px; justify-content: space-between; }
  .menu-btn { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links .m-only { display: block; }
}
.m-only { display: none; }
@media (max-width: 420px) { .nav-actions .btn-sm { padding: 0 12px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 40% at 25% 30%, var(--glow-1), transparent 70%),
    radial-gradient(30% 30% at 80% 20%, var(--glow-2), transparent 70%),
    radial-gradient(35% 35% at 60% 70%, var(--glow-3), transparent 70%);
}
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
}
.eyebrow b { background: var(--brand-soft); color: var(--brand-text); padding: 2px 8px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); margin: 22px 0 20px; letter-spacing: -.035em; }
.grad {
  background: linear-gradient(95deg, var(--brand) 0%, #8a5cf6 45%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .grad { background-image: linear-gradient(95deg, #8e9cff 0%, #b18cff 45%, #ff7d97 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grad { background-image: linear-gradient(95deg, #8e9cff 0%, #b18cff 45%, #ff7d97 100%); } }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 680px; margin: 0 auto; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.trust-row { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; color: var(--text-3); font-size: 14.5px; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- product mock ---------- */
.stage { position: relative; margin: 56px auto 0; max-width: 1080px; }
.app {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; font-size: 14px;
}
.app-top { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); display: block; }
.app-tabs { display: flex; gap: 4px; overflow: hidden; }
.app-tabs span { padding: 6px 12px; border-radius: 8px; color: var(--text-3); font-weight: 600; font-size: 13px; white-space: nowrap; }
.app-tabs span.on { background: var(--brand-soft); color: var(--brand-text); }
.app-timer {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
}
.app-timer .task { font-weight: 600; font-size: 13px; white-space: nowrap; }
.app-timer .task small { color: var(--text-3); font-weight: 400; margin-left: 6px; }
.app-timer .clock { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; min-width: 64px; }
.stop { width: 28px; height: 28px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.stop::after { content: ''; width: 9px; height: 9px; border-radius: 2px; background: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 89, 121, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 89, 121, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 89, 121, 0); } }

.app-body { display: grid; grid-template-columns: 1fr 300px; min-height: 420px; }
.grid-wrap { padding: 16px 18px 20px; border-right: 1px solid var(--border); overflow: hidden; }
.grid-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.grid-head strong { font-size: 15px; }
.grid-head span { color: var(--text-3); font-size: 13px; }
.tgrid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tgrid th { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; padding: 6px 4px; text-align: center; }
.tgrid th:first-child { text-align: left; }
.tgrid td { padding: 9px 4px; border-top: 1px solid var(--border); text-align: center; color: var(--text-2); font-size: 13px; }
.tgrid td:first-child { text-align: left; color: var(--text); font-weight: 600; white-space: nowrap; }
.tgrid td:first-child i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.tgrid td.sum { font-weight: 700; color: var(--text); }
.tgrid td.today { background: var(--brand-soft); }
.tgrid td .tick { color: var(--brand-text); font-weight: 700; }
.tgrid tr.total td { font-weight: 700; color: var(--text); }
.bars { margin-top: 18px; display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.bar { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.bar-row b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }

.side { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); }
.side h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; flex: none; }
.person .who { flex: 1; min-width: 0; line-height: 1.25; }
.person .who b { display: block; font-size: 13px; }
.person .who small { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.person .t { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.leave-card { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: border-color .4s; }
.leave-card .row { display: flex; align-items: center; gap: 10px; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: rgba(245, 165, 36, .16); color: var(--text); }
.leave-card p { font-size: 12.5px; color: var(--text-2); margin: 8px 0 10px; }
.leave-actions { display: flex; gap: 8px; }
.mini-btn { flex: 1; height: 30px; border-radius: 8px; font: 600 12.5px/30px 'Averta', sans-serif; text-align: center; border: 1px solid var(--border-strong); color: var(--text-2); }
.mini-btn.ok { background: var(--brand); border-color: var(--brand); color: #fff; }
.leave-card.approved { border-color: var(--green); }
.leave-card .done { display: none; color: var(--green); font-weight: 700; font-size: 13px; }
.leave-card.approved .leave-actions { display: none; }
.leave-card.approved .done { display: flex; align-items: center; gap: 6px; }
.float {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center;
  animation: floaty 6s ease-in-out infinite;
}
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--text-3); }
.float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ico svg { width: 18px; height: 18px; }
.float-1 { left: -36px; bottom: 70px; }
.float-2 { right: -30px; top: 90px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1180px) { .float-1 { left: 8px; bottom: -28px; } .float-2 { right: 8px; top: -28px; } }
@media (max-width: 900px) {
  .app-body { grid-template-columns: 1fr; }
  .side { border-top: 1px solid var(--border); }
  .grid-wrap { border-right: 0; }
  .app-tabs span:nth-child(n+4) { display: none; }
  .float { display: none; }
}
@media (max-width: 640px) {
  .app-tabs { display: none; }
  .tgrid .hide-s { display: none; }
  .app-timer .task small { display: none; }
  .bar-row { grid-template-columns: 90px 1fr 46px; }
}

/* ---------- logos strip ---------- */
.strip { padding: 44px 0 8px; text-align: center; }
.strip p { color: var(--text-3); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.strip .strip-sub { margin-top: 26px; }
.chips span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-weight: 600; font-size: 14.5px; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: 104px 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .kicker { color: var(--brand-text); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 12px 0 16px; letter-spacing: -.03em; }
.sec-head p { color: var(--text-2); font-size: 19px; }
@media (max-width: 640px) { .sec { padding: 72px 0; } .sec-head { margin-bottom: 40px; } }

/* problem -> solution */
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.swap-col { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.swap-col h3 { font-size: 18px; margin-bottom: 16px; }
.swap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.swap-col li { display: flex; gap: 10px; color: var(--text-2); }
.swap-col li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.swap-before li svg { color: var(--pink); }
.swap-after { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: 0 0 0 4px var(--brand-soft); }
.swap-after li svg { color: var(--green); }
.swap-after li { color: var(--text); }
.swap-arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(75, 97, 238, .7); }
.swap-arrow svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .swap { grid-template-columns: 1fr; } .swap-arrow { margin: 0 auto; transform: rotate(90deg); } }

/* feature rows */
.feat { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feat + .feat { margin-top: 120px; }
.feat.rev { grid-template-columns: 7fr 5fr; }
.feat.rev .feat-copy { order: 2; }
.feat-copy .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-text); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.feat-copy h3 { font-size: clamp(28px, 3.2vw, 38px); margin: 12px 0 16px; letter-spacing: -.025em; }
.feat-copy > p { color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li svg { flex: none; width: 22px; height: 22px; color: var(--brand-text); margin-top: 2px; }
.shot {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); background: var(--surface);
}
.shot img { width: 100%; height: auto; }
.shot .shot-d { display: none; }
:root[data-theme="dark"] .shot .shot-l { display: none; }
:root[data-theme="dark"] .shot .shot-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .shot-l { display: none; }
  :root:not([data-theme="light"]) .shot .shot-d { display: block; }
}
.shot-crop { aspect-ratio: 16 / 10.5; }
.shot-crop img { height: 100%; object-fit: cover; object-position: left top; }
.shot-wrap { position: relative; }
.shot-wrap::before {
  content: ''; position: absolute; inset: -40px; z-index: -1; border-radius: 40px;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow-1), transparent 70%);
}
.shot-badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 14px;
}
.shot-badge b { display: block; font-size: 22px; letter-spacing: -.02em; }
.shot-badge small { color: var(--text-3); }
@media (max-width: 900px) {
  .feat, .feat.rev { grid-template-columns: 1fr; gap: 36px; }
  .feat.rev .feat-copy { order: 0; }
  .feat + .feat { margin-top: 88px; }
  .shot-badge { right: 8px; }
}

/* grid of small features */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); margin-bottom: 16px; }
.card .ci svg { width: 22px; height: 22px; }
.card h4 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* import */
.import-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 48px; box-shadow: var(--shadow);
}
.import-box h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; letter-spacing: -.025em; }
.import-box p { color: var(--text-2); font-size: 18px; }
.import-list { display: grid; gap: 10px; }
.import-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; }
.import-item .arrow { margin-left: auto; color: var(--text-3); font-weight: 400; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.import-item .arrow svg { width: 16px; height: 16px; color: var(--green); }
.src-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .import-box { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; } }

/* pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin: 0 auto 36px; }
.billing-toggle button { border: 0; background: transparent; color: var(--text-2); font: 600 15px/1 'Averta', sans-serif; padding: 10px 18px; border-radius: 9px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--green); font-size: 12.5px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 0 0 6px var(--brand-soft), var(--shadow-lg); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--text-3); font-size: 15px; margin-top: 4px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.price b { font-size: 48px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--text-3); font-size: 15px; }
.price-note { color: var(--text-3); font-size: 14px; min-height: 22px; }
.plan .btn { margin: 24px 0; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 19px; height: 19px; color: var(--green); margin-top: 3px; }
.plan li.head { font-weight: 700; color: var(--text); margin-top: 4px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.calc { margin-top: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.calc h3 { font-size: 24px; margin-bottom: 8px; }
.calc p { color: var(--text-2); }
.calc input[type="range"] { width: 100%; margin: 24px 0 8px; accent-color: var(--brand); height: 24px; }
.calc .seats { font-size: 15px; color: var(--text-2); }
.calc .seats b { color: var(--text); font-size: 18px; }
.cmp { display: grid; gap: 12px; }
.cmp-row { display: grid; grid-template-columns: 120px 1fr 90px; gap: 12px; align-items: center; font-size: 15px; }
.cmp-row .bar { height: 14px; }
.cmp-row b { text-align: right; font-variant-numeric: tabular-nums; }
.cmp-row.us b { color: var(--brand-text); }
.cmp-foot { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; padding: 24px 18px; } .cmp-row { grid-template-columns: 96px 1fr 76px; } }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
table.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cmp-table thead th { font-size: 14px; color: var(--text-3); font-weight: 700; background: var(--surface-2); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { color: var(--text-2); width: 36%; }
.cmp-table td.us { font-weight: 600; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--text-3); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); }

/* final cta */
.final {
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 80px 24px;
  background: linear-gradient(135deg, #3246d6 0%, #4b61ee 45%, #7b5cf0 100%); color: #fff;
}
.final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 90% 10%, rgba(255, 89, 121, .45), transparent 70%), radial-gradient(40% 60% at 5% 100%, rgba(9, 211, 224, .35), transparent 70%);
}
.final > * { position: relative; }
.final h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.03em; }
.final p { color: rgba(255, 255, 255, .86); font-size: 19px; margin: 16px auto 32px; max-width: 620px; }
.final .btn-primary { background: #fff; color: #1f2fae; box-shadow: 0 12px 32px -10px rgba(0, 0, 0, .5); }
.final .btn-primary:hover { background: #f1f3ff; }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.final .btn-ghost:hover { border-color: #fff; }
.final small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .75); font-size: 14px; }

/* page hero (subpages) */
.page-hero { padding: 72px 0 48px; text-align: center; position: relative; }
.page-hero::before {
  content: ''; position: absolute; inset: -40% 0 auto; height: 600px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 40%, var(--glow-1), transparent 70%);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.035em; margin: 16px auto; max-width: 900px; }
.page-hero p { color: var(--text-2); font-size: 19px; max-width: 700px; margin: 0 auto; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 30px; margin: 48px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 17.5px; }
.prose p + p { margin-top: 14px; }
.prose ol, .prose ul { padding-left: 22px; display: grid; gap: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 104px; color: var(--text-2); font-size: 15px; }
.foot { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }
.foot .about { max-width: 320px; margin-top: 14px; color: var(--text-3); font-size: 14.5px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* video */
.video-box { max-width: 1000px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); }
.video-box video { width: 100%; display: block; aspect-ratio: 16 / 9; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* documents (docs/legal) + help */
.prose h1 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -.03em; margin: 0 0 20px; }
.prose h4 { font-size: 18px; margin: 28px 0 8px; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; font-size: 16px; }
.prose code { font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.prose ul ul { margin-top: 6px; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--border); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose figure { margin: 28px 0; }
.prose figure img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.prose figure.small img { border: 0; box-shadow: none; border-radius: 0; }
.prose figure.medium img { width: 420px; }
.prose figcaption { color: var(--text-3); font-size: 14px; margin-top: 8px; }
.prose .note { background: var(--surface-2); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; padding: 14px 20px; }
.prose .feature-list { display: grid; gap: 28px; margin: 20px 0 28px; }
.prose .feature-list figure { display: inline-block; margin: 0 0 10px; }
.help-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.help-nav { position: sticky; top: 96px; }
.help-nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 12px; }
.help-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.help-nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--text-2); font-size: 15px; }
.help-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.help-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-text); font-weight: 700; }
.help-article { margin: 0; max-width: 820px; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; gap: 24px; } .help-nav { position: static; } }

/* demo modal */
.demo-modal { border: 0; padding: 0; border-radius: 18px; max-width: 460px; width: calc(100% - 32px); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.demo-modal::backdrop { background: rgba(8, 10, 20, .45); }
.demo-box { padding: 28px; display: grid; gap: 14px; position: relative; }
.demo-box h2 { font-size: 24px; margin: 0; padding-right: 32px; }
.demo-box p { color: var(--text-2); margin: 0; }
.demo-close { position: absolute; top: 14px; right: 14px; font-size: 22px; line-height: 1; }
.demo-captcha { min-height: 65px; }
.demo-msg:empty { display: none; }
.demo-msg.err { color: var(--pink); }
.demo-submit[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- wersja 2 strony głównej (/v2/) ---------- */
.v2-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--brand-soft); color: var(--brand-text); }
.v2-ic svg { width: 21px; height: 21px; }
.v2-tag { display: inline-block; color: var(--brand-text); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.v2-frame { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.v2-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.v2-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
/* Kadry z aplikacji są przycięte ciasno do treści: równy margines dookoła daje strona, w kolorze tła aplikacji
   (jasny / ciemny motyw aplikacji), żeby zrzut nie dotykał ramki. */
.zshot { border: 0; border-radius: 0; box-shadow: none; padding: 16px; background: #ffffff; }
:root[data-theme="dark"] .zshot { background: #17181c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .zshot { background: #17181c; } }
.zshot img { display: block; width: 100%; height: auto; }

.v2-hero { padding: 76px 0 30px; text-align: center; background: radial-gradient(900px 480px at 80% 0%, var(--glow-1), transparent 70%), radial-gradient(700px 420px at 10% 20%, var(--glow-3), transparent 70%); }
.v2-hero-copy { max-width: 860px; margin: 0 auto; }
.v2-hero-copy h1 { font-size: clamp(44px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.04em; margin: 22px 0 22px; }
.v2-hero-copy .lead { font-size: 21px; color: var(--text-2); max-width: 34em; margin: 0 auto; }
.v2-hero-copy .cta-row { margin-top: 32px; }
.v2-hero-vis { position: relative; max-width: 1080px; margin: 64px auto 0; padding-bottom: 80px; text-align: left; }
.v2-float { position: absolute; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); }
.v2-float-timer { width: 372px; right: -46px; bottom: 0; }
/* obrazek stopera ma z prawej i u dołu pas na poświatę przycisku ▶, więc tam bez marginesu ramki: równo z każdej strony */
.v2-float-timer .zshot { padding: 16px 0 0 16px; }
.v2-chip { position: absolute; left: -30px; bottom: 44px; display: flex; gap: 12px; align-items: center; padding: 14px 20px 14px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); }
.v2-chip b { display: block; font-size: 16px; }
.v2-chip small { color: var(--text-3); font-size: 13.5px; }

.v2-nums { padding: 30px 0 8px; }
.v2-nums-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; }
.v2-nums-row > div { padding: 24px 26px; border-left: 1px solid var(--border); }
.v2-nums-row > div:first-child { border-left: 0; }
.v2-nums-row b { display: block; font-size: 30px; letter-spacing: -.03em; }
.v2-nums-row span { color: var(--text-3); font-size: 15px; }

.v2-sec { padding: 40px 0; }
.v2-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; align-items: start; padding: 64px 60px; border-radius: 28px; border: 1px solid var(--border); }
.v2-vis { grid-column: 1 / -1; }
.v2-tint1 { background: linear-gradient(160deg, var(--brand-soft), var(--surface) 55%); }
.v2-tint2 { background: linear-gradient(160deg, color-mix(in srgb, var(--amber) 13%, var(--surface)), var(--surface) 55%); }
.v2-tint3 { background: linear-gradient(160deg, color-mix(in srgb, var(--green) 12%, var(--surface)), var(--surface) 55%); }
.v2-copy h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 16px; }
.v2-lead { color: var(--text-2); font-size: 19px; }
.v2-side { padding-top: 34px; }
.v2-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.v2-items li { display: flex; gap: 16px; align-items: flex-start; }
.v2-items b { font-size: 17.5px; }
.v2-items p { margin: 3px 0 0; color: var(--text-2); font-size: 16px; }
.v2-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.v2-steps li { display: flex; gap: 16px; padding: 13px 16px; border-radius: 13px; }
.v2-steps li:first-child { background: var(--surface); box-shadow: var(--shadow); }
.v2-steps li > span { color: var(--brand-text); font-weight: 700; font-size: 14px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.v2-steps b { font-size: 17px; }
.v2-steps p { margin: 2px 0 0; color: var(--text-2); font-size: 15.5px; }
.v2-timer { padding-top: 0; align-self: center; max-width: 470px; justify-self: end; width: 100%; }

.v2-dark { background: #0d1124; border-color: #1c2244; color: #eef0ff; }
.v2-dark .v2-tag { color: #9fb0ff; }
.v2-dark .v2-lead { color: #b9c0e6; }
.v2-metrics { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.v2-metrics span { padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; color: #b9c0e6; }
.v2-metrics span.on { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(75, 97, 238, .9); }
.v2-four { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.v2-four .v2-ic { background: rgba(120, 140, 255, .16); color: #b7c3ff; margin-bottom: 12px; }
.v2-four b { display: block; font-size: 17px; }
.v2-four p { margin: 6px 0 0; color: #b9c0e6; font-size: 15.5px; }
.v2-dark .v2-frame { border-color: #2a315c; box-shadow: 0 40px 90px -30px rgba(75, 97, 238, .55); }
.v2-note { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; margin: -12px 0 0; color: #8f98c7; font-size: 14.5px; }
.v2-note svg { width: 17px; height: 17px; flex: none; }

.v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v2-card { padding: 26px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.v2-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.v2-card h4 { font-size: 18px; margin: 16px 0 6px; }
.v2-card p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.v2-cmp { padding: 60px; border-radius: 28px; border: 1px solid var(--border); background: var(--surface); }
.v2-cmp-head { max-width: 760px; }
.v2-cmp-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 14px; }
.v2-table-wrap { margin-top: 36px; overflow-x: auto; }
.v2-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; min-width: 720px; }
.v2-table th, .v2-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.v2-table th { font-size: 15px; color: var(--text-3); font-weight: 600; }
.v2-table td:first-child { font-weight: 600; }
.v2-table td { color: var(--text-2); }
.v2-table .us { background: var(--brand-soft); color: var(--text); font-weight: 700; }
.v2-table th.us { color: var(--brand-text); border-radius: 14px 14px 0 0; }
.v2-table tr:last-child td.us { border-radius: 0 0 14px 14px; }
.v2-yes { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; }
.v2-yes svg { width: 15px; height: 15px; stroke-width: 3; }
.v2-na { color: var(--text-3); }
.v2-foot { margin: 22px 0 0; color: var(--text-3); font-size: 13.5px; max-width: 900px; }
.v2-six { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 32px; }
.v2-six .v2-ic { background: rgba(120, 140, 255, .16); color: #b7c3ff; margin-bottom: 12px; }
.v2-six b { display: block; font-size: 17.5px; }
.v2-six p { margin: 6px 0 0; color: #b9c0e6; font-size: 15.5px; }

@media (max-width: 1180px) { .v2-float-timer { right: 0; width: 320px; } .v2-chip { left: 8px; } }
@media (max-width: 980px) {
  .v2-panel { grid-template-columns: 1fr; gap: 30px; padding: 36px 22px; border-radius: 22px; }
  .v2-side { padding-top: 0; }
  .v2-timer { justify-self: start; }
  .v2-grid, .v2-six { grid-template-columns: 1fr 1fr; }
  .v2-cmp { padding: 32px 20px; border-radius: 22px; }
  .v2-nums-row { grid-template-columns: 1fr 1fr; }
  .v2-nums-row > div:nth-child(3) { border-left: 0; }
  .v2-nums-row > div:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .v2-four, .v2-grid, .v2-six { grid-template-columns: 1fr; }
  .v2-float-timer, .v2-chip { display: none; }
  .v2-hero-vis { padding-bottom: 0; margin-top: 40px; }
  .v2-hero-copy .lead { font-size: 18px; }
}
