:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1d;
  --surface: rgba(14, 21, 38, 0.78);
  --surface-strong: rgba(12, 18, 33, 0.92);
  --surface-glass: rgba(24, 34, 58, 0.38);
  --border: rgba(135, 170, 255, 0.18);
  --border-strong: rgba(128, 197, 255, 0.34);
  --text: #f3f7ff;
  --text-soft: #c9d4f2;
  --muted: #94a2c6;
  --blue: #62a8ff;
  --cyan: #45ddff;
  --violet: #7b70ff;
  --magenta: #de5cff;
  --success: #7fe9c8;
  --danger: #ff8aa8;
  --shadow: 0 24px 80px rgba(2, 6, 20, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
  --block-gap: 1rem;
  --block-padding: clamp(1.6rem, 2.4vw, 2rem);
  --content-gap: 1rem;
  --content-gap-lg: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(70, 110, 255, 0.14), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(87, 224, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(222, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #070a13 0%, #05070d 60%, #03050a 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  pointer-events: none;
  filter: blur(70px);
  z-index: -1;
}

body::before {
  top: -120px;
  right: -120px;
  background: rgba(98, 168, 255, 0.12);
}

body::after {
  bottom: -160px;
  left: -120px;
  background: rgba(123, 112, 255, 0.12);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.page-title-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background:
    linear-gradient(90deg, rgba(69, 221, 255, 0.055), transparent 42%),
    rgba(5, 7, 13, 0.64);
}

.page-title-inner {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 3.05rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.page-title-parent,
.page-title-text {
  min-width: 0;
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.page-title-parent {
  color: var(--muted);
}

.page-title-marker {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.page-title-separator {
  width: clamp(1.25rem, 3vw, 2.25rem);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  display: block;
  width: 1.95rem;
  height: 3rem;
  flex: 0 0 auto;
  background:
    center / contain no-repeat
    image-set(
      url("../logo-symbol-nav.webp") type("image/webp"),
      url("../logo-symbol.png") type("image/png")
    );
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.brand-copy small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer .brand {
  display: inline-block;
  line-height: 0;
}

.footer .brand-mark {
  width: min(12rem, 48vw);
  height: auto;
  aspect-ratio: 1168 / 729;
  background-image: url("../logo-transparent.png");
}

.footer .brand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 1.4vw, 1.45rem);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

.nav-menu summary:hover,
.nav-menu summary[aria-current="page"],
.nav-menu[open] summary {
  color: var(--text);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  display: none;
  min-width: 18rem;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(7, 10, 18, 0.98);
  box-shadow: var(--shadow);
}

.nav-menu-left .nav-submenu {
  right: auto;
  left: 0;
}

.nav-menu[open] .nav-submenu {
  display: grid;
  gap: 0.35rem;
}

.nav-submenu a {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}

.nav-submenu-group {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-submenu-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0.8rem 0.25rem;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-submenu-group summary::-webkit-details-marker {
  display: none;
}

.nav-submenu-group summary::after {
  content: "";
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-submenu-group[open] summary,
.nav-submenu-group summary:hover,
.nav-submenu-group summary[aria-current="page"] {
  color: var(--cyan);
  background: transparent;
}

.nav-submenu-nested {
  display: none;
  gap: 0.15rem;
  margin-left: 0.35rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(125, 211, 252, 0.28);
}

.nav-submenu-group[open] .nav-submenu-nested {
  display: grid;
}

.nav-submenu-nested a {
  padding-left: 0.8rem;
}

.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 4.6rem;
  min-height: 38px;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  list-style: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin-left: 0.05rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}

.language-menu summary:hover,
.language-menu[open] summary {
  color: var(--text);
  border-color: rgba(69, 221, 255, 0.34);
  background: rgba(69, 221, 255, 0.08);
}

.language-icon,
.language-flag {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
  overflow: hidden;
}

.language-code {
  min-width: 1.6rem;
  text-align: center;
}

.language-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  display: none;
  min-width: 15.5rem;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(7, 10, 18, 0.98);
  box-shadow: var(--shadow);
}

.language-menu[open] .language-submenu {
  display: grid;
  gap: 0.2rem;
}

.language-submenu a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.7rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.language-submenu a:hover,
.language-submenu a[aria-current="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.language-short {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.email-block-editor {
  display: grid;
  gap: 1rem;
}

.email-block-json {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.email-block-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.email-block-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: var(--block-gap);
  align-items: start;
}

.email-block-list,
.email-block-preview {
  display: grid;
  gap: 0.85rem;
}

.email-preview-modebar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.account-panel .email-preview-modebar button {
  width: auto;
  min-height: 34px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.account-panel .email-preview-modebar button[aria-pressed="true"] {
  background: var(--cyan);
  color: #04101c;
}

.email-render-preview {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #060b14;
}

.email-render-preview iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
  background: #060b14;
}

.email-text-preview {
  min-height: 420px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #060b14;
}

.email-outline-details {
  margin-top: 0.9rem;
}

.email-outline-details summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
}

.email-outline-details[open] summary {
  margin-bottom: 0.75rem;
}

.email-block-card,
.email-preview-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem;
}

.email-block-card {
  display: grid;
  gap: 0.85rem;
}

.email-block-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.email-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.account-panel .email-block-toolbar button,
.account-panel .email-block-actions button {
  width: auto;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.email-preview-block {
  display: grid;
  gap: 0.35rem;
}

.email-preview-block strong {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-preview-block span {
  color: var(--text);
  overflow-wrap: anywhere;
}

.nav-inline-form {
  margin: 0;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  color: #04101c;
  background: linear-gradient(135deg, var(--cyan), #9de7ff 42%, var(--blue));
  box-shadow: 0 16px 32px rgba(69, 221, 255, 0.2);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
}

.btn-ghost {
  color: var(--text-soft);
  padding-inline: 0;
}

.btn-block {
  width: 100%;
}

.site-main {
  position: relative;
  overflow: clip;
}

.marketing-main {
  isolation: isolate;
  --hero-tint-a: rgba(42, 210, 255, 0.72);
  --hero-tint-b: rgba(186, 42, 255, 0.58);
  --hero-hue: 0deg;
  --hero-saturation: 1.35;
}

.marketing-main > * {
  position: relative;
  z-index: 2;
}

.site-main > :not(.background-network-canvas):not(.marketing-video-background) {
  position: relative;
  z-index: 2;
}

.marketing-main > .marketing-video-background {
  position: absolute;
  z-index: 0;
}

.site-main > .background-network-canvas {
  position: absolute;
  z-index: 1;
}

.marketing-route-features {
  --hero-tint-a: rgba(0, 132, 255, 0.78);
  --hero-tint-b: rgba(0, 245, 214, 0.52);
  --hero-hue: -18deg;
  --hero-saturation: 1.55;
}

.marketing-route-console {
  --hero-tint-a: rgba(0, 255, 170, 0.7);
  --hero-tint-b: rgba(58, 178, 255, 0.56);
  --hero-hue: 28deg;
  --hero-saturation: 1.5;
}

.marketing-route-pricing {
  --hero-tint-a: rgba(162, 82, 255, 0.76);
  --hero-tint-b: rgba(255, 72, 188, 0.5);
  --hero-hue: 76deg;
  --hero-saturation: 1.45;
}

.marketing-route-faq,
.marketing-route-support {
  --hero-tint-a: rgba(28, 76, 255, 0.72);
  --hero-tint-b: rgba(34, 205, 255, 0.44);
  --hero-hue: -42deg;
  --hero-saturation: 1.4;
}

.marketing-route-careers {
  --hero-tint-a: rgba(255, 56, 162, 0.78);
  --hero-tint-b: rgba(255, 170, 42, 0.5);
  --hero-hue: 118deg;
  --hero-saturation: 1.5;
}

.marketing-route-contact,
.marketing-route-private-beta {
  --hero-tint-a: rgba(232, 42, 255, 0.82);
  --hero-tint-b: rgba(42, 220, 255, 0.52);
  --hero-hue: 54deg;
  --hero-saturation: 1.52;
}

.marketing-route-download {
  --hero-tint-a: rgba(44, 222, 255, 0.8);
  --hero-tint-b: rgba(104, 168, 255, 0.58);
  --hero-hue: -8deg;
  --hero-saturation: 1.55;
}

.marketing-route-privacy,
.marketing-route-terms {
  --hero-tint-a: rgba(92, 130, 190, 0.7);
  --hero-tint-b: rgba(40, 210, 255, 0.34);
  --hero-hue: -28deg;
  --hero-saturation: 1.22;
}

[class*="account-route-private-beta"],
[class*="account-route-register"] {
  --hero-tint-a: rgba(232, 42, 255, 0.82);
  --hero-tint-b: rgba(42, 220, 255, 0.52);
  --hero-hue: 54deg;
  --hero-saturation: 1.52;
}

[class*="account-route-login"] {
  --hero-tint-a: rgba(52, 140, 255, 0.76);
  --hero-tint-b: rgba(42, 220, 255, 0.44);
  --hero-hue: -32deg;
  --hero-saturation: 1.42;
}

[class*="account-route-account"],
[class*="account-route-download"] {
  --hero-tint-a: rgba(44, 222, 255, 0.8);
  --hero-tint-b: rgba(104, 168, 255, 0.58);
  --hero-hue: -8deg;
  --hero-saturation: 1.55;
}

[class*="account-route-staff"] {
  --hero-tint-a: rgba(142, 92, 255, 0.76);
  --hero-tint-b: rgba(255, 86, 180, 0.46);
  --hero-hue: 86deg;
  --hero-saturation: 1.45;
}

.marketing-video-background {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(520px, 72vh, 760px);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(
      135deg,
      var(--hero-tint-a, rgba(42, 210, 255, 0.24)),
      var(--hero-tint-b, rgba(186, 42, 255, 0.2))
    ),
    linear-gradient(rgba(5, 7, 13, 0.45), rgba(5, 7, 13, 0.45)),
    image-set(
      url("../beat-vis-hero.avif") type("image/avif"),
      url("../beat-vis-hero.webp") type("image/webp"),
      url("../beat-vis-hero.jpg") type("image/jpeg")
    );
  background-blend-mode: screen, normal, normal;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  filter: hue-rotate(var(--hero-hue, 0deg))
    saturate(var(--hero-saturation, 1.35))
    contrast(1.08);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 300px),
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 300px),
    rgba(0, 0, 0, 0) 100%
  );
}

.background-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.0698;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

.site-main > .background-network-canvas {
  z-index: 1;
}

.home-video-background > .background-network-canvas,
.marketing-video-background > .background-network-canvas {
  z-index: 1;
}

/* Page-spanning network is pinned to the viewport (not the full document
   height) so tall pages don't composite a giant animated, blended layer. */
.site-main > .background-network-canvas.page-background-network {
  position: fixed;
  inset: 0;
}

.marketing-video-background::before,
.home-video-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
  background:
    radial-gradient(circle at 24% 18%, var(--hero-tint-a, rgba(42, 210, 255, 0.72)), transparent 48%),
    linear-gradient(135deg, var(--hero-tint-a, rgba(42, 210, 255, 0.72)), var(--hero-tint-b, rgba(186, 42, 255, 0.58)));
  mix-blend-mode: screen;
}

.marketing-video-background video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.18) contrast(1.08);
}

.marketing-video-background.is-video-playing {
  background-image: none;
}

.account-video-background {
  height: clamp(560px, 78vh, 820px);
  background-position: center top;
}

.home-hero-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.home-video-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(
      135deg,
      var(--hero-tint-a, rgba(42, 210, 255, 0.24)),
      var(--hero-tint-b, rgba(186, 42, 255, 0.2))
    ),
    linear-gradient(rgba(5, 7, 13, 0.45), rgba(5, 7, 13, 0.45)),
    image-set(
      url("../beat-vis-hero.avif") type("image/avif"),
      url("../beat-vis-hero.webp") type("image/webp"),
      url("../beat-vis-hero.jpg") type("image/jpeg")
    );
  background-blend-mode: screen, normal, normal;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: hue-rotate(var(--hero-hue, 0deg))
    saturate(var(--hero-saturation, 1.35))
    contrast(1.08);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 300px),
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 300px),
    rgba(0, 0, 0, 0) 100%
  );
}

.home-video-background video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.18) contrast(1.08);
}

.home-video-background.is-video-playing {
  background-image: none;
}

.home-video-background::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(620px, 70%);
  background: linear-gradient(
    180deg,
    rgba(4, 7, 14, 0) 0%,
    rgba(4, 7, 14, 0.28) 24%,
    rgba(4, 7, 14, 0.76) 52%,
    rgba(4, 7, 14, 0.94) 72%,
    var(--bg) 90%,
    var(--bg) 100%
  );
}

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

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding: 5.4rem 0 4.5rem;
}

.page-hero {
  padding: 4.75rem 0 3rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: var(--block-gap);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.2rem);
}

h2 {
  font-size: clamp(2.05rem, 5vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1rem;
  max-width: 48rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-support {
  max-width: 46rem;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.hero-copy .lead {
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.split-layout > .actions {
  align-self: center;
  margin-top: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.metric strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.1rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 5.75rem 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.15rem);
}

.section-heading > .eyebrow {
  margin-bottom: 0;
}

.section-heading p {
  margin-top: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.surface {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 23, 41, 0.74), rgba(11, 17, 31, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.grid-2,
.grid-3,
.grid-4,
.grid-1 {
  display: grid;
  gap: var(--block-gap);
}

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

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

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

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

.card {
  height: 100%;
  padding: var(--block-padding);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(12, 18, 33, 0.75);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.card p,
.card li,
.card span {
  color: var(--muted);
}

/* Default vertical rhythm for text-heavy surfaces. Keep this scoped to content
   containers so nav, tables, buttons, and form internals do not get blown up. */
.card > :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions) + :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions),
.hero-card > :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions) + :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions),
.info-card > :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions) + :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions),
.split-layout > :not(.actions) > :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout) + :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout),
.legal-copy section > :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions) + :is(h1, h2, h3, h4, p, ul, ol, .check-list, .pill-list, .data-stack, .offer-callout, .contact-form, .actions) {
  margin-top: var(--content-gap);
}

.card > :is(p, ul, ol, .check-list, .pill-list, .data-stack) + :is(h3, h4),
.hero-card > :is(p, ul, ol, .check-list, .pill-list, .data-stack) + :is(h3, h4),
.info-card > :is(p, ul, ol, .check-list, .pill-list, .data-stack) + :is(h3, h4) {
  margin-top: var(--content-gap-lg);
}

.split-layout > :not(.actions) > :is(h1, h2, h3, h4) + :is(p, .lead) {
  margin-top: 1.35rem;
}

.section > :is(.surface, .card, .grid-1, .grid-2, .grid-3, .grid-4, .split-layout, .problem-layout, .contact-grid, .pricing-grid, .quote-grid, .steps, .comparison-grid, .table-scroll, .app-shot-grid, .console-onboarding-grid, .tech-logo-grid, .cta-band) + :is(.surface, .card, .grid-1, .grid-2, .grid-3, .grid-4, .split-layout, .problem-layout, .contact-grid, .pricing-grid, .quote-grid, .steps, .comparison-grid, .table-scroll, .app-shot-grid, .console-onboarding-grid, .tech-logo-grid, .cta-band) {
  margin-top: var(--block-gap);
}

.platform-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.platform-card-heading .platform-icon {
  margin-top: 1.38rem;
}

.platform-card-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.platform-card-heading h3 {
  margin: 0;
}

.platform-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(103, 200, 255, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(15, 23, 42, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.platform-icon img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(69, 221, 255, 0.18), rgba(123, 112, 255, 0.2), rgba(98, 168, 255, 0.18));
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.card h3,
.card h4 {
  margin-bottom: 0.7rem;
}

.app-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--block-gap);
}

.app-shot-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.1rem;
  padding: 1rem;
  overflow: hidden;
}

.app-shot-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  grid-template-rows: auto;
  align-items: center;
}

.app-shot-card img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.34);
}

.app-shot-card:not(.app-shot-card-featured) img {
  aspect-ratio: 16 / 10;
}

.app-shot-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 0.15rem 0.25rem 0.35rem;
}

.app-shot-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.app-shot-copy p {
  color: var(--text-soft);
}

.console-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--block-gap);
}

.console-onboarding-slide {
  display: grid;
  grid-template-rows: minmax(15rem, auto) 1fr;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem;
  overflow: hidden;
}

.console-onboarding-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.console-onboarding-media img {
  width: 100%;
  height: 100%;
  max-height: 20rem;
  object-fit: contain;
}

.console-osc-visual {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: #171a1d;
}

.console-osc-title {
  color: #4cc2ff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-osc-cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.console-osc-cells span {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  border: 1px solid #36556a;
  background: #20262b;
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 800;
}

.console-osc-cells span:nth-child(3n + 1) {
  border-color: #4deb37;
  background: #2d5574;
}

.console-osc-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.console-osc-providers span {
  display: inline-grid;
  place-items: center;
  min-height: 1.9rem;
  padding: 0 0.72rem;
  border: 1px solid #4deb37;
  background: #15191d;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.console-osc-providers span:nth-child(2) {
  border-color: #ffa94d;
}

.console-osc-providers span:nth-child(3) {
  border-color: #4cc2ff;
}

.tech-stack-panel {
  padding: 1.7rem;
}

.tech-stack-intro {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin-bottom: 1.4rem;
}

.tech-stack-intro p {
  color: var(--text-soft);
}

.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--block-gap);
}

.tech-logo {
  --tech-a: rgba(98, 168, 255, 0.2);
  --tech-b: rgba(69, 221, 255, 0.18);
  --tech-c: rgba(123, 112, 255, 0.18);
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.95rem;
  align-items: start;
  min-height: 146px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.015);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.tech-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.tech-logo-mark {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, var(--tech-a), transparent 55%),
    linear-gradient(135deg, var(--tech-b), rgba(255, 255, 255, 0.03), var(--tech-c));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.22);
}

.tech-logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 35%, rgba(255, 255, 255, 0.14) 35% 38%, transparent 38% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.tech-logo-mark::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  right: 0.6rem;
  bottom: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.tech-logo-mark span {
  position: relative;
  z-index: 1;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.tech-logo-copy strong,
.tech-logo-copy small {
  display: block;
}

.tech-logo-copy {
  display: grid;
  grid-template-rows: minmax(2.7rem, auto) 1fr;
  align-content: start;
  align-self: stretch;
  min-height: 100%;
}

.tech-logo-copy strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
}

.tech-logo-copy small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  align-self: start;
}

.tech-midi { --tech-a: rgba(127, 233, 200, 0.22); --tech-b: rgba(69, 221, 255, 0.18); --tech-c: rgba(87, 224, 255, 0.16); }
.tech-osc { --tech-a: rgba(98, 168, 255, 0.2); --tech-b: rgba(69, 221, 255, 0.2); --tech-c: rgba(123, 112, 255, 0.18); }
.tech-touchosc { --tech-a: rgba(127, 233, 200, 0.2); --tech-b: rgba(69, 221, 255, 0.18); --tech-c: rgba(255, 193, 94, 0.15); }
.tech-ndi { --tech-a: rgba(69, 221, 255, 0.22); --tech-b: rgba(98, 168, 255, 0.2); --tech-c: rgba(42, 116, 255, 0.2); }
.tech-spout { --tech-a: rgba(123, 112, 255, 0.18); --tech-b: rgba(98, 168, 255, 0.2); --tech-c: rgba(69, 221, 255, 0.16); }
.tech-dmx { --tech-a: rgba(255, 193, 94, 0.24); --tech-b: rgba(222, 92, 255, 0.16); --tech-c: rgba(98, 168, 255, 0.18); }
.tech-hap { --tech-a: rgba(127, 233, 200, 0.18); --tech-b: rgba(98, 168, 255, 0.18); --tech-c: rgba(123, 112, 255, 0.16); }
.tech-ffmpeg { --tech-a: rgba(139, 240, 157, 0.22); --tech-b: rgba(69, 221, 255, 0.16); --tech-c: rgba(98, 168, 255, 0.18); }
.tech-camera { --tech-a: rgba(98, 168, 255, 0.22); --tech-b: rgba(255, 255, 255, 0.08); --tech-c: rgba(69, 221, 255, 0.18); }
.tech-audio { --tech-a: rgba(255, 193, 94, 0.2); --tech-b: rgba(127, 233, 200, 0.16); --tech-c: rgba(98, 168, 255, 0.16); }
.tech-glsl { --tech-a: rgba(222, 92, 255, 0.18); --tech-b: rgba(123, 112, 255, 0.2); --tech-c: rgba(98, 168, 255, 0.16); }
.tech-opengl { --tech-a: rgba(98, 168, 255, 0.24); --tech-b: rgba(69, 221, 255, 0.16); --tech-c: rgba(222, 92, 255, 0.14); }
.tech-smpte { --tech-a: rgba(255, 138, 168, 0.18); --tech-b: rgba(123, 112, 255, 0.16); --tech-c: rgba(98, 168, 255, 0.16); }
.tech-link { --tech-a: rgba(127, 233, 200, 0.2); --tech-b: rgba(98, 168, 255, 0.16); --tech-c: rgba(69, 221, 255, 0.16); }
.tech-mp4 { --tech-a: rgba(98, 168, 255, 0.18); --tech-b: rgba(255, 193, 94, 0.18); --tech-c: rgba(69, 221, 255, 0.16); }
.tech-png { --tech-a: rgba(255, 138, 168, 0.18); --tech-b: rgba(255, 193, 94, 0.16); --tech-c: rgba(127, 233, 200, 0.14); }

.problem-layout,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: var(--block-gap);
  align-items: stretch;
}

.comparison-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.comparison-card {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-family: "Sora", "Segoe UI", sans-serif;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--block-gap);
}

.step-card {
  position: relative;
  padding: 1.8rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(69, 221, 255, 0.16), rgba(123, 112, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
}

.check-list,
.pill-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.pill-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-top: 0.75rem;
  color: var(--text-soft);
}

.check-list > li:first-child,
.pill-list > li:first-child {
  margin-top: 0;
}

.check-list li::before,
.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 5px rgba(69, 221, 255, 0.08);
}

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

.pill-list li {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.pill-list li::before {
  display: none;
}

.benefits-panel {
  padding: 2rem;
}

.highlight-box {
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(69, 221, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.highlight-box h3 {
  margin-bottom: 0.85rem;
}

.highlight-box p {
  color: var(--text-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--block-gap);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 2rem;
}

.pricing-card.featured {
  border-color: rgba(69, 221, 255, 0.3);
}

.plan-label {
  display: inline-flex;
  align-self: start;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(69, 221, 255, 0.1);
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
}

.price-display span {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.plan-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-note strong {
  color: var(--text);
}

.pricing-card .check-list {
  margin-top: 0;
  margin-bottom: 0;
}

.pricing-card .actions {
  margin-top: auto;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--block-gap);
}

.quote-card {
  padding: var(--block-padding);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list > .section-heading {
  max-width: none;
  margin: clamp(1.7rem, 3vw, 2.35rem) 0 0.35rem;
}

.faq-list > .section-heading:first-child {
  margin-top: 0;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.45rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-size: 1.15rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 1.45rem 1.35rem;
  color: var(--text-soft);
}

.faq-answer p + p {
  margin-top: 0.95rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -20% 44% -35% -10%;
  background: radial-gradient(circle, rgba(69, 221, 255, 0.22), transparent 60%);
}

.cta-band-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.cta-band p {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.hero-card,
.info-card {
  padding: var(--block-padding);
}

.data-stack {
  display: grid;
  gap: 1rem;
}

.data-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.data-row span:first-child {
  color: var(--muted);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

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

.compare-table--wide {
  min-width: 1120px;
}

.compare-table--wide th:first-child,
.compare-table--wide td:first-child {
  min-width: 190px;
}

.compare-table th,
.compare-table td {
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.compare-table td {
  color: var(--text-soft);
}

.compare-table--competitive th:nth-child(2),
.compare-table--competitive td:nth-child(2) {
  background: rgba(69, 221, 255, 0.055);
  border-left: 1px solid rgba(69, 221, 255, 0.18);
  border-right: 1px solid rgba(69, 221, 255, 0.18);
}

.compare-table--competitive th:nth-child(2) {
  color: var(--cyan);
}

.compare-table--competitive tbody tr:first-child td:nth-child(2) {
  box-shadow: inset 0 1px 0 rgba(69, 221, 255, 0.22);
}

.compare-table--competitive tbody tr:last-child td:nth-child(2) {
  box-shadow: inset 0 -1px 0 rgba(69, 221, 255, 0.22);
}

/* Mobile/tablet: 2-axis scroll box. Freeze the header row plus BOTH the
   Capability and Beat Velocity columns (sticky-left), so only the competitor
   columns scroll horizontally. --cap-w drives the Capability width and the
   Beat Velocity column's left offset so they always line up. */
@media (max-width: 1080px) {
  .table-scroll {
    overflow: auto;
    max-height: 78vh;
    padding: 0;
  }

  .compare-table--wide {
    --cap-w: 190px;
  }

  .compare-table--wide thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #0d1322;
  }

  .compare-table--wide th:first-child,
  .compare-table--wide td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: var(--cap-w);
    min-width: var(--cap-w);
    background: #0d1322;
  }

  .compare-table--wide th:nth-child(2),
  .compare-table--wide td:nth-child(2) {
    position: sticky;
    /* start 1px early so it overlaps the Capability column's right edge —
       prevents a sub-pixel seam where scrolling content peeks through. */
    left: calc(var(--cap-w) - 1px);
    z-index: 2;
  }

  /* opaque Beat Velocity column so scrolling competitors don't bleed through */
  .compare-table--competitive th:nth-child(2),
  .compare-table--competitive td:nth-child(2) {
    background:
      linear-gradient(rgba(69, 221, 255, 0.08), rgba(69, 221, 255, 0.08)),
      #0d1322;
  }

  /* frozen top-left corners sit above everything */
  .compare-table--wide thead th:first-child,
  .compare-table--wide thead th:nth-child(2) {
    z-index: 4;
  }
}

/* Portrait phones: shrink the frozen + competitor columns so Capability,
   Beat Velocity, and one competitor all fit on a narrow screen (labels may wrap). */
@media (orientation: portrait) and (max-width: 600px) {
  .compare-table--wide {
    min-width: 0;
    --cap-w: 112px;
  }

  .compare-table--wide th,
  .compare-table--wide td {
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* compact pills so values fit without breaking mid-word */
  .compare-table--wide .tag {
    min-width: 0;
    padding: 0.26rem 0.5rem;
    font-size: 0.72rem;
  }

  .compare-table--wide th:nth-child(2),
  .compare-table--wide td:nth-child(2) {
    min-width: 108px;
  }

  .compare-table--wide th:nth-child(n+3),
  .compare-table--wide td:nth-child(n+3) {
    min-width: 106px;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-yes {
  background: rgba(127, 233, 200, 0.1);
  color: var(--success);
}

.tag-soon {
  background: rgba(222, 92, 255, 0.12);
  color: #f0b1ff;
}

.tag-limited {
  background: rgba(255, 193, 94, 0.12);
  color: #ffd48a;
}

.tag-custom {
  background: rgba(123, 112, 255, 0.16);
  color: #cdc6ff;
}

.tag-no {
  background: rgba(255, 138, 168, 0.12);
  color: var(--danger);
}

.tag-focus {
  background: rgba(69, 221, 255, 0.12);
  color: var(--cyan);
}

.spacer-top-md {
  margin-top: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--block-gap);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.field select {
  color-scheme: dark;
}

.field select option,
.field select optgroup {
  background: #f8fafc;
  color: #04101c;
}

.field select option:checked {
  background: #93c5fd;
  color: #04101c;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.notice-error {
  border-color: rgba(255, 94, 94, 0.48);
  background: rgba(255, 61, 87, 0.13);
  color: #ffd6dd;
}

.offer-callout {
  display: grid;
  gap: 0.7rem;
  margin: 1.45rem 0;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(69, 221, 255, 0.34);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(69, 221, 255, 0.14), rgba(122, 107, 255, 0.08)),
    rgba(10, 18, 32, 0.78);
  box-shadow: 0 18px 45px rgba(25, 211, 255, 0.1);
}

.offer-callout span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-callout strong {
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.35;
}

.legal-copy {
  display: grid;
  gap: 0;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 1.6rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.82), rgba(8, 13, 24, 0.9));
  box-shadow: var(--shadow);
}

.legal-copy section {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-copy section:last-child {
  border-bottom: 0;
}

.legal-copy section.surface {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.legal-copy h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.legal-copy h4 {
  margin: 1.15rem 0 0.45rem;
  color: var(--text);
  font-size: 1rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-copy p + p {
  margin-top: 0.75rem;
}

.legal-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  padding: 2rem 0 1.3rem;
}

.footer-copy {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-copy p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.footer-links {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  align-content: start;
  justify-content: center;
  width: 100%;
  padding-bottom: 0;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 700;
}

.footer-meta {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@media (max-width: 1080px) {
  .hero-section,
  .page-hero-grid,
  .problem-layout,
  .split-layout,
  .contact-grid,
  .cta-band-content {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 4.5rem;
  }

  .pricing-grid,
  .quote-grid,
  .steps,
  .grid-3,
  .grid-4,
  .hero-meta,
  .tech-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 3.5rem 0;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(7, 10, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 0.35rem 0;
  }

  .nav-menu {
    display: block;
    min-height: 0;
    width: 100%;
  }

  .nav-menu summary {
    width: 100%;
    justify-content: space-between;
    padding: 0.35rem 0;
  }

  .nav-submenu {
    position: static;
    display: grid;
    margin-top: 0.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    box-shadow: none;
  }

  .language-menu {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .language-menu summary {
    width: 100%;
    justify-content: space-between;
  }

  .language-submenu {
    position: static;
    display: none;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .email-block-toolbar,
  .email-block-layout {
    grid-template-columns: 1fr;
  }

  .email-block-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-block-actions {
    justify-content: flex-start;
  }

  .hero-section {
    gap: 2rem;
    padding-bottom: 3rem;
  }

  .page-hero {
    padding-top: 3.8rem;
  }

  .form-grid,
  .pricing-grid,
  .quote-grid,
  .steps,
  .grid-2,
  .grid-3,
  .grid-4,
  .app-shot-grid,
  .console-onboarding-grid,
  .hero-meta,
  .tech-logo-grid {
    grid-template-columns: 1fr;
  }

  .app-shot-card-featured {
    grid-template-columns: 1fr;
  }

  .metric {
    padding: 0.95rem 1rem;
  }

}

@media (max-width: 560px) {
  .section,
  .hero-section,
  .page-hero {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .section {
    padding: 2.75rem 0;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .tech-logo {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 767px) {
  .home-video-background video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-video-background video {
    display: none;
  }
}
