:root {
  --topbar-h: 92px;
  --logo-size: 72px;
  --menu-alpha: 0.70;
  --menu-alpha-strong: 0.78;
  --bg: #101012;
  --ink: #f3f3f2;
  --muted: rgba(243, 243, 242, 0.72);
  --chalk: rgba(243, 243, 242, 0.08);
  --red: #8f1d1d;
  --red-2: #c42c2c;
  --gold: #d2a64a;
  --black: #0c0b0c;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.42);

  /* Theme-friendly surfaces */
  --accent-surface: rgba(143, 29, 29, var(--menu-alpha));
  --accent-surface-strong: rgba(143, 29, 29, var(--menu-alpha-strong));

  --primary-btn-bg: linear-gradient(145deg, #161214, #0f0c0d);
  --primary-btn-border: rgba(255, 255, 255, 0.22);
  --primary-btn-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  --ui-primary-bg: linear-gradient(135deg, #8c2ee6, #ff2f92);
  --ui-primary-bg-hover: linear-gradient(135deg, #993bf0, #ff43a0);
  --ui-primary-border: rgba(140, 46, 230, 0.34);
  --ui-primary-shadow: 0 16px 28px rgba(159, 35, 124, 0.24);
  --ui-secondary-bg: linear-gradient(180deg, rgba(246, 246, 248, 0.98), rgba(220, 221, 228, 0.96));
  --ui-secondary-bg-hover: linear-gradient(180deg, rgba(239, 240, 244, 1), rgba(212, 214, 222, 1));
  --ui-secondary-border: rgba(99, 86, 102, 0.18);
  --ui-secondary-border-hover: rgba(99, 86, 102, 0.26);
  --ui-secondary-color: #342c36;
  --ui-secondary-shadow:
    0 10px 20px rgba(34, 24, 32, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);

  --highlight: rgba(210, 166, 74, 0.92);
  --highlight-strong: rgba(210, 166, 74, 0.95);
  --highlight-clear: rgba(210, 166, 74, 0.0);
  --highlight-ring: rgba(210, 166, 74, 0.85);
}

/* Theme presets (set via admin -> Aparência) */
body[data-theme="neon"] {
  --bg:
    radial-gradient(circle at 20% 60%, rgba(124, 58, 237, 0.55), transparent 60%),
    radial-gradient(circle at 80% 58%, rgba(236, 72, 153, 0.55), transparent 62%),
    linear-gradient(180deg, #0b0c10, #0f1016);
  --red: #6d28d9;
  --red-2: #ff2d9a;
  --accent-surface: linear-gradient(90deg, rgba(109, 40, 217, var(--menu-alpha)), rgba(255, 45, 154, var(--menu-alpha)));
  --accent-surface-strong: linear-gradient(90deg, rgba(109, 40, 217, var(--menu-alpha-strong)), rgba(255, 45, 154, var(--menu-alpha-strong)));
  --primary-btn-bg: linear-gradient(90deg, #6d28d9, #ff2d9a);
  --primary-btn-border: rgba(255, 255, 255, 0.24);
  --primary-btn-shadow: 0 16px 34px rgba(124, 58, 237, 0.22);
  --highlight: rgba(255, 45, 154, 0.92);
  --highlight-strong: rgba(255, 45, 154, 0.95);
  --highlight-clear: rgba(255, 45, 154, 0.0);
  --highlight-ring: rgba(255, 45, 154, 0.85);
}

body[data-theme="aqua"] {
  --bg:
    radial-gradient(circle at 18% 62%, rgba(37, 99, 235, 0.5), transparent 62%),
    radial-gradient(circle at 82% 58%, rgba(34, 211, 238, 0.5), transparent 62%),
    linear-gradient(180deg, #070b12, #0a0f18);
  --red: #2563eb;
  --red-2: #22d3ee;
  --accent-surface: linear-gradient(90deg, rgba(37, 99, 235, var(--menu-alpha)), rgba(34, 211, 238, var(--menu-alpha)));
  --accent-surface-strong: linear-gradient(90deg, rgba(37, 99, 235, var(--menu-alpha-strong)), rgba(34, 211, 238, var(--menu-alpha-strong)));
  --primary-btn-bg: linear-gradient(90deg, #2563eb, #22d3ee);
  --primary-btn-border: rgba(255, 255, 255, 0.24);
  --primary-btn-shadow: 0 16px 34px rgba(34, 211, 238, 0.2);
  --highlight: rgba(34, 211, 238, 0.9);
  --highlight-strong: rgba(34, 211, 238, 0.95);
  --highlight-clear: rgba(34, 211, 238, 0.0);
  --highlight-ring: rgba(34, 211, 238, 0.85);
}

body[data-theme="lime"] {
  --bg:
    radial-gradient(circle at 18% 62%, rgba(34, 197, 94, 0.52), transparent 62%),
    radial-gradient(circle at 82% 58%, rgba(163, 230, 53, 0.52), transparent 62%),
    linear-gradient(180deg, #070b0a, #0b1010);
  --red: #22c55e;
  --red-2: #a3e635;
  --accent-surface: linear-gradient(90deg, rgba(34, 197, 94, var(--menu-alpha)), rgba(163, 230, 53, var(--menu-alpha)));
  --accent-surface-strong: linear-gradient(90deg, rgba(34, 197, 94, var(--menu-alpha-strong)), rgba(163, 230, 53, var(--menu-alpha-strong)));
  --primary-btn-bg: linear-gradient(90deg, #22c55e, #a3e635);
  --primary-btn-border: rgba(255, 255, 255, 0.24);
  --primary-btn-shadow: 0 16px 34px rgba(34, 197, 94, 0.2);
  --highlight: rgba(163, 230, 53, 0.9);
  --highlight-strong: rgba(163, 230, 53, 0.95);
  --highlight-clear: rgba(163, 230, 53, 0.0);
  --highlight-ring: rgba(163, 230, 53, 0.85);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }

.lp {
  min-height: 100svh;
}

.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: var(--accent-surface);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-topbar-inner {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lp-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.lp-logo svg { width: calc(var(--logo-size) * 0.56); height: calc(var(--logo-size) * 0.56); }
.lp-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }

.lp-brand span {
  display: grid;
  line-height: 1;
}

.lp-brand strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
}

.lp-brand small {
  opacity: 0.82;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.lp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.94);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.0);
}

.lp-nav a:hover,
.lp-nav a.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
  color: rgba(20, 12, 12, 0.96);
}

.lp-nav svg { width: 18px; height: 18px; opacity: 0.92; }

.lp-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.lp-btn {
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid var(--ui-secondary-border);
  background: var(--ui-secondary-bg);
  color: var(--ui-secondary-color);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
  box-shadow: var(--ui-secondary-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.lp-btn.primary {
  background: var(--ui-primary-bg);
  border-color: var(--ui-primary-border);
  color: #ffffff;
  box-shadow: var(--ui-primary-shadow);
}

.lp-btn.primary:hover {
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.lp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  width: 100%;
  height: 1000px;
  min-height: 600px;
  max-height: calc(100svh - var(--topbar-h));
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.hero-track {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.78s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: stretch;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Use standard flex shorthand order for wider browser compatibility. */
  flex: 1 1 33.333%;
  min-width: 0;
  height: 100%;
  transition: flex 0.3s ease;
  cursor: pointer;
}

.hero-slide:hover .hero-panel { flex: 1 1 25%; }
.hero-slide:hover .hero-panel:hover { flex: 1 1 50%; }
/* Keyboard support (panels are focusable via tabindex in the template). */
.hero-slide:focus-within .hero-panel { flex: 1 1 25%; }
.hero-slide:focus-within .hero-panel:focus { flex: 1 1 50%; }
.hero-panel:focus { outline: none; }
.hero-panel:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.88); outline-offset: -3px; }

.hero-panel + .hero-panel { border-left: 5px solid #fff; }

.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: all 1s;
  filter: saturate(1.02) contrast(1.02);
}

.hero-panel:hover .hero-bg {
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(1.02);
}

.hero-legend {
  max-width: 75%;
  max-height: 60%;
  max-height: calc(100% - 250px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  pointer-events: none;
}

.hero-panel:hover .hero-legend {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: auto;
}

.hero-legend-card {
  width: min(720px, 78%);
  max-height: none;
  padding: clamp(16px, 2.2vw, 26px) clamp(16px, 2.2vw, 28px);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(1.1);
  text-align: center;
  color: #0f0f0f;
  display: grid;
  gap: 8px;
}

.hero-legend-card .kicker {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1b1b1b;
}

.hero-legend-card .title {
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.02;
}

.hero-legend-card .sub {
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #2a2a2a;
}

.hero-center-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 22px 22px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.52));
}

.hero-center-copy .eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-center-copy h1 {
  margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: 0.06em;
}

.hero-center-copy p {
  margin: 0 auto;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-center-copy .cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ui-primary-bg);
  border: 1px solid var(--ui-primary-border);
  color: #ffffff;
  box-shadow: var(--ui-primary-shadow);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-center-copy .cta:hover {
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.hero-dots {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 18, 20, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(20, 12, 12, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.hero-scroll:hover { transform: translateX(-50%) translateY(-1px); }

.hero-scroll svg { animation: hero-bounce 1.6s ease-in-out infinite; }

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.systems-front {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-top: 110px;
  background:
    radial-gradient(circle at 12% 18%, rgba(170, 191, 223, 0.18), transparent 38%),
    linear-gradient(180deg, #f8fafc, #edf2f6);
  color: #161416;
}

.systems-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(143, 47, 240, 0.04), transparent 40%),
    radial-gradient(circle at 86% 22%, rgba(66, 82, 112, 0.08), transparent 28%);
  pointer-events: none;
}

.systems-front .wrap {
  position: relative;
  z-index: 1;
}

.systems-front-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.systems-front-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(20, 18, 20, 0.68);
}

.systems-front-head h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.07em;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.systems-front-head p {
  margin: 12px 0 0;
  max-width: 66ch;
  color: rgba(20, 18, 20, 0.72);
  line-height: 1.65;
  font-weight: 600;
}

.systems-front-rail {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.systems-front-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 18, 20, 0.08);
  color: rgba(20, 18, 20, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(43, 54, 71, 0.08);
}

.systems-front-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.systems-equal-card {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(20, 18, 20, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px rgba(43, 54, 71, 0.12);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.systems-equal-card.is-highlight {
  z-index: 2;
  border-color: rgba(131, 142, 184, 0.22);
  background:
    radial-gradient(circle at 12% 10%, rgba(223, 232, 244, 0.46), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(233, 220, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(243, 247, 251, 0.99));
  box-shadow:
    0 40px 82px rgba(72, 88, 116, 0.20),
    0 18px 36px rgba(126, 138, 170, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.68) inset;
}

.systems-equal-card.is-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(180deg, rgba(143, 47, 240, 0.06), transparent 24%);
}

.systems-equal-card.is-highlight::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #8f2ff0, #4f8dff 48%, #ff49a5);
  pointer-events: none;
  z-index: 3;
}

.systems-equal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(92, 107, 129, 0.18), rgba(208, 218, 231, 0.22));
  overflow: hidden;
}

.systems-equal-card.is-highlight .systems-equal-media {
  background: linear-gradient(135deg, rgba(143, 47, 240, 0.14), rgba(196, 219, 246, 0.24));
}

.systems-equal-card.is-highlight .systems-equal-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(80, 73, 143, 0.12));
  pointer-events: none;
}

.systems-equal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.systems-equal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(143, 29, 29, 0.94);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(77, 16, 21, 0.2);
}

.systems-equal-card.is-highlight .systems-equal-badge {
  min-height: 40px;
  padding: 0 14px;
  background: linear-gradient(135deg, #9f2222, #d54a29);
  box-shadow: 0 18px 34px rgba(104, 28, 19, 0.28);
}

.systems-equal-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.systems-equal-card.is-highlight .systems-equal-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(241, 246, 251, 0.88));
}

.systems-equal-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(20, 18, 20, 0.62);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.systems-equal-topline strong {
  color: #161416;
  font-size: 1rem;
  letter-spacing: 0;
}

.systems-equal-card.is-highlight .systems-equal-topline strong {
  color: #5f3aa0;
  font-size: 1.12rem;
}

.systems-equal-card h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
}

.systems-equal-card.is-highlight h3 {
  color: #3d2b59;
}

.systems-equal-card p {
  margin: 0;
  color: rgba(20, 18, 20, 0.72);
  line-height: 1.65;
  font-weight: 600;
}

.systems-equal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.systems-equal-meta span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 12px;
  text-align: center;
  border-radius: 18px;
  background: rgba(20, 18, 20, 0.05);
  border: 1px solid rgba(20, 18, 20, 0.06);
  color: #161416;
  font-size: 0.88rem;
  font-weight: 800;
}

.systems-equal-card.is-highlight .systems-equal-meta span {
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(237, 242, 247, 0.96));
  border-color: rgba(131, 142, 184, 0.18);
  box-shadow: 0 12px 24px rgba(71, 86, 111, 0.08);
}

.systems-equal-card.is-highlight .systems-equal-actions .lp-btn.primary {
  box-shadow: 0 18px 34px rgba(176, 52, 107, 0.28);
}

.systems-equal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(20, 18, 20, 0.78);
  font-weight: 700;
  flex: 1;
}

.systems-front-actions,
.systems-equal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.systems-front .lp-btn:not(.primary) {
  background: var(--ui-secondary-bg);
  border-color: var(--ui-secondary-border);
  color: var(--ui-secondary-color);
  box-shadow: var(--ui-secondary-shadow);
}

.systems-front .lp-btn:not(.primary):hover {
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.license-sales-callout {
  margin-top: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 28px;
  border: 1px solid rgba(92, 107, 129, 0.10);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(236, 242, 248, 0.96)),
    linear-gradient(135deg, rgba(143, 47, 240, 0.05), rgba(79, 141, 255, 0.05));
  box-shadow: 0 18px 40px rgba(43, 54, 71, 0.10);
}

.license-sales-callout-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(71, 84, 106, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.license-sales-callout h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: #1f1d25;
}

.license-sales-callout p {
  margin: 10px 0 0;
  max-width: 62ch;
  color: rgba(53, 61, 75, 0.74);
  line-height: 1.7;
  font-weight: 600;
}

.license-sales-callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--topbar-h) + 12px);
}

.wrap {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: clamp(2.0rem, 4vw, 3.2rem);
}

.section-title p {
  margin: 10px auto 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.6;
}

.chalkboard {
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.07), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, #171619, #0f0e10);
  position: relative;
  overflow: hidden;
}

.chalkboard::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.06), transparent 30%),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.05), transparent 35%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 7px);
  pointer-events: none;
}

.chalk-title {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.chalk-title .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: rgba(243, 243, 242, 0.78);
  font-size: 0.82rem;
}

.chalk-title h2 {
  margin: 8px 0 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--red-2);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.portfolio-cats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 22px 0 30px;
}

.portfolio-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  border-bottom: 2px solid var(--highlight-clear);
  color: rgba(243, 243, 242, 0.86);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  position: relative;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  font: inherit;
}

.portfolio-cat svg { width: 20px; height: 20px; opacity: 0.9; }

.portfolio-cat.is-active {
  border-bottom-color: var(--highlight);
  color: rgba(243, 243, 242, 1);
}

.portfolio-cat.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -7px;
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--highlight-strong) 0 12px, var(--highlight-clear) 12px 18px);
  opacity: 0.9;
}
.portfolio-cat:focus { outline: none; }
.portfolio-cat:focus-visible { outline: 3px solid var(--highlight-ring); outline-offset: 6px; border-radius: 14px; }

.portfolio-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  background: #1a1718;
  cursor: pointer;
  isolation: isolate;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.05);
  transition: transform 0.46s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.32s ease;
}

.tile:hover img {
  transform: scale(1.12);
  filter: saturate(1.1) contrast(1.08) brightness(0.96);
}

.tile .tile-title {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100% - 32px);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.7rem;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.tile:hover .tile-title { opacity: 0; }

.tile::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(0);
  transition: background 0.28s ease, backdrop-filter 0.28s ease;
  pointer-events: none;
}

.tile:hover::after {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(1.2px);
}

.tile .tile-hover {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #141214;
  padding: 18px;
  text-align: center;
}

.tile:hover .tile-hover { opacity: 1; }

.tile-hover h3 {
  margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.06em;
}

.tile-hover p {
  margin: 0 0 12px;
  max-width: 46ch;
  line-height: 1.5;
  color: rgba(20, 18, 20, 0.76);
  font-weight: 600;
}

.tile-hover .tile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ui-secondary-bg);
  color: var(--ui-secondary-color);
  border: 1px solid var(--ui-secondary-border);
  box-shadow: var(--ui-secondary-shadow);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.tile-hover .tile-btn:hover {
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.light-panel {
  background: linear-gradient(180deg, #f7f9fc, #edf2f6);
  color: #1d1c1f;
}

.light-panel .section-title h2 {
  color: #1f1d22;
}

.light-panel .section-title p {
  color: rgba(34, 29, 33, 0.78);
}

.lp-cards {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.lp-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 18, 20, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  padding: 18px;
}

.lp-card h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.8rem;
}

.lp-card p { margin: 0; color: rgba(20, 18, 20, 0.76); line-height: 1.6; }

.lp-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(20, 18, 20, 0.78);
  font-weight: 600;
}

.light-panel .lp-btn {
  background: var(--ui-secondary-bg);
  border-color: var(--ui-secondary-border);
  color: var(--ui-secondary-color);
  box-shadow: var(--ui-secondary-shadow);
}

.light-panel .lp-btn:hover {
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.light-panel .lp-btn.primary {
  background: var(--ui-primary-bg);
  border-color: var(--ui-primary-border);
  color: #ffffff;
  box-shadow: var(--ui-primary-shadow);
}

.light-panel .lp-btn.primary:hover {
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.license-sales-callout .lp-btn {
  background: var(--ui-secondary-bg);
  border-color: var(--ui-secondary-border);
  color: var(--ui-secondary-color);
  box-shadow: var(--ui-secondary-shadow);
}

.license-sales-callout .lp-btn:hover {
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.license-sales-callout .lp-btn.primary {
  background: var(--ui-primary-bg);
  border-color: var(--ui-primary-border);
  color: #ffffff;
  box-shadow: var(--ui-primary-shadow);
}

.license-sales-callout .lp-btn.primary:hover {
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.contact-info-stack {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  padding: 18px;
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.75rem;
  color: #fff;
}

.contact-info-card p {
  margin: 0;
  color: rgba(243, 243, 242, 0.82);
  line-height: 1.6;
}

.contact-info-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.contact-info-card li {
  color: rgba(243, 243, 242, 0.82);
  font-weight: 600;
}

.contact-info-card li a {
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.38);
}

.contact-info-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-form-card {
  background:
    linear-gradient(
      146deg,
      rgba(18, 18, 22, 0.98) 0%,
      rgba(8, 8, 10, 0.98) 52%,
      rgba(27, 27, 34, 0.97) 100%
    );
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.contact-form-head h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 2rem;
}

.contact-form-head p {
  margin: 8px 0 0;
  color: rgba(245, 245, 247, 0.76);
  line-height: 1.55;
  font-weight: 600;
}

.contact-feedback {
  margin-top: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  font-weight: 700;
}

.contact-feedback.is-success {
  background: rgba(16, 120, 68, 0.14);
  border-color: rgba(16, 120, 68, 0.36);
  color: #0f5d39;
}

.contact-feedback.is-error {
  background: rgba(181, 33, 33, 0.12);
  border-color: rgba(181, 33, 33, 0.28);
  color: #811919;
}

.contact-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field span {
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.84);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(155deg, rgba(28, 28, 34, 0.95), rgba(15, 15, 19, 0.95));
  color: #f8f8fa;
  padding: 12px 14px;
  outline: none;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(245, 245, 247, 0.45);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(246, 88, 136, 0.62);
  box-shadow: 0 0 0 3px rgba(246, 88, 136, 0.2);
  background: linear-gradient(155deg, rgba(35, 35, 43, 0.98), rgba(18, 18, 22, 0.98));
}

.contact-submit-wrap {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.contact-submit-btn {
  border-radius: 999px;
  border: 1px solid var(--ui-primary-border);
  background: var(--ui-primary-bg);
  color: #fff;
  box-shadow: var(--ui-primary-shadow);
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-1px);
  filter: none;
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.banner {
  margin-top: 24px;
  background: var(--accent-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.banner strong {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.55rem;
}

.banner form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.banner input {
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  padding: 0 12px;
  outline: none;
}

.banner button {
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--ui-primary-border);
  background: var(--ui-primary-bg);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: var(--ui-primary-shadow);
}

.lp-footer {
  padding: 0 0 48px;
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter {
  background: var(--accent-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-newsletter strong {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.25rem;
}

.footer-newsletter form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-newsletter input {
  height: 40px;
  min-width: 240px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  padding: 0 12px;
  outline: none;
}

.footer-newsletter button {
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--ui-primary-border);
  background: var(--ui-primary-bg);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: var(--ui-primary-shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 18px;
  align-items: start;
  padding-top: 26px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
}

.footer-col a {
  display: block;
  color: rgba(243, 243, 242, 0.84);
  padding: 4px 0;
  font-weight: 600;
}

.footer-col a:hover { color: #fff; }

.footer-note {
  margin-top: 26px;
  color: rgba(243, 243, 242, 0.54);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(0, 0, 0, 0.62);
  padding: 22px;
}

.modal.is-open { display: grid; place-items: center; }

.modal-card {
  width: min(860px, 100%);
  background: rgba(255, 255, 255, 0.98);
  color: #161416;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 8px;
}

.modal-head h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 2.0rem;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-body {
  padding: 0 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-body img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-body p {
  margin: 0;
  line-height: 1.6;
  color: rgba(20, 18, 20, 0.76);
  font-weight: 600;
}

.modal-body ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(20, 18, 20, 0.78);
  font-weight: 700;
}

.modal-actions {
  padding: 0 16px 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.06);
  font-weight: 900;
}

.modal-actions a.primary {
  background: #101012;
  border-color: rgba(0, 0, 0, 0.2);
  color: #fff;
}

@media (max-width: 980px) {
  .systems-front {
    margin-top: 0;
    padding-top: 72px;
  }
  .systems-front-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .systems-front-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .license-sales-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .license-sales-callout-actions {
    justify-content: flex-start;
  }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cards { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-body img { height: 220px; }
}

@media (max-width: 820px) {
  .lp-topbar-inner { grid-template-columns: auto 1fr auto; }
  .lp-nav {
    display: none;
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    background: var(--accent-surface-strong);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .lp-nav.is-open { display: flex; }
  .lp-menu-toggle { display: inline-grid; place-items: center; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .hero-panel { height: auto; }
  .hero { height: 84svh; }
  .hero-dots { left: 12px; right: auto; bottom: 12px; }
  .hero-scroll { display: none; }
  .systems-front-rail span {
    width: 100%;
    justify-content: center;
  }
  .systems-front-grid,
  .systems-equal-meta {
    grid-template-columns: 1fr;
  }
  .portfolio-grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .banner form { grid-template-columns: 1fr; }
}

.public-commerce .card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 18, 20, 0.08);
  border-radius: 22px;
  padding: 18px;
  color: #161416;
  box-shadow: 0 18px 40px rgba(11, 9, 11, 0.08);
}

.public-commerce .grid {
  display: grid;
  gap: 14px;
}

.public-commerce .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.public-commerce .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.public-commerce .alert {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(138, 29, 37, 0.1);
  border: 1px solid rgba(138, 29, 37, 0.2);
  color: #7e1422;
  font-weight: 700;
}

.public-commerce .muted {
  color: rgba(20, 18, 20, 0.62);
}

.public-commerce .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 18, 20, 0.08);
  color: rgba(20, 18, 20, 0.78);
  font-size: 0.85rem;
  font-weight: 800;
}

.public-commerce .pill.active {
  background: rgba(39, 123, 67, 0.12);
  color: #1f6d3c;
}

.public-commerce .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 20, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: #161416;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.public-commerce .btn.primary {
  background: linear-gradient(135deg, #8f1f27 0%, #de5c2d 100%);
  border-color: rgba(143, 31, 39, 0.28);
  color: #fff;
}

.public-commerce label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(20, 18, 20, 0.84);
}

.public-commerce input,
.public-commerce textarea,
.public-commerce select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(20, 18, 20, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #161416;
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.public-commerce textarea {
  min-height: 120px;
  resize: vertical;
}

.public-commerce input:focus,
.public-commerce textarea:focus,
.public-commerce select:focus {
  border-color: rgba(134, 29, 37, 0.38);
  box-shadow: 0 0 0 4px rgba(134, 29, 37, 0.08);
}

@media (max-width: 820px) {
  .public-commerce .row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) {
  .lp-topbar {
    height: auto;
    min-height: var(--topbar-h);
  }

  .lp-topbar-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: var(--topbar-h);
    padding: 10px 0;
    gap: 16px;
  }

  .lp-brand {
    min-width: 0;
  }

  .lp-nav {
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lp-nav::-webkit-scrollbar {
    display: none;
  }

  .lp-nav a {
    padding: 9px 10px;
    min-height: 42px;
    white-space: nowrap;
  }

  .lp-actions {
    justify-self: end;
    flex-shrink: 0;
  }
}

@media (min-width: 821px) and (max-width: 1320px) {
  .lp-nav {
    gap: 8px;
  }

  .lp-nav a {
    padding: 8px 8px;
    font-size: 0.78rem;
  }

  .lp-brand strong {
    font-size: 1.22rem;
  }

  .lp-brand small {
    font-size: 0.68rem;
  }
}

.public-commerce {
  position: relative;
  background:
    radial-gradient(circle at 14% 10%, rgba(108, 133, 176, 0.10), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(198, 208, 224, 0.18), transparent 22%),
    linear-gradient(180deg, #f8fbfd, #eef3f7);
}

.public-commerce.commerce-section-dark {
  background:
    radial-gradient(circle at 14% 10%, rgba(140, 46, 230, 0.18), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(255, 47, 146, 0.14), transparent 24%),
    linear-gradient(180deg, #120f16, #18121b 42%, #0d0b10);
}

.public-commerce::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.18), transparent 36%);
}

.public-commerce.commerce-section-dark::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.06), transparent 36%);
}

.public-commerce .wrap {
  position: relative;
  z-index: 1;
}

.public-commerce .section-title h1,
.public-commerce .section-title h2,
.public-commerce .lp-card h1,
.public-commerce .lp-card h2,
.public-commerce .lp-card h3,
.public-commerce .lp-card strong {
  color: #1d1d25;
}

.public-commerce .section-title p,
.public-commerce .lp-card p,
.public-commerce .lp-card li,
.public-commerce .muted {
  color: rgba(45, 37, 44, 0.76);
}

.public-commerce.commerce-section-dark .section-title h1,
.public-commerce.commerce-section-dark .section-title h2,
.public-commerce.commerce-section-dark .lp-card h1,
.public-commerce.commerce-section-dark .lp-card h2,
.public-commerce.commerce-section-dark .lp-card h3,
.public-commerce.commerce-section-dark .lp-card strong {
  color: #f8f0fa;
}

.public-commerce.commerce-section-dark .section-title p,
.public-commerce.commerce-section-dark .lp-card p,
.public-commerce.commerce-section-dark .lp-card li,
.public-commerce.commerce-section-dark .muted {
  color: rgba(244, 235, 247, 0.74);
}

.public-commerce .lp-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 251, 0.99));
  border: 1px solid rgba(92, 107, 129, 0.12);
  box-shadow: 0 24px 56px rgba(43, 54, 71, 0.10);
}

.public-commerce.commerce-section-dark .lp-card {
  background: linear-gradient(180deg, rgba(27, 21, 31, 0.94), rgba(19, 14, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.public-commerce .lp-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(140, 46, 230, 0.48), rgba(255, 47, 146, 0.48));
}

.public-commerce .lp-card > img {
  box-shadow: 0 24px 48px rgba(38, 52, 70, 0.12);
}

.public-commerce .kicker {
  display: inline-flex;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(108, 60, 111, 0.78);
}

.public-commerce.commerce-section-dark .kicker {
  color: rgba(255, 204, 236, 0.76);
}

.public-commerce .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 250, 0.99));
  border: 1px solid rgba(92, 107, 129, 0.10);
  box-shadow: 0 18px 36px rgba(43, 54, 71, 0.08);
}

.public-commerce.commerce-section-dark .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.public-commerce .btn {
  border: 1px solid var(--ui-secondary-border);
  background: var(--ui-secondary-bg);
  color: var(--ui-secondary-color);
  box-shadow: var(--ui-secondary-shadow);
}

.public-commerce.commerce-section-dark .btn,
.public-commerce.commerce-section-dark .lp-btn:not(.primary) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f6ecf6;
  box-shadow: none;
}

.public-commerce .btn.primary {
  background: var(--ui-primary-bg);
  border-color: var(--ui-primary-border);
  color: #fff;
  box-shadow: var(--ui-primary-shadow);
}

.public-commerce .btn:hover {
  background: var(--ui-secondary-bg-hover);
  border-color: var(--ui-secondary-border-hover);
}

.public-commerce.commerce-section-dark .btn:hover,
.public-commerce.commerce-section-dark .lp-btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.public-commerce .btn.primary:hover {
  background: var(--ui-primary-bg-hover);
  border-color: rgba(153, 59, 240, 0.42);
}

.public-commerce input,
.public-commerce textarea,
.public-commerce select {
  border: 1px solid rgba(108, 92, 110, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.public-commerce input:focus,
.public-commerce textarea:focus,
.public-commerce select:focus {
  border-color: rgba(140, 46, 230, 0.34);
  box-shadow: 0 0 0 4px rgba(140, 46, 230, 0.10);
}

.lp-brand-text {
  min-width: 0;
}

.lp-brand-text small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 821px) {
  .lp-topbar {
    box-shadow: 0 14px 34px rgba(58, 17, 80, 0.18);
  }

  .lp-nav a {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

.systems-equal-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.systems-equal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 46, 230, 0.14);
  box-shadow: 0 28px 56px rgba(43, 54, 71, 0.16);
}

.systems-equal-card.is-highlight:hover {
  border-color: rgba(140, 46, 230, 0.22);
  box-shadow:
    0 48px 92px rgba(72, 88, 116, 0.22),
    0 20px 40px rgba(126, 138, 170, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.68) inset;
}

.systems-equal-media img {
  transition: transform 0.45s ease;
}

.systems-equal-card:hover .systems-equal-media img {
  transform: scale(1.04);
}

.systems-front-actions .lp-btn,
.systems-equal-actions .lp-btn,
.commerce-cta-row .lp-btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.systems-equal-actions .lp-btn:not(.primary),
.systems-front-actions .lp-btn:not(.primary),
.commerce-cta-row .lp-btn:not(.primary) {
  background: linear-gradient(180deg, rgba(244, 244, 247, 0.98), rgba(221, 223, 230, 0.96));
  border-color: rgba(99, 86, 102, 0.16);
  color: #342c36;
  box-shadow:
    0 10px 20px rgba(34, 24, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.systems-equal-actions .lp-btn:not(.primary):hover,
.systems-front-actions .lp-btn:not(.primary):hover,
.commerce-cta-row .lp-btn:not(.primary):hover {
  background: linear-gradient(180deg, rgba(238, 239, 243, 1), rgba(214, 216, 224, 1));
  border-color: rgba(99, 86, 102, 0.24);
}

.commerce-section {
  min-height: 100vh;
  padding-top: 120px;
}

.commerce-wrap {
  position: relative;
}

.commerce-head {
  margin-bottom: 26px;
}

.commerce-head-left {
  text-align: left !important;
}

.commerce-page-head {
  max-width: 880px;
}

.commerce-page-head .kicker {
  margin-bottom: 10px;
}

.commerce-title-main {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.commerce-title-sm {
  margin: 6px 0 8px;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.05;
}

.commerce-copy-tight {
  margin: 0;
  line-height: 1.62;
}

.commerce-backbar {
  margin-bottom: 18px;
}

.commerce-shell {
  align-items: stretch;
}

.commerce-shell-system {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
}

.commerce-shell-checkout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.commerce-product-card,
.commerce-side-card,
.systems-catalog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.commerce-product-intro {
  display: grid;
  gap: 8px;
}

.commerce-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commerce-hero-image {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.commerce-hero-image-sm {
  border-radius: 22px;
}

.commerce-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.commerce-summary-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.commerce-summary-card {
  min-height: 110px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.commerce-rich-card {
  display: grid;
  gap: 12px;
}

.commerce-highlight-card {
  display: grid;
  gap: 14px;
}

.commerce-block-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.08;
}

.commerce-highlight-value {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.commerce-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.commerce-list-compact {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.commerce-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.commerce-related-list {
  gap: 10px;
}

.commerce-form-head {
  display: grid;
  gap: 8px;
}

.commerce-form-grid {
  margin-top: 14px;
}

.commerce-form-note {
  margin: 0;
  line-height: 1.65;
}

.commerce-inline-note {
  margin: 0;
  line-height: 1.6;
}

.commerce-form-actions {
  margin-top: 4px;
}

.commerce-empty-card {
  margin-top: 24px;
}

.systems-catalog-grid {
  margin-top: 24px;
}

.systems-catalog-card .commerce-list-compact {
  margin-top: 2px;
}

.commerce-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.commerce-page-link {
  min-width: 48px;
}

.commerce-page-link.is-active {
  background: linear-gradient(135deg, #9f41f6, #ff49a5) !important;
  border-color: rgba(170, 80, 246, 0.42) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(156, 63, 214, 0.26);
}

.commerce-related-links .lp-btn,
.commerce-related-links .btn {
  width: 100%;
  justify-content: center;
}

.public-commerce.commerce-section-dark .alert {
  background: rgba(255, 71, 134, 0.12);
  border-color: rgba(255, 137, 182, 0.26);
  color: #ffd9e7;
}

.public-commerce.commerce-section-dark .pill {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(248, 239, 249, 0.88);
}

.public-commerce.commerce-section-dark .pill.active {
  background: rgba(255, 73, 165, 0.18);
  color: #ffe3f2;
}

.public-commerce.commerce-section-dark label {
  color: rgba(248, 240, 250, 0.88);
}

.public-commerce.commerce-section-dark input,
.public-commerce.commerce-section-dark textarea,
.public-commerce.commerce-section-dark select {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fcf7fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-commerce.commerce-section-dark input::placeholder,
.public-commerce.commerce-section-dark textarea::placeholder,
.public-commerce.commerce-section-dark select::placeholder {
  color: rgba(248, 239, 249, 0.42);
}

.public-commerce.commerce-section-dark input:focus,
.public-commerce.commerce-section-dark textarea:focus,
.public-commerce.commerce-section-dark select:focus {
  border-color: rgba(255, 73, 165, 0.36);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(255, 73, 165, 0.12);
}

.public-commerce.commerce-section-dark input[readonly] {
  color: rgba(248, 239, 249, 0.74);
}

@media (max-width: 1080px) {
  .commerce-shell-system,
  .commerce-shell-checkout {
    grid-template-columns: 1fr;
  }
}

/* Final public refresh: stronger brand styling and reliable desktop header */
@media (min-width: 821px) {
  .lp-topbar {
    height: auto;
    min-height: calc(var(--topbar-h) + 8px);
    padding: 0;
    box-shadow: none;
  }

  .lp-topbar-inner {
    min-height: calc(var(--topbar-h) + 8px);
    padding: 12px 0;
    gap: 18px;
    align-items: center;
  }

  .lp-brand {
    align-self: auto;
  }

  .lp-brand-text strong {
    line-height: 1;
  }

  .lp-brand-text small {
    max-width: 360px;
    line-height: 1.15;
  }

  .lp-nav {
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lp-nav::-webkit-scrollbar {
    display: none;
  }

  .lp-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: transparent;
    border-color: rgba(255, 255, 255, 0);
    box-shadow: none;
  }

  .lp-actions {
    align-self: center;
  }
}

.lp-btn:not(.primary),
.public-commerce .btn:not(.primary),
.tile-hover .tile-btn {
  background: linear-gradient(180deg, rgba(48, 31, 52, 0.96), rgba(26, 19, 30, 0.96)) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #f7edf8 !important;
  box-shadow:
    0 14px 28px rgba(24, 14, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.lp-btn:not(.primary):hover,
.public-commerce .btn:not(.primary):hover,
.tile-hover .tile-btn:hover {
  background: linear-gradient(180deg, rgba(61, 40, 66, 0.98), rgba(34, 24, 38, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff4ff !important;
}

.lp-btn.primary,
.public-commerce .btn.primary,
.hero-center-copy .cta,
.contact-submit-btn,
.banner button,
.footer-newsletter button {
  background: linear-gradient(135deg, #8f2ff0, #ff2f92) !important;
  border-color: rgba(150, 63, 240, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 30px rgba(161, 38, 131, 0.22) !important;
}

.lp-btn.primary:hover,
.public-commerce .btn.primary:hover,
.hero-center-copy .cta:hover,
.contact-submit-btn:hover,
.banner button:hover,
.footer-newsletter button:hover {
  background: linear-gradient(135deg, #9f41f6, #ff49a5) !important;
  border-color: rgba(170, 80, 246, 0.42) !important;
}

.systems-equal-actions .lp-btn,
.systems-front-actions .lp-btn,
.commerce-cta-row .lp-btn,
.public-commerce .actions .btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  display: inline-flex;
  vertical-align: middle;
}

.public-commerce .lp-card,
.public-commerce .card {
  backdrop-filter: blur(6px);
}
