/* Parametrica landing.
   Static CSS, no build step. Design read: Stripe-like product landing for a
   browser CNC configurator. Theme lock: light. Accent lock: electric blue. */

:root {
  --bg: #f7f9fc;
  --bg-2: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f3f7fd;
  --ink: #08111f;
  --fg: #142033;
  --muted: #536176;
  --muted-2: #7a879a;
  --line: rgba(10, 33, 66, 0.10);
  --line-2: rgba(10, 33, 66, 0.18);
  --accent: #1567ff;
  --accent-strong: #0a4fd4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(21, 103, 255, 0.12);
  --cyan: #15c8ff;
  --mint: #27d6a5;
  --coral: #ff7a5c;
  --violet: #7068ff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 28px 80px -42px rgba(19, 42, 78, 0.45);
  --shadow-soft: 0 16px 42px -28px rgba(19, 42, 78, 0.32);
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --ease: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fg);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 34%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(21, 103, 255, 0.08), transparent 28%),
    linear-gradient(150deg, transparent 54%, rgba(39, 214, 165, 0.10) 54%, transparent 72%);
}

.mono {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section { position: relative; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow,
.hero-eyebrow {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow { margin-bottom: 16px; }

h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  max-width: 58ch;
  margin-top: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  color: var(--accent-ink);
  background: var(--ink);
  box-shadow: 0 12px 26px -18px rgba(8, 17, 31, 0.72);
}

.btn--primary:hover {
  background: #1a2433;
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 17, 31, 0.16);
  box-shadow: var(--edge);
}

.btn--ghost:hover {
  background: #ffffff;
  border-color: rgba(8, 17, 31, 0.32);
  transform: translateY(-1px);
}

.btn .arrow { transition: transform var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 34px -30px rgba(21, 39, 66, 0.6);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 0 0 5px rgba(21, 103, 255, 0.12);
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(20, 32, 51, 0.68);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: #ffffff; background: var(--ink); }

/* Hero */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 72px;
}

.hero::after {
  content: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(580px, 1.24fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: 12px 42px;
}

.hero > .proof-strip {
  width: 100%;
  margin-top: 18px;
  background: transparent;
  border-block-color: rgba(161, 176, 199, 0.38);
}

.hero > .proof-strip .wrap {
  padding-block: 0;
}

.hero > .proof-strip .proof-step {
  color: #14233a;
}

.hero > .proof-strip .proof-step:first-child,
.hero > .proof-strip .proof-step + .proof-step {
  border-left-color: rgba(161, 176, 199, 0.38);
}

.hero-copy { max-width: 540px; }
.hero-eyebrow { margin-bottom: 16px; }

.hero h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.1vw, 50px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

html[lang="ru"] .hero h1 { font-size: clamp(28px, 3.4vw, 40px); }

.hero h1 em {
  display: inline-block;
  padding-bottom: 4px;
  color: #2a3444;
  font-style: normal;
  font-weight: 620;
  line-height: 1.1;
}

.hero p:not(.hero-eyebrow) {
  max-width: 45ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #263d5f;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--edge);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  top: 5%;
}

.hero-art {
  position: relative;
  min-height: min(70vh, 700px);
  perspective: 1200px;
}

.hero-art__panel {
  position: absolute;
  inset: 2% -7% 16% 2%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 34px;
  transform: rotate(-2deg) translateZ(20px);
  box-shadow:
    0 46px 100px -50px rgba(7, 19, 39, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-art__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.20), transparent 34%),
    linear-gradient(0deg, rgba(5, 12, 23, 0.70) 0%, rgba(5, 12, 23, 0.48) 18%, rgba(5, 12, 23, 0.16) 46%, transparent 68%);
  pointer-events: none;
}

.hero-art__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-art__media.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.hero-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.80) 0 15%, transparent 15% 100%),
    linear-gradient(120deg, #e9edf3, #f9fafb 46%, #d8c89f);
  transition: opacity 180ms ease, transform 180ms ease, background 240ms ease;
}

.hero-placeholder::before {
  content: "";
  position: absolute;
  inset: 10% 10% 11% 17%;
  border-radius: 30px;
  background:
    repeating-linear-gradient(90deg, rgba(48, 37, 24, 0.88) 0 7px, rgba(211, 174, 102, 0.88) 7px 14px, transparent 14px 20px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 58%);
  box-shadow:
    0 36px 90px -52px rgba(48, 37, 24, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transform: perspective(900px) rotateY(-10deg) rotateX(2deg);
}

.hero-placeholder::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 7%;
  bottom: 8%;
  height: 13%;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  filter: blur(18px);
}

.hero-placeholder--ripple {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 18%, transparent 18% 100%),
    linear-gradient(145deg, #dde9ef, #fbfbfc 52%, #c9d4df);
}

.hero-placeholder--ripple::before {
  inset: 9% 8% 12% 15%;
  background:
    repeating-radial-gradient(ellipse at 58% 44%, rgba(117, 93, 49, 0.82) 0 8px, rgba(223, 190, 118, 0.82) 8px 14px, transparent 14px 22px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.50), transparent 55%);
}

.hero-placeholder--arch {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.80) 0 13%, transparent 13% 100%),
    linear-gradient(125deg, #f5f6f8, #e3e8ef 44%, #c6b179);
}

.hero-placeholder--arch::before {
  inset: 8% 12% 13% 18%;
  border-radius: 999px 999px 28px 28px;
  background:
    repeating-linear-gradient(90deg, rgba(62, 46, 25, 0.88) 0 6px, rgba(204, 165, 88, 0.88) 6px 13px, transparent 13px 19px),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.52), transparent 38%);
}

.hero-art__panel.is-swapping .hero-placeholder {
  opacity: 0.45;
  transform: translateY(4px);
}

.hero-art__exports {
  position: absolute;
  left: 7%;
  top: 9%;
  z-index: 2;
  width: min(250px, 35%);
  display: grid;
  gap: 16px;
}

.hero-art__export-card {
  min-height: 104px;
  padding: 12px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 48px -34px rgba(7, 19, 39, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.hero-art__export-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding-inline: 8px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
}

.hero-art__export-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.1;
}

.hero-art__export-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.hero-art__metrics {
  position: absolute;
  left: 9%;
  right: 10%;
  bottom: 20%;
  z-index: 3;
  display: grid;
  grid-template-columns: max-content 1px max-content 1px max-content;
  justify-content: space-between;
  column-gap: clamp(26px, 4.4vw, 58px);
  align-items: start;
  padding-top: 12px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.22); */
}

.hero-art__metrics::before,
.hero-art__metrics::after {
  content: "";
  grid-row: 1;
  align-self: center;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.hero-art__metrics::before { grid-column: 2; }
.hero-art__metrics::after { grid-column: 4; }

.hero-art__metrics div {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-art__metrics div:nth-of-type(1) { grid-column: 1; }
.hero-art__metrics div:nth-of-type(2) { grid-column: 3; }
.hero-art__metrics div:nth-of-type(3) { grid-column: 5; }

.hero-art__metrics b {
  display: block;
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-art__metrics.is-swapping b,
.hero-art__metrics.is-swapping .hero-art__roi {
  opacity: 0.35;
  transform: translateY(3px);
}

.hero-art__metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.hero-art__roi {
  grid-column: 1 / -1;
  margin: -1px 4px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.24);
  transition: opacity 180ms ease, transform 180ms ease;
}

.proof-strip {
  margin-top: 0;
  padding-block: 0;
  border-block: 1px solid rgba(218, 225, 234, 0.55);
  background: #ffffff;
}

.proof-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1320px;
  overflow: visible;
  border: 0;
  background: transparent;
  padding-block: 0;
}

.proof-step {
  position: relative;
  min-height: 166px;
  padding: 27px 38px 25px 34px;
  color: #14233a;
}

.proof-step:first-child {
  border-left: 1px solid rgba(218, 225, 234, 0.55);
}

.proof-step + .proof-step {
  border-left: 1px solid rgba(218, 225, 234, 0.55);
}

.proof-icon {
  display: block;
  width: 29px;
  height: 29px;
  margin-bottom: 16px;
  object-fit: contain;
  filter:
    contrast(1.12)
    drop-shadow(0 8px 12px rgba(15, 34, 66, 0.08));
}

.proof-step h3 {
  margin: 0;
  color: #07162c;
  display: grid;
  grid-template-columns: 2px minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
  margin-left: -34px;
  font-size: 16px;
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.proof-step h3 span:first-child {
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: #0a66ff;
}

.proof-step h3 span:last-child {
  display: block;
}

.proof-step p {
  max-width: 25ch;
  margin-top: 11px;
  color: #30445f;
  font-size: 14px;
  line-height: 1.48;
}

/* Section shell */
.section-pad { padding-block: clamp(78px, 10vw, 132px); }
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head--center {
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }

/* Demo frame */
.demo-frame,
.frame,
.gcard,
.compare-col,
.tile,
.price-card,
.furni-media,
.cta-inner {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft), var(--edge);
}

.demo-frame {
  max-width: 1040px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #ffffff, var(--surface-2));
  border-bottom: 1px solid var(--line);
}

.frame-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.16);
}

.frame-bar span:first-child { background: var(--coral); }
.frame-bar em {
  margin-left: 10px;
  color: var(--muted-2);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-style: normal;
}

.demo-frame--live {
  position: relative;
  max-width: 1180px;
  aspect-ratio: 2235 / 1573;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: url("assets/frame.svg") center / contain no-repeat;
  box-shadow: none;
}

.demo-frame--live .frame-bar {
  display: none;
}

.demo-frame--live .live-demo {
  position: absolute;
  inset: 9.27% 6.99% 14.3% 6.95%;
  height: auto;
  min-height: 0;
  border-radius: 8px;
}

.demo-mobile-note {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 36px));
  max-width: 32em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}
.demo-mobile-note img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.live-demo {
  position: relative;
  height: min(78vh, 760px);
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(59, 72, 92, 0.72), transparent 28%),
    linear-gradient(180deg, #111827 0%, #0b1220 100%);
  perspective: 900px;
  isolation: isolate;
}

.live-demo::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -30%;
  height: 86%;
  z-index: 0;
  transform: rotateX(64deg);
  transform-origin: 50% 100%;
  background:
    linear-gradient(rgba(145, 178, 222, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 178, 222, 0.28) 1px, transparent 1px),
    linear-gradient(rgba(145, 178, 222, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 178, 222, 0.12) 1px, transparent 1px);
  background-size:
    112px 112px,
    112px 112px,
    28px 28px,
    28px 28px;
  background-position: center;
  opacity: 0.86;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  pointer-events: none;
}

.live-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(77, 148, 255, 0.36) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent calc(62% - 0.5px), rgba(45, 212, 191, 0.30) 62%, transparent calc(62% + 0.5px)),
    radial-gradient(circle at 50% 42%, transparent 0 24%, rgba(11, 18, 32, 0.12) 62%, rgba(11, 18, 32, 0.52) 100%);
  pointer-events: none;
}

.live-demo__loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58%),
    radial-gradient(circle at 50% 46%, rgba(188, 166, 123, 0.20), transparent 16%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(11, 18, 32, 0.46));
  background-size: 220% 100%, auto, auto;
  animation: demoLoader 1.35s ease-in-out infinite;
  pointer-events: none;
}

.live-demo.is-loading .live-demo__loader {
  display: block;
}

@keyframes demoLoader {
  from { background-position: 140% 0, center, center; }
  to { background-position: -40% 0, center, center; }
}

.live-demo__embed {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

/* In-situ band */
.insitu { overflow: hidden; }
.insitu-media {
  height: clamp(360px, 58vh, 660px);
  overflow: hidden;
}
.insitu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insitu-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 12, 20, 0.80));
}
.insitu-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 42px;
}
.insitu-caption .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.insitu-caption h3 {
  max-width: 22ch;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}
.insitu-caption p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: stretch;
}

.compare-manual {
  display: flex;
  flex-direction: column;
  padding-block: clamp(18px, 3vw, 44px) 6px;
}

.compare-manual h3,
.compare-win h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.compare-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.compare-list b {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.compare-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 33, 66, 0.08);
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
}

.compare-total b {
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.compare-note {
  max-width: 46em;
  color: var(--fg);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.58;
}

.compare-win {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  color: #ffffff;
  background:
    linear-gradient(90deg, #08111f 0%, #0b1423 44%, rgba(13, 31, 54, 0.94) 68%, rgba(21, 103, 255, 0.18) 100%),
    linear-gradient(150deg, rgba(21, 103, 255, 0.16), transparent 46%),
    linear-gradient(180deg, #0d1727 0%, #070d17 100%);
  box-shadow: 0 34px 90px -54px rgba(8, 17, 31, 0.68);
}

.compare-win::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 44px
    ),
    radial-gradient(circle at 86% 18%, rgba(21, 103, 255, 0.34), transparent 31%),
    radial-gradient(circle at 88% 82%, rgba(94, 142, 255, 0.20), transparent 34%),
    linear-gradient(90deg, transparent 0%, transparent 46%, rgba(255, 255, 255, 0.06) 100%);
  background-size:
    44px 44px,
    44px 44px,
    auto,
    auto,
    auto;
  pointer-events: none;
}

.compare-win::after {
  content: "";
  position: absolute;
  right: max(-22%, -195px);
  top: 70%;
  z-index: 0;
  width: min(62vw, 916px);
  aspect-ratio: 4235 / 4102;
  opacity: 0.34;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(108, 153, 255, 0.46));
  mask-image: url("assets/nums.svg");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("assets/nums.svg");
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  transform: translateY(-46%) translateX(45%) rotate(1deg);
  pointer-events: none;
}

.compare-win > * {
  position: relative;
  z-index: 1;
}

.compare-win h3 {
  color: #ffffff;
}

.compare-win__big {
  max-width: 15ch;
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.compare-win__copy {
  max-width: 33ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.58;
}

.compare-win__cta {
  width: fit-content;
  margin-top: 42px;
  background: #ffffff;
  color: #0b1220;
  border-color: transparent;
  box-shadow: 0 18px 34px -26px rgba(0, 0, 0, 0.72);
}

.compare-win__cta:hover {
  background: rgba(255, 255, 255, 0.90);
  color: #0b1220;
}

/* CAM proof */
.cam-proof {
  padding-block: clamp(24px, 5vw, 70px) 0;
  overflow: hidden;
}

.cam-proof__strip {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(218, 225, 234, 0.55);
}

.cam-proof__strip .wrap {
  position: relative;
  padding-bottom: 54px;
}

.cam-proof__strip .wrap::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -44%;
  z-index: -1;
  width: min(64vw, 760px);
  height: min(34vw, 360px);
  background: linear-gradient(150deg, transparent 0 34%, rgba(39, 214, 165, 0.12) 34% 100%);
  pointer-events: none;
}

.cam-proof__intro {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px) 0 clamp(20px, 4vw, 34px);
  text-align: center;
}

.cam-proof__intro .lead {
  margin-inline: auto;
}

.cam-proof__cta {
  margin-top: 28px;
  margin-inline: auto;
  color: var(--accent-ink);
  background: var(--ink);
  box-shadow: 0 12px 26px -18px rgba(8, 17, 31, 0.72);
}

.cam-proof__cta:hover {
  background: #1a2433;
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.cam-proof__strip .proof-step {
  min-height: 152px;
}

.cam-proof__strip .proof-step p {
  max-width: 28ch;
}

.proof-icon--small {
  width: 34px;
  height: 34px;
  object-position: left center;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.48;
}

.mark {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 800;
}

.mark--no { color: var(--muted-2); background: rgba(20, 32, 51, 0.07); }
.mark--yes { color: #ffffff; background: var(--accent); }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 103, 255, 0.24);
  box-shadow: var(--shadow), var(--edge);
}

.tile h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.tile p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.tile--a { grid-column: span 4; }
.tile--b,
.tile--c,
.tile--d,
.tile--e { grid-column: span 2; }

.tile--a,
.tile--d {
  min-height: 310px;
  justify-content: flex-end;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.06), rgba(8, 17, 31, 0.84)),
    url('assets/interior-panel.webp') center/cover;
}

.tile--d {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.08), rgba(8, 17, 31, 0.86)),
    url('assets/bench-detail.webp') center/cover;
}

.tile--a h3,
.tile--a p,
.tile--d h3,
.tile--d p { color: #ffffff; }
.tile--a p,
.tile--d p { color: rgba(255, 255, 255, 0.82); }

.tile--b {
  background:
    linear-gradient(135deg, rgba(21, 103, 255, 0.13), transparent 56%),
    #ffffff;
}
.tile--c {
  background:
    linear-gradient(135deg, rgba(39, 214, 165, 0.18), transparent 52%),
    #ffffff;
}
.tile--e {
  background:
    linear-gradient(135deg, rgba(255, 122, 92, 0.13), transparent 54%),
    #ffffff;
}

/* Pattern library */
.patterns { overflow: hidden; }
.pattern-tabs {
  position: relative;
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  margin: 0 auto 28px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(20, 32, 51, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(20, 32, 51, 0.06);
  scrollbar-width: none;
}
.pattern-tabs::-webkit-scrollbar { display: none; }
.pattern-tabs::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: var(--tab-w, 46px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: #0b1220;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.18);
  transform: translateX(var(--tab-x, 5px));
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    width 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pattern-tab {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: 700 13px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--ease), background var(--ease), box-shadow var(--ease);
}
.pattern-tab:hover { color: var(--ink); }
.pattern-tab.active {
  color: #ffffff;
}
.pattern-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 24px;
}
.pattern-track.is-filtered {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pattern-track::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 249, 252, 0) 0%,
    rgba(247, 249, 252, 0.72) 58%,
    rgba(247, 249, 252, 0.98) 100%
  );
}
.pattern-track.is-filtered::after {
  height: 58px;
  opacity: 0.72;
}
.pcard {
  position: relative;
  z-index: 1;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--edge);
  transition: opacity var(--ease), transform var(--ease), border-color var(--ease), background var(--ease);
}
.pcard[hidden] {
  display: none;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 103, 255, 0.34);
  background: #ffffff;
}
.pcard h4 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pcard p {
  max-width: 36em;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}
.pcard .glyph {
  position: relative;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(135deg, rgba(21, 103, 255, 0.10), transparent 48%),
    linear-gradient(150deg, transparent 52%, rgba(39, 214, 165, 0.10) 52%, transparent 76%),
    #f7fafc;
}

.pcard .glyph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 32, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 51, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  pointer-events: none;
}

.pcard .glyph img {
  position: relative;
  z-index: 1;
  width: min(82%, 96px);
  height: min(82%, 96px);
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(20, 32, 51, 0.12));
}

@media (max-width: 1100px) {
  .pattern-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pattern-track.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pattern-tabs {
    width: auto;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  .pattern-track,
  .pattern-track.is-filtered { grid-template-columns: 1fr; }
  .pcard {
    min-height: 216px;
    padding: 12px;
  }
  .pcard .glyph { height: 112px; }
  .pcard h4 { font-size: 16px; }
  .pcard p { font-size: 12px; }
}

@media (max-width: 480px) {
  .pattern-track { grid-template-columns: 1fr; }
}

/* Process */
.steps { display: grid; margin-top: 8px; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
}
.step h3 {
  color: var(--ink);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step p {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Interface */
.legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.legend > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legend .n {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 103, 255, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(21, 103, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}
.legend b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.legend p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.tabgallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.gcard {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.gcard:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 103, 255, 0.28);
  box-shadow: var(--shadow), var(--edge);
}
.gcard img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  background: var(--surface-2);
}
.gcard figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}
.gcard figcaption b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

/* Use cases */
.usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.usecase {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.usecase:first-child { padding-left: 0; }
.usecase:last-child { border-right: 0; padding-right: 0; }
.uc-k {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.usecase h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.usecase p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Furniture */
.furni .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.furni-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.furni-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.furni-body .lead { margin-top: 18px; }
.furni-body .btn { margin-top: 30px; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 940px;
}
.price-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 34px;
}
.price-card--accent {
  border-color: rgba(21, 103, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(21, 103, 255, 0.11), transparent 48%),
    #ffffff;
}
.price-card h3 {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.price-card--accent h3 { color: var(--ink); }
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 26px;
}
.price .amount {
  color: var(--ink);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 750;
  letter-spacing: -0.04em;
}
.price .unit {
  color: var(--muted-2);
  font-size: 13.5px;
}
.price-card ul { margin-bottom: 30px; }
.price-card .btn {
  width: 100%;
  margin-top: auto;
}
.price-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 23px 44px 23px 0;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 500;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent-strong); }
.faq details p {
  max-width: 68ch;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

/* Final CTA and footer */
.cta-band { padding-block: clamp(82px, 12vw, 150px); }
.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(42px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(21, 103, 255, 0.13), transparent 42%),
    linear-gradient(150deg, transparent 54%, rgba(39, 214, 165, 0.16) 54%, transparent 76%),
    #ffffff;
}
.cta-inner::before {
  content: "";
  position: absolute;
  right: max(-12%, -120px);
  top: 50%;
  z-index: 0;
  width: min(45vw, 520px);
  aspect-ratio: 4102 / 4235;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(145deg, rgba(21, 103, 255, 0.82), rgba(39, 214, 165, 0.62));
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 74%, transparent 100%),
    url("assets/svg/lamelas.svg");
  mask-size: 100% 100%, contain;
  mask-position: center, center;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 74%, transparent 100%),
    url("assets/svg/lamelas.svg");
  -webkit-mask-size: 100% 100%, contain;
  -webkit-mask-position: center, center;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transform: translateY(-50%) rotate(-8deg);
}
.cta-inner > * {
  position: relative;
  z-index: 1;
}
.cta-inner h2 { max-width: 18ch; }
.cta-inner p {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted);
}
.cta-inner .btn { margin-top: 32px; }

.foot {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot a {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--ease);
}
.foot a:hover { color: var(--ink); }
.foot .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot small { font-size: 13px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-block: 52px 74px;
  }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; width: 100%; }
  .hero-art { min-height: 620px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--a { grid-column: span 2; }
  .tile--b,
  .tile--c,
  .tile--d,
  .tile--e { grid-column: span 1; }
  .legend,
  .tabgallery,
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .compare {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .compare-manual {
    padding-block: 0;
  }
  .compare-win {
    min-height: 360px;
  }
  .compare-win::after {
    right: max(-10%, -58px);
    top: 56%;
    width: min(82vw, 560px);
    opacity: 0.42;
    transform: translateY(-50%) translateX(20%) rotate(1deg);
  }
  .cam-proof__strip {
    margin-top: 12px;
  }
  .cam-proof__strip .proof-step {
      min-height: auto;
  }
  .cam-proof__strip .proof-step p {
      max-width: 34ch;
  }
  .furni .wrap { grid-template-columns: 1fr; gap: 32px; }
  .furni-media { order: -1; aspect-ratio: 16 / 11; }
  .demo-frame--live {
    left: auto;
    width: 100%;
    max-width: 720px;
    aspect-ratio: auto;
    margin-bottom: 46px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft), var(--edge);
    transform: none;
  }
  .demo-frame--live .live-demo {
    position: relative;
    inset: auto;
    height: clamp(360px, 62vh, 560px);
    min-height: 0;
    border-radius: 0;
  }
  .demo-mobile-note {
    position: static;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    transform: none;
    width: auto;
    margin: 14px 18px 18px;
    text-align: left;
  }
}

@media (max-width: 860px) and (orientation: portrait) {
  .demo-mobile-note { display: flex; }
}

@media (max-width: 860px) and (orientation: landscape) {
  .demo-frame--live {
    max-width: 820px;
  }
  .demo-frame--live .live-demo {
    height: clamp(440px, 78vh, 540px);
  }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .nav { height: 66px; }
  .nav .btn { display: none; }
  .hero { min-height: auto; padding-top: 66px; }
  .hero .wrap { padding-block: 52px 40px; gap: 28px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  html[lang="ru"] .hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-art { min-height: 540px; }
  .hero-art__panel {
    inset: 7% -4% 10% 2%;
    border-radius: 26px;
  }
  .hero-art__exports {
    left: 0;
    top: 6%;
    width: 220px;
    gap: 7px;
  }
  .hero-art__metrics {
    left: 14px;
    right: 14px;
    bottom: 54px;
    column-gap: 18px;
  }
  .hero-art__metrics::before,
  .hero-art__metrics::after {
    height: 30px;
  }
  .hero-art__metrics div {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }
  .hero-art__metrics b { font-size: 18px; }
  .hero-art__roi {
    margin-top: 0;
    padding: 0;
    font-size: 11.5px;
  }
  .proof-strip {
    margin-top: 0;
    padding-bottom: 0;
  }
  .proof-strip .wrap,
  .compare,
  .pricing { grid-template-columns: 1fr; }
  .proof-step {
    min-height: auto;
    padding: 24px 0 24px 28px;
  }
  .proof-step + .proof-step {
    border-left: 0;
    border-top: 1px solid rgba(205, 214, 226, 0.92);
  }
  .legend { gap: 16px; }
  .cta-inner::before {
    right: -46%;
    width: 78vw;
    opacity: 0.11;
  }
}

@media (max-width: 560px) {
  .compare-win::after {
    right: max(-12%, -52px);
    top: 58%;
    width: min(92vw, 452px);
    opacity: 0.4;
    transform: translateY(-50%) translateX(16%) rotate(1deg);
  }
  .section-pad { padding-block: 72px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-proof span { flex: 1 1 auto; justify-content: center; }
  .hero-art { min-height: 455px; }
  .hero-art__panel {
    inset: 8% -16% 8% -10%;
    transform: rotate(-1.5deg);
  }
  .hero-art__exports {
    top: 5%;
    width: 188px;
    gap: 6px;
  }
  .hero-art__export-card {
    min-height: 86px;
    padding: 10px 11px;
    border-radius: 14px;
  }
  .hero-art__export-card span {
    min-height: 20px;
    padding-inline: 7px;
    font-size: 10px;
  }
  .hero-art__export-card strong { font-size: 13px; }
  .hero-art__export-card small { font-size: 10.5px; }
  .hero-art__metrics {
    left: 10px;
    right: 10px;
    bottom: 36px;
    display: grid;
    column-gap: 10px;
    padding-top: 10px;
  }
  .hero-art__metrics::before,
  .hero-art__metrics::after {
    height: 26px;
  }
  .hero-art__metrics div {
    min-height: auto;
    padding: 0;
  }
  .hero-art__metrics b { font-size: 15px; }
  .hero-art__metrics span { font-size: 10px; }
  .hero-art__roi {
    padding: 0;
    font-size: 11px;
    white-space: normal;
  }
  .demo-frame--live .live-demo { height: 430px; }
  .bento,
  .legend,
  .tabgallery,
  .usecases { grid-template-columns: 1fr; }
  .tile,
  .tile--a,
  .tile--b,
  .tile--c,
  .tile--d,
  .tile--e { grid-column: span 1; }
  .compare-col,
  .price-card { padding: 26px; }
  .cam-proof {
    padding-block: 42px 72px;
  }
  .cam-proof__strip .proof-step {
    padding-block: 22px;
  }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .gcard img { height: auto; }
  .usecase,
  .usecase:first-child,
  .usecase:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .foot .wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn,
  .tile,
  .pcard,
  .gcard,
  .nav { transition: none; }
}
