@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --surface: rgba(244, 248, 255, 0.94);
  --surface-pill: rgba(232, 239, 255, 0.9);
  --border: rgba(73, 122, 255, 0.18);
  --text: #2440a6;
  --muted: rgba(36, 64, 166, 0.72);
  --footer: #12204f;
  --shadow-soft: 0 6px 18px rgba(73, 122, 255, 0.11);
  --radius-pill: 999px;
  --detail-panel-top: 162px;
  --back-button-height: 48px;
  --article-panel-width: clamp(900px, 72.18vw, 2079px);
  --article-panel-offset-top: 6px;
  --article-quick-width: clamp(190px, 10.4vw, 300px);
  --article-column-gap: clamp(48px, 3vw, 86px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Poppins", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  position: relative;
  overflow-x: hidden;
  background: url("../images/wix/learn-back.webp") top center / 100% auto no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

main.page {
  position: relative;
}

.page {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: var(--detail-panel-top) 30px 36px;
}

.topbar {
  position: fixed;
  left: 30px;
  right: 30px;
  top: 34px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 376px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.brand-pill,
.cta-pill,
.nav-pill {
  background: rgba(190, 210, 235, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 24px rgba(46, 74, 102, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand-pill,
.cta-pill {
  min-width: 80px;
  height: 46px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: -0.04em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.cta-pill {
  width: 165px;
  min-width: 165px;
  height: 56px;
  padding: 0 24px;
  justify-self: end;
  border-width: 0.2px;
  font-family: "Poppins", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  color: rgba(36, 64, 166, 0.94);
}

.brand-pill {
  width: auto;
  height: auto;
  padding: 0;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  justify-self: start;
}

.topbar > .brand-pill {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav-pill {
  width: 376px;
  max-width: 100%;
  height: 56px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  padding: 8px;
  gap: 6px;
  justify-content: stretch;
  position: relative;
  left: auto;
  justify-self: center;
  transition:
    transform 360ms ease,
    opacity 360ms ease,
    visibility 360ms ease;
  will-change: transform, opacity;
}

.nav-pill.is-hidden {
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.nav-pill a {
  border: 0;
  background: transparent;
  color: rgba(36, 64, 166, 0.94);
  opacity: 0.92;
  font-size: 14px;
  font-family: "Poppins", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  padding: 0;
  height: 40px;
  flex: 1 1 0;
  border-radius: var(--radius-pill);
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.nav-pill .active {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(36, 64, 166, 0.9);
  opacity: 1;
  box-shadow: none;
}

.nav-pill a:hover,
.cta-pill:hover {
  transform: translateY(-1px);
}

.nav-pill a:hover {
  background: rgba(98, 126, 166, 0.34);
  color: #183682;
  opacity: 1;
  box-shadow: none;
}

.cta-pill:hover {
  background: rgba(190, 210, 235, 0.68);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 24px rgba(46, 74, 102, 0.16);
  color: rgba(36, 64, 166, 0.9);
}

.mobile-menu-toggle,
.mobile-menu-overlay {
  display: none;
}

.floating-back {
  --led-color-on: #2440a6;
  --led-color-off: rgba(36, 64, 166, 0.12);
  position: sticky;
  top: var(--detail-panel-top);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: var(--back-button-height);
  min-height: var(--back-button-height);
  grid-area: 1 / 1;
  justify-self: start;
  align-self: start;
  margin: 0;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(36, 64, 166, 0.12);
  background: rgba(248, 251, 255, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.46),
    0 7px 18px rgba(36, 64, 166, 0.1);
  color: rgba(36, 64, 166, 0.78);
  font-size: 12px;
  font-weight: 300;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.floating-back:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 10px 22px rgba(36, 64, 166, 0.12);
}

.floating-back-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.floating-back-led {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.mobile-panel-back {
  display: none;
}

.mobile-back-led {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.mobile-back-led::before,
.mobile-back-led::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mobile-back-led::before {
  background:
    radial-gradient(circle at 7px 1px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 1px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 1px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 4px 4px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 4px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 4px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 4px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 16px 4px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 1px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 4px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 16px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 19px 7px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 1px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 4px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 16px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 19px 10px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 1px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 4px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 16px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 19px 13px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 4px 16px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 16px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 16px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 16px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 16px 16px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 7px 19px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 10px 19px, var(--led-color-off) 0 1px, transparent 1.25px),
    radial-gradient(circle at 13px 19px, var(--led-color-off) 0 1px, transparent 1.25px);
}

.mobile-back-led::after {
  background:
    radial-gradient(circle at 13px 1px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 10px 4px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 7px 7px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 4px 10px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 7px 13px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 10px 16px, var(--led-color-on) 0 1px, transparent 1.12px),
    radial-gradient(circle at 13px 19px, var(--led-color-on) 0 1px, transparent 1.12px);
}

.article-shell {
  width: min(100%, var(--article-panel-width));
  grid-area: 1 / 1;
  justify-self: center;
  margin: var(--article-panel-offset-top) auto 96px;
  padding: 64px 58px 70px;
  border-radius: 40px;
  background: rgba(244, 248, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 30px 70px rgba(47, 80, 150, 0.1);
}

.article-header {
  width: 100%;
  margin: 0 auto 34px;
  text-align: left;
}

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(36, 64, 166, 0.88);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-meta-category {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.article-meta-category::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: #2440a6;
}

.article-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2440a6;
}

.article-meta time {
  font-variant-numeric: tabular-nums;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: rgba(36, 64, 166, 0.86);
  font-size: 50px;
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: 0;
}

.article-header p {
  width: 100%;
  margin: 0;
  color: rgba(36, 64, 166, 0.6);
  font-size: 20px;
  font-weight: 200;
  line-height: 1.34;
}

.article-cover {
  position: relative;
  margin: 0 auto 48px;
  overflow: hidden;
  border-radius: 24px 24px 24px 0;
  background: var(--surface);
  aspect-ratio: 1.78 / 1;
  box-shadow: none;
}

.article-cover img,
.article-cover video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: var(--article-quick-width) minmax(0, 1fr);
  gap: var(--article-column-gap);
  align-items: start;
}

.quick-section {
  position: sticky;
  top: 28px;
  color: rgba(36, 64, 166, 0.38);
  font-size: 11px;
  line-height: 1.16;
}

.quick-section nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 0 2px 36px;
}

.quick-section nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: rgba(36, 64, 166, 0.22);
}

.quick-section a {
  position: relative;
  display: block;
  padding: 13px 0;
  color: rgba(36, 64, 166, 0.44);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.quick-section a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -26px;
  width: 5px;
  height: 5px;
  background: transparent;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.quick-section a.is-active {
  color: rgba(36, 64, 166, 0.9);
  transform: translateX(1px);
}

.quick-section a.is-active::before {
  background: #2440a6;
  box-shadow: 0 0 0 1px rgba(36, 64, 166, 0.12);
}

.quick-section a:hover {
  color: rgba(36, 64, 166, 0.78);
}

.article-body {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  color: rgba(36, 64, 166, 0.66);
  font-size: 14px;
  font-weight: 200;
  line-height: 1.55;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body h2 {
  scroll-margin-top: 30px;
  margin: 40px 0 14px;
  color: rgba(36, 64, 166, 0.86);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body figure {
  margin: 34px auto;
  width: min(430px, 100%);
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px 18px 18px 0;
  box-shadow: none;
}

.related-section {
  width: 100%;
  margin: 118px auto 0;
  padding: 0 0 6px;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.related-header h2 {
  margin: 0;
  color: rgba(36, 64, 166, 0.86);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.related-controls {
  display: inline-flex;
  gap: 22px;
}

.related-control {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(36, 64, 166, 0.22);
  background: rgba(248, 251, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 2px 5px rgba(36, 64, 166, 0.08),
    0 13px 30px rgba(36, 64, 166, 0.1);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.related-control:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
}

.related-control:disabled {
  cursor: default;
  opacity: 0.34;
  transform: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 2px 5px rgba(36, 64, 166, 0.04);
}

.related-control:disabled:hover {
  background: rgba(248, 251, 255, 0.72);
}

.related-control::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24px 24px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 32px 24px, rgba(36, 64, 166, 0.12) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 40px 24px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 20px 32px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 28px 32px, rgba(36, 64, 166, 0.12) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 36px 32px, rgba(36, 64, 166, 0.12) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 44px 32px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 24px 40px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 32px 40px, rgba(36, 64, 166, 0.12) 0 1.2px, transparent 1.32px),
    radial-gradient(circle at 40px 40px, rgba(36, 64, 166, 0.1) 0 1.2px, transparent 1.32px);
}

.related-control::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28px 24px, #2440a6 0 1.32px, transparent 1.5px),
    radial-gradient(circle at 34px 28px, #2440a6 0 1.32px, transparent 1.5px),
    radial-gradient(circle at 40px 32px, #2440a6 0 1.32px, transparent 1.5px),
    radial-gradient(circle at 34px 36px, #2440a6 0 1.32px, transparent 1.5px),
    radial-gradient(circle at 28px 40px, #2440a6 0 1.32px, transparent 1.5px);
}

.related-control-prev::after {
  transform: scaleX(-1);
}

.related-grid {
  display: flex;
  gap: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.related-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.related-grid::-webkit-scrollbar {
  display: none;
}

.related-card {
  flex: 0 0 calc((100% - 88px) * 0.4);
  min-width: 0;
  color: rgba(36, 64, 166, 0.78);
  cursor: pointer;
  scroll-snap-align: start;
  -webkit-user-drag: none;
  user-select: none;
}

.related-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 2.55 / 1;
  object-fit: cover;
  border-radius: 999px;
  margin-bottom: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  pointer-events: auto;
  -webkit-user-drag: none;
  user-select: none;
}

.related-card h3 {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: rgba(36, 64, 166, 0.86);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-card-divider {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 0 24px;
  border-radius: 0;
  background: #2440a6;
}

.related-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(36, 64, 166, 0.68);
  font-size: 12px;
  font-weight: 200;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.spacer {
  height: 36px;
}

.footer-shell {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 36px;
  width: calc(100vw - 60px);
  max-width: none;
  background: var(--footer);
  color: rgba(255, 245, 240, 0.92);
  border-radius: 40px 40px 40px 0;
  padding: 85px 42px 66px;
  box-shadow: 0 28px 48px rgba(52, 21, 19, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 78px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
}

.footer-logo {
  width: auto;
  height: 36px;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 200;
  letter-spacing: -0.02em;
  padding-top: 2px;
  max-width: none;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .footer-tagline {
    position: relative;
    left: 30px;
  }
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-left: 256px;
  position: relative;
  left: 30px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 200;
  color: rgba(255, 245, 240, 0.95);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 100;
  line-height: 1.38;
  color: rgba(255, 245, 240, 0.58);
}

.footer-stack-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 66px 4px 0;
  color: var(--footer);
  font-size: 12px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--footer);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.socials img,
.socials svg {
  display: block;
  width: 18px;
  height: 18px;
}

.socials img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(1633%) hue-rotate(191deg) brightness(92%) contrast(99%);
}

.socials svg {
  fill: currentColor;
}

@media (max-width: 900px) {
  .page {
    display: block;
    padding: 104px 20px 30px;
  }

  .topbar {
    left: 20px;
    right: 20px;
    top: 20px;
    transform: none;
    width: auto;
    gap: 16px;
  }

  .brand-pill {
    width: 120px;
    height: 50px;
    padding: 0;
  }

  .cta-pill {
    min-width: 116px;
    height: 44px;
    padding: 0 14px;
  }

  .floating-back {
    display: none;
  }

  .mobile-panel-back {
    --led-color-on: #2440a6;
    --led-color-off: rgba(36, 64, 166, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 48px;
    margin: 64px auto 0;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(36, 64, 166, 0.12);
    background: rgba(248, 251, 255, 0.72);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.5),
      0 10px 22px rgba(36, 64, 166, 0.12);
    color: rgba(36, 64, 166, 0.78);
    font-size: 12px;
    font-weight: 300;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .article-shell {
    margin-bottom: 36px;
    padding: 44px 36px 54px;
    border-radius: 32px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .quick-section {
    display: none;
  }

  .article-body {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .related-section {
    padding-inline: 0;
  }

  .related-grid {
    gap: 20px;
  }

  .footer-shell {
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 34px 34px 34px 0;
    padding: 20px 24px 44px 32px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 38px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-top: 0;
    left: 0;
  }

  .footer-tagline {
    max-width: 280px;
    white-space: normal;
    font-size: 44px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .footer-col {
    margin-bottom: 0;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 40px 0 0;
  }

  .socials {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    background: url("../images/wix/learn-back.webp") top center / cover no-repeat fixed;
  }

  .page {
    padding: 88px 20px 28px;
  }

  .nav-pill,
  .cta-pill {
    display: none;
  }

  .topbar {
    left: 20px;
    right: 20px;
    top: 20px;
    width: auto;
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    align-items: center;
  }

  .brand-pill {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    justify-content: center;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    position: relative;
    margin-left: auto;
    border: 1px solid rgba(73, 122, 255, 0.18);
    border-radius: 50%;
    background: rgba(223, 233, 255, 0.76);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.18),
      0 8px 20px rgba(73, 122, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer;
  }

  .mobile-menu-toggle::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 20% 20%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 50% 20%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 80% 20%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 20% 50%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 50% 50%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 80% 50%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 20% 80%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 50% 80%, #497aff 0 1px, transparent 1.1px),
      radial-gradient(circle at 80% 80%, #497aff 0 1px, transparent 1.1px);
  }

  .mobile-menu-toggle:hover {
    transform: translateY(-1px);
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(73, 122, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-menu-layer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 14px;
  }

  .mobile-menu-card {
    margin-top: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(49, 94, 190, 0.88);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.2),
      0 18px 38px rgba(73, 122, 255, 0.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 14px 10px 10px;
  }

  .mobile-menu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
  }

  .mobile-menu-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .mobile-menu-brand img {
    display: block;
    width: auto;
    height: 36px;
    margin-left: 0;
    filter: brightness(0) invert(1);
  }

  .mobile-menu-close {
    min-width: 46px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(83, 128, 232, 0.88);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    cursor: pointer;
  }

  .mobile-menu-close::before {
    content: "";
    width: 26px;
    height: 26px;
    background:
      radial-gradient(circle at 7px 7px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 10px 10px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 13px 13px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 16px 16px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 19px 19px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 19px 7px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 16px 10px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 10px 16px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 7px 19px, #ffffff 0 1.35px, transparent 1.55px),
      radial-gradient(circle at 13px 3px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 3px 13px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 23px 13px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 13px 23px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px);
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu-divider {
    height: 1px;
    margin-left: 16px;
    background: rgba(36, 64, 166, 0.46);
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    min-height: 70px;
    padding: 0 10px 0 16px;
    margin: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: rgba(36, 64, 166, 0.78);
    font-size: 17px;
    font-family: "Poppins", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    font-family: inherit;
    text-align: left;
  }

  .mobile-menu-link-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .mobile-menu-link-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .mobile-menu-link-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 14px 3px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 5px 9px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 23px 9px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 3px 14px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 25px 14px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 5px 19px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 23px 19px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px),
      radial-gradient(circle at 14px 25px, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.2px);
  }

  .mobile-menu-link-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 6px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 10px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 14px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 18px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 22px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 14px 6px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 14px 10px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 14px 18px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 14px 22px, #ffffff 0 1.45px, transparent 1.65px);
  }

  .mobile-menu-link-icon-chevron::after {
    background:
      radial-gradient(circle at 11px 6px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 15px 10px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 19px 14px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 15px 18px, #ffffff 0 1.45px, transparent 1.65px),
      radial-gradient(circle at 11px 22px, #ffffff 0 1.45px, transparent 1.65px);
  }

  .mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(49, 94, 190, 0.94);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.2),
      0 10px 24px rgba(73, 122, 255, 0.12);
    color: rgba(36, 64, 166, 0.78);
    font-size: 18px;
    font-family: "Poppins", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .article-shell {
    margin-bottom: 28px;
    padding: 32px 18px 40px;
    border-radius: 28px;
  }

  .article-header {
    margin-bottom: 30px;
  }

  .article-meta {
    flex-wrap: wrap;
    margin-bottom: 4px;
    transform: translateY(-10px);
  }

  h1 {
    font-size: 30px;
  }

  .article-header p {
    font-size: 18px;
  }

  .article-cover {
    margin-bottom: 38px;
    border-radius: 30px 30px 30px 0;
    aspect-ratio: 1 / 1;
  }

  .article-body {
    font-size: 14px;
    line-height: 1.58;
  }

  .article-body h2 {
    margin-top: 42px;
  }

  .quick-section a {
    padding: 11px 0;
  }

  .related-header {
    padding-inline: 0;
  }

  .related-grid {
    gap: 18px;
  }

  .related-card {
    flex: 0 0 calc(80% - 14px);
  }

  .related-card-media {
    margin-bottom: 22px;
    aspect-ratio: 2.1 / 1;
  }

  .footer-shell {
    width: 100%;
    border-radius: 36px 36px 36px 0;
    padding: 44px 20px 34px 28px;
  }

  .footer-logo-wrap {
    transform: translateY(0);
    margin-top: 10px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-logo {
    height: 34px;
    margin-left: -4px;
  }

  .footer-tagline {
    max-width: none;
    width: max-content;
    font-size: clamp(18px, 5.8vw, 30px);
    line-height: 1.02;
    margin: 34px 0 0;
    white-space: nowrap;
  }

  .footer-col h3 {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 12px;
    line-height: 1.45;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
    font-size: 12px;
    padding: 40px 20px 0 28px;
  }

  .socials {
    gap: 14px;
    justify-content: center;
    width: 100%;
  }

  .socials img,
  .socials svg {
    width: 17px;
    height: 17px;
  }

  .mobile-menu-overlay.is-open .mobile-menu-card {
    animation: mobile-menu-pop 220ms ease;
  }

  @keyframes mobile-menu-pop {
    from {
      transform: translateY(-8px);
      opacity: 0.85;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

@media (max-width: 420px) {
  .page {
    padding: 88px 20px 26px;
  }

  .topbar {
    left: 20px;
    right: 20px;
    width: auto;
    gap: 10px;
  }

  .brand-pill {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  h1 {
    font-size: 26px;
  }

  .article-shell {
    padding: 28px 16px 34px;
  }

  .related-card {
    flex: 0 0 calc(80% - 14px);
  }

  .footer-shell {
    width: 100%;
    padding: 38px 20px 28px 28px;
  }

  .footer-top {
    gap: 14px;
    margin-bottom: 32px;
  }

  .footer-tagline {
    font-size: 18px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-bottom {
    gap: 14px;
    padding: 28px 20px 0 28px;
  }
}
@media (max-width: 760px) {
  .mobile-menu-link,
  .mobile-menu-cta {
    color: #ffffff !important;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .socials {
    justify-content: center;
    width: 100%;
  }
}

/* Shared Products layer for Learn detail pages. */
.products-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
  font-family: Poppins, Arial, sans-serif;
}

.products-dialog.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Product triggers are progressively enhanced by products-layer.js. */
.nav-pill a[data-products-disabled],
.mobile-menu-link[data-products-disabled] {
  pointer-events: auto !important;
  cursor: pointer;
}

.products-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 41, 0.24);
  backdrop-filter: blur(42px) saturate(0.72);
  -webkit-backdrop-filter: blur(42px) saturate(0.72);
}

.products-dialog-panel {
  position: relative;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow: auto;
  background:
    radial-gradient(circle at 69% 74%, rgba(91, 137, 255, 0.3), transparent 25%),
    radial-gradient(circle at 41% 86%, rgba(112, 161, 255, 0.24), transparent 25%),
    radial-gradient(circle at 8% 83%, rgba(165, 234, 171, 0.22), transparent 24%),
    linear-gradient(145deg, rgba(225, 235, 250, 0.12), rgba(184, 201, 229, 0.16));
  backdrop-filter: blur(30px) saturate(0.88);
  -webkit-backdrop-filter: blur(30px) saturate(0.88);
  transform: translateY(12px);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
}

.products-dialog.is-open .products-dialog-panel {
  transform: translateY(0);
}

.about-dialog .about-tile-visual {
  position: relative;
  overflow: hidden;
  background: transparent;
  background-image: none !important;
}

.about-dialog .about-tile-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-dialog .about-tile-visual::after {
  display: none !important;
}

.about-dialog .about-tile-visual--company { background: url('../images/company/c12.webp') center / cover no-repeat !important; }
.about-dialog .about-tile-visual--careers { background: url('../images/company/c13.webp') center / cover no-repeat !important; }
.about-dialog .about-tile-visual--news { background: url('../images/company/c14.webp') center / cover no-repeat !important; }

.products-grid {
  width: min(calc(100% - 80px), 60vw);
  margin: clamp(150px, 10.6vw, 230px) auto 84px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: clamp(280px, 20.2vw, 582px) clamp(105px, 7.6vw, 218px);
  gap: clamp(20px, 2vw, 56px);
}

.product-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 28px 34px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 104px;
  color: rgba(36, 64, 166, 0.94);
  text-align: center;
  background: rgba(190, 210, 235, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(46, 74, 102, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  isolation: isolate;
  transition: transform 230ms ease, box-shadow 230ms ease, filter 260ms ease, opacity 260ms ease;
}

.product-tile::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(ellipse 18px 50% at left center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.74) 28%, rgba(255, 255, 255, 0.3) 62%, transparent 100%),
    radial-gradient(ellipse 18px 50% at right center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.74) 28%, rgba(255, 255, 255, 0.3) 62%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.product-tile > * {
  position: relative;
  z-index: 2;
}

.products-grid:has(.product-tile:hover) .product-tile:not(:hover),
.products-grid:has(.product-tile:focus-visible) .product-tile:not(:focus-visible) {
  filter: blur(4px);
  opacity: 0.62;
}

.product-tile:hover,
.product-tile:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(30, 44, 82, 0.18);
}

.product-tile-arrow svg circle[fill='var(--product-arrow-on)'] {
  fill: var(--product-arrow-off);
}

.product-arrow-highlight { opacity: 1; }
.product-arrow-trace { opacity: 0; }
.product-arrow-trace circle { opacity: 1; }

.product-tile:hover .product-arrow-highlight,
.product-tile:focus-visible .product-arrow-highlight { opacity: 0; }

.product-tile:hover .product-arrow-trace,
.product-tile:focus-visible .product-arrow-trace {
  opacity: 1;
  animation: product-arrow-sweep 1.35s steps(6, end) infinite;
  transform-box: fill-box;
  transform-origin: center;
}



.product-tile--ai {
  grid-row: 1 / span 2;
}

.product-tile--compact {
  border-radius: 78px;
  padding: 26px 44px;
  flex-direction: row;
  text-align: left;
}

.product-tile-visual {
  width: 102px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 39%;
  background: rgba(73, 122, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-tile--ai .product-tile-visual {
  width: 102px;
  background: #e4edff url('../images/hero/finu-ai-mobile-v2.webp') center / cover no-repeat;
}

.product-tile--card .product-tile-visual {
  background: #cedcff url('../images/hero/card-hero-v2.webp') center / cover no-repeat;
}

.product-tile--insights .product-tile-visual {
  background: #dce8ff url('../images/home/f1.webp') center / cover no-repeat;
}

.product-tile-title {
  margin: 18px 0 0;
  color: rgba(36, 64, 166, 0.94);
  font: 200 18px / 1.08 Poppins, Arial, sans-serif;
  letter-spacing: -0.045em;
}

.product-tile-arrow {
  --product-arrow-on: #2440a6;
  --product-arrow-off: rgba(36, 64, 166, 0.3);
  width: 40px;
  height: 40px;
  margin-top: 18px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-tile-arrow svg {
    display: block;
    width: 40px;
    height: 40px;
}

.product-tile--compact .product-tile-arrow { margin: 0 0 0 auto; }

body.products-dialog-open {
  overflow: hidden;
}

@keyframes product-arrow-sweep {
  0%, 8% { transform: translateX(-6px); }
  92%, 100% { transform: translateX(6px); }
}

@media (max-width: 760px) {
  .products-grid {
    width: calc(100% - 32px);
    margin: 118px auto 38px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 230px auto;
    gap: 14px;
  }

  .product-tile {
    padding: 28px 16px 22px;
    border-radius: 44px;
  }

  .product-tile--ai {
    grid-row: auto;
  }

  .product-tile--compact {
    grid-column: span 2;
    min-height: 104px;
    padding: 22px 30px;
    border-radius: 52px;
  }

  .product-tile-visual,
  .product-tile--ai .product-tile-visual {
    width: 80px;
  }

  .product-tile-title {
    margin-top: 12px;
    font-size: 18px;
  }

  .product-tile-arrow {
    margin-top: 12px;
  }
}
