:root {
  --bg: #07090d;
  --bg-soft: #0e131b;
  --panel: rgba(15, 20, 29, 0.9);
  --panel-strong: rgba(18, 24, 34, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf3fb;
  --muted: #99a7ba;
  --accent: #f2b766;
  --accent-2: #76d1fb;
  --accent-soft: rgba(242, 183, 102, 0.14);
  --accent-2-soft: rgba(118, 209, 251, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1240px;
}

body.theme-filter8 {
  --accent: #f2b766;
  --accent-2: #79cff9;
  --accent-soft: rgba(242, 183, 102, 0.14);
  --accent-2-soft: rgba(121, 207, 249, 0.16);
}

body.theme-focus {
  --accent: #9c72ff;
  --accent-2: #79d7fb;
  --accent-soft: rgba(156, 114, 255, 0.16);
  --accent-2-soft: rgba(121, 215, 251, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 28%),
    radial-gradient(circle at top right, var(--accent-2-soft), transparent 30%),
    linear-gradient(180deg, #06080b 0%, #0a0e14 40%, #070a0f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 86%);
}

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

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner,
.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: clamp(132px, 11vw, 164px);
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: none;
}

.brand-copy strong,
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.brand-copy span,
.site-nav a,
.eyebrow,
.tag,
.metric-label,
.pill,
.gallery-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.brand-copy span,
.site-nav a,
.metric-label,
.pill {
  color: var(--muted);
}

.site-nav,
.header-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.btn,
.btn-secondary,
.ghost-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

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

.btn {
  color: #0c1116;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 76%, white), var(--accent-2) 78%);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent-2) 28%, transparent);
}

.btn-secondary,
.ghost-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.hero {
  padding-top: 1.5rem;
}

.hero-shell,
.card,
.metric-card,
.gallery,
.cta-panel,
.comparison-card,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shell {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.62) 36%, rgba(8, 10, 14, 0.14) 66%, rgba(8, 10, 14, 0.82) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 44%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.04);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 0.72fr);
  gap: 1.2rem;
  padding: clamp(1.3rem, 3vw, 2.5rem);
  min-height: min(46rem, 82vw);
  align-items: end;
}

.hero-card,
.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-card {
  max-width: 42rem;
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 20, 29, 0.94), rgba(11, 15, 21, 0.78)),
    rgba(15, 20, 29, 0.92);
  backdrop-filter: blur(14px);
}

.hero-logo {
  max-width: 18rem;
  max-height: 5.4rem;
  width: auto;
  margin-bottom: 0.85rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.9rem, 6.8vw, 5.8rem);
  line-height: 0.92;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1;
}

h3 {
  font-size: 1.32rem;
}

.lede,
.section-copy,
.card p,
.hero-card p,
.metric-card p,
.comparison-card p,
.gallery-copy,
.cta-panel p,
.footer-copy,
.table-wrap td,
.table-wrap th {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lede {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.03rem;
}

.hero-note {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16, 21, 30, 0.92), rgba(11, 15, 22, 0.78)),
    rgba(16, 21, 30, 0.92);
  backdrop-filter: blur(12px);
}

.hero-note strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.metrics-grid,
.card-grid.two,
.card-grid.four,
.comparison-grid,
.product-grid,
.feature-grid,
.use-grid {
  display: grid;
  gap: 1rem;
}

.metrics-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(1.3rem, 3vw, 2.5rem) clamp(1.3rem, 3vw, 2rem);
}

.metric-card,
.card,
.comparison-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.metric-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.card-grid.two,
.comparison-grid,
.product-grid,
.feature-grid,
.use-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card,
.comparison-card {
  background:
    linear-gradient(180deg, rgba(16, 21, 30, 0.94), rgba(11, 15, 22, 0.82)),
    rgba(16, 21, 30, 0.92);
}

.demo-showcase {
  display: grid;
  gap: 1.2rem;
}

.demo-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16, 21, 30, 0.92), rgba(11, 15, 22, 0.8)),
    rgba(16, 21, 30, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-showcase-copy {
  display: grid;
  gap: 0.7rem;
  max-width: 42rem;
}

.demo-panels {
  display: grid;
}

.demo-panel[hidden] {
  display: none !important;
}

.product-picker {
  display: grid;
  gap: 0.5rem;
  min-width: 16rem;
}

.product-picker span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.product-picker select {
  min-height: 3.2rem;
  width: 100%;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(20, 25, 36, 0.98), rgba(13, 18, 26, 0.96)),
    rgba(13, 18, 26, 0.96);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-picker select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 72%, white);
  outline-offset: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 800;
}

.tag::before,
.gallery-tag::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent-2) 48%, transparent);
}

.product-card {
  display: grid;
  gap: 1rem;
}

.product-logo {
  max-width: 14rem;
  max-height: 4.2rem;
  width: auto;
}

.quick-specs,
.bullet-list,
.gallery-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.quick-specs li + li,
.bullet-list li + li,
.gallery-points li + li {
  margin-top: 0.55rem;
}

.section-head {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-copy {
  margin-top: 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(15, 20, 29, 0.96), rgba(10, 14, 20, 0.86)),
    rgba(15, 20, 29, 0.95);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1rem;
}

.gallery-nav {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.gallery-button {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.gallery-button strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  margin-bottom: 0.28rem;
}

.gallery-button span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.gallery-button:hover,
.gallery-button:focus-visible,
.gallery-button.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 34%, white 6%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent-2) 10%, transparent)),
    rgba(255, 255, 255, 0.04);
}

.gallery-stage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.gallery-stage {
  overflow: hidden;
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050607;
}

.gallery-stage img,
.gallery-stage video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-stage.gallery-fit img,
.gallery-stage.gallery-fit video {
  object-fit: contain;
  background: #050607;
}

.gallery-info {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-weight: 800;
}

.gallery-title {
  font-size: 1.95rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

th {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

tr:last-child td {
  border-bottom: none;
}

.cta-panel {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 34, 0.96), rgba(11, 15, 22, 0.9));
}

.cta-panel h2 {
  max-width: 12ch;
  margin: 0 auto;
}

.cta-panel p {
  max-width: 44rem;
  margin: 1rem auto 0;
}

.cta-panel .button-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.footer {
  padding: 1.6rem 0 2.8rem;
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
}

.footer-copy {
  font-size: 0.94rem;
}

@media (max-width: 1180px) {
  .hero-inner,
  .gallery-stage-wrap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

@media (max-width: 980px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.9rem 0;
  }

  .site-nav,
  .header-actions {
    width: 100%;
  }

  .gallery-layout,
  .product-grid,
  .comparison-grid,
  .card-grid.two,
  .feature-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 4rem 0;
  }

  .hero-shell {
    border-radius: 28px;
  }

  .hero-card,
  .card,
  .metric-card,
  .comparison-card,
  .gallery,
  .cta-panel,
  .hero-note {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .card-grid.four,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .site-nav,
  .header-actions,
  .button-row {
    display: grid;
    width: 100%;
  }

  .btn,
  .btn-secondary,
  .ghost-chip {
    width: 100%;
  }

  .gallery-button {
    padding: 0.9rem;
  }

  .demo-showcase-head {
    align-items: stretch;
    flex-direction: column;
  }

  .product-picker {
    min-width: 0;
  }
}
