:root {
  --primary-color: #ffffff;
  --secondary-color: #9a9a9a;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --bg-darker: #000000;
  --bg-card: rgba(18, 18, 18, 0.62);
  --bg-card-hover: rgba(28, 28, 28, 0.86);
  --gradient-1: linear-gradient(135deg, #ffffff 0%, #bbbbbb 100%);
  --border-color: rgba(255, 255, 255, 0.09);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-hard: 0 30px 70px rgba(0, 0, 0, 0.5);
  --radius-pill: 999px;
  --font-sans: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Consolas", "SFMono-Regular", monospace;
}

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

html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100%;
  width: 100%;
  background: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  cursor: none;
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

a,
button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.copy-buffer {
  position: fixed;
  left: -9999px;
  top: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: background 160ms ease, transform 160ms ease;
}

.cursor-outline {
  width: 24px;
  height: 24px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 220ms ease, height 220ms ease, border-color 220ms ease;
}

.cursor-outline.hover {
  width: 54px;
  height: 54px;
  border-color: rgba(255, 255, 255, 0.48);
}

.cursor-dot.click {
  transform: translate3d(-50%, -50%, 0) scale(0.65);
}

.mouse-particles,
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.mouse-particles {
  z-index: 9998;
  overflow: hidden;
}

.mouse-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

.bg-gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000000;
  overflow: hidden;
}

.bg-gradient-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridMove 3s linear infinite;
  opacity: 0.82;
}

.bg-gradient-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1), transparent 50%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 60%);
  animation: gradientFlow 5s ease-in-out infinite;
}

.main-viewport {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  padding-inline: clamp(0.55rem, 1.2vw, 1rem);
}

.top-header {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 280px);
  align-items: center;
  gap: 1rem;
  width: min(calc(100vw - 1.1rem), 1440px);
  max-width: 1440px;
  margin: 0;
  padding: clamp(0.6rem, 1.6vh, 1rem) clamp(0.85rem, 2vw, 1.5rem);
  position: relative;
  z-index: 4;
}

.info-panel {
  justify-self: start;
  min-width: clamp(220px, 22vw, 280px);
  max-width: 320px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 10px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(3px);
}

.info-header {
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.info-metrics {
  display: grid;
  gap: 0.35rem;
}

.info-metric {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.info-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
}

.top-links {
  justify-self: end;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.top-link:hover,
.top-link:focus-visible {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
}

.top-link--button {
  cursor: pointer;
}

.brand-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0.04em;
  max-width: 100%;
  white-space: nowrap;
}

.brand-logo__text {
  position: relative;
  display: inline-block;
  padding: 0.18rem 0.2rem 0.42rem;
  color: rgba(255, 255, 255, 0.96);
}

.brand-logo__text::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  opacity: 0.82;
  transform-origin: center;
  animation: brandBeam 3.8s ease-in-out infinite;
}

.particles {
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
  animation: floatParticle linear infinite;
}

.left-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  gap: clamp(0.7rem, 1.6vh, 1.35rem);
  width: min(calc(100vw - 1.1rem), 1440px);
  max-width: 1440px;
  margin: 0;
  padding: clamp(0.5rem, 1.6vh, 1.6rem) clamp(1rem, 3vw, 2rem);
  min-height: 0;
}

.hero-content-wrapper {
  width: 100%;
  max-width: min(100%, 860px);
  text-align: center;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.68rem, 1.2vw, 0.92rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.15rem, min(4vw, 5.8vh), 2.8rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  width: min(100%, 700px);
  margin: 0.95rem auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.58rem, min(1.42vw, 2vh), 0.98rem);
  line-height: clamp(1.32, 1.55, 1.58);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(201, 201, 201, 0.9));
  color: #050505;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(16, 16, 16, 0.72);
  border-color: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.92);
}

.services-text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.1vw, 0.85rem);
  width: min(100%, 1080px);
}

.service-text-item {
  position: relative;
  min-height: 100%;
  padding: clamp(0.75rem, 1.2vw, 1rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-soft);
  backdrop-filter: blur(4px);
  transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms ease, background 200ms ease;
}

.service-text-item:hover,
.service-text-item:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}

.service-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.service-heading h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-heading span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-text-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.7rem, 1.05vw, 0.84rem);
  line-height: 1.45;
}

.service-text-item--sample {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(12, 12, 12, 0.76)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 65%);
}

.service-link {
  margin-top: 0.9rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.service-link:hover,
.service-link:focus-visible {
  color: rgba(255, 255, 255, 0.72);
}

.bottom-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: min(calc(100vw - 1.1rem), 1440px);
  max-width: 1440px;
  margin: 0;
  padding: clamp(0.5rem, 1vh, 0.9rem) clamp(0.75rem, 2vw, 1.2rem) clamp(0.85rem, 1.4vh, 1rem);
}

.bottom-header {
  width: 100%;
  text-align: center;
}

.bottom-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trusted-by-section {
  width: 100%;
  height: clamp(52px, 8vh, 80px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logos-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logos-marquee {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.2rem);
  width: max-content;
  animation: scrollMarquee 70s linear infinite;
}

.logos-marquee:hover {
  animation-play-state: paused;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 2.4rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.6);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.discord-contact {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(10px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  margin: 0.75rem auto;
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 9, 9, 0.95);
  box-shadow: var(--shadow-hard);
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.modal__eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modal__header h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.modal__copy {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.modal__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.sample-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.sample-stat strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-stat span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snippet-browser {
  display: grid;
  grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  min-height: 0;
}

.snippet-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: min(56vh, 760px);
  overflow: auto;
  padding-right: 0.15rem;
}

.snippet-tab {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.75);
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, color 180ms ease;
}

.snippet-tab:hover,
.snippet-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.snippet-tab.is-active {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(14, 14, 14, 0.92)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 70%);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-soft);
}

.snippet-tab__label {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snippet-tab__file {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snippet-panel {
  min-width: 0;
}

.snippet-panel__meta {
  margin-bottom: 0.9rem;
}

.snippet-panel__eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.snippet-panel__title {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.snippet-panel__summary {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.5;
}

.code-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.code-shell__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  display: inline-block;
}

.dot--red { background: #ff6b6b; }
.dot--amber { background: #ffd166; }
.dot--green { background: #8ce99a; }

.code-shell__title {
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.copy-inline {
  margin-left: auto;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}

.code-shell__body {
  background: #070707;
  overflow: auto;
  max-height: min(58vh, 760px);
}

.code-shell__codeframe {
  display: grid;
  grid-template-columns: auto 1fr;
  min-width: max-content;
}

.code-shell__lines {
  padding: 1rem 0.75rem 1rem 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.62;
  text-align: right;
  user-select: none;
}

.code-shell__lines span {
  display: block;
}

.code-shell__pre {
  margin: 0;
  padding: 1rem 1.15rem;
}

.code-shell__code {
  display: block;
  min-width: max-content;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.62;
  white-space: pre;
  tab-size: 2;
}

.token-keyword,
.token-value,
.token-string,
.token-number {
  color: #7aa2f7;
}

.token-call {
  color: #f6c177;
}

.token-comment {
  color: rgba(255, 255, 255, 0.34);
}

.modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.copied-state {
  opacity: 0.76;
}

[data-magnetic] {
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}

@keyframes gradientFlow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.88;
  }
}

@keyframes rotatePlanet {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes brandBeam {
  0%, 100% {
    opacity: 0.38;
    transform: scaleX(0.82);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes floatParticle {
  from {
    transform: translate3d(var(--x), var(--y), 0) scale(0.8);
    opacity: 0.1;
  }
  50% {
    opacity: 0.9;
  }
  to {
    transform: translate3d(var(--x-end), var(--y-end), 0) scale(1.4);
    opacity: 0;
  }
}

@keyframes scrollMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 1180px) {
  .top-header {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, 900px);
  }

  .info-panel,
  .top-links {
    justify-self: center;
  }

  .services-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 860px);
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow: auto;
  }

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-outline,
  .mouse-particles {
    display: none;
  }

  .main-viewport {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-inline: 0;
  }

  .top-header,
  .left-content,
  .bottom-content {
    margin: 0 auto;
  }

  .left-content {
    justify-content: flex-start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .services-text {
    grid-template-columns: 1fr;
    width: min(100%, 640px);
  }

  .trusted-by-section {
    height: 72px;
  }

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

  .snippet-browser {
    grid-template-columns: 1fr;
  }

  .snippet-list {
    flex-direction: row;
    max-height: none;
    overflow: auto hidden;
    padding-bottom: 0.25rem;
  }

  .snippet-tab {
    min-width: 240px;
  }

  .code-shell__body {
    max-height: min(52vh, 620px);
  }
}

@media (max-width: 600px) {
  .top-header {
    gap: 0.8rem;
    padding-inline: 0.75rem;
  }

  .info-panel {
    min-width: 0;
    width: 100%;
  }

  .top-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .hero-subtitle {
    width: 100%;
    font-size: 0.72rem;
  }

  .btn {
    width: 100%;
  }

  .modal__card {
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
    padding: 0.85rem;
  }

  .sample-stats {
    grid-template-columns: 1fr;
  }

  .snippet-tab {
    min-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
