:root {
  color-scheme: light;
  --page: #faf9fe;
  --surface: #ffffff;
  --surface-raised: #f0edfc;
  --panel: #f2effc;
  --paper: #fdfcff;
  --paper-card: #ece9fa;
  --accent: #5b4bd8;
  --accent-hover: #4939c6;
  --accent-soft: #eae3ff;
  --emerald: #176854;
  --danger: #a22849;
  --muted: #46425e;
  --line: #e0dcf0;
  --ink: #272341;
  --ink-muted: #504c68;
  --paper-line: #d8d3eb;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --z-base: 1;
  --z-Overlay: 2;
  --z-sticky: 3;
  --z-modal: 4;
  --z-skip: 5;
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
html { scroll-padding-top: 86px; }
body { min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }

.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: clamp(68px, 8.5vw, 128px); }
.skip-link { position: fixed; z-index: var(--z-skip); inset: 12px auto auto 12px; padding: 14px 18px; background: var(--accent-soft); color: var(--ink); font-weight: 800; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }

/* HEADER */
.site-header {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.brand span {
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 6px;
}
.main-nav, .footer-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.main-nav a, .header-login, .footer-inner nav, .back-top {
  font-size: 14px;
  font-weight: 700;
}
.main-nav a, .footer-inner nav, .back-top {
  color: var(--muted);
  transition: color 160ms var(--ease-out-quart);
}
.main-nav .nav-legal {
  color: var(--ink);
  border-bottom: 1px solid #9385d5;
}
.main-nav a:hover, .header-login:hover, .footer-inner nav a:hover, .back-top:hover {
  color: var(--accent);
}
.header-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid #cdc4ed;
  background: var(--surface);
  white-space: nowrap;
  border-radius: 9px;
  transition: border-color 160ms var(--ease-out-quart), background-color 160ms var(--ease-out-quart);
}
.header-login:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
}
.header-login span { color: var(--accent); }
.header-demo.button { flex-shrink: 0; min-height: 42px; padding: 9px 13px; gap: 8px; font-size: 14px; }

@supports (animation-timeline: scroll()) {
  .site-header::after {
    position: absolute;
    inset: auto 0 -1px;
    height: 2px;
    background: var(--accent);
    content: "";
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    animation: reading-progress linear both;
    animation-timeline: scroll(root block);
  }
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-weight: 750;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(52px, 6.35vw, 88px);
  line-height: .99;
}
h1 span, h2 span { color: var(--accent); }
h2 {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.07;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent);
  font: 650 14px/1.35 var(--sans);
}
.signal {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--accent-soft);
  position: relative;
}
.signal-dark { background: var(--ink); }
.mp-hub .eyebrow, .cabinet-tour .eyebrow, .pricing .eyebrow { color: var(--ink); }

.section-heading p, .scan-copy > p, .contact-grid > div > p {
  margin-top: 18px;
  max-width: 64ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* HERO */
.hero {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.hero-stage { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner {
  min-height: clamp(565px, 49vw, 770px);
  display: grid;
  align-items: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.hero-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fff 0%, #fffffff9 22%, #ffffffe8 35%, #ffffffa0 48%, #ffffff1a 68%, transparent 83%);
  content: "";
}
.hero-copy {
  max-width: 570px;
  padding-block: 56px 44px;
  animation: copy-in 700ms var(--ease-out-expo) both;
}
.hero h1 { font-size: clamp(35px, 5.35vw, 70px); text-shadow: 0 2px 24px #ffffffc4; }
.hero .eyebrow { padding: 9px 15px; border: 1px solid #cfc5ff; border-radius: 999px; background: #f2ebff; color: #4030aa; font-size: 17px; font-weight: 750; }
.hero-description {
  max-width: 58ch;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.52;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  font: 650 13px/1.25 var(--sans);
  color: var(--ink);
  transition: border-color 160ms var(--ease-out-quart), background-color 160ms var(--ease-out-quart), transform 160ms var(--ease-out-quart);
}
.hero-badge i {
  font-style: normal;
  color: var(--accent);
}
.hero-badge:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out-quart), border-color 180ms var(--ease-out-quart), color 180ms var(--ease-out-quart), transform 150ms var(--ease-out-quart);
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button span { font-size: 18px; line-height: 1; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-outline {
  background: rgba(255, 255, 255, 0.8);
  border-color: #cdc4ed;
  color: var(--ink);
}
.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover:not(:disabled) { background: #3f356e; }
.button-dark:disabled { background: #e5e0f6; color: #5d557b; transform: none; }
.button-outline-dark {
  background: rgba(91, 75, 216, 0.08);
  border-color: var(--ink);
  color: var(--ink);
}
.button-outline-dark:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}
.button-outline-dark:disabled {
  opacity: 0.45;
  transform: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}
.text-link:hover, .text-link span { color: var(--accent); }

/* HERO TELEMETRY STRIP */
.hero-telemetry {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(253, 252, 255, 0.94);
}
.telemetry-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
}
.telemetry-node {
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  border-inline-start: 1px solid var(--line);
}
.telemetry-tag {
  font: 650 11px/1.2 var(--sans);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.telemetry-node strong {
  font-size: 14px;
  color: var(--ink);
}
.telemetry-node small {
  font-size: 12px;
  color: var(--muted);
}
.telemetry-arrow {
  color: var(--accent);
  font: 700 18px/1 var(--mono);
}

/* PARTNERS */
.partners {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.partners-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  align-items: center;
  gap: 24px;
  min-height: 98px;
}
.partners p {
  color: var(--muted);
  font: 650 13px/1.45 var(--sans);
}
.partners ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.partners li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.partners li small {
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--accent);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0;
}
.mp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mp-wb { background: #cb11ab; }
.mp-ozon { background: #005bff; }
.mp-ym { background: #facc15; }

/* 3. SMART STOCK SYNC SIMULATOR */
.sync-lab {
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.sync-lab .section-heading p { color: var(--muted); }
.sync-simulator {
  margin-top: clamp(32px, 4.5vw, 56px);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(18px, 2.5vw, 32px);
  border-radius: 20px;
}
.sync-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.race-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; animation: panel-in 320ms var(--ease-out-quart) both; }
.race-result p { display: grid; gap: 4px; padding: 11px 15px; border: 1px solid #aad4c8; border-radius: 9px; background: #e6f6ef; color: #174d40; }
.race-result p + p { border-color: #e5b8c8; background: #fff0f4; color: #75223e; }
.sync-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sync-action-btn {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #cfc6ed;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  transition: background-color 160ms var(--ease-out-quart), border-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart), transform 140ms var(--ease-out-quart);
}
.sync-action-btn:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
  transform: translateY(-1px);
}
.sync-action-btn:active { transform: translateY(1px); }
.sync-action-btn[data-sim-scenario][aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}
#sim-freeze[aria-pressed="true"] {
  background: #e4f6f1;
  border-color: #87c7b6;
  color: #175e50;
}
.sync-action-btn.is-ghost {
  background: transparent;
  color: var(--muted);
}

.sync-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: 650 13px/1.3 var(--sans);
  color: var(--accent);
}
.sync-status-pill.is-frozen {
  border-color: #87c7b6;
  color: #176854;
}
.sync-status-pill.is-alert {
  border-color: var(--danger);
  color: #9a2345;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.sync-stage {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(300px, 1.25fr) minmax(260px, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.sync-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
}
.sync-col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sync-col-head span {
  font: 700 15px/1.25 var(--sans);
  color: var(--accent);
}
.sync-col-head small {
  font-size: 12px;
  color: var(--muted);
}

.cell-rack {
  display: grid;
  gap: 10px;
}
.rack-cell {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
  text-align: left;
  transition: border-color 160ms var(--ease-out-quart), background-color 160ms var(--ease-out-quart), transform 160ms var(--ease-out-quart);
}
.rack-cell:hover {
  border-color: #9688d3;
  transform: translateX(3px);
}
.rack-cell.is-selected {
  border-color: var(--accent);
  background: #eae4ff;
}
.rack-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rack-addr {
  font: 800 16px/1 var(--mono);
  color: var(--accent);
}
.rack-badge {
  padding: 2px 6px;
  background: var(--surface-raised);
  font: 700 10px/1.2 var(--mono);
  color: var(--muted);
}
.rack-badge-pool {
  background: #eee7ff;
  color: var(--accent);
}
.rack-cell-mid {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.rack-qty {
  font-size: 20px;
  font-weight: 800;
}
.rack-vol {
  font: 600 12px/1 var(--mono);
  color: var(--muted);
}
.rack-cell-foot {
  font-size: 12px;
  color: var(--muted);
}
.cell-inspector {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 13px;
}
.inspector-title {
  font: 700 12px/1.2 var(--mono);
  color: var(--accent);
}
.cell-inspector p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

/* Center Core Engine */
.core-engine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 16px;
  border: 1px solid #d5cced;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 100, 232, 0.12), transparent 65%),
    var(--panel);
  overflow: hidden;
}
.core-engine.is-frozen-mode {
  border-color: #87c7b6;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16), transparent 65%),
    var(--panel);
}
.core-beam {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  pointer-events: none;
}
.core-beam.is-firing {
  animation: beam-sweep 520ms var(--ease-out-quart);
}
.core-formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.formula-item {
  display: grid;
  gap: 4px;
}
.formula-item span {
  font: 700 10px/1.2 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.formula-item strong {
  font: 800 clamp(18px, 2vw, 26px)/1 var(--mono);
  color: var(--ink);
}
.formula-item.is-freeze strong { color: #5a44bb; }
.formula-item.is-avail strong { color: var(--emerald); }
.formula-op {
  font: 800 20px/1 var(--mono);
  color: var(--muted);
}

.core-mechanics {
  display: grid;
  gap: 10px;
}
.mechanic-pill {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}
.mechanic-pill.is-highlighted {
  border-color: var(--accent);
  background: #ece5ff;
}
.mech-icon { font-size: 17px; line-height: 1.2; }
.mechanic-pill strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.mechanic-pill small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.38;
}

.core-log {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  background: #e9e4f7;
  font: 400 14px/1.5 var(--sans);
  color: #3f385a;
}
.core-log code {
  color: var(--accent);
  font-weight: 800;
}

/* Connected Shops Column */
.shop-cards {
  display: grid;
  gap: 10px;
}
.shop-card {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
  transition: border-color 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}
.shop-card.is-frozen-card {
  border-color: #87c7b6;
  background: #e9f7f2;
}
.shop-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mp-tag {
  padding: 2px 7px;
  font: 800 10px/1.3 var(--mono);
  text-transform: uppercase;
}
.mp-tag-wb { background: #faeafa; color: #82216b; }
.mp-tag-ozon { background: #eaf0ff; color: #234d9a; }
.mp-tag-ym { background: #fff3dc; color: #765014; }
.shop-owner {
  font: 600 11px/1.2 var(--mono);
  color: var(--muted);
}
.shop-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.shop-name {
  font-size: 14px;
  font-weight: 800;
}
.shop-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.shop-stock-box {
  text-align: right;
  white-space: nowrap;
}
.shop-stock-label {
  display: block;
  font: 700 10px/1 var(--mono);
  color: var(--muted);
}
.shop-stock-val {
  font: 800 20px/1.1 var(--mono);
  color: var(--accent);
}

/* 4. MARKETPLACES HUB (FBS + FBO) */
.mp-hub {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}
.mp-hub h2 span { color: var(--ink); }
.mp-hub .section-heading p { color: var(--ink-muted); }
.mp-switcher {
  margin-top: clamp(32px, 4.5vw, 54px);
}
.mp-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.mp-tabs button {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  transition: background-color 160ms var(--ease-out-quart);
}
.mp-tabs button:hover { background: var(--paper-card); }
.mp-tabs button[aria-selected="true"] {
  background: var(--accent-soft);
}
.mp-tab-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 800 11px/1.2 var(--mono);
}
.mp-tabs button strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.mp-tabs button small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.3;
}

.mp-panel {
  display: grid;
  grid-template-columns: minmax(285px, .82fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 40px);
  margin-top: 14px;
  border: 1px solid #cfc6ed;
  border-radius: 20px;
  background: #f2eefe;
  align-items: center;
  animation: panel-in 320ms var(--ease-out-quart) both;
}
.mp-panel-copy { padding: clamp(17px, 2vw, 25px); border: 1px solid #dcd2f4; border-radius: 15px; background: #fff; }
.mp-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.mp-mode-pills span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--accent-soft);
  font: 700 11px/1.2 var(--mono);
}
.mp-panel-copy h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
}
.mp-panel-copy > p {
  margin-top: 12px;
  color: var(--ink-muted);
  line-height: 1.58;
}
.mp-feature-list {
  margin-top: 18px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.55;
  font-size: 16px;
}
.mp-feature-list code {
  padding: 1px 5px;
  background: var(--paper-card);
  font-family: var(--mono);
  font-size: 13px;
}

.live-screen-frame {
  overflow: hidden;
  border: 1px solid #b7a8e6;
  border-radius: 14px;
  background: var(--page);
  color: var(--ink);
  box-shadow: 0 18px 38px #3d2e852b;
}
.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.frame-dots {
  display: inline-flex;
  gap: 6px;
}
.frame-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc2ea;
}
.frame-dots i:first-child { background: var(--accent-soft); }
.frame-title {
  font: 700 11px/1.2 var(--mono);
  color: var(--muted);
}
.frame-live-tag {
  padding: 2px 7px;
  background: rgba(120, 100, 232, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  min-height: 36px;
  border-radius: 8px;
  font: 700 13px/1.2 var(--sans);
  white-space: nowrap;
}
.frame-canvas {
  position: relative;
  overflow: hidden;
  background: #f0f4f9;
}
.frame-canvas img {
  width: 100%;
  height: auto;
}
.screen-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
}
.screen-callout span {
  padding: 2px 6px;
  background: var(--accent-soft);
  color: var(--ink);
  font: 800 11px/1 var(--mono);
}

/* 5. ANIMATED WMS STUDIO (9 TABS + HOTSPOTS) */
.workflow {
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}
.workflow .section-heading p, .workflow .eyebrow { color: var(--ink-muted); }
.workflow :focus-visible { outline-color: var(--ink); }
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2.05fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 4.5vw, 56px);
  align-items: start;
}
.workflow-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
}
.workflow-tabs button {
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 650;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: -0.02em;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.workflow-tabs button:hover { background: var(--paper-card); }
.workflow-tabs button[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--ink);
}
.workflow-tabs button b { font-size: 16px; opacity: .6; }

.workflow-panel {
  animation: panel-in 320ms var(--ease-out-quart) both;
}
.panel-header-row {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
.workflow-panel h3 {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.08;
}
.workflow-panel p {
  margin-top: 8px;
  max-width: 68ch;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.58;
}
.workflow-panel code {
  padding: 1px 6px;
  background: var(--paper-card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9em;
}
.hotspot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hotspot-btn {
  padding: 8px 13px;
  min-height: 40px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 650 14px/1.25 var(--sans);
  transition: background-color 160ms var(--ease-out-quart), border-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.hotspot-btn:hover {
  border-color: var(--accent);
}
.hotspot-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}

.interactive-figure {
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  background: #f8f6ff;
  box-shadow: 0 14px 30px #3d2e851a;
}
.figure-viewport {
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: #f2f5fa;
}
.figure-viewport img {
  width: auto;
  max-height: 600px;
}
.figure-reticle {
  position: absolute;
  top: clamp(14px, var(--spot-y, 50%), calc(100% - 14px));
  left: clamp(14px, var(--spot-x, 50%), calc(100% - 14px));
  width: 27px;
  height: 27px;
  translate: -50% -50%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #7361e545;
  box-shadow: 0 0 0 4px var(--accent);
  pointer-events: none;
  animation: marker-in 280ms var(--ease-out-quart) both;
  transition: top 360ms var(--ease-out-expo), left 360ms var(--ease-out-expo);
}

.interactive-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font: 500 14px/1.5 var(--sans);
}
.interactive-figure figcaption span { flex: 1 1 230px; }
.interactive-figure .zoom-trigger { background: transparent; color: var(--ink); border: 1px solid var(--paper-line); border-radius: 8px; }
.zoom-trigger, .zoom-trigger-inline {
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--accent);
  font: 700 12px/1.2 var(--mono);
  white-space: nowrap;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.zoom-trigger:hover, .zoom-trigger-inline:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

/* 6. TSD TERMINAL SECTION & EMULATOR */
.scan-section {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.tsd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.scan-copy > p:last-of-type { color: var(--muted); }
.scan-copy h2 > .motion-text > span:not(.motion-word-mask) { display: block; }
.tsd-team {
  margin-top: 24px;
  padding: clamp(12px, 2vw, 23px);
  border: 1px solid #493a73;
  border-radius: 18px;
  background: #292044;
  color: #fff;
  box-shadow: 0 12px 28px #3d2e8526;
}
.tsd-team figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; margin-bottom: 12px; }
.tsd-team figcaption strong { font-size: clamp(16px, 2vw, 21px); }
.tsd-team figcaption span { color: #d9cef7; font-size: 13px; }
.tsd-team ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.tsd-team li { padding: 9px 11px; border: 1px solid #5d4c86; border-radius: 9px; background: #382b55; }
.tsd-team li span { display: block; color: #b3ebd5; font-size: 13px; font-weight: 750; }
.tsd-team li strong { display: block; margin-top: 3px; font-size: 15px; }
.tsd-intro-grid.is-arriving .tsd-team li { animation: copy-in 520ms var(--tsd-delay, 0ms) var(--ease-out-expo) both; }
.tsd-team li:nth-child(2) { --tsd-delay: 70ms; }
.tsd-team li:nth-child(3) { --tsd-delay: 140ms; }
.tsd-team li:nth-child(4) { --tsd-delay: 210ms; }
.tsd-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.tsd-highlights li { padding-top: 10px; border-top: 1px solid #c5b7e7; }
.tsd-highlights strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.tsd-highlights span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.tsd-try-link { margin-top: 20px; }

.tsd-real-preview {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.phone-bezel {
  width: min(300px, 100%);
  padding: 12px;
  border: 2px solid #484a3e;
  border-radius: 28px;
  background: #07090c;
  box-shadow: 0 16px 38px rgba(55, 38, 120, .18);
}
.phone-notch {
  width: 72px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: #252830;
}
.phone-bezel img {
  width: 100%;
  border-radius: 16px;
}
.tsd-real-preview figcaption {
  color: var(--muted);
  font: 600 12px/1.3 var(--mono);
  text-align: center;
}

.tsd-emulator-wrap {
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--paper-line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(55, 38, 120, .1);
}
.emulator-heading { margin-bottom: 20px; }
.emulator-heading h3 { font-size: clamp(25px, 3vw, 34px); }
.emulator-heading p { margin-top: 5px; color: var(--muted); }
.emulator-mode-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.emu-tab {
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 700 15px/1.25 var(--sans);
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.emu-tab:hover { background: var(--surface-raised); }
.emu-tab[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.scan-ticket {
  padding: clamp(14px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--page);
}
.ticket-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 250px);
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}
.ticket-sku-box span { color: var(--accent-hover); font-weight: 700; }
.ticket-sku-box strong {
  display: block;
  margin-block: 5px 6px;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.ticket-sku-box p { color: var(--muted); }
.ticket-progress {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-weight: 700;
}
.ticket-quantity { font-size: 20px; font-variant-numeric: tabular-nums; }
.ticket-quantity strong { color: var(--accent-hover); font-size: 44px; line-height: 1.1; }
.ticket-quantity strong.is-ticking {
  display: inline-block;
  animation: scan-tick 260ms var(--ease-out-quart) both;
}
.ticket-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.ticket-steps i { height: 6px; border-radius: 6px; background: #b8aedf; }
.ticket-steps i.is-done {
  background: var(--accent);
  animation: scan-confirm 360ms var(--ease-out-quart) both;
  transform-origin: left;
}
.ticket-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface-raised);
  line-height: 1.45;
}
.ticket-status[data-tone="success"] { border-color: var(--emerald); background: #e5f6ef; color: var(--emerald); }
.ticket-status[data-tone="error"] { border-color: var(--danger); background: #fff0f3; color: var(--danger); }
.ticket-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.ticket-actions .button { justify-content: center; text-align: center; white-space: normal; }
.ticket-actions .button:is(:hover, :active) { transform: none; }
.ticket-actions .button:disabled { background: var(--surface-raised); color: var(--muted); }
.ticket-reset {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: none;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.ticket-reset:disabled { color: var(--muted); text-decoration: none; opacity: .7; }
.ticket-shift-pill { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* 7. CAPABILITIES BENTO */
.capabilities { padding-bottom: clamp(68px, 8.5vw, 128px); border-bottom: 1px solid var(--line); }
.capabilities-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(490px, min(82svh, 55vw), 760px);
  overflow: hidden;
  background: #faf6fe;
}
.capabilities-intro::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #faf6fe 32%, #faf6fef8 40%, #faf6fee6 44%, #faf6fe75 49%, transparent 56%);
  content: "";
}
.capabilities-copy { padding-block: clamp(38px, 6vw, 85px); }
.capabilities-copy .section-heading { max-width: min(46vw, 590px); }
.capabilities-copy h2 { font-size: clamp(34px, 4.1vw, 58px); }
.capabilities-intro p { color: var(--muted); }
.capabilities-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(70%, 1140px);
  height: 100%;
  object-fit: contain;
  object-position: right center;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: clamp(32px, 5vw, 64px);
}
.feature-story {
  grid-column: span 3;
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.story-kicker, .note-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.06em;
}
.feature-story h3, .feature-note h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
}
.feature-story p, .feature-note p {
  margin-top: 10px;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.55;
}
.feature-story code, .feature-note code {
  font-family: var(--mono);
  color: var(--ink);
}
.feature-story img {
  width: 100%;
  aspect-ratio: 1.6;
  height: auto;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
}
.feature-story figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  color: var(--muted);
  font: 600 12px/1.3 var(--mono);
}
.feature-note {
  grid-column: span 2;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

/* 8. MULTI-CABINET & CLIENT TOUR */
.cabinet-tour {
  background: var(--paper);
  color: var(--ink);
}
.cabinet-tour .section-heading p { color: var(--ink-muted); }
.multicab-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.multicab-card {
  padding: 18px 20px;
  background: #faf8ff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.multicab-num {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--ink);
  font: 800 11px/1.2 var(--mono);
}
.multicab-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}
.multicab-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(18px, 3.5vw, 48px);
  margin-top: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
.tour-menu {
  display: grid;
  border: 1px solid var(--paper-line);
  background: #faf8ff;
}
.tour-menu button {
  min-height: 46px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 13px;
  border: 0;
  border-bottom: 1px solid var(--paper-line);
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms var(--ease-out-quart);
}
.tour-menu button:last-child { border-bottom: 0; }
.tour-menu button:hover { background: var(--paper-card); }
.tour-menu button[aria-pressed="true"] {
  background: var(--accent-soft);
}
.tour-menu button span, .tour-controls span {
  font: 700 12px var(--mono);
}
.tour-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-card);
}
.tour-image-button {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  aspect-ratio: 1440 / 800;
  max-height: 620px;
  border: 0;
  background: #f4f6fb;
}
.tour-image-button:focus-visible { outline-offset: -4px; }
.tour-image-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: top center;
}
.tour-loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--ink-muted); font-size: 14px; }
.tour-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.tour-image-button:hover .tour-zoom, .tour-image-button:focus-visible .tour-zoom {
  background: var(--accent-soft);
  color: var(--ink);
}
.tour-caption {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  padding: 16px 18px;
  border-top: 1px solid var(--paper-line);
}
.tour-caption strong { font-size: clamp(17px, 1.9vw, 22px); }
.tour-description p {
  margin-top: 6px;
  color: var(--ink-muted);
  line-height: 1.45;
}
.tour-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.tour-controls button, .tour-dialog-header button {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  font-size: 20px;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}
.tour-controls button:hover, .tour-dialog-header button:hover {
  color: var(--ink);
  background: var(--accent-soft);
}
.tour-dialog {
  width: min(1180px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #c6bae9;
  border-radius: 15px;
  background: var(--page);
  color: var(--ink);
}
.tour-dialog[open] { animation: copy-in 260ms var(--ease-out-quart) both; }
.tour-dialog::backdrop { background: rgba(37, 30, 72, 0.55); }
.tour-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.zoom-controls { display: flex; gap: 8px; align-items: center; }
.zoom-controls button { width: auto; min-width: 42px; padding-inline: 10px; font-size: 14px; }
.zoom-controls button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.tour-dialog-image {
  overflow: auto;
  max-height: min(76dvh, 820px);
  background: #f4f6fb;
}
.tour-dialog-image img {
  width: auto;
  height: auto;
  max-height: min(72dvh, 820px);
  margin-inline: auto;
}
.tour-dialog[data-size="width"] img { max-height: none; }
.tour-dialog[data-size="original"] img { max-width: none; max-height: none; }

/* 9. PRICING */
.pricing {
  background: linear-gradient(160deg, #f8f5ff 25%, var(--paper) 75%);
  color: var(--ink);
  border-top: 1px solid var(--paper-line);
}
.pricing .section-heading p { color: var(--ink-muted); }
.trial-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 25px; margin-top: 30px; padding: clamp(15px, 2.5vw, 26px); border: 1px solid #bfdfd2; border-radius: 20px; background: #e9f7f1; }
.trial-number { display: flex; align-items: center; gap: 10px; color: var(--emerald); font-weight: 750; line-height: 1.05; }
.trial-number strong { font-size: 52px; line-height: .85; }
.trial-banner p { max-width: 50ch; line-height: 1.5; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 44px);
  gap: clamp(14px, 2.4vw, 28px);
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 38px);
  border: 1px solid #d7c9f6;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 32px #3d2e8510;
}
.plan-primary { background: #292044; color: #fff; border-color: #3d2d64; }
.plan-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(65px, 36%);
  align-items: center;
  width: 100%;
  gap: 8px;
}
.plan-art { width: 100%; height: auto; }
.plan.is-arriving .plan-art { animation: copy-in 650ms 110ms var(--ease-out-expo) both; }
.plan-label { display: inline-flex; margin-bottom: 12px; padding: 5px 9px; border-radius: 6px; background: #eee6ff; color: #392776; font-size: 13px; font-weight: 750; }
.plan-primary .plan-label { background: #ddf4e8; color: #165844; }
.plan h3 {
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.05;
}
.plan-for {
  margin-top: 10px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.plan-primary .plan-for { color: #eee6ff; }
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
  margin-top: 12px;
  font-size: clamp(27px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.plan-price small { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
.plan ul {
  width: 100%;
  padding: 18px 0 0;
  margin-block: 22px;
  border-top: 1px dashed #b8acd6;
  list-style: none;
  line-height: 1.45;
}
.plan li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
}
.plan li::before {
  content: "✓" / "";
  color: var(--emerald);
  font-weight: 800;
}
.plan-primary li::before { color: #ace9ce; }
.plan li + li { margin-top: 10px; }
.plan .button { max-width: 100%; margin-top: auto; gap: 10px; white-space: normal; }
.plan-primary .button-dark { background: #fff; color: #3e2884; }
.plan-primary .button-dark:hover { background: #efe7ff; }
.plan-primary :focus-visible { outline-color: #fff; }
.plan-button { border-color: var(--accent); color: var(--accent); }
.plan-button:hover { background: var(--paper-card); }
.plan-matrix { margin-top: clamp(24px, 4vw, 44px); overflow: hidden; border: 1px solid var(--paper-line); border-radius: 20px; background: #fff; }
.plan-matrix-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 15px clamp(12px, 2vw, 22px); }
.plan-matrix-heading h3 { font-size: clamp(21px, 2.6vw, 30px); }
.plan-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border-radius: 9px; background: var(--surface-raised); font-size: 14px; font-weight: 750; cursor: pointer; }
.plan-filter input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.plan-matrix:has(#plan-differences:checked) .plan-shared { display: none; }
@supports not selector(:has(*)) { .plan-filter { display: none; } }
.plan-matrix table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.plan-matrix :is(th, td) { padding: 13px clamp(8px, 2vw, 22px); border-top: 1px solid var(--line); }
.plan-matrix th:first-child { width: 46%; }
.plan-matrix thead { background: #f1eaff; }
.plan-matrix tr > :last-child { background: #f7f2ff; }
.plan-matrix thead tr > :last-child { background: #e9deff; color: #392776; }
.plan-included { color: var(--emerald); font-weight: 750; }
.plan-included::before { content: "✓ " / ""; }
.pricing-note {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* 10. COMPARE */
.compare { background: #f1edfd; border-bottom: 1px solid var(--line); }
.compare .section-heading p, .compare-sources { color: var(--muted); }
.compare-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.compare-highlights li { padding: clamp(14px, 1.8vw, 23px); border: 1px solid #d0c4f0; border-top: 3px solid var(--accent); border-radius: 14px; background: var(--surface); }
.compare-highlights strong { display: block; color: var(--ink); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; }
.compare-highlights p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.compare-price-note { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.compare-price-note div { display: grid; gap: 5px; align-content: start; padding: clamp(12px, 2.4vw, 24px); border: 1px solid #d0c4f0; border-radius: 12px; background: #fff; }
.compare-price-note div:first-child { background: #e8dfff; }
.compare-price-note span { font-weight: 700; }
.compare-price-note strong { font-size: clamp(24px, 3.5vw, 40px); letter-spacing: -.035em; white-space: nowrap; }
.compare-price-note small { font-size: 13px; }
.compare-price-note p { grid-column: 1 / -1; max-width: 80ch; padding: 5px 2px; line-height: 1.5; }
.compare-price-note p b { color: #392776; }
.compare-match { margin-top: 22px; overflow: hidden; padding: clamp(8px, 2vw, 20px); border: 1px solid #d0c4f0; border-radius: 16px; background: #fff; }
.compare-direct.compare-table { min-width: 0; table-layout: fixed; }
.compare-direct.compare-table tr > :is(th, td) { width: 15%; padding: 15px 12px; overflow-wrap: break-word; }
.compare-direct.compare-table thead th:first-child { width: 16%; }
.compare-direct.compare-table thead th:nth-child(2) { width: 24%; }
.compare-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.48;
}
.compare-table :is(th, td) {
  width: 26%;
  padding: clamp(14px, 1.8vw, 22px);
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table tr > :first-child { width: 22%; }
.compare-table :is(th, td):nth-child(2) { background: #f0ebff; }
.compare-table thead th {
  border-bottom: 2px solid var(--line);
  font-size: 16px;
}
.compare-table thead th:nth-child(2) {
  background: #3b2a76;
  color: #fff;
  border-bottom-color: var(--accent);
}
.compare-table tbody td { color: #4a4564; }
.compare-direct tbody td:nth-child(2) { box-shadow: inset 3px 0 #a391f0; }
.compare-direct td:nth-child(2) strong { display: block; margin-bottom: 5px; color: #392776; line-height: 1.3; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-sources {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.compare-sources a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compare-sources a:hover { color: var(--accent); }

/* 11. FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(30px, 6vw, 84px);
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding-block: 14px;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  color: var(--accent);
  content: "+";
  font: 400 28px/1 var(--mono);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  max-width: 64ch;
  padding: 0 28px 22px 0;
  color: var(--muted);
  line-height: 1.58;
}

/* 12. CONTACT & FOOTER */
.contact {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #c9baf1;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 22px 52px #3d2e8522;
}
.contact-offer {
  display: grid;
  align-content: start;
  padding: clamp(22px, 4.1vw, 56px);
  background: linear-gradient(145deg, #eee4ff, #d9c9ff);
}
.contact-grid > .contact-offer .contact-offer-label { margin: 0 0 13px; font-size: 14px; font-weight: 750; color: #442d88; }
.contact-offer h2 { font-size: clamp(45px, 6vw, 80px); }
.contact-grid > .contact-offer > p { max-width: 34ch; font-size: 17px; }
.lead-form {
  align-self: center;
  min-width: 0;
  margin: clamp(22px, 4vw, 55px);
  padding: 0;
  background: var(--surface);
}
.contact-art { width: min(100%, 520px); margin: 12px auto -4px; }
.lead-form h3 { font-size: clamp(27px, 2.8vw, 36px); line-height: 1.14; }
.form-intro { max-width: 38ch; margin: 10px 0 25px; color: var(--muted); line-height: 1.5; }
.lead-submit.button { width: 100%; min-height: 55px; gap: 10px; padding-inline: 19px; border-radius: 13px; }
.lead-submit[aria-busy="true"] .lead-submit-arrow { width: 16px; height: 16px; border: 2px solid #fff6; border-top-color: #fff; border-radius: 50%; font-size: 0; animation: lead-sending .7s linear infinite; }
@keyframes lead-sending { to { transform: rotate(1turn); } }
.lead-details {
  margin-top: 12px;
  border: 1px solid var(--paper-line);
  border-radius: 11px;
  background: var(--page);
}
.lead-details summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: inherit;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
.lead-details summary::-webkit-details-marker { display: none; }
.lead-details summary:hover { background: var(--surface-raised); }
.lead-details summary::before {
  color: var(--accent-hover);
  font-size: 18px;
  line-height: 1;
  content: "+";
}
.lead-details[open] summary::before { content: "−"; }
.lead-optional { margin-inline-start: auto; color: var(--ink-muted); font-size: 12px; font-weight: 600; }
.lead-details summary:has(#lead-plan-label:not([hidden])) .lead-optional { display: none; }
#lead-plan-label {
  margin-inline-start: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
}
.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 6px 11px 12px;
}
.lead-details[open] .lead-fields { animation: panel-in 210ms var(--ease-out-quart) both; }
.form-field {
  display: grid;
  align-content: start;
  gap: 7px;
}
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c7b9e8;
  border-radius: 10px;
  background: #fff;
  min-height: 44px;
  transition: border-color 160ms var(--ease-out-quart), background-color 160ms var(--ease-out-quart);
}
.form-field :is(input, select, textarea):focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.lead-contact-method { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 20px 0; padding: 4px; border: 1px solid #e7e3f2; border-radius: 13px; background: #f2eff8; }
.lead-contact-method label { position: relative; display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid transparent; border-radius: 9px; color: var(--ink-muted); font-size: 14px; font-weight: 650; cursor: pointer; transition: background-color 160ms, color 160ms; }
.lead-contact-method label:has(input:checked) { border-color: #e4def1; color: var(--accent-hover); background: #fff; box-shadow: 0 2px 5px #2723410a; }
.lead-contact-method label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead-contact-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lead-name-field label, .lead-primary-field label { font-size: 14px; font-weight: 650; }
.lead-name-field label { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; }
.lead-name-field label span { font-size: 12px; font-weight: 400; color: var(--ink-muted); }
.lead-name-field input, .lead-primary-field input {
  min-height: 54px;
  padding-inline: 16px;
  border-color: #d9d2e9;
  border-radius: 12px;
  background: #fdfcff;
  font-size: 16px;
}
.lead-primary-field input::placeholder, .form-field textarea::placeholder { color: #625a79; }
.form-field textarea { resize: vertical; }
.form-field [aria-invalid="true"] { border-color: #9b2448; }
.field-error { color: #9b2448; font-weight: 700; font-size: 14px; }
.form-agreement {
  margin-block: 21px;
  font-size: 12px;
  line-height: 1.45;
}
.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
}
.form-consent input {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}
.form-consent label { cursor: pointer; color: var(--ink-muted); padding-block: 1px; }
.form-consent label a { color: var(--ink); }
.form-consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-agreement p {
  margin: 6px 0 0 29px;
  color: var(--ink-muted);
  font-size: 12px;
}
.form-document-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.form-agreement a, .footer-legal a, .footer-company a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-agreement a:hover { color: var(--ink); }
.footer-legal a:hover { color: var(--accent); }
.lead-submit:disabled { opacity: 0.7; }
.form-status:not(:empty) {
  border: 1px solid #badfd0;
  border-radius: 10px;
  background: #e6f6ef;
  color: var(--emerald);
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  animation: panel-in 220ms var(--ease-out-quart) both;
}
.form-status.is-error {
  color: #9b2448;
  background: #fde8e8;
  border-color: #9b2448;
}
.site-footer { background: var(--panel); }
.footer-inner { min-height: 100px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  padding-block: 17px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-company {
  display: grid;
  gap: 4px;
  padding-block: 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.footer-company strong { color: var(--ink); }

/* LEGAL PAGES */
.legal-page { background: var(--paper); color: var(--ink); color-scheme: light; }
.legal-page .site-header { color: var(--ink); }
.legal-page .header-inner { display: flex; padding-top: 0; min-height: 66px; }
.legal-content { width: min(830px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(40px, 6vw, 88px); }
.legal-content h1 { font-size: clamp(29px, 5vw, 58px); line-height: 1.06; overflow-wrap: break-word; }
.legal-content h2 { margin-top: 31px; font-size: clamp(22px, 3.6vw, 32px); line-height: 1.12; }
.legal-content p, .legal-content ul { margin-top: 12px; line-height: 1.6; max-width: 70ch; }
.legal-edition { color: var(--ink-muted); font-size: 14px; }
.legal-card { margin-top: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); }
.legal-content .legal-card p { margin: 0; overflow-wrap: anywhere; }
.legal-content .legal-card p + p { margin-top: 5px; }
.cookie-settings .cookie-actions { margin-top: 12px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-block: 16px; margin-top: 16px; border-block: 1px solid var(--paper-line); }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content a[aria-current="page"] { font-weight: 800; }

.cookie-notice {
  position: fixed;
  z-index: var(--z-modal);
  left: max(12px, min(2vw, 24px), env(safe-area-inset-left));
  bottom: max(12px, min(2vw, 24px), env(safe-area-inset-bottom));
  width: min(360px, calc(100% - 24px));
  max-height: 60dvh;
  overflow: auto;
  padding: 15px 17px 17px;
  border: 1px solid #ddd5ee;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 26px #2723411a;
}
.cookie-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cookie-notice h2 { font-size: 16px; letter-spacing: -.02em; line-height: 1.3; }
.cookie-close { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; margin: -4px -5px -4px 0; border: 0; border-radius: 50%; color: var(--ink-muted); background: #f3f0f9; font-size: 22px; font-weight: 400; line-height: 1; }
.cookie-close:hover { background: var(--accent-soft); color: var(--ink); }
.cookie-notice p { margin-block: 8px 14px; color: var(--ink-muted); font-size: 13px; line-height: 1.5; }
.cookie-notice p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.cookie-actions .button { justify-content: center; min-height: 44px; padding: 8px 11px; font-size: 13px; }
.cookie-notice .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-notice .button { width: 100%; border-radius: 10px; }
.cookie-actions a { padding: 6px; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
html:has(.cookie-notice:not([hidden])) { scroll-padding-bottom: 190px; }

/* SOLUTION PAGES */
.solution-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.solution-page .header-inner { display: flex; min-height: 68px; padding-block: 8px; }
.solution-content { max-width: 1030px; padding-block: clamp(24px, 5vw, 65px); }
.solution-crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink-muted); font-size: 14px; }
.solution-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.solution-hero {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--paper-line);
  border-radius: 21px;
  background: var(--surface-raised);
}
.solution-hero h1 { font-size: clamp(32px, 5.5vw, 65px); line-height: 1.05; overflow-wrap: anywhere; }
.solution-hero p { max-width: 64ch; margin-block: 15px 22px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; }
.solution-hero .button { gap: 8px; white-space: normal; }
.solution-screen {
  margin-top: clamp(20px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  background: var(--surface);
}
.solution-screen img { width: 100%; }
.solution-screen figcaption { padding: 10px 16px; color: var(--ink-muted); font-size: 14px; }
.solution-prose { max-width: 72ch; margin-inline: auto; }
.solution-prose h2 { margin-top: 34px; font-size: clamp(24px, 3.4vw, 34px); }
.solution-prose p, .solution-prose ol { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.solution-prose ol { padding-left: 24px; }
.solution-prose li + li { margin-top: 8px; }
.solution-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; }
.solution-next .solution-link { margin: 0; }
#lead-paused .button { margin-top: 18px; white-space: normal; }

/* ANIMATIONS & REVEALS */
[data-motion-heading] > .motion-text { display: block; color: inherit; }
h2[data-motion-heading]::after {
  display: block;
  width: clamp(48px, 7vw, 100px);
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) 62%, #82cdb6);
  transform-origin: left;
  content: "";
}
@media (prefers-reduced-motion: no-preference) {
  .motion-word-mask { display: inline-block; overflow: hidden; vertical-align: top; color: inherit; }
  .motion-word-mask > .motion-word { display: inline-block; color: inherit; }
  .is-text-ready .motion-word {
    transform: translateY(110%);
    transition: transform 720ms var(--ease-out-expo);
    transition-delay: var(--word-delay);
  }
  .is-text-visible .motion-word { transform: none; }
}
.footer-inner { position: relative; }
.footer-inner::before { position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent); transform-origin: left; content: ""; }
.footer-inner.is-arriving::before { animation: footer-line 850ms var(--ease-out-expo) both; }
.footer-inner.is-arriving .back-top { animation: copy-in 520ms 150ms var(--ease-out-expo) both; }

@keyframes marker-in { from { opacity: 0; scale: .65; } to { opacity: 1; scale: 1; } }
@keyframes footer-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0.45; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes scan-confirm { from { transform: scaleX(0.2); opacity: 0.35; } to { transform: scaleX(1); opacity: 1; } }
@keyframes scan-tick { from { opacity: 0.5; transform: translateY(6px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes reading-progress { to { transform: scaleX(1); } }
@keyframes beam-sweep { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 0; transform: translateX(100%); } }

/* RESPONSIVE */
@media (max-width: 1120px) {
  .shell { width: calc(100% - 56px); }
  .compare-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry-inner { grid-template-columns: repeat(2, 1fr); }
  .telemetry-arrow { display: none; }
  .sync-stage { grid-template-columns: 1fr; }
  .mp-tabs { grid-template-columns: repeat(2, 1fr); }
  .mp-panel { grid-template-columns: 1fr; }
}

@media (max-width: 1160px) {
  html { scroll-padding-top: 118px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; padding-top: 7px; }
  .header-login, .header-demo { grid-row: 1; grid-column: 2; }
  .main-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 42px; white-space: nowrap; }
}

@media (max-width: 860px) {
  .shell { width: calc(100% - 44px); }
  .capabilities-intro { min-height: 0; }
  .capabilities-intro::after { content: none; }
  .capabilities-copy { padding-block: 42px 12px; }
  .capabilities-copy .section-heading { max-width: 590px; }
  .capabilities-photo { position: static; justify-self: center; width: min(100%, 680px); height: auto; }
  .lead-fields { grid-template-columns: 1fr; }
  .main-nav .nav-legal { border-bottom: 0; order: -1; }
  .main-nav .nav-compare, .nav-legal span { display: none; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tsd-intro-grid, .multicab-banner { grid-template-columns: 1fr; }
  .emulator-mode-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-direct thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare-direct tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-direct.compare-table tr > :is(th, td) { width: auto; padding: 11px 9px; font-size: 14px; overflow-wrap: anywhere; }
  .compare-direct tbody th { grid-column: 1 / -1; background: var(--surface-raised); }
  .compare-direct tbody td:nth-child(2) { grid-column: 1 / -1; }
  .compare-direct tbody td::before { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 750; content: attr(data-product); }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .hero-inner { display: block; min-height: 0; }
  .hero-stage::after { background: linear-gradient(180deg, #fff 0%, #fffffff4 28%, #ffffffe3 43%, #ffffffc9 65%, #ffffff38 83%, transparent); }
  .hero-copy { width: 100%; padding-block: 30px clamp(128px, 40vw, 215px); }
  .hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 18px; }
  .hero-badge { padding: 7px 8px; font-size: 12px; }
  .hero-badge i { flex: none; font-size: 10px; }
  .actions { margin-top: 20px; gap: 8px 13px; }
  .hero-art { object-position: 63% center; }
  .telemetry-inner { grid-template-columns: 1fr; }
  .partners-inner { grid-template-columns: 1fr; padding-block: 18px; gap: 12px; }
  .partners ul { flex-wrap: wrap; justify-content: flex-start; }
  .mp-tabs, .workflow-tabs { grid-template-columns: 1fr; }
  .ticket-main { grid-template-columns: minmax(0, 1fr); }
  .ticket-actions .button { width: 100%; }
  .core-formula { grid-template-columns: 1fr; gap: 6px; }
  .formula-op { display: none; }
  .tour-grid, .pricing-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .tour-menu { display: flex; overflow-x: auto; }
  .tour-menu button { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--paper-line); }
  .tour-caption { flex-direction: column; }
  .tour-controls { align-self: flex-end; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .feature-story, .feature-note { grid-column: auto; }
  .trial-banner { grid-template-columns: auto minmax(0, 1fr); }
  .trial-banner .button { grid-column: 1 / -1; }
  .plan-matrix :is(th, td) { font-size: clamp(12px, 3.5vw, 13px); hyphens: auto; }
  .plan-matrix th:first-child { width: 43%; }
  .plan-included::before { content: none; }
  .contact-art { width: min(100%, 360px); }
  .frame-dots { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 12px 18px; padding-block: 18px; }
  .footer-inner nav { order: 1; width: 100%; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .tsd-team ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tsd-highlights { grid-template-columns: 1fr; gap: 9px; }
  .compare-highlights { grid-template-columns: 1fr; }
  .brand { gap: 6px; font-size: 17px; }
  .brand img { width: 24px; height: 24px; }
  .brand span, .header-login, .header-demo.button { font-size: 12px; }
  .header-demo.button { gap: 4px; padding-inline: 8px; }
  .header-demo span { display: none; }
  .header-login { gap: 4px; padding-inline: 8px; }
}

@media (max-width: 360px) {
  .site-header .brand span { display: none; }
  .plan-top { grid-template-columns: minmax(0, 1fr) minmax(65px, 30%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
