:root {
  --bg: #f3f5fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #2955f5;
  --line: #d8deee;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #e9eeff 0%, transparent 40%),
    radial-gradient(circle at 90% 5%, #edf1ff 0%, transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section__title {
  margin-bottom: 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hero {
  padding-top: 96px;
  padding-bottom: 84px;
  position: relative;
}

.hero__eyebrow {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero__title {
  max-width: 16ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}

.hero__subtitle {
  max-width: 55ch;
  color: var(--muted);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(8px);
  z-index: -1;
  animation: floatGlow 5s ease-in-out infinite;
}

.hero::before {
  top: -20px;
  right: 10%;
  background: rgba(41, 85, 245, 0.2);
}

.hero::after {
  left: 8%;
  bottom: -10px;
  background: rgba(99, 136, 255, 0.22);
  animation-delay: 1s;
}

.scroll-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.38s ease-in-out, box-shadow 0.38s ease-in-out;
}

.demo-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 14px 26px rgba(23, 40, 84, 0.15);
}

.demo-card h3 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.demo-card p {
  color: var(--muted);
}

.stagger-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stagger-card {
  background: linear-gradient(160deg, #ffffff, #f5f7ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 18px rgba(24, 33, 62, 0.08);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.stagger-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 24px rgba(24, 33, 62, 0.13);
}

.stagger-card h3 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.stagger-card p {
  color: var(--muted);
}

.hover-showcase {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr 1fr;
}

.hover-links {
  display: grid;
  gap: 14px;
  align-content: start;
}

.link-button {
  min-height: 44px;
  border: 0;
  text-align: left;
  font: inherit;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.link-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.35s ease-in-out;
}

.link-button:hover::after {
  width: 100%;
}

.hover-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.hover-card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 14px 26px rgba(24, 33, 62, 0.12);
}

.hover-card p {
  color: var(--muted);
  margin-top: 8px;
}

.image-zoom {
  border-radius: var(--radius);
  overflow: hidden;
}

.image-zoom img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.image-zoom:hover img {
  transform: scale(1.06);
}

.parallax-section {
  position: relative;
}

.parallax-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  isolation: isolate;
  display: grid;
  align-items: end;
}

.parallax-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.35s ease-in-out;
}

.parallax-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.78));
  z-index: 1;
}

.parallax-card__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 24px;
  max-width: 60ch;
}

.parallax-card__content h3 {
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
}

.parallax-card__content p {
  margin-bottom: 14px;
  color: #e9ecf8;
}

.magnet-button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
  transition: transform 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

.magnet-button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.micro-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.ripple-button,
.modal-trigger {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

.ripple-button:hover,
.modal-trigger:hover {
  background: #1f43c8;
  transform: translateY(-2px) translateZ(0);
}

.ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: rippleExpand 0.5s ease-in-out forwards;
}

.input-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.floating-field {
  position: relative;
  display: block;
}

.floating-field input {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #ccd4e7;
  padding: 18px 12px 8px;
  font: inherit;
  transition: border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.floating-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 85, 245, 0.2);
}

.floating-field__label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #6b7280;
  background: #fff;
  padding: 0 4px;
  transition: transform 0.35s ease-in-out, color 0.35s ease-in-out;
  transform-origin: left top;
}

.floating-field input:focus + .floating-field__label,
.floating-field input:not(:placeholder-shown) + .floating-field__label {
  transform: translateY(-12px) scale(0.88);
  color: var(--primary);
}

.progress-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.progress-wrap p {
  margin-bottom: 12px;
  font-weight: 600;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e4e9f7;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2b59ff, #4b74ff);
  border-radius: inherit;
  transition: width 0.5s ease-in-out;
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #f0f4ff;
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 16px 0;
  animation: marqueeMove 22s linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  gap: 14px;
  min-width: 100%;
  padding-right: 14px;
}

.marquee__track span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ced8f2;
  background: #ffffff;
  font-weight: 600;
  color: #243a75;
}

.counters-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.counter-card {
  background: linear-gradient(150deg, #ffffff, #f2f6ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 18px rgba(22, 37, 79, 0.08);
}

.counter-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 8px;
}

.counter-card p {
  color: var(--muted);
}

.arsenal-section {
  background: linear-gradient(180deg, #eef3ff 0%, #f7f9ff 100%);
}

.arsenal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arsenal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.45s ease-in-out, box-shadow 0.45s ease-in-out;
  overflow: hidden;
}

.arsenal-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent 0deg, rgba(41, 85, 245, 0.24) 120deg, transparent 240deg);
  animation: rotateSweep 5s linear infinite;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

.arsenal-card:hover {
  box-shadow: 0 18px 26px rgba(24, 38, 78, 0.16);
}

.arsenal-card:hover::before {
  opacity: 1;
}

.arsenal-card > * {
  position: relative;
  z-index: 1;
}

.arsenal-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #e8edff;
  margin-bottom: 10px;
  animation: bobIcon 2.8s ease-in-out infinite;
}

.arsenal-card h3 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.arsenal-card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.pulse-button,
.toast-trigger {
  min-height: 42px;
  border-radius: 10px;
  border: 0;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #234ee0;
  cursor: pointer;
  transition: transform 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

.pulse-button {
  position: relative;
  overflow: visible;
}

.pulse-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(35, 78, 224, 0.36);
  animation: pulseRing 1.8s ease-in-out infinite;
}

.pulse-button:hover,
.toast-trigger:hover {
  transform: translateY(-2px);
  background: #1f43c8;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #3a4a77;
  transition: transform 0.35s ease-in-out;
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease-in-out;
}

.accordion-content p {
  padding: 0 16px 16px;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  min-width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1b2f66;
  color: #fff;
  box-shadow: 0 12px 24px rgba(16, 30, 70, 0.3);
  transform: translate3d(0, 20px, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.demo-dock {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #ced8f2;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.dock-btn {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #234ee0;
  cursor: pointer;
  transition: transform 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

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

.dock-btn--ghost {
  color: #24428e;
  background: #e9efff;
}

.dock-btn--ghost:hover {
  background: #dce6ff;
}

.scroll-indicator {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(19, 34, 73, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.scroll-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(19, 34, 73, 0.24);
}

.scroll-indicator__svg {
  position: absolute;
  inset: 8px;
  transform: rotate(-90deg);
}

.scroll-indicator__track,
.scroll-indicator__progress {
  fill: none;
  stroke-width: 4;
}

.scroll-indicator__track {
  stroke: #e3e9fb;
}

.scroll-indicator__progress {
  stroke: #2b57f8;
  stroke-linecap: round;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.3s ease-in-out;
}

.scroll-indicator__text {
  font-weight: 800;
  font-size: 0.78rem;
  color: #1f3f9f;
}

.hover-lab-section {
  background: linear-gradient(180deg, #f8f9ff 0%, #eef3ff 100%);
}

.hover-lab-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.hover-lab-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.hover-lab-card h3 {
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.hover-lab-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.button-lab {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #c8d3f0;
  background: #fff;
  color: #1a2d63;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease-in-out, color 0.35s ease-in-out, border-color 0.35s ease-in-out;
}

.lab-btn:hover {
  transform: translateY(-2px);
}

.lab-btn--shine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120%;
  width: 60%;
  background: linear-gradient(115deg, transparent, rgba(41, 85, 245, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease-in-out;
}

.lab-btn--shine:hover::before {
  left: 140%;
}

.lab-btn--slice::before,
.lab-btn--slice::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #2457ff;
  z-index: -1;
  transition: transform 0.4s ease-in-out;
}

.lab-btn--slice::before {
  top: 0;
  transform: translateX(-102%);
}

.lab-btn--slice::after {
  bottom: 0;
  transform: translateX(102%);
}

.lab-btn--slice:hover {
  color: #fff;
  border-color: #2457ff;
}

.lab-btn--slice:hover::before,
.lab-btn--slice:hover::after {
  transform: translateX(0);
}

.lab-btn--neon:hover {
  border-color: #4f7bff;
  color: #1638a5;
  box-shadow: 0 0 0 2px rgba(79, 123, 255, 0.2), 0 0 18px rgba(79, 123, 255, 0.45);
}

.lab-btn--flip {
  overflow: hidden;
}

.lab-btn--flip::before {
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.lab-btn--flip::before {
  content: "Действие";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2448bf;
  transform: translateY(102%);
}

.lab-btn--flip:hover {
  color: transparent;
}

.lab-btn--flip:hover::before {
  transform: translateY(0);
}

.lab-btn--borderwave::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #2a55e8;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.38s ease-in-out, opacity 0.38s ease-in-out;
}

.lab-btn--borderwave:hover {
  color: #173cad;
  border-color: #8fa7f1;
}

.lab-btn--borderwave:hover::before {
  transform: scale(1.04);
  opacity: 1;
}

.lab-btn--glitch::before,
.lab-btn--glitch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.lab-btn--glitch::before {
  background: rgba(41, 85, 245, 0.18);
  transform: translate(-3px, 0);
}

.lab-btn--glitch::after {
  background: rgba(46, 189, 216, 0.16);
  transform: translate(3px, 0);
}

.lab-btn--glitch:hover {
  border-color: #84a4ff;
}

.lab-btn--glitch:hover::before,
.lab-btn--glitch:hover::after {
  opacity: 1;
}

.lab-btn--glitch:hover::before {
  transform: translate(-1px, -1px);
}

.lab-btn--glitch:hover::after {
  transform: translate(1px, 1px);
}

.lab-form {
  display: grid;
  gap: 12px;
}

.lab-field {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #d4ddf3;
  background: #fdfdff;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.lab-field::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(117, 146, 255, 0), rgba(117, 146, 255, 0.9), rgba(94, 220, 255, 0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

.lab-field::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 45%;
  height: 300%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(20deg);
  opacity: 0;
  transition: transform 0.55s ease-in-out, opacity 0.55s ease-in-out;
  pointer-events: none;
}

.lab-field span {
  font-size: 0.86rem;
  color: #415079;
  font-weight: 700;
}

.lab-field:hover {
  border-color: #95b0ff;
  box-shadow: 0 12px 22px rgba(38, 67, 163, 0.16);
  transform: translateY(-2px);
}

.lab-field:hover::before {
  opacity: 1;
}

.lab-field:hover::after {
  opacity: 1;
  transform: translateX(250%) rotate(20deg);
}

.lab-field input,
.lab-field textarea {
  width: 100%;
  border: 1px solid #cfd8ef;
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
  transition: border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

.lab-field input:hover,
.lab-field textarea:hover {
  border-color: #98b2ff;
  background-color: #f7f9ff;
  box-shadow: inset 0 0 0 1px rgba(118, 149, 255, 0.25);
}

.lab-field input:focus,
.lab-field textarea:focus {
  outline: none;
  border-color: #2f5fff;
  box-shadow: 0 0 0 3px rgba(47, 95, 255, 0.18);
}

.lab-field:focus-within {
  border-color: #7f9dff;
  box-shadow: 0 14px 26px rgba(34, 70, 187, 0.2);
}

.lab-field:focus-within span {
  color: #2247c3;
}

.lab-submit {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #2a59ff, #1f42c4);
  cursor: pointer;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, filter 0.35s ease-in-out;
}

.lab-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(34, 70, 187, 0.3);
  filter: brightness(1.04);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
  padding: 20px;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s ease-in-out;
  position: relative;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.modal h3 {
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
}

.modal p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  will-change: transform, opacity;
}

.reveal--left {
  transform: translate3d(-42px, 0, 0);
}

.reveal--right {
  transform: translate3d(42px, 0, 0);
}

.reveal--up {
  transform: translate3d(0, 28px, 0);
}

.reveal--scale {
  transform: translate3d(0, 0, 0) scale(0.9);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes rippleExpand {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes rotateSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bobIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .scroll-grid,
  .stagger-grid,
  .hover-showcase,
  .micro-grid,
  .counters-grid,
  .arsenal-grid,
  .hover-lab-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hover-showcase .image-zoom {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1080px, calc(100% - 32px));
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .scroll-grid,
  .stagger-grid,
  .hover-showcase,
  .micro-grid,
  .counters-grid,
  .arsenal-grid {
    grid-template-columns: 1fr;
  }

  .button-lab {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hover-showcase .image-zoom {
    grid-column: auto;
  }

  .toast {
    right: 12px;
    left: 12px;
    min-width: auto;
  }

  .demo-dock {
    left: 12px;
    right: 12px;
    bottom: 88px;
    justify-content: space-between;
  }

  .dock-btn {
    flex: 1;
    min-height: 40px;
  }

  .scroll-indicator {
    width: 58px;
    height: 58px;
    right: 12px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .button-lab {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.demo-reduced *,
body.demo-reduced *::before,
body.demo-reduced *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

body.demo-reduced .reveal {
  opacity: 1 !important;
  transform: none !important;
}
