:root {
  --bg: #0c1219;
  --bg-2: #141c27;
  --ink: #eef3f8;
  --muted: #9aa8b8;
  --line: rgba(238, 243, 248, 0.12);
  --accent: #e0892a;
  --accent-2: #f0b35a;
  --steel: #3d7ea6;
  --panel: rgba(20, 28, 39, 0.72);
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.4rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(238, 243, 248, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-lockup {
  height: 2.35rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  line-height: 1;
}

.wm-bhp {
  color: #f5f7fa;
}

.wm-hub {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(240, 179, 90, 0.55);
  border-radius: 999px;
  color: #1a1208 !important;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-weight: 700;
}

.nav-cta:hover {
  border-color: rgba(240, 179, 90, 0.9);
  filter: brightness(1.06);
}

/* Hero — jedna kompozycja, brand jako sygnał */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 7rem 1.5rem 4rem;
  overflow: visible;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(61, 126, 166, 0.28), transparent 60%),
    radial-gradient(700px 480px at 12% 80%, rgba(224, 137, 42, 0.18), transparent 55%),
    linear-gradient(160deg, #0a1016 0%, #121a24 45%, #0c1219 100%);
  animation: atmosphere-shift 14s ease-in-out infinite alternate;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(238, 243, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 248, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.5;
}

/* Lewa strona hero — usunięte; biurko jest w sekcji 07 */

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Reszta strony: goście w kaskach po prawej (stały kadr viewportu) */
.site-below {
  position: relative;
  isolation: isolate;
}

.crew-rail {
  position: fixed;
  right: 0;
  top: 0;
  width: min(40vw, 440px);
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.crew-rail.is-on {
  opacity: 0.42;
}

.crew-rail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 26%;
  filter: saturate(0.78) contrast(0.96) brightness(0.72);
}

.crew-rail-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(12, 18, 25, 0.82) 18%, rgba(12, 18, 25, 0.3) 55%, transparent 100%),
    linear-gradient(180deg, rgba(12, 18, 25, 0.4) 0%, transparent 16%, transparent 84%, rgba(12, 18, 25, 0.55) 100%);
}

.site-below > *:not(.crew-rail) {
  position: relative;
  z-index: 1;
}

.hero {
  z-index: 1;
}

.start-desk {
  width: min(100%, 28rem);
  line-height: 0;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.35));
}

.start-desk-svg {
  width: 100%;
  height: auto;
  display: block;
  animation: desk-drift 14s ease-in-out infinite alternate;
}

.start-desk .hd-monitor {
  transform-origin: 320px 180px;
  animation: monitor-breathe 7s ease-in-out infinite alternate;
}

.start-desk .hd-clip {
  transform-origin: 90px 220px;
  animation: clip-float 9s ease-in-out infinite alternate;
}

.start-desk .hd-hat {
  transform-origin: 320px 75px;
  animation: hat-nudge 11s ease-in-out infinite alternate;
}

.start-desk .hd-mug {
  animation: mug-steam 8s ease-in-out infinite alternate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.02) brightness(0.78);
}

.hero-photo-fallback {
  z-index: 0;
  animation: none;
  transform: scale(1.02);
}

.hero-video {
  z-index: 1;
  display: block;
  background: #0c1219;
  opacity: 0;
  transition: opacity 1.1s ease;
}

/* Pionowy klip inżynierów — pad już w pliku, lekko powiększony */
.hero-video[data-hero-clip="engineers"] {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.02) brightness(0.82);
}

.hero-video.is-playing.is-active {
  opacity: 0.88;
  z-index: 2;
}

.hero-video.is-playing:not(.is-active) {
  opacity: 0;
  z-index: 1;
}

.hero-visual:has(.hero-video.is-playing) .hero-photo-fallback {
  opacity: 0;
  animation: none;
}

.hero-photo-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(12, 18, 25, 0.92) 0%, rgba(12, 18, 25, 0.72) 32%, rgba(12, 18, 25, 0.28) 58%, rgba(12, 18, 25, 0.12) 100%),
    linear-gradient(180deg, rgba(12, 18, 25, 0.5) 0%, transparent 22%, transparent 62%, rgba(12, 18, 25, 0.7) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.brand-hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  overflow: visible;
  animation: brand-in 1s ease both;
}

.brand-hero-logo {
  width: clamp(4.5rem, 11vw, 7rem);
  height: clamp(4.5rem, 11vw, 7rem);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.brand-hero-lockup {
  width: min(20rem, 72vw);
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  padding: 0.08em 0.04em 0.12em 0;
  overflow: visible;
}

.brand-hero .wm-bhp {
  color: #ffffff;
}

.brand-hero .wm-hub {
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
  animation: rise 0.9s 0.12s ease both;
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 34ch;
  animation: rise 0.9s 0.22s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.32s ease both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1208;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(238, 243, 248, 0.28);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.2rem;
  max-width: 34rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.pricing .section-head {
  max-width: none;
}

.pricing-lead {
  margin: 0 !important;
  max-width: 46rem;
}

.pricing-netto {
  margin: 0.45rem 0 0 !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
}

/* FAQ */
.faq {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  max-width: 46rem;
}

.faq .section-head {
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.1rem 1.05rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(224, 137, 42, 0.4);
  background:
    linear-gradient(135deg, rgba(224, 137, 42, 0.1), rgba(61, 126, 166, 0.08)),
    rgba(20, 28, 39, 0.85);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  padding: 0.9rem 1.75rem 0.9rem 0;
  position: relative;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-2);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

/* Feature teasers */
.feature-stack {
  display: grid;
  gap: 2.75rem;
}

.feature {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .feature-flip .feature-copy {
    order: 2;
  }

  .feature-flip .feature-stage {
    order: 1;
  }
}

.feature-copy > p.feature-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  text-transform: uppercase;
  max-width: none;
  line-height: 1.3;
}

.feature-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-bottom: 0.5rem;
  overflow: visible;
}

.feature-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.35;
  padding-bottom: 0.12em;
  overflow: visible;
  overflow-wrap: anywhere;
}

.feature-copy > p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
}

.feature-stage {
  perspective: none;
  overflow: visible;
}

.feature-stage-mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  max-height: 14rem;
}

.start-ludzik {
  line-height: 0;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.start-ludzik svg {
  width: auto;
  height: 12.5rem;
  max-height: 12.5rem;
  display: block;
}

.start-tutorial-shot {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  width: min(100%, 28rem);
  padding: 1.1rem 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.35);
}

.start-tutorial-shot .start-ludzik {
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.start-tutorial-shot .start-ludzik svg {
  height: 5.6rem;
  max-height: 5.6rem;
}

.start-tutorial-bubble {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.start-tutorial-bubble .ui-tour-k {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.start-tutorial-bubble p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 500;
}

@media (max-width: 859px) {
  .feature-stage-mascot {
    max-height: none;
    padding: 0.5rem 0 0.25rem;
  }
  .start-ludzik svg {
    height: 9.5rem;
  }
  .start-tutorial-shot .start-ludzik svg {
    height: 4.8rem;
    max-height: 4.8rem;
  }
}

.feature-support {
  margin: 0.85rem 0 0 !important;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(224, 137, 42, 0.35);
  background: rgba(224, 137, 42, 0.1);
  color: var(--ink) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  overflow: visible;
}

.feature-support strong,
.feature-support a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.feature-support a:hover {
  color: var(--accent);
}

/* Mock UI — styl jak BHPhub (jasny motyw aplikacji) */
.app-shell {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  min-height: 11.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.45);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.45s ease;
}

.feature:hover .app-shell {
  transform: rotateY(-1deg) rotateX(0) translateY(-3px);
}

.feature-flip .app-shell {
  transform: rotateY(5deg) rotateX(2deg);
}

.feature-flip:hover .app-shell {
  transform: rotateY(1deg) rotateX(0) translateY(-3px);
}

.app-rail {
  background: #f8fafc;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
}

.app-rail::before,
.app-rail::after {
  content: "";
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.35);
}

.app-rail::after {
  background: rgba(15, 23, 42, 0.12);
}

.app-main {
  padding: 0.65rem 0.7rem 0.75rem;
  background: #ffffff;
}

.app-main-dim .app-row {
  opacity: 0.4;
}

.app-top {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.55rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
  color: #0f172a;
}

.app-row.is-hot {
  background: #fef2f2;
  border-color: rgba(185, 28, 28, 0.3);
}

.app-row.is-warn {
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.3);
}

.app-badge {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #64748b;
}

.app-badge.danger {
  color: #b91c1c;
}

.app-badge.warn {
  color: #b45309;
}

.app-chips {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.app-chip {
  font-size: 0.72rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #64748b;
}

.app-chip.on {
  border-color: rgba(29, 78, 216, 0.45);
  background: #e0eaff;
  color: #1d4ed8;
  font-weight: 600;
}

.app-person {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.86rem;
  color: #0f172a;
}

.app-person span {
  color: #64748b;
  font-size: 0.78rem;
}

.app-person.danger {
  box-shadow: inset 3px 0 0 #b91c1c;
  background: #fef2f2;
  border-color: rgba(185, 28, 28, 0.25);
}

.app-person.danger span {
  color: #b91c1c;
  font-weight: 600;
}

.app-person.warn {
  box-shadow: inset 3px 0 0 #b45309;
  background: #fffbeb;
  border-color: rgba(180, 83, 9, 0.25);
}

.app-person.warn span {
  color: #b45309;
  font-weight: 600;
}

.app-cert {
  position: relative;
  padding: 1rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.app-cert-stamp {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid rgba(29, 78, 216, 0.45);
  color: #1d4ed8;
  font-size: 0.6rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: rotate(10deg);
}

.app-cert-h {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 1rem;
}

.app-cert-m {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: #64748b;
}

.app-line {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  width: 88%;
  margin-bottom: 0.35rem;
}

.app-line.short {
  width: 52%;
}

.app-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  color: #0f172a;
}

.app-map span {
  display: block;
  color: #64748b;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-map b {
  font-weight: 600;
}

.app-map-arrow {
  color: #1d4ed8;
  font-weight: 700;
}

.app-map.ok {
  border-color: rgba(4, 120, 87, 0.35);
  background: #ecfdf5;
}

.app-btn {
  margin-top: 0.45rem;
  text-align: center;
  padding: 0.55rem;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.app-hint {
  margin-top: 0.5rem;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(29, 78, 216, 0.45);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  position: relative;
  z-index: 2;
}

.app-hint-k {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1d4ed8;
  font-weight: 700;
}

.app-hint p:nth-child(2) {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: #0f172a;
  line-height: 1.35;
}

.app-hint-nav {
  display: flex;
  justify-content: flex-end;
}

.app-hint-nav span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: #1d4ed8;
}

.app-ease {
  display: grid;
  gap: 0.4rem;
}

.app-ease-item {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.86rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.app-ease-item.good {
  box-shadow: inset 3px 0 0 #047857;
}

.app-ease-item.help {
  box-shadow: inset 3px 0 0 #1d4ed8;
  border-color: rgba(29, 78, 216, 0.3);
  background: #e0eaff;
}

.ui-win {
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(224, 137, 42, 0.1), transparent 40%),
    rgba(16, 22, 32, 0.95);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.45s ease;
}

.feature:hover .ui-win {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.feature-flip .ui-win {
  transform: rotateY(6deg) rotateX(3deg);
}

.feature-flip:hover .ui-win {
  transform: rotateY(2deg) rotateX(1deg) translateY(-4px);
}

.ui-chrome {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.ui-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(238, 243, 248, 0.2);
}

.ui-chrome span:nth-child(1) {
  background: #e07171;
}
.ui-chrome span:nth-child(2) {
  background: #e0b35a;
}
.ui-chrome span:nth-child(3) {
  background: #6fbf86;
}

.ui-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.ui-row b {
  font-weight: 600;
}

.ui-row em {
  font-style: normal;
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.ui-row.is-hot {
  border-color: rgba(220, 70, 70, 0.45);
  background: rgba(220, 70, 70, 0.12);
}

.ui-row.is-hot em {
  color: #ff8d8d;
}

.ui-row.is-warn {
  border-color: rgba(224, 137, 42, 0.4);
  background: rgba(224, 137, 42, 0.1);
}

.ui-row.is-warn em {
  color: var(--accent-2);
}

.ui-chip-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.ui-chip {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.ui-chip.is-on {
  border-color: rgba(224, 137, 42, 0.5);
  color: var(--accent-2);
  background: rgba(224, 137, 42, 0.12);
}

.ui-person {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
}

.ui-person span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.ui-person.is-danger {
  background: rgba(220, 70, 70, 0.14);
  box-shadow: inset 3px 0 0 #dc4646;
}

.ui-person.is-warn {
  background: rgba(224, 137, 42, 0.12);
  box-shadow: inset 3px 0 0 var(--accent);
}

.ui-cert {
  position: relative;
  padding: 1.1rem 1rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7f4ee, #ebe4d6);
  color: #1a1f28;
  min-height: 9rem;
}

.ui-cert-stamp {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid rgba(224, 137, 42, 0.7);
  color: #c46d1a;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: rotate(12deg);
}

.ui-cert-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.ui-cert-meta {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: #5c6570;
}

.ui-cert-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(26, 31, 40, 0.12);
  margin-bottom: 0.4rem;
  width: 88%;
}

.ui-cert-bar.short {
  width: 55%;
}

.ui-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.ui-compare > div {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.ui-compare p {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.ui-tag {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fd4a8;
}

.ui-tag.is-muted {
  color: var(--accent-2);
}

.ui-tag.is-danger {
  color: #ff8d8d;
}

.ui-apply {
  text-align: center;
  padding: 0.65rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1208;
  font-weight: 700;
  font-size: 0.88rem;
}

.ui-desk {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.55rem;
  min-height: 8.5rem;
}

.ui-desk-rail {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(224, 137, 42, 0.35), rgba(61, 126, 166, 0.2));
}

.ui-desk-main {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.ui-desk-line {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(238, 243, 248, 0.14);
  width: 90%;
}

.ui-desk-line.short {
  width: 48%;
}

.ui-desk-badge {
  margin-top: 0.4rem;
  justify-self: start;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 212, 168, 0.35);
  color: #8fd4a8;
}

/* Sliding windows (legacy, unused) */
.slider {
  position: relative;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 320px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  scroll-snap-align: start;
  min-height: 220px;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(61, 126, 166, 0.12), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.slide.is-active {
  border-color: rgba(224, 137, 42, 0.45);
  transform: translateY(-4px);
}

.slide-kicker {
  margin: 0 0 1.1rem;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.slide h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.slide p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}

.slider-btn:hover {
  border-color: rgba(224, 137, 42, 0.5);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
  flex: 1;
  justify-content: center;
}

.slider-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(238, 243, 248, 0.22);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--accent);
  width: 1.25rem;
}

.strip {
  max-width: none;
  padding-block: 4rem;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(224, 137, 42, 0.08), rgba(61, 126, 166, 0.1), transparent);
}

.strip-line {
  max-width: 18ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-trial {
  border-color: rgba(125, 206, 160, 0.35);
}
.plan-trial .plan-kicker {
  color: #7dcea0;
}
.plan-trial .plan-amount {
  color: #7dcea0;
}
.plan-billing .plan-bopt:disabled {
  opacity: 0.85;
  cursor: default;
}

.quote-band {
  margin-top: 1.1rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 137, 42, 0.45);
  background:
    linear-gradient(135deg, rgba(224, 137, 42, 0.16), rgba(61, 126, 166, 0.1)),
    rgba(20, 28, 39, 0.7);
  display: grid;
  gap: 1.1rem;
  align-items: center;
}

@media (min-width: 860px) {
  .quote-band {
    grid-template-columns: 1fr auto;
    padding: 1.75rem 1.9rem;
  }
}

.quote-band-kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
}

.quote-band h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.quote-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 44ch;
}

.plan {
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}

.plan h3 {
  font-size: 1.25rem;
}

.plan .btn {
  padding: 0.6rem 1.1rem;
}

.plan-featured {
  border-color: rgba(224, 137, 42, 0.45);
  background: linear-gradient(180deg, rgba(224, 137, 42, 0.1), rgba(255, 255, 255, 0.02));
}

.plan-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.plan-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan-price-soft {
  font-size: 1.55rem;
  color: var(--accent-2);
}

.plan-amount {
  display: inline;
}

.plan-per {
  display: inline;
  margin-top: 0;
  margin-left: 0.35rem;
  font-family: var(--font-body, inherit);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: middle;
}

.plan-total {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body, inherit);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-2);
}

.plan-billing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.2rem;
  margin: 0.5rem 0 0.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 20, 0.55);
}

.plan-bopt {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 9px;
  padding: 0.35rem 0.15rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.plan-bopt i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-2);
}

.plan-bopt:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.plan-bopt.is-on {
  background: rgba(224, 137, 42, 0.16);
  border: 1px solid rgba(224, 137, 42, 0.45);
  padding: 0.3rem 0.1rem;
  color: var(--ink);
  font-weight: 700;
}

.plan-bopt.is-on i {
  color: var(--accent-2);
}

.plan-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-limits {
  margin: 0 0 0.3rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  display: grid;
  gap: 0.22rem;
  flex: 1;
}

.plan-limits strong {
  color: var(--ink);
  font-weight: 600;
}

.plan .btn {
  align-self: flex-start;
}

.pricing-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
}

.pricing-req {
  margin: 0.7rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.82rem;
}

.pricing-req strong {
  color: var(--ink);
}

.order-box {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.order-box .section-head {
  margin-bottom: 1.1rem;
}

.order-form {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.order-summary {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary-k {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.order-summary-line {
  margin: 0.15rem 0 0;
}

#order-summary-plan {
  color: var(--accent-2);
  text-decoration: none;
}

.order-summary-actions {
  margin: 0.55rem 0 0;
}

.order-change-plan {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
  padding: 0;
  background: none;
}

.order-change-plan:hover {
  color: #ffd27a;
}

.order-box .section-head .order-change-plan {
  font-size: inherit;
  font-weight: 700;
}

.order-empty {
  margin: 0;
  font-size: 0.92rem;
}

.order-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.35rem 0 0.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
  color: var(--text);
}

.order-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.order-check a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-field {
  margin: 0.55rem 0 0.35rem;
}

.promo-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.15rem;
}

.promo-row input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 1rem;
  margin-top: 0;
}

@media (max-width: 480px) {
  .promo-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .promo-row input {
    width: 100%;
    flex: 1 1 100%;
  }

  .promo-row .btn {
    margin-top: 0.15rem;
  }
}

.promo-msg {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
}

.promo-msg.is-ok {
  color: var(--ok, #3d8b5c);
}

.promo-msg.is-err {
  color: var(--err, #c44);
}

.order-form #order-submit:disabled,
.order-form #order-submit.is-dim {
  background: #3a3f46;
  color: #9aa3ad;
  filter: none;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.order-form #order-submit:disabled:hover,
.order-form #order-submit.is-dim:hover {
  filter: none;
  transform: none;
  background: #3a3f46;
  color: #9aa3ad;
}

.order-form #order-submit:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1208;
}

.plan-buy {
  width: 100%;
  margin-top: 0.35rem;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form a {
  color: var(--accent-2);
}

.download {
  text-align: left;
}

.contact-form {
  max-width: 36rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.contact-form textarea {
  min-height: 5.5rem;
  height: 5.5rem;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 2.2rem;
  }
}

.contact-card {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.contact-company {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-dl > div {
  display: grid;
  gap: 0.15rem;
}

.contact-dl dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-2);
}

.contact-dl dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}

.contact-dl a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 179, 90, 0.45);
}

.contact-dl a:hover {
  color: var(--accent-2);
}

.field-row {
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .slider-track {
    grid-auto-columns: minmax(42%, 280px);
  }

  .hero {
    align-items: center;
    padding-top: 6rem;
  }
}

@media (min-width: 960px) {
  .slider-track {
    grid-auto-columns: minmax(30%, 260px);
  }
}

.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  font: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(224, 137, 42, 0.55);
  box-shadow: 0 0 0 3px rgba(224, 137, 42, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-note.is-ok {
  color: #8fd4a8;
}

.form-note.is-err {
  color: #f0a0a0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto 1rem;
}

.footer-payments {
  flex: 1 1 12rem;
  min-width: 11rem;
}

.footer-payments-k {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-pay-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.footer-pay-flags img {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-legal {
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 22rem;
}

.footer-legal p {
  margin: 0 0 0.2rem;
}

.footer-legal a {
  color: var(--accent-2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes atmosphere-shift {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(8deg) saturate(1.08);
  }
}

@keyframes photo-drift {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1.5%, 1%);
  }
}

@keyframes desk-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(1.5%, -1.2%) scale(1.03);
  }
}

@keyframes monitor-breathe {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

@keyframes clip-float {
  from {
    transform: translate(0, 0) rotate(-2deg);
  }
  to {
    transform: translate(4px, -10px) rotate(2deg);
  }
}

@keyframes hat-nudge {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-6px, -4px) rotate(-4deg);
  }
}

@keyframes mug-steam {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-5px);
    opacity: 0.85;
  }
}

@keyframes spark {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: translateY(-8px);
  }
}

@keyframes desk-drift-mobile {
  from {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  to {
    transform: translateX(-50%) translateY(-8px) scale(1.02);
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.55rem 0.65rem;
    gap: 0.65rem;
    overflow: hidden;
  }

  .brand {
    flex: 0 0 auto;
    max-width: 42%;
  }

  .brand-lockup {
    height: 1.65rem;
    max-width: 100%;
    width: auto;
    padding: 0.18rem 0.35rem;
    border-radius: 7px;
  }

  .nav {
    gap: 0.45rem;
    font-size: 0.76rem;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .nav a:first-child {
    display: none;
  }

  .nav a {
    white-space: nowrap;
  }

  .crew-rail {
    display: none;
  }

  .hero-video.is-playing.is-active {
    opacity: 0.7;
  }

  .hero-photo-veil {
    background:
      linear-gradient(180deg, rgba(12, 18, 25, 0.55) 0%, rgba(12, 18, 25, 0.4) 38%, rgba(12, 18, 25, 0.88) 100%),
      linear-gradient(90deg, rgba(12, 18, 25, 0.55) 0%, transparent 70%);
  }
}

@media (max-width: 400px) {
  .brand {
    max-width: 38%;
  }

  .brand-lockup {
    height: 1.5rem;
    padding: 0.14rem 0.28rem;
  }

  .nav {
    gap: 0.35rem;
    font-size: 0.7rem;
  }
}

/* Legal documents */
.legal-page .site-header {
  background: rgba(12, 18, 25, 0.96);
}

.legal {
  max-width: 48rem;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.legal-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 700;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.legal-meta {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal section {
  margin-bottom: 2rem;
}

.legal h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal ol,
.legal ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

.legal li {
  margin-bottom: 0.55rem;
}

.legal li ul {
  margin-top: 0.45rem;
}

.legal p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

.legal a {
  color: var(--accent-2);
}

.legal a.btn-primary {
  color: #1a1208;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-docs {
  margin-top: 0.65rem !important;
}

.footer-docs a {
  color: var(--accent-2);
}

/* —— Prawdziwe widoki z aplikacji (screenshoty) —— */
.shot-frame {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #eef2f7;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4);
  transform: none;
}
.feature:hover .shot-frame {
  transform: translateY(-3px);
}
.feature-flip .shot-frame {
  transform: none;
}
.feature-flip:hover .shot-frame {
  transform: translateY(-3px);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* Rotator: dwa screeny (crossfade) */
.shot-rotator {
  display: grid;
  gap: 0.7rem;
}
.shot-rotator-frame {
  position: relative;
}
.shot-rotator-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 960;
  background: #eef2f7;
}
.shot-rotator-stack--portrait {
  display: grid;
  aspect-ratio: auto;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  background: #fff;
}
.shot-rotator-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  background: #eef2f7;
}
.shot-rotator-stack img.is-active {
  opacity: 1;
  z-index: 1;
}
.shot-rotator-stack--portrait img {
  grid-area: 1 / 1;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  /* nieaktywny nie rozpycha wysokości — inaczej menu ma dziurę pod listą */
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.shot-rotator-stack--portrait img.is-active {
  position: relative;
  opacity: 1;
  z-index: 1;
}
.shot-rotator-frame:has(.shot-rotator-stack--portrait) {
  max-width: 22rem;
  margin-inline: auto;
  background: #fff;
}
.shot-frame-cert {
  max-width: 22rem;
  margin-inline: auto;
  background: #fff;
}
.shot-frame-cert img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-rotator-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.15rem;
}
.shot-rotator-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.shot-rotator-dots {
  display: flex;
  gap: 0.4rem;
}
.shot-rotator-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(238, 243, 248, 0.28);
  cursor: pointer;
}
.shot-rotator-dots button.is-active {
  background: var(--accent);
}

.shot-tour {
  position: relative;
}
.shot-tour-caption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  animation: tour-pop 0.45s ease both;
}
.shot-mascot {
  flex: 0 0 auto;
  width: 2.6rem;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}
.shot-tour-caption .ui-tour-k {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.shot-tour-caption p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #0f172a;
}

/* Demo mapowania — jak prawdziwy mapper w BHPhub */
.map-stage {
  position: relative;
  padding-top: 0.35rem;
}
.map-hint {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
}
.map-ludzik {
  flex: 0 0 auto;
  line-height: 0;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}
.map-hint-bubble {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
.map-hint-bubble .ui-tour-k {
  margin: 0 0 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.map-hint-bubble p[data-map-text] {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #0f172a;
}

.tpl-demo {
  position: relative;
  background: #fff;
  color: #0f172a;
  overflow: hidden;
}
.tpl-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid #e2e8f0;
}
.tpl-demo-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
}
.tpl-demo-ico {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3e8ff;
  color: #7c3aed;
}
.tpl-demo-x {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1;
}
.tpl-demo-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid #e2e8f0;
}
.tpl-demo-top label {
  display: grid;
  gap: 0.18rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
}
.tpl-demo-top label span {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 500;
}
.tpl-demo-drop {
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.35rem;
}
.tpl-demo-drop small {
  color: #64748b;
  font-weight: 500;
}
.tpl-demo-main {
  display: grid;
  grid-template-columns: minmax(8rem, 0.36fr) 1fr;
  min-height: 13.5rem;
  gap: 0;
  border-top: 0;
}
.tpl-demo-side {
  padding: 0.5rem;
  border-right: 1px solid #e2e8f0;
  overflow: visible;
}
.tpl-demo-side-k {
  margin: 0 0 0.35rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.tpl-chip {
  display: block;
  width: 100%;
  margin: 0 0 0.28rem;
  padding: 0.28rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--tpl-bd, #d0d5dd);
  background: var(--tpl-bg, #fff);
  color: var(--tpl-strong, #0f172a);
  font-size: 0.58rem;
  font-weight: 650;
  text-align: left;
  line-height: 1.2;
  cursor: default;
}
.tpl-chip.is-active { outline: 2px solid var(--tpl-strong); outline-offset: 1px; }
.tpl-chip.is-used { opacity: 0.45; }
.tpl-tone-0 { --tpl-bg: #e8f6f1; --tpl-bd: #7dcfb6; --tpl-strong: #1f8a6a; }
.tpl-tone-1 { --tpl-bg: #eef3fb; --tpl-bd: #8aafe0; --tpl-strong: #2f6fad; }
.tpl-tone-2 { --tpl-bg: #fbf0e6; --tpl-bd: #e0b48a; --tpl-strong: #b06a2a; }
.tpl-tone-3 { --tpl-bg: #f6eef5; --tpl-bd: #c89bc4; --tpl-strong: #8a4a82; }
.tpl-tone-4 { --tpl-bg: #f3f6e8; --tpl-bd: #b5c97d; --tpl-strong: #6a8428; }
.tpl-tone-5 { --tpl-bg: #f8ecec; --tpl-bd: #d49a9a; --tpl-strong: #a04545; }

.tpl-demo-doc {
  position: relative;
  padding: 0.5rem 0.65rem 1.5rem;
  min-width: 0;
}
.tpl-demo-doc-k {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tpl-demo-paper {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #0f172a;
}
.tpl-tag {
  display: inline-block;
  padding: 0.08rem 0.35rem;
  margin: 0 0.1rem;
  border-radius: 5px;
  border: 1px solid var(--tpl-bd);
  background: var(--tpl-bg);
  color: var(--tpl-strong);
  font-size: 0.62rem;
  font-weight: 700;
  vertical-align: baseline;
}
.tpl-tag.is-empty {
  opacity: 0.55;
  font-weight: 600;
}
.tpl-slot {
  display: inline-flex;
  align-items: center;
  min-height: 1.15rem;
  padding: 0.08rem 0.4rem;
  margin: 0 0.1rem;
  border-radius: 5px;
  border: 1px dashed #f59e0b;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.58rem;
  font-weight: 600;
  vertical-align: baseline;
}
.tpl-slot.is-target {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.28);
}
.tpl-slot.is-filled {
  border-style: solid;
  border-color: var(--tpl-bd, #b5c97d);
  background: var(--tpl-bg, #f3f6e8);
  color: var(--tpl-strong, #6a8428);
  font-weight: 700;
}
.tpl-demo-assign {
  position: absolute;
  right: 0.65rem;
  bottom: 0.35rem;
  font-size: 0.62rem;
  color: #64748b;
}
.map-ghost {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1), top 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  width: auto !important;
  margin: 0;
}

@media (max-width: 720px) {
  .tpl-demo-top { grid-template-columns: 1fr; }
  .tpl-demo-main { grid-template-columns: 1fr; }
  .tpl-demo-side { border-right: 0; border-bottom: 1px solid #e2e8f0; }
}

/* —— Mockupy jak BHPhub (jasny motyw) —— */
.feature-stage .ui-win {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4);
  transform: rotateY(-4deg) rotateX(2deg);
}
.feature:hover .feature-stage .ui-win {
  transform: rotateY(-1deg) rotateX(0) translateY(-3px);
}
.feature-flip .feature-stage .ui-win {
  transform: rotateY(4deg) rotateX(2deg);
}
.feature-flip:hover .feature-stage .ui-win {
  transform: rotateY(1deg) rotateX(0) translateY(-3px);
}

.feature-stage .ui-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.ui-win-tour .ui-chrome {
  justify-content: flex-start;
}
.feature-stage .ui-chrome > span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.ui-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}
.ui-brand-logo {
  display: block;
  height: 1.35rem;
  width: auto;
  object-fit: contain;
}
.ui-tabs {
  display: inline-flex;
  gap: 0.35rem;
}
.ui-tabs em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  color: #64748b;
  border: 1px solid transparent;
}
.ui-tabs em.on {
  color: #0f172a;
  background: #dbeafe;
  border-color: rgba(29, 78, 216, 0.35);
}

.ui-body {
  padding: 0.65rem 0.75rem 0.8rem;
  background: #fff;
}
.ui-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.ui-toolbar strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.ui-search {
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #94a3b8;
  font-size: 0.72rem;
}
.ui-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}
.ui-btn.primary {
  background: rgba(29, 78, 216, 0.14);
  border-color: rgba(29, 78, 216, 0.4);
}
.ui-btn.ghost { background: #fff; }
.ui-btn.pulse {
  animation: cta-pulse 1.6s ease-in-out infinite;
}
.ui-chip {
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #64748b;
}
.ui-chip.on {
  background: #dbeafe;
  border-color: rgba(29, 78, 216, 0.35);
  color: #1e3a8a;
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
}
.ui-table th,
.ui-table td {
  padding: 0.35rem 0.4rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  white-space: nowrap;
}
.ui-table thead th {
  background: #eef2f7;
  color: #475569;
  font-weight: 600;
  font-size: 0.65rem;
}
.ui-table tbody tr.hot td { background: #fef2f2; }
.ui-table tbody tr.warn td { background: #fff7ed; }

.ui-firm-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.ui-kebab {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ui-firm-logo-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
}
.ui-firm-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e3a8a;
  background: #dbeafe;
  border: 1px solid rgba(29, 78, 216, 0.28);
}
.ui-firm-badge {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 0.95rem;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.ui-firm-text {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-emp {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ui-emp b { font-size: 0.78rem; }
.ui-emp small {
  font-size: 0.55rem;
  color: #64748b;
  font-weight: 500;
}
.ui-table-firms td.num { text-align: right; }

.ui-pill {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  font-size: 0.62rem;
  font-weight: 600;
}
.ui-pill.danger {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}
.ui-pill.warn {
  background: #ffedd5;
  border-color: #fdba74;
  color: #c2410c;
}
.danger-t { color: #b91c1c; font-weight: 700; }
.warn-t { color: #c2410c; font-weight: 700; }

.ui-filters th span {
  display: block;
  height: 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}

.ui-form {
  display: grid;
  gap: 0.4rem;
}
.ui-form-2 {
  grid-template-columns: 1fr 1fr;
}
.ui-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 600;
}
.ui-form label.wide { grid-column: 1 / -1; }
.ui-form label span {
  display: block;
  height: 1.55rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}
.ui-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.form-demo {
  background: #fff;
  color: #0f172a;
}
.form-demo-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.form-demo-chrome .ui-brand-logo {
  height: 1.25rem;
  width: auto;
}
.form-demo-tab {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  color: #1e3a8a;
  background: #dbeafe;
  border: 1px solid rgba(29, 78, 216, 0.35);
}
.form-demo-body {
  padding: 0.85rem;
}
.form-demo .ui-form label span {
  display: flex;
  align-items: center;
  min-height: 1.7rem;
  height: auto;
  padding: 0.35rem 0.55rem;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
}

.ui-tour-bubble {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.7rem;
  z-index: 5;
  margin: 0;
  padding: 0.65rem 0.75rem 0.7rem;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.04),
    0 14px 28px rgba(15, 23, 42, 0.16);
  animation: tour-pop 0.45s ease both;
}
.ui-body-tour {
  position: relative;
  min-height: 11.5rem;
  padding-bottom: 5.5rem;
}
.ui-tour-dim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 2;
  pointer-events: none;
}
.ui-tour-hole {
  position: absolute;
  z-index: 3;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px #f59e0b,
    0 0 0 9999px rgba(15, 23, 42, 0.42);
  pointer-events: none;
  transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
}
.ui-tour-q {
  margin-left: auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}
.ui-chrome .ui-tour-q { flex: 0 0 auto; }
.ui-tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.ui-tour-k {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ui-tour-x {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1;
}
.ui-tour-bubble p[data-tour-text] {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #0f172a;
}
.ui-tour-nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}
.ui-tour-next {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.ui-tour-dots {
  display: flex;
  gap: 0.3rem;
}
.ui-tour-dots i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #cbd5e1;
  display: inline-block;
}
.ui-tour-dots i.on {
  background: #1d4ed8;
  width: 0.85rem;
}

.ui-body-tour .ui-toolbar,
.ui-body-tour .ui-table {
  position: relative;
  z-index: 1;
}
.ui-body-tour .ui-btn.pulse {
  position: relative;
  z-index: 4;
}

.ui-ease {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.25rem;
}
.ui-ease-item {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 3px 0 0 #047857;
  color: #0f172a;
}
.ui-ease-item.accent {
  box-shadow: inset 3px 0 0 #1d4ed8;
  background: #e0eaff;
  border-color: rgba(29, 78, 216, 0.25);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(29, 78, 216, 0); }
}
@keyframes tour-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .ui-form-2 { grid-template-columns: 1fr; }
}
