:root {
  --bg: #050505;
  --bg-soft: #0b0b0d;
  --panel: rgba(12, 12, 14, 0.82);
  --panel-strong: #111114;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #a4a7b2;
  --accent: #c51818;
  --accent-strong: #ff4d4d;
  --success: #7ce2a7;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(197, 24, 24, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(197, 24, 24, 0.12),
      transparent 22%
    ),
    linear-gradient(180deg, #030303 0%, #070707 48%, #020202 100%);
  line-height: 1.6;
}

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

.bg-orb--one {
  top: -10vh;
  left: -10vw;
  background: rgba(197, 24, 24, 0.3);
}

.bg-orb--two {
  top: 30vh;
  right: -14vw;
  background: rgba(197, 24, 24, 0.18);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  transition:
    background-color 180ms ease,
    backdrop-filter 180ms ease,
    box-shadow 180ms ease;
}

.site-header--scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.site-header__inner,
.cta-panel,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text span,
.hero__summary,
.feature-card p,
.showcase-card__body p,
.cta-panel__actions p,
.site-footer p,
.download-size {
  color: var(--muted);
}

.brand__text span,
.showcase-card__label,
.eyebrow,
.version-badge,
.download-size {
  font-family: "IBM Plex Mono", monospace;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff7f7;
  background: linear-gradient(135deg, var(--accent) 0%, #e12727 100%);
  box-shadow: 0 18px 46px rgba(197, 24, 24, 0.3);
}

.button--ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.button--small {
  min-height: 46px;
  padding-inline: 18px;
}

.button--large {
  min-height: 60px;
  padding-inline: 28px;
}

.button[aria-disabled="true"],
.button.is-cooling-down {
  pointer-events: none;
  opacity: 0.62;
  box-shadow: none;
}

.download-cluster {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(197, 24, 24, 0.35);
  border-radius: 999px;
  background: rgba(197, 24, 24, 0.12);
  color: #ffb0b0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.download-size {
  flex-basis: 100%;
  padding-left: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero {
  padding: 36px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff8b8b;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  max-width: 14ch;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__summary {
  max-width: 40rem;
  margin-bottom: 22px;
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.section {
  padding: 26px 0 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.showcase-card,
.usecase-panel,
.cta-panel,
.comparison-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(12, 12, 14, 0.82);
  box-shadow: var(--shadow);
}

.feature-card,
.usecase-panel {
  padding: 22px;
}

.feature-card::before,
.showcase-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(197, 24, 24, 0.18),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feature-card:hover::before,
.showcase-card:hover::before,
.cta-panel:hover::before {
  opacity: 1;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 18px;
}

.comparison-summary,
.comparison-table td p,
.comparison-table tfoot p {
  color: var(--muted);
}

.comparison-summary {
  max-width: 58rem;
  margin-bottom: 0;
}

.comparison-panel {
  padding: 28px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: calc(var(--radius-md) + 2px);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th,
.comparison-table tfoot th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table thead th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th:first-child {
  width: 23%;
}

.comparison-table tbody th,
.comparison-table tbody td {
  border-bottom: 1px solid var(--line);
}

.comparison-table tbody th {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.comparison-table tbody tr:hover {
  background: transparent;
}

.comparison-table td p,
.comparison-table tfoot p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.comparison-table tfoot th,
.comparison-table tfoot td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tfoot th {
  color: var(--muted);
  border-bottom: 0;
}

.compare-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}

.compare-tier--free {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.compare-tier--licensed {
  border-color: rgba(197, 24, 24, 0.35);
  background: rgba(197, 24, 24, 0.14);
  color: #ffb0b0;
}

.comparison-column-copy {
  display: block;
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.compare-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.compare-status--on {
  color: #dcffeb;
}

.compare-status--on .compare-status__icon {
  color: var(--success);
  border-color: rgba(124, 226, 167, 0.35);
  background: rgba(124, 226, 167, 0.14);
}

.compare-status--off {
  color: #ffb8b8;
}

.compare-status--off .compare-status__icon {
  color: #ff8585;
  border-color: rgba(255, 133, 133, 0.32);
  background: rgba(255, 133, 133, 0.12);
}

.compare-status--limited {
  color: #ffd8b1;
}

.compare-status--limited .compare-status__icon {
  color: #ffc16f;
  border-color: rgba(255, 193, 111, 0.34);
  background: rgba(255, 193, 111, 0.12);
}

.compare-actions {
  display: grid;
  gap: 12px;
}

.compare-actions__button {
  width: 100%;
}

.compare-actions__price {
  color: #fff5e6;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-align: center;
}

.comparison-video {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(8, 8, 10, 0.76);
}

.comparison-video__copy {
  max-width: 54rem;
}

.comparison-video__copy h3 {
  margin-bottom: 8px;
}

.comparison-video__copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.comparison-video__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-md) + 2px);
  background: #000;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.comparison-video__frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.comparison-video__link {
  justify-self: start;
}

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

.showcase-card {
  display: grid;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.showcase-card--hero {
  min-height: 560px;
}

.showcase-card--half {
  grid-column: span 6;
}

.showcase-card--wide {
  grid-column: span 12;
}

.showcase-card__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card__asset {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--bg-soft);
}

.hero__visual .showcase-card__asset {
  min-height: 560px;
}

.showcase-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 3, 0.9) 62%);
}

.showcase-card__body h2,
.showcase-card__body h3,
.feature-card h3 {
  margin-bottom: 8px;
}

.showcase-card__body p {
  margin-bottom: 0;
}

.showcase-card.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(197, 24, 24, 0.16) 45%,
    rgba(255, 255, 255, 0.03) 65%
  );
  background-size: 240% 100%;
  animation: media-shimmer 1.8s linear infinite;
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.showcase-card.has-video .showcase-card__asset {
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 420ms ease,
    transform 600ms ease;
}

.showcase-card.has-video.is-ready::after {
  opacity: 0;
  animation: none;
}

.showcase-card.has-video.is-ready .showcase-card__asset {
  opacity: 1;
  transform: scale(1);
}

.usecase-panel {
  display: grid;
  gap: 14px;
}

.usecase-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.usecase-list li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
}

.cta-panel {
  padding: 28px;
}

.cta-panel__actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.cta-panel__actions p,
.site-footer p {
  font-size: 0.92rem;
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer__copy {
  display: grid;
  gap: 6px;
}

.site-footer__inner {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.site-footer__legal {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.site-footer__label {
  margin: 0;
  color: #ff8b8b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(12, 12, 14, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.legal-link::after {
  content: "->";
  color: #ff8b8b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.legal-link:hover,
.legal-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(197, 24, 24, 0.42);
  background:
    linear-gradient(
      180deg,
      rgba(197, 24, 24, 0.14),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(12, 12, 14, 0.9);
  box-shadow: 0 22px 48px rgba(197, 24, 24, 0.2);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes media-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -40% 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .cta-panel,
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .comparison-panel {
    padding: 22px;
  }

  .comparison-video {
    padding: 20px;
  }

  .showcase-card--half,
  .showcase-card--wide {
    grid-column: span 12;
  }

  .cta-panel__actions {
    justify-items: start;
  }

  .site-footer__legal {
    justify-items: start;
  }

  .legal-link-list {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .download-cluster {
    display: grid;
  }

  .button,
  .version-badge {
    width: 100%;
  }

  .download-size {
    padding-left: 0;
    text-align: center;
  }

  .showcase-card--hero,
  .hero__visual .showcase-card__asset {
    min-height: 340px;
  }

  .showcase-card__asset {
    min-height: 240px;
  }

  .feature-card,
  .usecase-panel,
  .cta-panel,
  .comparison-panel {
    padding: 18px;
  }

  .comparison-video {
    padding: 18px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 760px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 16px 14px;
  }

  .comparison-table thead th,
  .comparison-table tfoot th {
    font-size: 0.72rem;
  }

  .comparison-table tbody th {
    font-size: 0.95rem;
  }

  .comparison-column-copy {
    font-size: 0.78rem;
  }

  .compare-status {
    gap: 8px;
    font-size: 0.9rem;
  }

  .compare-status__icon {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .comparison-table td p,
  .comparison-table tfoot p {
    font-size: 0.86rem;
  }

  .site-footer__inner {
    gap: 10px;
  }
}
