/* Sawlabs — strona główna (redesign z karty 3.1). Jedna ciemna paleta, bursztynowy akcent. */

/* Manrope (SIL OFL 1.1), hostowany lokalnie — CSP pozwala tylko na font-src 'self'. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0d12;
  --surface: #11161e;
  --surface-2: #161c26;
  --surface-3: #1c2430;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #eef1f5;
  --text-2: #c4cbd5;
  --muted: #8f99a8;
  --accent: #ff9d2e;
  --accent-2: #ffbe6b;
  --accent-ink: #1c1206;
  --accent-soft: rgba(255, 157, 46, .12);
  --accent-line: rgba(255, 157, 46, .35);
  --ok: #4fd1a1;
  --ok-soft: rgba(79, 209, 161, .12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .1);
  --danger: #ff8a80;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 157, 46, .07), transparent 60%),
    radial-gradient(800px 700px at -10% 40%, rgba(90, 130, 255, .05), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 157, 46, .35); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.9vw, 3.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; }
p { text-wrap: pretty; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-pill { padding: 7px 14px 7px 12px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); letter-spacing: .06em; text-transform: none; font-size: .86rem; font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 157, 46, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 157, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 157, 46, 0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 157, 46, .6); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(10, 13, 18, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease, background-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 13, 18, .86); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 20px -6px rgba(255, 157, 46, .7); }
.brand-text strong { display: block; font-size: 1rem; line-height: 1.15; letter-spacing: -.01em; }
.brand-text small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { padding: 10px 13px; border-radius: 10px; color: var(--text-2); font-size: .94rem; font-weight: 600; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; margin-inline: auto; border-radius: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.section { position: relative; padding-block: clamp(80px, 10vw, 136px); }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1120px, calc(100% - 2 * var(--gutter))); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 16px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-lead { margin-top: 20px; color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 700px; }

.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)); }
.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.icon-badge .ico { width: 22px; height: 22px; }
.icon-badge-lg { width: 54px; height: 54px; border-radius: 15px; }
.icon-badge-lg .ico { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero-copy h1 { margin-top: 24px; font-size: clamp(2.4rem, 4.9vw, 4.1rem); text-wrap: wrap; }
.mark { position: relative; white-space: nowrap; color: var(--accent); }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 4px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .55; }
.lead { margin-top: 24px; max-width: 600px; color: var(--text-2); font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.hero-proof .ico { margin-top: 2px; width: 20px; height: 20px; color: var(--accent); }
.hero-proof strong { display: block; margin-bottom: 2px; color: var(--text); font-size: .93rem; }

/* Window chrome (shared by hero flow + players) */
.win-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding-inline: 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.win-title { flex: 1; min-width: 0; overflow: hidden; color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }

/* Hero flow animation */
.flow { position: relative; }
.flow-glow { position: absolute; inset: 10% -6% -6% 8%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(255, 157, 46, .22), transparent); filter: blur(30px); }
.flow-window { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #141a24, #0f141b); box-shadow: var(--shadow); }
.flow-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.flow-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.flow-mail { display: flex; gap: 14px; margin: 18px 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); transition: border-color .4s ease, opacity .4s ease; }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #3b4a63, #26303f); color: #dbe3ee; font-size: .8rem; font-weight: 800; }
.flow-mail-body { min-width: 0; }
.flow-mail-top { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .9rem; }
.flow-mail-top span { color: var(--muted); font-size: .78rem; }
.flow-mail p { margin-top: 2px; color: var(--text-2); font-size: .9rem; line-height: 1.45; }
.attach { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .8rem; font-weight: 600; }
.attach .ico { color: #ff8a80; }

.flow-scan { position: relative; display: flex; align-items: center; gap: 10px; margin: 12px 18px 0; padding: 11px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-size: .84rem; font-weight: 600; opacity: .35; transition: opacity .4s ease, background-color .4s ease, color .4s ease; overflow: hidden; }
.flow-scan .ico { width: 18px; height: 18px; }
.flow-scan-text { display: grid; flex: 1; line-height: 1.4; }
.flow-scan-text span { grid-area: 1 / 1; transition: opacity .35s ease; }
.flow-scan-text .t-done { opacity: 0; }
.flow-scan-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.flow-scan-bar i { display: block; width: 0; height: 100%; background: var(--accent); }

.flow-order { margin: 12px 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.flow-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .84rem; font-weight: 700; }
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.chip-muted { background: rgba(255, 255, 255, .06); color: var(--muted); }
.flow-rows { display: grid; gap: 2px; }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: .85rem; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, background-color .35s ease; }
.r-name { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.r-name em { display: block; color: var(--warn); font-size: .74rem; font-style: normal; font-weight: 600; }
.r-qty { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .82rem; }
.r-st { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.r-st .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.r-st.ok { background: var(--ok-soft); color: var(--ok); }
.r-st.warn { background: var(--warn-soft); color: var(--warn); }
.flow-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); opacity: .25; transition: opacity .4s ease; }
.flow-meta { color: var(--muted); font-size: .76rem; }
.flow-btns { display: inline-flex; gap: 8px; }
.fbtn { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 9px; color: var(--text-2); font-size: .8rem; font-weight: 700; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease; }
.fbtn-ok { border-color: transparent; background: var(--ok); color: #062517; }
.flow-cursor { position: absolute; right: 10px; bottom: -40px; width: 20px; height: 20px; opacity: 0; transition: transform .9s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%23ffffff' stroke='%23000000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.flow-toast { display: flex; align-items: center; gap: 10px; margin: 12px 18px 18px; padding: 12px 14px; border: 1px solid rgba(79, 209, 161, .35); border-radius: 12px; background: var(--ok-soft); color: #b9f2dc; font-size: .86rem; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.flow-toast .ico { color: var(--ok); stroke-width: 2.4; }
.flow-toast strong { color: #fff; }

/* Flow stages */
.flow[data-stage="0"] .flow-mail { border-color: var(--accent-line); }
.flow[data-stage="1"] .flow-scan { opacity: 1; }
.flow[data-stage="1"] .flow-scan-bar i { width: 100%; transition: width 1.7s linear; }
.flow[data-stage="2"] .flow-scan, .flow[data-stage="3"] .flow-scan, .flow[data-stage="4"] .flow-scan { opacity: 1; background: var(--ok-soft); color: #b9f2dc; }
.flow[data-stage="2"] .t-run, .flow[data-stage="3"] .t-run, .flow[data-stage="4"] .t-run { opacity: 0; }
.flow[data-stage="2"] .t-done, .flow[data-stage="3"] .t-done, .flow[data-stage="4"] .t-done { opacity: 1; }
.flow[data-stage="2"] .flow-row, .flow[data-stage="3"] .flow-row, .flow[data-stage="4"] .flow-row { opacity: 1; transform: none; }
.flow[data-stage="2"] .flow-row:nth-child(2) { transition-delay: .25s; }
.flow[data-stage="2"] .flow-row:nth-child(3) { transition-delay: .5s; }
.flow[data-stage="2"] .flow-row:nth-child(4) { transition-delay: .75s; }
.flow[data-stage="3"] .flow-row.is-warn, .flow[data-stage="4"] .flow-row.is-warn { background: var(--warn-soft); }
.flow[data-stage="3"] .flow-actions, .flow[data-stage="4"] .flow-actions { opacity: 1; }
.flow[data-stage="3"] .flow-cursor { opacity: 1; transform: translate(-22px, -56px); }
.flow[data-stage="4"] .flow-cursor { opacity: 1; transform: translate(-22px, -56px); }
.flow[data-stage="4"] .fbtn-ok { transform: scale(.94); box-shadow: 0 0 0 4px rgba(79, 209, 161, .25); }
.flow[data-stage="4"] .flow-toast { opacity: 1; transform: none; }

/* Pain */
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 28px 24px; }
.pain h3 { margin-top: 20px; }
.pain p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: calc((100% - 72px) / 4 - 32px); height: 2px; background: linear-gradient(90deg, var(--accent-line), rgba(79, 209, 161, .35)); }
.step { position: relative; }
.step-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--accent); box-shadow: 0 0 0 8px var(--bg); }
.step:last-child .step-icon { color: var(--ok); }
.step-icon .ico { width: 28px; height: 28px; }
.step-icon b { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .76rem; font-weight: 800; }
.step:last-child .step-icon b { background: var(--ok); color: #062517; }
.step h3 { margin-top: 24px; }
.step p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

.callout { display: flex; gap: 22px; align-items: flex-start; margin-top: clamp(40px, 5vw, 56px); padding: clamp(24px, 3vw, 32px); border: 1px solid var(--accent-line); border-radius: var(--radius); background: linear-gradient(120deg, rgba(255, 157, 46, .1), rgba(255, 157, 46, .02) 60%); }
.callout p { margin-top: 8px; color: var(--text-2); max-width: 780px; }

/* Use cases */
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.use { padding: 26px 24px; transition: border-color .25s ease, transform .25s ease, background-color .25s ease; }
.use:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.use-ico { width: 26px; height: 26px; color: var(--accent); }
.use h3 { margin-top: 18px; }
.use p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.use-note { margin-top: 28px; color: var(--text-2); }
.use-note a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }

/* Cases */
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.case + .case { margin-top: clamp(72px, 9vw, 120px); }
.case-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.case-flip .case-copy { order: 2; }
.case-flip .case-demo { order: 1; }
.case-tag { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tag span { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: .78rem; font-weight: 700; }
.case-tag span:first-child { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-2); }
.case h3 { margin-top: 18px; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.case-problem { margin-top: 16px; color: var(--text-2); }
.case-points { display: grid; gap: 10px; margin-top: 22px; }
.case-points li { display: flex; gap: 12px; color: var(--text-2); font-size: .97rem; line-height: 1.5; }
.case-points .ico { margin-top: 3px; color: var(--ok); stroke-width: 2.4; width: 18px; height: 18px; }
.case-control { display: flex; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text-2); font-size: .93rem; line-height: 1.5; }
.case-control .ico { margin-top: 2px; color: var(--accent); width: 20px; height: 20px; }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tech li { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: .8rem; font-weight: 700; }
.case-copy .btn { margin-top: 22px; }

/* Demo player */
.player { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #141a24, #0f141b); box-shadow: var(--shadow); }
.player::after { content: ""; position: absolute; inset: -20% -20% auto auto; width: 60%; height: 60%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 157, 46, .08), transparent); }
.player-toggle { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -6px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, .04); color: var(--text-2); cursor: pointer; }
.player-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.player-toggle .ico { width: 16px; height: 16px; }
.player-toggle .i-play { display: none; }
.player.is-paused .player-toggle .i-pause { display: none; }
.player.is-paused .player-toggle .i-play { display: block; }
.player-screen { position: relative; z-index: 1; height: 470px; }
.scene { position: absolute; inset: 0; padding: 20px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.scene.is-scrolled { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 44px); mask-image: linear-gradient(180deg, transparent 0, #000 44px); }
.scene-inner { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 100%; transition: transform .55s cubic-bezier(.3, .7, .2, 1); }
.scene-board .scene-inner { justify-content: center; }
.scene [data-at]:not(.is-in) { display: none; }
.scene [data-at].is-in { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.msg { max-width: 92%; padding: 12px 15px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.msg p + * { margin-top: 10px; }
.msg-user { align-self: flex-end; border-bottom-right-radius: 6px; background: #26334a; color: #e8eef8; }
.msg[data-type] { position: relative; }
.type-ghost { visibility: hidden; }
.type-live { position: absolute; inset: 12px 15px; }
.is-typing .type-live::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink .9s steps(1) infinite; }
.msg-ai { align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.msg-ai b { color: var(--text); }
.msg-ai .hl { color: var(--accent-2); }
.tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tool:has(+ .is-in) .spinner { animation: none; border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 2px #11161e; }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.kv div { display: flex; flex-direction: column; }
.kv dt { color: var(--muted); font-size: .74rem; }
.kv dd { color: var(--text); font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .82rem; line-height: 1.45; }
.note .ico { margin-top: 1px; width: 16px; height: 16px; }
.note-warn { background: var(--warn-soft); color: #fde4a6; }
.note-warn .ico { color: var(--warn); }

.mini-table { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.mini-table th { padding: 6px 6px; color: var(--muted); font-size: .72rem; font-weight: 700; text-align: right; border-bottom: 1px solid var(--line-2); }
.mini-table td { padding: 6px 6px; text-align: right; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; padding-left: 0; }
.mini-table td:last-child, .mini-table th:last-child { padding-right: 0; }
.mini-table .neg { color: #ffb38a; font-weight: 700; }
.mini-table .pos { color: var(--ok); font-weight: 700; }
.mini-table .row-hl td { background: var(--warn-soft); }

.variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.variant { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.variant span { color: var(--muted); font-size: .72rem; font-weight: 600; line-height: 1.3; }
.variant strong { color: var(--text); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.variant em { color: var(--muted); font-size: .72rem; font-style: normal; line-height: 1.3; }
.variant.is-best { border-color: var(--accent-line); background: var(--accent-soft); }
.variant.is-best strong { color: var(--accent-2); }

.consent { position: relative; align-self: center; width: min(380px, 100%); padding: 18px; border: 1px solid var(--line-2); border-radius: 18px; background: #1b2230; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.consent-head { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.app-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; }
.consent-title { margin-top: 12px; color: var(--text); font-size: 1.02rem; font-weight: 800; }
.consent-text { margin-top: 6px; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.consent-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.cbtn { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: .84rem; font-weight: 700; transition: transform .15s ease, box-shadow .25s ease; }
.cbtn-ok { border-color: transparent; background: var(--text); color: #0b0e13; }
.cbtn-ok.is-pressed { transform: scale(.93); box-shadow: 0 0 0 5px rgba(255, 255, 255, .18); }
.demo-cursor { position: absolute; right: 30px; bottom: -40px; width: 22px; height: 22px; opacity: 0; transition: transform 1s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%23ffffff' stroke='%23000000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.demo-cursor.is-in { opacity: 1; transform: translate(-6px, -62px); }

.record { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(79, 209, 161, .25); border-radius: 12px; background: var(--ok-soft); }
.record-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(79, 209, 161, .2); color: var(--ok); }
.record-ico .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.record strong { display: block; color: var(--text); font-size: .86rem; }
.record span { display: block; color: var(--text-2); font-size: .78rem; line-height: 1.4; }
.record em { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text-2); font-size: .72rem; font-style: normal; font-weight: 700; }
.record + .record { margin-top: 8px; }
.record-amber { border-color: var(--accent-line); background: var(--accent-soft); }
.record-amber .record-ico { background: rgba(255, 157, 46, .2); color: var(--accent); }

.ai-list { display: grid; gap: 6px; }
.ai-list li { position: relative; padding-left: 20px; }
.ai-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.board-card { align-self: center; width: min(420px, 100%); padding: 20px; border: 1px solid var(--line-2); border-radius: 18px; background: #1a212d; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.bc-title { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.bc-circle { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--muted); border-radius: 50%; }
.bc-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.bc-meta > div { display: flex; flex-direction: column; gap: 5px; }
.bc-label { color: var(--muted); font-size: .72rem; font-weight: 700; }
.bc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-chip { padding: 4px 12px; border-radius: 7px; background: #3a6ff0; color: #fff; font-size: .8rem; font-weight: 700; }
.bc-chip-review { background: var(--accent); color: var(--accent-ink); }
.bc-date { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--text-2); font-size: .8rem; font-weight: 600; }
.bc-check { margin-top: 18px; }
.bc-check-head { display: flex; justify-content: space-between; align-items: center; color: var(--text); font-size: .88rem; font-weight: 800; }
.bc-check-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.bc-pct { color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.bc-progress { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bc-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ok); transition: width .8s ease; }
.bc-progress i.is-in { width: 25%; }
.bc-check ul { display: grid; gap: 8px; margin-top: 12px; }
.bc-check li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .86rem; transition: color .3s ease; }
.bc-box { flex: none; position: relative; width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 4px; transition: background-color .25s ease, border-color .25s ease; }
.bc-check li.is-checked { color: var(--muted); text-decoration: line-through; }
.bc-check li.is-checked .bc-box { border-color: var(--ok); background: var(--ok); }
.bc-check li.is-checked .bc-box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #062517; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.player-foot { position: relative; z-index: 1; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.player-steps { display: flex; gap: 6px; }
.player-step { position: relative; flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.player-step::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.player-step i { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 999px; background: var(--accent); }
.player-step.is-done i { width: 100%; }
.player-step:hover::before { background: rgba(255, 255, 255, .2); }
.player-caption { margin-top: 2px; color: var(--text-2); font-size: .84rem; font-weight: 600; }
.player-caption b { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 6px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); }
.price.is-featured { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(255, 157, 46, .09), rgba(255, 157, 46, .015) 70%); }
.price-step { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-step em { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-style: normal; letter-spacing: .04em; }
.price h3 { margin-top: 14px; font-size: 1.4rem; }
.price-time { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.price-time .ico { margin-top: 2px; width: 16px; height: 16px; }
.price-desc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .96rem; }
.price .ticks { margin-top: 18px; }

.ticks, .dashes { display: grid; gap: 10px; }
.ticks li, .dashes li { position: relative; padding-left: 28px; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fd1a1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.dashes li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 10px; height: 2px; border-radius: 2px; background: var(--muted); }

.total { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 36px; align-items: center; margin-top: 18px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.total-label { color: var(--muted); font-size: .86rem; font-weight: 700; }
.total-amount { margin-top: 4px; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.total-text { color: var(--text-2); font-size: .95rem; }

.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.scope { padding: clamp(24px, 3vw, 32px); }
.scope h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.dot-muted { background: var(--muted); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }

/* Cooperation */
.coop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coop { padding: clamp(24px, 3vw, 30px); }
.coop h3 { margin-top: 20px; margin-bottom: 16px; }
.partner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 18px; padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line-2); border-radius: var(--radius); background: radial-gradient(600px 300px at 100% 0%, rgba(90, 130, 255, .1), transparent 70%), var(--surface); }
.partner h3 { margin-top: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.partner p:not(.eyebrow) { margin-top: 10px; max-width: 760px; color: var(--text-2); }
.contact-direct a { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .2s ease, color .2s ease; }
.contact-direct a:hover { color: var(--accent); border-color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); transition: border-color .25s ease, background-color .25s ease; }
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .035); }
.faq summary { position: relative; display: block; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s ease, margin-top .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

/* Contact */
.section-contact { background: radial-gradient(900px 500px at 0% 100%, rgba(255, 157, 46, .07), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-copy h2 { margin-top: 16px; }
.next-steps { display: grid; gap: 16px; margin-top: 32px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-size: .86rem; }
.next-steps span { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.next-steps strong { display: block; color: var(--text); font-size: 1rem; }
.contact-direct { display: grid; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-direct li { display: flex; align-items: center; gap: 12px; }
.contact-direct .ico { color: var(--accent); }

.contact-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); background: var(--surface); }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 700; }
.opt { color: var(--muted); font-weight: 600; }
.req { color: var(--accent); }
.field input:not([type="checkbox"]), .field textarea { width: 100%; padding: 13px 15px; border: 1px solid #3a4553; border-radius: 12px; background: #0d1218; color: var(--text); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #6c7685; }
.field input:not([type="checkbox"]):focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 157, 46, .18); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-help { color: var(--muted); font-size: .84rem; }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .86rem !important; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.check a { color: var(--text); text-underline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .94rem; font-weight: 600; }
.form-status.is-ok { border: 1px solid rgba(79, 209, 161, .35); background: var(--ok-soft); color: #b9f2dc; }
.form-status.is-err { border: 1px solid rgba(255, 138, 128, .35); background: rgba(255, 138, 128, .1); color: #ffd0cb; }
.contact-form[aria-busy="true"] [data-submit] { opacity: .7; cursor: progress; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 340px; color: var(--muted); font-size: .92rem; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: .92rem; }
.footer-col a, .footer-col span { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-head { margin-bottom: 4px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-bottom a { color: var(--text-2); text-decoration: none; }

/* Lightbox */
.lightbox { width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--text); }
.lightbox::backdrop { background: rgba(4, 6, 9, .82); backdrop-filter: blur(6px); }
.lightbox-inner { display: flex; flex-direction: column; max-height: calc(100vh - 26px); }
.lightbox-head { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.lightbox-title { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; }
.lightbox-count { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.lightbox-figure { flex: 1; min-height: 0; overflow: auto; padding: 16px; background: #0b0f14; }
.lightbox-figure img { margin-inline: auto; border-radius: 10px; max-height: 70vh; width: auto; object-fit: contain; }
.lightbox-nav { display: flex; align-items: center; gap: 12px; padding: 12px; border-top: 1px solid var(--line); }
.lightbox-thumbs { display: flex; flex: 1; gap: 8px; justify-content: center; overflow-x: auto; }
.lightbox-thumbs button { flex: none; width: 76px; height: 48px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.lightbox-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.icon-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .09); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav a:not(.btn) { padding-inline: 9px; font-size: .9rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .case, .case-flip { grid-template-columns: minmax(0, 1fr); }
  .case-flip .case-copy { order: 0; }
  .case-flip .case-demo { order: 1; }
  .case-demo { max-width: 680px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .total { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .total .btn { justify-self: start; }
  .scope-grid { max-width: 680px; grid-template-columns: minmax(0, 1fr); }
  .coop-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .partner { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .partner .btn { justify-self: start; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-copy, .contact-form { max-width: 680px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: rgba(10, 13, 18, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .brand-text small { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pain-grid, .use-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
  .step h3 { margin-top: 4px; }
  .step p { grid-column: 2; margin-top: 6px; }
  .step-icon { grid-row: span 2; }
  .callout { flex-direction: column; gap: 16px; }
  .flow-mail, .flow-scan, .flow-order, .flow-toast { margin-inline: 12px; }
  .flow-order { padding: 12px; }
  .flow-row { padding: 7px 6px; gap: 8px; font-size: .8rem; }
  .player-screen { height: 540px; }
  .scene { padding: 14px; }
  .msg { max-width: 100%; font-size: .86rem; }
  .variants { grid-template-columns: minmax(0, 1fr); }
  .variant { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .variant strong { order: -1; }
  .kv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 10px; }
  .mini-table { font-size: .74rem; }
  .mini-table th, .mini-table td { padding-inline: 3px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .faq summary { padding: 18px 50px 18px 18px; font-size: .98rem; }
  .faq details p { padding: 0 18px 18px; }
  .lightbox-thumbs { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .flow-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
