:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-deep: #070b12;
  --panel: rgba(10, 15, 24, 0.8);
  --panel-strong: rgba(12, 18, 30, 0.94);
  --line: rgba(6, 125, 117, 0.16);
  --line-strong: rgba(6, 125, 117, 0.34);
  --text: #f4fbff;
  --muted: #9fb2bf;
  --accent: #067d75;
  --accent-soft: #0a9a8f;
  --accent-bright: #27b8ab;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1160px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(6, 125, 117, 0.18), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(39, 184, 171, 0.12), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 52%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
  z-index: -3;
}

.page-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.38;
  pointer-events: none;
  z-index: -2;
}

.page-glow-left {
  top: 4rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(6, 125, 117, 0.42), transparent 64%);
}

.page-glow-right {
  top: -1rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(39, 184, 171, 0.2), transparent 64%);
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar,
main {
  width: var(--container);
  margin-inline: auto;
}

.home-page .topbar {
  width: min(1100px, calc(100% - 2rem));
}

.compare-page .topbar {
  width: min(1100px, calc(100% - 2rem));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0 0.35rem;
}

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

.brand-mark {
  height: 2.2rem;
  width: auto;
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 125, 117, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 251, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.topbar-link-primary {
  border-color: rgba(39, 184, 171, 0.52);
  background: linear-gradient(135deg, rgba(6, 125, 117, 0.96), rgba(39, 184, 171, 0.92));
  color: #effdff;
  box-shadow:
    0 10px 26px rgba(6, 125, 117, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.topbar-link:hover,
.topbar-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(6, 125, 117, 0.34);
  color: var(--text);
  background: rgba(6, 125, 117, 0.06);
}

.topbar-link-primary:hover,
.topbar-link-primary:focus-visible {
  border-color: rgba(39, 184, 171, 0.7);
  background: linear-gradient(135deg, rgba(8, 140, 132, 1), rgba(44, 198, 183, 0.98));
  box-shadow:
    0 14px 32px rgba(6, 125, 117, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 4.5rem);
  padding: 1rem 0 2.5rem;
}

.hero-copy {
  max-width: 36rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 7.2vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-text {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.82;
}

.slogans {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.slogan-lead {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.slogan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.slogan-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 251, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
  min-height: 48rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-visual:hover,
.hero-visual:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.hero-visual:focus-visible {
  outline: 2px solid rgba(39, 184, 171, 0.8);
  outline-offset: 0.45rem;
  border-radius: 28px;
}

.visual-orb {
  position: absolute;
  inset: auto 6% 6% 12%;
  width: 76%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 125, 117, 0.22), transparent 68%);
  filter: blur(12px);
  animation: drift 10s ease-in-out infinite;
}

.mockup {
  position: relative;
  width: min(100%, 640px);
  border-radius: 28px;
  border: 1px solid rgba(6, 125, 117, 0.24);
  background:
    linear-gradient(180deg, rgba(12, 19, 30, 0.94) 0%, rgba(6, 10, 18, 0.98) 100%);
  box-shadow:
    0 34px 68px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(6, 125, 117, 0.08),
    0 0 72px rgba(6, 125, 117, 0.14);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-11deg) rotateX(5deg);
  animation: float 8s ease-in-out infinite;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-visual:hover .mockup,
.hero-visual:focus-visible .mockup {
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) translateY(-4px);
  border-color: rgba(39, 184, 171, 0.34);
  box-shadow:
    0 40px 76px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(39, 184, 171, 0.12),
    0 0 88px rgba(6, 125, 117, 0.2);
}

.mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(6, 125, 117, 0.18), transparent 24%),
    radial-gradient(circle at 22% 100%, rgba(39, 184, 171, 0.1), transparent 30%);
  pointer-events: none;
}

.mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(6, 125, 117, 0.12);
}

.mockup-pill {
  width: 7.5rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(6, 125, 117, 0.95), rgba(39, 184, 171, 0.55));
  box-shadow: 0 0 18px rgba(6, 125, 117, 0.22);
}

.mockup-dots,
.conversation-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dots span,
.conversation-actions span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(214, 236, 255, 0.26);
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  min-height: 34rem;
}

.mockup-rail {
  padding: 1rem;
  border-right: 1px solid rgba(6, 125, 117, 0.1);
  background: rgba(255, 255, 255, 0.015);
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.rail-row {
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(6, 125, 117, 0.08);
}

.rail-row-wide {
  height: 4.1rem;
}

.rail-row-mid {
  width: 88%;
}

.rail-row-short {
  width: 74%;
}

.mockup-chat {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-head-avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 125, 117, 0.95), rgba(39, 184, 171, 0.6));
  box-shadow: 0 0 22px rgba(6, 125, 117, 0.2);
}

.chat-head-lines {
  display: grid;
  gap: 0.42rem;
}

.chat-head-lines span {
  display: block;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214, 236, 255, 0.3), rgba(214, 236, 255, 0.08));
}

.chat-head-lines span:first-child {
  width: 8rem;
}

.chat-head-lines span:last-child {
  width: 4.8rem;
}

.chat-stack {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.bubble {
  border-radius: 22px;
  border: 1px solid rgba(6, 125, 117, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.bubble-in {
  justify-self: start;
  width: min(72%, 18rem);
}

.bubble-out {
  justify-self: end;
  width: min(78%, 20rem);
  background: linear-gradient(135deg, rgba(6, 125, 117, 0.95), rgba(10, 154, 143, 0.92));
  border-color: rgba(6, 125, 117, 0.28);
  box-shadow: 0 20px 34px rgba(6, 125, 117, 0.18);
}

.bubble-a {
  height: 3.6rem;
}

.bubble-b {
  height: 4.8rem;
}

.bubble-c {
  height: 3.1rem;
  width: min(60%, 14rem);
}

.chat-media-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.media-card {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6, 125, 117, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 30% 30%, rgba(39, 184, 171, 0.25), transparent 55%);
  border: 1px solid rgba(6, 125, 117, 0.12);
}

.media-card-tall {
  aspect-ratio: 0.82 / 1;
}

.composer-skel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 125, 117, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.composer-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 236, 255, 0.46);
}

.composer-line {
  flex: 1;
  height: 0.76rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214, 236, 255, 0.28), rgba(214, 236, 255, 0.08));
}

.composer-send {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 125, 117, 0.95), rgba(39, 184, 171, 0.92));
  box-shadow: 0 14px 26px rgba(6, 125, 117, 0.24);
  position: relative;
}

.composer-send::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.56rem;
  height: 0.56rem;
  border: 2px solid rgba(7, 17, 28, 0.96);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.partner-badge {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.partner-copy {
  color: rgba(244, 251, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.partner-logo {
  display: block;
  width: auto;
  height: 1.35rem;
}

@keyframes float {
  0%,
  100% {
    transform: perspective(1600px) rotateY(-11deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1600px) rotateY(-11deg) rotateX(5deg) translateY(-12px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes soft-pop {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 42rem;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding-top: 0.9rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-link {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .slogans {
    gap: 0.7rem;
  }

  .slogan-lead {
    font-size: 1rem;
  }

  .slogan-list span {
    font-size: 0.88rem;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .mockup {
    transform: none;
    animation: none;
    border-radius: 24px;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 125, 117, 0.1);
  }

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

  .media-card-tall {
    grid-column: span 2;
    aspect-ratio: 1 / 0.7;
  }
}

@media (max-width: 520px) {
  .topbar,
  main {
    width: min(100%, calc(100% - 1.2rem));
  }

  .hero {
    gap: 1.2rem;
  }

  .chat-media-row {
    grid-template-columns: 1fr;
  }

  .media-card-tall {
    grid-column: auto;
    aspect-ratio: 1 / 1;
  }

  .partner-badge {
    right: 0.75rem;
    bottom: 0.75rem;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
  }

  .partner-copy {
    font-size: 0.74rem;
  }

  .partner-logo {
    height: 1.15rem;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .topbar-link {
    font-size: 0.78rem;
    padding-inline: 0.85rem;
  }
}

body.home-page.is-loaded .topbar {
  animation: fade-down 620ms ease both;
}

body.home-page.is-loaded .hero-copy {
  animation: fade-up 760ms ease both 70ms;
}

body.home-page.is-loaded .hero-visual {
  animation: fade-up 840ms ease both 150ms;
}

body.home-page.is-loaded .slogan-lead {
  animation: fade-up 620ms ease both 220ms;
}

body.home-page.is-loaded .slogan-list span {
  animation: fade-up 560ms ease both;
}

body.home-page.is-loaded .slogan-list span:nth-child(1) {
  animation-delay: 260ms;
}

body.home-page.is-loaded .slogan-list span:nth-child(2) {
  animation-delay: 320ms;
}

body.home-page.is-loaded .slogan-list span:nth-child(3) {
  animation-delay: 380ms;
}

body.home-page.is-loaded .partner-badge {
  animation: fade-in 700ms ease both 520ms;
}

body.home-page:not(.is-loaded) .topbar,
body.home-page:not(.is-loaded) .hero-copy,
body.home-page:not(.is-loaded) .hero-visual,
body.home-page:not(.is-loaded) .slogan-lead,
body.home-page:not(.is-loaded) .slogan-list span,
body.home-page:not(.is-loaded) .partner-badge,
body.compare-page:not(.is-loaded) .topbar,
body.compare-page:not(.is-loaded) .compare-copy,
body.compare-page:not(.is-loaded) .compare-control-shell,
body.compare-page:not(.is-loaded) .comparison-shell,
body.compare-page:not(.is-loaded) .compare-footer-card,
body.compare-page:not(.is-loaded) .comparison-matrix .matrix-row {
  opacity: 0;
}

body.home-page:not(.is-loaded) .hero-copy,
body.home-page:not(.is-loaded) .hero-visual,
body.home-page:not(.is-loaded) .slogan-lead,
body.home-page:not(.is-loaded) .slogan-list span,
body.compare-page:not(.is-loaded) .compare-copy,
body.compare-page:not(.is-loaded) .compare-control-shell,
body.compare-page:not(.is-loaded) .comparison-shell,
body.compare-page:not(.is-loaded) .compare-footer-card,
body.compare-page:not(.is-loaded) .comparison-matrix .matrix-row {
  transform: translate3d(0, 14px, 0);
}

body.home-page:not(.is-loaded) .topbar,
body.compare-page:not(.is-loaded) .topbar {
  transform: translate3d(0, -10px, 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;
  }

  body.home-page.is-loaded .topbar,
  body.home-page.is-loaded .hero-copy,
  body.home-page.is-loaded .hero-visual,
  body.home-page.is-loaded .slogan-lead,
  body.home-page.is-loaded .slogan-list span,
  body.home-page.is-loaded .partner-badge,
  body.compare-page.is-loaded .topbar,
  body.compare-page.is-loaded .compare-copy,
  body.compare-page.is-loaded .compare-control-shell,
  body.compare-page.is-loaded .comparison-shell,
  body.compare-page.is-loaded .compare-footer-card,
  body.compare-page.is-loaded .comparison-matrix .matrix-row {
    animation: none !important;
  }

  body.home-page:not(.is-loaded) .topbar,
  body.home-page:not(.is-loaded) .hero-copy,
  body.home-page:not(.is-loaded) .hero-visual,
  body.home-page:not(.is-loaded) .slogan-lead,
  body.home-page:not(.is-loaded) .slogan-list span,
  body.home-page:not(.is-loaded) .partner-badge,
  body.compare-page:not(.is-loaded) .topbar,
  body.compare-page:not(.is-loaded) .compare-copy,
  body.compare-page:not(.is-loaded) .compare-control-shell,
  body.compare-page:not(.is-loaded) .comparison-shell,
  body.compare-page:not(.is-loaded) .compare-footer-card,
  body.compare-page:not(.is-loaded) .comparison-matrix .matrix-row {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.compare-page {
  overflow-x: hidden;
}

main.compare-layout {
  width: var(--container);
  margin-inline: auto;
  padding: 1.25rem 0 2.6rem;
  display: grid;
  gap: 0.95rem;
}

.compare-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.compare-copy {
  padding: 1.85rem 1.9rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.88), rgba(6, 10, 18, 0.94));
  box-shadow: var(--shadow);
}

.compare-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.compare-copy p {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.comparison-shell {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.9), rgba(6, 10, 18, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.comparison-focus {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid rgba(6, 125, 117, 0.12);
}

.comparison-focus-copy {
  max-width: 42rem;
}

.comparison-focus-copy span {
  display: block;
  color: rgba(159, 178, 191, 0.84);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.comparison-focus-copy h2 {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.comparison-focus-copy p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-matrix {
  min-width: 860px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr);
}

.matrix-row + .matrix-row {
  border-top: 1px solid rgba(6, 125, 117, 0.12);
}

.matrix-label,
.matrix-cell {
  padding: 1.08rem 1.12rem;
  border-right: 1px solid rgba(6, 125, 117, 0.08);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.matrix-row > :last-child {
  border-right: 0;
}

.matrix-label {
  color: rgba(159, 178, 191, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: sticky;
  left: 0;
  z-index: 1;
  backdrop-filter: blur(10px);
  background: rgba(8, 13, 22, 0.78);
}

.matrix-head .matrix-label,
.matrix-head .matrix-cell {
  padding-top: 1.12rem;
  padding-bottom: 1.12rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 800;
}

.matrix-head .matrix-label {
  z-index: 3;
  background: linear-gradient(180deg, rgba(9, 15, 24, 0.98), rgba(9, 15, 24, 0.9));
}

.matrix-justchat {
  background:
    linear-gradient(180deg, rgba(6, 125, 117, 0.22), rgba(6, 125, 117, 0.14)),
    linear-gradient(180deg, rgba(6, 125, 117, 0.08), rgba(6, 125, 117, 0.03));
  color: #effcfb;
  box-shadow:
    inset 0 0 0 1px rgba(6, 125, 117, 0.12),
    inset 0 -1px 0 rgba(39, 184, 171, 0.1);
}

.matrix-peer {
  background: rgba(255, 255, 255, 0.025);
  color: rgba(244, 251, 255, 0.88);
}

.matrix-head .matrix-justchat {
  background:
    linear-gradient(180deg, rgba(6, 125, 117, 0.3), rgba(6, 125, 117, 0.18)),
    linear-gradient(180deg, rgba(6, 125, 117, 0.08), rgba(6, 125, 117, 0.03));
  box-shadow:
    inset 0 0 0 1px rgba(39, 184, 171, 0.2),
    0 0 0 1px rgba(6, 125, 117, 0.1);
}

.matrix-head .matrix-peer {
  background: rgba(255, 255, 255, 0.05);
}

.matrix-cell {
  line-height: 1.6;
}

.matrix-justchat strong,
.matrix-justchat span,
.matrix-head .matrix-justchat {
  color: #f2fffd;
}

.matrix-row:not(.matrix-head):nth-child(odd) .matrix-cell {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-matrix .matrix-row:not(.matrix-head) .matrix-justchat {
  background:
    linear-gradient(180deg, rgba(6, 125, 117, 0.22), rgba(6, 125, 117, 0.14)),
    linear-gradient(180deg, rgba(6, 125, 117, 0.08), rgba(6, 125, 117, 0.03));
}

.matrix-row:not(.matrix-head):nth-child(odd) .matrix-label {
  background: rgba(8, 13, 22, 0.84);
}

.comparison-matrix .matrix-row:not(.matrix-head):hover .matrix-justchat {
  background:
    linear-gradient(180deg, rgba(6, 125, 117, 0.26), rgba(6, 125, 117, 0.16)),
    linear-gradient(180deg, rgba(6, 125, 117, 0.08), rgba(6, 125, 117, 0.03));
}

.matrix-row:not(.matrix-head):hover .matrix-label,
.matrix-row:not(.matrix-head):hover .matrix-cell {
  background: rgba(255, 255, 255, 0.035);
}

.matrix-row:last-child .matrix-cell {
  border-bottom: 0;
}

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

.comparison-row {
  display: grid;
  grid-template-columns: 180px repeat(5, minmax(0, 1fr));
}

.comparison-row + .comparison-row {
  border-top: 1px solid rgba(6, 125, 117, 0.12);
}

.comparison-label,
.comparison-cell {
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(6, 125, 117, 0.1);
}

.comparison-cell:last-child,
.comparison-label:last-child {
  border-right: 0;
}

.comparison-label {
  color: rgba(159, 178, 191, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-head .comparison-label,
.comparison-head .comparison-cell {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.comparison-head .comparison-justchat {
  background: rgba(6, 125, 117, 0.14);
}

.matrix-head .matrix-cell {
  font-weight: 800;
}

.comparison-cell {
  color: rgba(244, 251, 255, 0.88);
  line-height: 1.55;
}

.comparison-justchat {
  background: rgba(6, 125, 117, 0.08);
  color: #effcfb;
}

.compare-footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 125, 117, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.compare-footer-card p {
  margin: 0;
  color: rgba(244, 251, 255, 0.82);
  line-height: 1.65;
}

.compare-footer-card a {
  flex: none;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: rgba(6, 125, 117, 0.06);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.compare-footer-card a:hover,
.compare-footer-card a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(6, 125, 117, 0.34);
  background: rgba(6, 125, 117, 0.1);
}

.compare-layout-vs {
  gap: 0.8rem;
}

.compare-control-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 1.05rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 125, 117, 0.16);
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.78), rgba(6, 10, 18, 0.9));
  box-shadow: var(--shadow);
}

.compare-control-copy {
  max-width: 36rem;
}

.compare-control-copy span {
  color: rgba(159, 178, 191, 0.84);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-control-copy strong {
  display: block;
  margin-top: 0.24rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.16rem, 1.2vw + 0.92rem, 1.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.compare-select-label {
  display: grid;
  gap: 0.34rem;
  min-width: min(100%, 18rem);
}

.compare-select-label span {
  color: rgba(159, 178, 191, 0.84);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.68rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(6, 125, 117, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  appearance: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.compare-select:focus-visible {
  border-color: rgba(6, 125, 117, 0.42);
  box-shadow: 0 0 0 3px rgba(6, 125, 117, 0.16);
}

.compare-select option {
  background: #091019;
  color: var(--text);
}

.peer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(6, 125, 117, 0.1);
  border: 1px solid rgba(6, 125, 117, 0.16);
  color: rgba(244, 251, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.peer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.peer-fact {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(6, 125, 117, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.peer-fact span,
.peer-verdict span {
  display: block;
  color: rgba(159, 178, 191, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.peer-fact strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--text);
  line-height: 1.5;
}

.peer-verdict {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(6, 125, 117, 0.14);
  background: rgba(6, 125, 117, 0.06);
}

.peer-verdict p {
  margin: 0.45rem 0 0;
  color: rgba(244, 251, 255, 0.9);
}

body.compare-page.is-loaded .topbar {
  animation: fade-down 620ms ease both;
}

body.compare-page.is-loaded .compare-copy {
  animation: fade-up 760ms ease both 80ms;
}

body.compare-page.is-loaded .compare-control-shell {
  animation: fade-up 720ms ease both 150ms;
}

body.compare-page.is-loaded .comparison-shell {
  animation: fade-up 760ms ease both 230ms;
}

body.compare-page.is-loaded .compare-footer-card {
  animation: fade-up 700ms ease both 320ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row {
  animation: soft-pop 520ms ease both;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(1) {
  animation-delay: 280ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(2) {
  animation-delay: 360ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(3) {
  animation-delay: 440ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(4) {
  animation-delay: 520ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(5) {
  animation-delay: 600ms;
}

body.compare-page.is-loaded .comparison-matrix .matrix-row:nth-child(6) {
  animation-delay: 680ms;
}

@media (max-width: 1100px) {
  .compare-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main.compare-layout {
    padding-top: 1rem;
  }

  .compare-copy,
  .compare-control-shell,
  .compare-footer-card {
    padding-inline: 1.15rem;
  }

  .compare-control-shell {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .compare-footer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .peer-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .compare-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .compare-copy p {
    font-size: 0.98rem;
  }

  .compare-control-copy strong {
    font-size: 1.08rem;
  }

}
