/* ============================================================
   REVST — Global Stylesheet
   Design system: CSS custom properties, Space Mono, flat digital aesthetic
   ============================================================ */

:root {
  /* ---- Core palette ------------------------------------- */
  --bg:           #000000;
  --surface:      #131313;
  --border:       #2a2a2a;
  --text:         #f0f0f0;
  --muted:        #999999;
  --accent:       #c8c8b4;
  --hover-white:  #ffffff;  /* hover-state highlight (button/badge :hover) */
  --danger:       #8b0000;  /* error border / heavy alert */
  --danger-text:  #cc4444;  /* inline error message text */

  /* ---- Red language ------------------------------------- */
  --red-accent: #e46c65;                  /* main red — strokes, headings, alerts */
  --red-light:  #e57373;                  /* softer hover / glow variant */
  --red-hot:    #ff2f1f;                  /* alarm-only saturated red */
  --red-deep:   #2a0a0c;                  /* gradient endpoints, deep backdrops */
  --red-glow:   rgba(228, 108, 101, 0.5); /* halo for box-shadow */

  /* ---- Accent overlay scale (rgba of --accent) ---------- */
  --accent-tint-xs: rgba(200, 200, 180, 0.03);
  --accent-tint-sm: rgba(200, 200, 180, 0.08);
  --accent-tint-md: rgba(200, 200, 180, 0.14);
  --accent-tint-lg: rgba(200, 200, 180, 0.24);
  --accent-tint-xl: rgba(200, 200, 180, 0.40);

  /* ---- Scrims (black overlays for backdrops) ----------- */
  --scrim-light: rgba(0, 0, 0, 0.45);
  --scrim-med:   rgba(0, 0, 0, 0.78);
  --scrim-heavy: rgba(0, 0, 0, 0.90);

  /* ---- Dimmed text (rgba of --text) -------------------- */
  --text-dim:    rgba(240, 240, 240, 0.62);

  /* ---- Type -------------------------------------------- */
  --font-mono: 'Space Mono', monospace;

  /* ---- Spacing scale ----------------------------------- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --nav-height: 3.5rem;
  --nav-total-height: calc(var(--nav-height) + var(--safe-top));
}

/* ---- Reset ------------------------------------------------ */

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
}

body {
  --grid-gradient-crossover: 33.333vh;

  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M100 0H0v100' fill='none' stroke='%23ffffff' stroke-opacity='0.034' stroke-width='8'/%3E%3C/svg%3E"),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.038) 0%,
      transparent var(--grid-gradient-crossover),
      transparent 100%
    ),
    var(--bg);
  background-size: 0.5vw 0.5vw, 100% 100vh, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  color: var(--text);
  min-height: 100vh;
}

body.home-page-body {
  --grid-gradient-crossover: 66.666vh;
}

body.plugin-page-body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M100 0H0v100' fill='none' stroke='%23ffffff' stroke-opacity='0.02' stroke-width='8'/%3E%3C/svg%3E"),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.014) 0%,
      transparent var(--grid-gradient-crossover),
      transparent 100%
    ),
    var(--bg);
  background-size: 0.5vw 0.5vw, 100% 100vh, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.revst-light-cursor-enabled,
  html.revst-light-cursor-enabled * {
    cursor: none;
  }

  .revst-light-cursor,
  .revst-light-cursor-trail {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, opacity;
  }

  .revst-light-cursor {
    border-radius: 50%;
    width: 0.38rem;
    height: 0.38rem;
    background: rgba(255,255,255,1);
    box-shadow:
      0 0 6px rgba(255,255,255,0.92),
      0 0 14px rgba(255,255,255,0.46),
      0 0 28px rgba(200,200,180,0.2);
    border: 1px solid rgba(255,255,255,0.98);
    transition:
      width 0.16s ease,
      height 0.16s ease,
      opacity 0.16s ease,
      background-color 0.16s ease,
      box-shadow 0.16s ease;
  }

  .revst-light-cursor-trail {
    width: 0;
    height: 0;
    z-index: 2147483646;
  }

  .revst-light-cursor-trail-segment {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.16) 16%,
      rgba(255,255,255,0.58) 70%,
      rgba(255,255,255,0.22) 100%
    );
    box-shadow:
      0 0 8px rgba(255,255,255,0.38),
      0 0 18px rgba(255,255,255,0.18);
    filter: blur(0.45px);
    transform: translate3d(-100px, -100px, 0);
    will-change: transform, opacity, width, height;
  }

  .revst-light-cursor.is-visible,
  .revst-light-cursor-trail.is-visible {
    opacity: 1;
  }

  .revst-light-cursor-trail.is-visible {
    opacity: 1;
  }

  .revst-light-cursor-trail.is-visible .revst-light-cursor-trail-segment {
    opacity: var(--trail-opacity, 0.3);
  }

  .revst-light-cursor.is-interactive {
    background: rgba(214,86,82,1);
    box-shadow:
      0 0 10px rgba(214,86,82,0.95),
      0 0 26px rgba(214,86,82,0.56),
      0 0 54px rgba(180,62,60,0.28);
    border-color: rgba(214,86,82,0.98);
  }

  .revst-light-cursor-trail.is-interactive .revst-light-cursor-trail-segment {
    background: linear-gradient(
      90deg,
      rgba(214,86,82,0) 0%,
      rgba(214,86,82,0.18) 16%,
      rgba(214,86,82,0.62) 70%,
      rgba(214,86,82,0.26) 100%
    );
    box-shadow:
      0 0 8px rgba(214,86,82,0.42),
      0 0 18px rgba(214,86,82,0.2);
  }

  .revst-light-cursor.is-clicking {
    background: rgba(255,18,0,1);
    border-color: rgba(255,18,0,1);
    box-shadow:
      0 0 12px rgba(255,18,0,1),
      0 0 30px rgba(255,47,31,0.9),
      0 0 64px rgba(255,47,31,0.55);
  }

  .revst-light-cursor-trail.is-clicking .revst-light-cursor-trail-segment {
    background: linear-gradient(
      90deg,
      rgba(255,18,0,0) 0%,
      rgba(255,18,0,0.2) 16%,
      rgba(255,18,0,0.7) 70%,
      rgba(255,18,0,0.32) 100%
    );
    box-shadow:
      0 0 10px rgba(255,18,0,0.26),
      0 0 22px rgba(255,47,31,0.14);
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Page layout ----------------------------------------- */

.page-wrapper {
  padding-top: var(--nav-total-height);
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.page-wrapper > main,
.page-wrapper > footer {
  min-width: 0;
}

/* Extra top padding when promo banner is active (banner is 2rem) */
.promo-banner[data-banner-active="true"] + .page-wrapper {
  padding-top: calc(var(--nav-total-height) + 2rem);
}

/* ---- Nav ------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  height: var(--nav-total-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding:
    var(--safe-top)
    max(var(--space-lg), calc(var(--safe-right) + var(--space-lg)))
    0
    max(var(--space-lg), calc(var(--safe-left) + var(--space-lg)));
  z-index: 1100;
}

/* Mobile-only actions cluster (cart + hamburger) — hidden on desktop, shown ≤1024px */
.nav-mobile-actions {
  display: none;
  position: absolute;
  top: 50%;
  right: max(var(--space-md), calc(var(--safe-right) + var(--space-md)));
  transform: translateY(-50%);
  align-items: center;
  gap: 0.5rem;
  z-index: 1125;
}

.nav-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
}

.nav-cart-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cart-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cart-link .cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  font-size: 0.6rem;
  line-height: 1.1rem;
  text-align: center;
  border: 1px solid var(--bg);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  z-index: 1120;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--text);
  transition: transform 180ms ease, opacity 140ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.nav-wordmark {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--text);
  text-decoration: none;
}

.nav-wordmark:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: grid;
  grid-auto-flow: column;
  justify-content: end;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 6px rgba(240,240,240,0.2);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 0.9rem;
  margin-bottom: -0.9rem;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.9rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 13rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px var(--scrim-light);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  z-index: 1110;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  text-shadow: none;
}

/* ---- Cart badge ------------------------------------------ */

.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.15em 0.4em;
  margin-left: 0.3em;
  vertical-align: middle;
}

.cart-badge {
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.nav-links .cart-badge {
  margin-left: 0.45rem;
  transform: translateY(-1px);
}

.badge--trial {
  background: var(--accent);
  color: var(--bg);
}

.badge--licensed {
  background: var(--accent);
  color: var(--bg);
}

.badge--expired {
  background: var(--muted);
  color: var(--text);
}

/* Pulse animation when a particle lands on the cart badge */
@keyframes badge-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.6); }
  100% { transform: scale(1); }
}

.cart-badge--pop {
  animation: badge-pop 0.35s ease-out;
}

/* Add-to-cart particle squares — created by cardAddToCart(), fixed-positioned, fly to nav */
.cart-particle {
  position: fixed;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s 0.08s ease;
  will-change: transform, opacity;
}

/* Button crumble pixels — created by cardAddToCart(), overlay the button */
.crumble-pixel {
  position: absolute;
  background: var(--accent);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45),
              opacity 0.28s 0.04s ease;
  will-change: transform, opacity;
}

.crumble-pixel.fly {
  opacity: 0;
}

/* Hover pixel state — text readable above pixel grid */
.pixel-hover {
  color: var(--bg) !important;
}

/* ---- Hero ------------------------------------------------ */

.hero {
  padding: 8rem var(--space-lg);
}

.hero-wordmark {
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
  margin: 0 0 var(--space-md);
}

.hero-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---- Intro hero (index.html only) ------------------------ */

.intro-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: grid;
  grid-auto-flow: row;
  align-content: center;
  justify-items: center;
  text-align: center;
  z-index: 150;
  pointer-events: none;
}

.intro-hero-wordmark {
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
  margin: 0 0 var(--space-md);
  transition: none;
}

.intro-hero-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: none;
}

/* Spacer: pushes page content below the full-screen intro */
.page-wrapper--intro {
  padding-top: 100vh;
}

/* Nav hidden at start on index page — revealed by JS */
body.intro-active [data-partial="nav"],
body.intro-active [data-partial="footer"],
body.intro-active .promo-banner {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.intro-scrolled [data-partial="nav"],
body.intro-scrolled [data-partial="footer"],
body.intro-scrolled .promo-banner {
  opacity: 1;
  pointer-events: auto;
}

/* Hide nav wordmark only during the active intro animation */
body.intro-active .nav-wordmark {
  opacity: 0;
}

/* ---- Sections -------------------------------------------- */

.section {
  --section-inline-padding: var(--space-lg);

  padding: 1.5rem var(--section-inline-padding);
}

.section-header {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-xl);
  padding-bottom: 0;
}

.page-title {
  margin: 0 0 var(--space-md);
  color: var(--text);
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.plugin-section .section-header {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.plugin-section .section-header::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--red-accent);
  box-shadow: 0 0 6px var(--red-accent), 0 0 12px var(--red-glow);
}

.section-intro {
  max-width: 76ch;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.8;
  margin: -2rem 0 var(--space-xl);
}

.page-title + .section-intro {
  margin-top: 0;
}

/* ---- Product grid ---------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ---- Product card ---------------------------------------- */

.product-card {
  position: relative;
  border: 1px solid var(--accent-tint-md);
  background: transparent;
  padding: var(--space-lg);
  display: grid;
  grid-auto-flow: row;
  gap: var(--space-sm);
  box-shadow: 0 0 8px var(--accent-tint-sm), 0 0 20px var(--accent-tint-xs), 0 0 40px var(--accent-tint-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card-media {
  height: clamp(8rem, 13vw, 9.25rem);
  display: grid;
  place-items: center;
  padding: 0.25rem 1.1rem 0.2rem;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.96) 0%, rgba(2, 2, 2, 0.99) 100%);
  border: 1px solid rgba(32, 32, 32, 0.299);
  overflow: hidden;
}

.product-card-img {
  width: auto;
  max-width: 100%;
  max-height: 10.5rem;
  height: auto;
  display: block;
}

.product-card--plugin .product-card-media {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3220 / 2100;
  justify-self: stretch;
  padding: 0.375rem;
}

.product-card--plugin .product-card-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.product-card--entropy .product-card-img {
  object-fit: cover;
  object-position: center top;
}

.skin-card .product-card-media {
  min-height: clamp(13rem, 24vw, 16rem);
  place-items: center;
  padding: 0.9rem;
  background: linear-gradient(180deg, #161616 0%, #0b0b0b 100%);
}

.skin-card .product-card-img {
  width: 100%;
  max-width: 24rem;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--accent-tint-md);
}

.product-card:hover {
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.15), 0 0 30px rgba(255,255,255,0.1), 0 0 60px rgba(255,255,255,0.06), 0 0 100px var(--accent-tint-xs);
}

.product-card-name {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.product-card-logo {
  display: block;
  width: 1.82rem;
  height: 1.82rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.product-card-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
}

.product-card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: var(--space-sm);
  row-gap: 0.25rem;
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

.product-card-footer .product-card-add {
  grid-column: 1;
  grid-row: 2;
  justify-self: stretch;
  align-self: end;
  width: 100%;
  text-align: center;
}

.product-card-footer .product-card-link--demo {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.product-card-footer .product-card-link:not(.product-card-link--demo) {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

.product-card-price {
  font-size: 1rem;
  color: var(--accent);
  align-self: end;
}

/* Add-to-cart button on card — looks like the price, becomes outlined on hover */
.product-card-add {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 0.2rem 0.5rem;
  margin-left: -0.5rem;
  cursor: pointer;
  align-self: end;
  letter-spacing: 0.02em;
  transition: border-color 0.12s ease, color 0.12s ease,
              background 0.12s ease, box-shadow 0.12s ease;
}

/* Hover styles suppressed when pixel effect is active (class added by JS) */
.product-card-add:hover:not(.pixel-hover) {
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-tint-md);
}

.product-card-add:hover:not(.pixel-hover) .price-original,
.product-card-add:hover:not(.pixel-hover) .price-sale,
.product-card-add.pixel-hover .price-original,
.product-card-add.pixel-hover .price-sale {
  color: var(--bg);
}

.product-card-add:disabled {
  opacity: 0.5;
  cursor: default;
  background: transparent;
}

.product-card-link {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  align-self: end;
  justify-self: end;
}

.product-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-card-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.product-card-link--demo {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 1.85rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--accent-tint-xs);
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.product-card-link--demo::before {
  display: none;
}

.product-card-link--demo:hover,
.product-card-link--demo:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 10px var(--accent-tint-md);
}

.plugin-trust-section {
  position: relative;
  margin: var(--space-lg) calc(-1 * var(--section-inline-padding, var(--space-lg))) 0.35rem;
  padding: var(--space-lg) var(--space-lg) calc(var(--space-lg) + 4px);
  background: var(--bg) url("../../trust.svg") center center / 115% auto no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.plugin-trust-section::before {
  content: none;
}

.plugin-trust-section::after {
  content: none;
}

.plugin-trust-section .plugin-trust-item.glow-block {
  border-color: transparent;
}

.plugin-trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: var(--space-md);
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.plugin-trust-grid--ableton {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1220px;
  margin-top: 1.2rem;
}

.plugin-trust-item--featured {
  background: var(--scrim-heavy);
  border-color: rgba(228, 108, 101, 0.75);
  box-shadow: 0 0 22px rgba(228, 108, 101, 0.18);
  transform: scale(1.1);
  transform-origin: center center;
  z-index: 2;
}

.plugin-trust-item.plugin-trust-item--featured:hover {
  transform: scale(1.1);
  background: var(--scrim-heavy);
  border-color: rgba(228, 108, 101, 0.75);
  box-shadow: 0 0 22px rgba(228, 108, 101, 0.18);
}



.plugin-trust-item {
  position: relative;
  padding: clamp(1.25rem, 2vw, 1.55rem) clamp(1.5rem, 3vw, 1.85rem);
  background: var(--scrim-med);
  border: 1px solid rgba(228, 108, 101, 0.45);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(2px);
}

.plugin-trust-item::before {
  display: none;
}

.plugin-trust-item.glow-block::before {
  display: block;
}

.plugin-trust-item:hover {
  border-color: rgba(228, 108, 101, 0.85);
  background: var(--scrim-heavy);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(228, 108, 101, 0.22);
}

.plugin-trust-section .plugin-trust-item.glow-block:hover,
.plugin-trust-section .plugin-trust-item.glow-block.is-active {
  border-color: transparent;
}

.plugin-trust-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-sm);
}

.plugin-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(228, 108, 101, 0.7);
  border-radius: 50%;
  color: var(--red-accent);
  flex: 0 0 auto;
}

.plugin-trust-icon svg {
  width: 16px;
  height: 16px;
}

.plugin-trust-label {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.plugin-trust-item p {
  margin: 0 0 var(--space-md);
  color: var(--accent);
  font-size: 0.8125rem;
  line-height: 1.65;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(228, 108, 101, 0.28);
}

.plugin-trust-grid--ableton .plugin-trust-item {
  padding: 1.1rem 1.25rem 1.15rem;
  border-color: rgba(42,42,42,0.6);
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.plugin-trust-grid--ableton .plugin-trust-item:hover {
  transform: none;
  border-color: transparent;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.plugin-trust-grid--ableton .plugin-trust-item.is-active {
  border-color: transparent;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.plugin-trust-grid--ableton .plugin-trust-label {
  margin-bottom: 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
}

.plugin-trust-grid--ableton .plugin-trust-item p {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
  max-width: 34ch;
  color: rgba(200, 200, 180, 0.9);
}

.plugin-trust-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plugin-trust-foot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red-accent);
}

.plugin-trust-foot-icon svg {
  width: 14px;
  height: 14px;
}

/* ---- Product grid variants ------------------------------- */

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

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

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

/* ---- Product group label --------------------------------- */

.product-group-label {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.product-section-header {
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.product-section-header::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--red-accent);
  box-shadow: 0 0 6px var(--red-accent), 0 0 12px var(--red-glow);
}

.section > .product-section-header:first-of-type {
  margin-top: 0;
}

.product-section-header--page {
  margin-top: 0;
  margin-bottom: var(--space-md);
  padding-bottom: 0.35rem;
}

.product-section-header--page + .section-intro {
  margin-top: 0;
}

.product-section-header:not(.product-section-header--page) {
  margin-top: calc(var(--space-xl) + 1rem);
  margin-bottom: calc(var(--space-md) + 0.85rem);
}

.product-grid + .product-section-header:not(.product-section-header--page) {
  margin-top: calc(var(--space-xl) + 0.5rem);
}

.product-set-label {
  margin: 0 0 var(--space-md);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Bundle card ---------------------------------------- */

.bundle-card {
  --bundle-accent: var(--accent);
  --bundle-accent-soft: rgba(200, 200, 180, 0.16);
  --bundle-badge-bg: rgba(200, 200, 180, 0.16);
  --bundle-border-hover: color-mix(in srgb, var(--bundle-accent) 56%, #ffffff 44%);
  position: relative;
  min-width: 0;
  border: 1px solid var(--bundle-accent-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.9) 0, rgba(0,0,0,0.96) 100%);
  box-shadow:
    0 0 8px color-mix(in srgb, var(--bundle-accent) 10%, transparent),
    0 0 18px color-mix(in srgb, var(--bundle-accent) 4%, transparent),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bundle-card:hover {
  border-color: var(--bundle-border-hover);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--bundle-accent) 18%, transparent),
    0 0 30px color-mix(in srgb, var(--bundle-accent) 10%, transparent),
    0 0 56px color-mix(in srgb, var(--bundle-accent) 5%, transparent),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.bundle-card-shell {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  height: 100%;
  padding: 0.95rem 1rem 1rem;
}

.bundle-card--destruction {
  --bundle-accent: #ff6b78;
  --bundle-accent-soft: rgba(255, 107, 120, 0.18);
  --bundle-badge-bg: rgba(255, 107, 120, 0.2);
}

.bundle-card--core {
  --bundle-accent: #df7a82;
  --bundle-accent-soft: rgba(223, 122, 130, 0.15);
  --bundle-badge-bg: rgba(223, 122, 130, 0.16);
}

.bundle-card--starter {
  --bundle-accent: #c98e93;
  --bundle-accent-soft: rgba(201, 142, 147, 0.13);
  --bundle-badge-bg: rgba(201, 142, 147, 0.14);
}

.bundle-card-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  background: var(--bundle-badge-bg);
  color: var(--bundle-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bundle-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.bundle-card-copy {
  display: grid;
  gap: 0.45rem;
}

.bundle-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}

.bundle-card-desc {
  max-width: 31ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.bundle-card-savings {
  display: grid;
  gap: 0.08rem;
  justify-items: end;
  text-align: right;
}

.bundle-card-price {
  margin: 0;
  color: var(--bundle-accent);
  font-size: clamp(2rem, 3.5vw, 2.35rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.bundle-card-total {
  display: grid;
  gap: 0.08rem;
  margin: 0;
  color: rgba(240, 240, 240, 0.36);
  font-size: 0.95rem;
  line-height: 1.05;
}

.bundle-card-original {
  text-decoration: line-through;
}

.bundle-card-total-label {
  text-decoration: none;
}

.bundle-card-saving,
.bundle-card-off {
  margin: 0;
  color: var(--bundle-accent);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.bundle-card-off {
  text-transform: uppercase;
}

.bundle-card-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: var(--space-sm);
  row-gap: 0.25rem;
  margin-top: auto;
}

.bundle-card-actions {
  display: grid;
  gap: 0.35rem;
  grid-column: 2;
  align-self: end;
}

.bundle-card-bottom .bundle-card-pricebox {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  text-align: left;
}

.bundle-includes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: 0;
}

.bundle-includes--cards {
  display: block;
  margin-top: auto;
}

.bundle-includes-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.1;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.56);
}

.bundle-include-grid {
  display: grid;
  gap: 0.5rem;
}

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

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

.bundle-card .home-band-include-item {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  min-height: 0;
  gap: 0.34rem;
  padding: 0.38rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.07);
}

.bundle-card .home-band-include-image {
  width: 75%;
  max-width: none;
  height: auto;
  margin: 0;
  justify-self: center;
  object-fit: contain;
}

.bundle-card .home-band-include-item--entropy .home-band-include-image {
  width: 100%;
  aspect-ratio: 3220 / 2100;
  object-fit: cover;
  object-position: center top;
}

.bundle-card .home-band-include-name {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-align: left;
}

.bundle-card .home-band-include-price {
  font-size: 0.64rem;
  color: rgba(240, 240, 240, 0.44);
  text-align: left;
}

.bundle-card-cta {
  position: relative;
  z-index: 1;
  display: block;
  justify-self: stretch;
  align-self: end;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.2rem 0.5rem;
  margin-left: 0;
  margin-right: 0;
  color: var(--bundle-accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 0.12s ease, color 0.12s ease,
              background 0.12s ease, box-shadow 0.12s ease;
}

.bundle-card-trial {
  border: 1px solid color-mix(in srgb, var(--bundle-accent) 34%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--bundle-accent) 80%, var(--text) 20%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  min-height: 2.1rem;
  padding: 0.35rem 0.55rem;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.bundle-card-trial:hover,
.bundle-card-trial:focus-visible {
  border-color: var(--bundle-accent);
  color: var(--bg);
  background: var(--bundle-accent);
}

.bundle-card:hover .bundle-card-cta:not(.pixel-hover),
.bundle-card-cta:hover:not(.pixel-hover) {
  color: var(--bg);
  background: var(--bundle-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--bundle-accent) 28%, transparent);
}

.bundle-card-cta.pixel-hover {
  color: var(--bg);
}

.bundle-card-cta .crumble-pixel {
  background: var(--bundle-accent);
}

@media (max-width: 980px) {
  .bundle-card-top {
    grid-template-columns: 1fr;
  }

  .bundle-card-savings {
    justify-items: start;
    text-align: left;
  }

  .bundle-card-bottom {
    grid-template-columns: 1fr;
  }

  .bundle-card-cta {
    grid-column: auto;
  }

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

  #bundle-grid .home-band-include-item {
    width: 100%;
    max-width: 100%;
  }

  #bundle-grid .home-band-include-image {
    width: 75%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .bundle-include-grid--4,
  .bundle-include-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .bundle-include-grid--4,
  .bundle-include-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  #bundle-grid .home-band-include-item {
    width: 100%;
    max-width: 100%;
  }

  #bundle-grid .home-band-include-image {
    width: 75%;
    max-width: none;
  }
}

.product-grid-more {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  text-align: right;
}

.product-grid-more-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.product-grid-more-link:hover {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .product-grid--4 {
    grid-template-columns: 1fr;
  }

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

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

  .product-card-name,
  .product-card-desc,
  .product-card-meta,
  .product-card-trial,
  .bundle-card-name,
  .bundle-card-desc,
  .bundle-card-total,
  .bundle-card-saving,
  .bundle-card-off,
  .bundle-includes-label {
    width: 100%;
    max-width: none;
  }

  .product-card-tags,
  .product-card-trial-row,
  .bundle-card-copy,
  .bundle-card-savings,
  .bundle-card-bottom .bundle-card-pricebox {
    width: 100%;
  }

  .bundle-card-top {
    grid-template-columns: 1fr;
  }

  .bundle-card-savings,
  .bundle-card-bottom .bundle-card-pricebox {
    justify-items: start;
    text-align: left;
  }
}

@media (min-width: 700px) and (max-width: 768px) {
  .home-page #featured-plugins .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-wrapper .product-set-label + .product-grid.product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .home-band-price {
    font-size: clamp(3rem, 7vw, 4rem);
  }

  #bundle-grid.product-grid--bundles {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .product-grid--bundles .bundle-card-shell {
    gap: 0.55rem;
    padding: 0.62rem 0.58rem 0.68rem;
  }

  .product-grid--bundles .bundle-card-badge {
    min-height: 1.55rem;
    padding: 0.22rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .product-grid--bundles .bundle-card-name {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
  }

  .product-grid--bundles .bundle-card-desc {
    font-size: 0.8125rem;
    line-height: 1.65;
  }

  .product-grid--bundles .bundle-card-price {
    font-size: 2.35rem;
  }

  .product-grid--bundles .bundle-card-total,
  .product-grid--bundles .bundle-card-saving,
  .product-grid--bundles .bundle-card-off {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .product-grid--bundles .bundle-card-bottom .bundle-card-pricebox {
    gap: 0.35rem;
  }

  .product-grid--bundles .bundle-include-grid--4,
  .product-grid--bundles .bundle-include-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .product-grid--bundles .home-band-include-item {
    width: 100%;
    max-width: 100%;
    padding: 0.1rem 0.1rem 0.14rem;
    gap: 0.12rem;
  }

  .product-grid--bundles .home-band-include-image {
    width: 100%;
    max-width: 5.5rem;
    aspect-ratio: 1.15 / 0.68;
    margin: 0 auto;
  }

  .product-grid--bundles .home-band-include-name,
  .product-grid--bundles .home-band-include-price {
    font-size: 0.47rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
  }

  .product-grid--bundles .bundle-card-cta {
    font-size: 0.76rem;
    padding: 0.14rem 0.3rem;
  }
}

/* ---- Product card tags + meta ---------------------------- */

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
}

.product-card-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.18));
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  line-height: 1;
}

.product-card-meta {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---- Contact layout -------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-xl);
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.support-landing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.support-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.75rem;
  border: 1px solid rgba(42,42,42,0.6);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.support-card:hover,
.support-card:focus-visible {
  border-color: transparent;
  background: var(--bg);
  text-decoration: none;
  box-shadow:
    0 0 18px 1px rgba(220, 38, 38, 0.22),
    0 0 44px 4px rgba(220, 38, 38, 0.10);
}

.support-card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-card-title {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
  text-decoration: none;
}

.support-card:hover .support-card-title,
.support-card:hover .support-card-desc,
.support-card:focus-visible .support-card-title,
.support-card:focus-visible .support-card-desc {
  text-decoration: none;
}

.support-card-desc {
  margin: 0;
  color: var(--text-muted, rgba(255,255,255,0.7));
  line-height: 1.5;
}

@media (max-width: 720px) {
  .support-landing {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg, 1rem);
  }
}

.contact-form {
  display: grid;
  grid-auto-flow: row;
  min-width: 0;
}

.contact-form-title {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 1.5rem;
}

.contact-meta {
  display: grid;
  align-content: start;
  gap: 2.75rem;
  min-width: 0;
}

.contact-meta-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-meta-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
}

.contact-meta-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: rgba(255,255,255,0.72);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-meta-line {
  display: grid;
  grid-auto-flow: row;
  gap: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

.contact-meta-label {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.contact-meta-line a {
  color: var(--text);
  text-decoration: none;
}

.contact-meta-line a:hover {
  color: var(--accent);
  text-decoration: none;
}

.contact-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.92);
}

.contact-meta-list li::before {
  content: "-";
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--hover-white);
}

.contact-confirm {
  max-width: 52ch;
  display: grid;
  gap: var(--space-md);
  padding-top: var(--space-lg);
}

.contact-faq {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: var(--space-md);
  padding-top: var(--space-xl);
}

.faq-item {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

details.faq-item > summary.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

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

details.faq-item > summary.faq-q::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

details.faq-item[open] > summary.faq-q::after {
  content: "−";
  color: var(--accent);
}

details.faq-item > .faq-a,
details.faq-item > div.faq-a {
  padding-top: var(--space-sm);
}

.faq-q {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.faq-a {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
  display: grid;
  gap: var(--space-sm);
}

.faq-a a {
  color: var(--text);
}

.faq-a a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ---- Community ------------------------------------------- */

.community-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-xl);
}

.community-head-copy {
  display: grid;
  gap: var(--space-sm);
  max-width: 72ch;
}

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

.community-card {
  border: 1px solid var(--accent-tint-md);
  background: transparent;
  display: grid;
  grid-auto-flow: row;
  box-shadow: 0 0 8px var(--accent-tint-sm), 0 0 20px var(--accent-tint-xs), 0 0 40px var(--accent-tint-xs);
}

.community-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
}

.community-card-body {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.community-card-title {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.community-card-meta {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.community-card-excerpt {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}

.community-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.community-card-footer {
  display: grid;
  justify-content: end;
  padding-top: var(--space-sm);
}

.community-empty {
  max-width: 60ch;
  border: 1px solid var(--border);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (max-width: 1024px) {
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .community-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-meta {
    gap: 2rem;
  }

  .contact-meta-row {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.95rem;
  }

  .contact-meta-icon {
    width: 3rem;
    height: 3rem;
  }

  .contact-meta-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .contact-meta-line,
  .contact-meta-list {
    font-size: 0.875rem;
  }
}

/* ---- Tags ------------------------------------------------ */

.tag {
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  padding: 0;
  color: var(--muted);
  display: inline-block;
}

.tag--coming-soon {
  color: var(--muted);
}

/* ---- Buttons --------------------------------------------- */

.btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  border-color: var(--hover-white);
  color: var(--hover-white);
  background: transparent;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.08), 0 0 40px rgba(255,255,255,0.04);
}

.btn--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--accent.pixel-hover-btn {
  border-color: transparent;
}

/* Home page bundle CTA: keep an accent button but show the white border at
   rest so the card has a visible CTA edge before the pixel hover triggers. */
.btn--accent.pixel-hover-btn.home-band-cta {
  border-color: var(--hover-white);
}

.btn--accent:hover:not(.pixel-hover) {
  border-color: var(--hover-white);
  color: var(--hover-white);
  background: transparent;
  box-shadow: 0 0 8px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.08), 0 0 40px rgba(255,255,255,0.04);
}

.btn--outline {
  border-color: var(--border);
  color: var(--muted);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--disabled,
.btn--disabled:hover {
  border-color: var(--border);
  color: var(--muted);
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- Product page split button ---- */

.product-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

/* ---- Trial request modal --------------------------------- */

.trial-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  background: var(--scrim-med);
}

.trial-modal {
  position: relative;
  width: min(100%, 30rem);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: var(--space-lg);
  box-shadow: 0 0 40px var(--accent-tint-sm);
}

.trial-modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.trial-modal-close:hover {
  color: var(--accent);
}

.trial-modal-kicker {
  margin: 0 0 var(--space-xs);
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trial-modal-title {
  margin: 0 0 var(--space-md);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.trial-modal-text,
.trial-modal-footnote {
  margin: 0 0 var(--space-md);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: justify;
}

.trial-modal-form {
  display: grid;
  gap: var(--space-sm);
}

.trial-modal-optin {
  align-items: flex-start;
  margin: var(--space-xs) 0;
}

.trial-turnstile {
  min-height: 4.0625rem;
  margin-top: var(--space-xs);
}

.trial-modal-message {
  min-height: 1.25rem;
  margin-top: var(--space-md);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.trial-modal-message--success {
  color: var(--accent);
}

.trial-modal-message--error {
  color: var(--red-light);
}

.trial-modal-downloads {
  gap: var(--space-xs);
  margin: var(--space-md) 0;
  font-size: 0.8125rem;
}

.trial-modal-download-title {
  margin: 0 0 var(--space-xs);
  color: var(--muted);
}

.trial-modal-downloads a {
  color: var(--text);
}

.product-trial-form .trial-modal-downloads {
  display: none !important;
}

.bundle-trial-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  gap: var(--space-md);
  align-items: start;
  margin-top: var(--space-md);
  padding: var(--space-md);
  border: 1px solid rgba(42,42,42,0.72);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.bundle-trial-box--compact {
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
}

.bundle-trial-copy {
  display: grid;
  gap: var(--space-xs);
}

.bundle-trial-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.bundle-trial-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.bundle-trial-form {
  display: grid;
  gap: var(--space-xs);
  width: min(100%, 300px);
  justify-self: start;
}

.bundle-trial-submit {
  width: 100%;
  min-height: 2.65rem;
}

.bundle-trial-message {
  margin-top: 0;
}

.product-trial-section .bundle-trial-box {
  margin-top: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md) var(--space-lg);
}

.cart-page .bundle-trial-box {
  margin-top: var(--space-lg);
}

.bundle-trial-box[data-bundle-trial-source="products_bundle"],
.bundle-trial-box[data-bundle-trial-source="cart_bundle"] {
  width: min(100%, 58rem);
  margin-inline: auto;
}

.bundle-trial-box[data-bundle-trial-source="products_bundle"] .bundle-trial-copy,
.bundle-trial-box[data-bundle-trial-source="cart_bundle"] .bundle-trial-copy,
.bundle-trial-box[data-bundle-trial-source="products_bundle"] .bundle-trial-form,
.bundle-trial-box[data-bundle-trial-source="cart_bundle"] .bundle-trial-form {
  justify-self: center;
}

.bundle-trial-box[data-bundle-trial-source="products_bundle"] .bundle-trial-copy,
.bundle-trial-box[data-bundle-trial-source="cart_bundle"] .bundle-trial-copy {
  max-width: 34rem;
  text-align: center;
}

.home-band-copy .bundle-trial-box {
  max-width: 46rem;
}

@media (max-width: 780px) {
  .bundle-trial-box,
  .bundle-trial-box--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Trial next steps ------------------------------------ */

.trial-next-section {
  min-height: calc(100vh - var(--nav-total-height, 120px));
  display: grid;
  align-items: start;
}

.trial-next-shell {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-top: clamp(0.5rem, 2.5vh, 2rem);
}

.trial-next-header {
  display: grid;
  gap: var(--space-xs);
  max-width: 52rem;
  margin: 0 0 clamp(var(--space-md), 3vh, var(--space-xl));
}

.trial-next-header > .trial-modal-kicker,
.trial-next-header > .contact-form-title,
.trial-next-header > .trial-next-intro {
  margin-inline: 0;
  text-align: left;
}

.trial-next-header > .contact-form-title {
  max-width: 48rem;
  margin-top: 0;
  margin-bottom: 0;
}

.trial-next-intro {
  max-width: 50rem;
  margin: 0;
}

.trial-next-grid {
  display: grid;
  grid-template-columns: minmax(34rem, 1fr) minmax(24rem, 28rem);
  gap: clamp(var(--space-lg), 4vw, 4rem);
  align-items: stretch;
  margin-top: 0;
}

.trial-next-card {
  position: relative;
  border: 1px solid rgba(42,42,42,0.7);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  min-height: 100%;
}

.trial-next-card {
  padding: clamp(var(--space-md), 2.6vw, var(--space-xl));
}

.trial-next-card-title,
.trial-next-side-title {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.trial-next-card-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.trial-next-side-title {
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
}

.trial-next-steps {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.trial-next-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.trial-next-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-weight: 400;
}

.trial-next-step-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.78rem;
}

.trial-next-side {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: var(--space-sm);
  min-height: 0;
}

.trial-next-note {
  display: grid;
  gap: var(--space-xs);
  border: 1px solid rgba(42,42,42,0.7);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  padding: clamp(var(--space-sm), 2vw, var(--space-md));
}

.trial-next-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.trial-next-code-note,
.trial-next-mobile-note {
  align-content: start;
}

.trial-next-code-help-note {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(var(--space-md), 3vw, var(--space-xl));
  align-items: start;
}

.trial-next-code-help-copy {
  display: grid;
  gap: var(--space-xs);
}

.trial-next-code-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-xs);
  align-items: center;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  padding: 0.35rem;
}

.trial-next-code-display code {
  display: block;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.trial-next-bundle-codes {
  display: grid;
  gap: var(--space-xs);
}

.trial-next-bundle-code-card {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.trial-next-bundle-code-name,
.trial-next-bundle-code-status {
  margin: 0;
}

.trial-next-bundle-code-name {
  color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.trial-next-bundle-code-status {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.trial-next-bundle-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-xs);
  align-items: center;
}

.trial-next-bundle-code-value {
  display: block;
  min-width: 0;
  color: var(--accent);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.trial-next-bundle-copy-code {
  min-height: 2rem;
  padding-inline: 0.65rem;
  font-size: 0.72rem;
}

.trial-next-email-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.trial-next-copy-code,
.trial-next-resend-submit,
.trial-next-downloads a,
.trial-next-support-link {
  min-height: 2.25rem;
}

.trial-next-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.trial-next-downloads a {
  min-width: 0;
  padding-inline: 0.55rem;
  text-align: center;
}

.trial-next-download-help {
  margin-top: var(--space-2xs);
}

.trial-next-download-help--error {
  color: var(--red-light);
}

.trial-next-resend-form {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.trial-next-code-help-note .trial-next-resend-form {
  margin-top: 0;
  width: min(100%, 360px);
  justify-self: end;
}

.trial-next-code-help-note .form-input,
.trial-next-code-help-note .trial-turnstile,
.trial-next-code-help-note .cf-turnstile {
  width: 100%;
  max-width: 360px;
}

.trial-next-recovery-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
}

.trial-next-resend-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.trial-next-resend-message--success {
  color: var(--accent);
}

.trial-next-resend-message--error {
  color: #ff8f8f;
}

.trial-next-support-link {
  width: 100%;
  margin-top: var(--space-xs);
  text-align: center;
}

.trial-next-recovery-actions .trial-next-support-link {
  margin-top: 0;
}

.trial-next-product-link {
  width: 100%;
  text-align: center;
}

@media (max-width: 980px) {
  .trial-next-section {
    align-items: start;
  }

  .trial-next-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
  }

  .trial-next-side {
    grid-template-rows: none;
    min-height: 0;
  }

  .trial-next-code-help-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .trial-next-code-help-note .trial-next-resend-form {
    width: 100%;
    justify-self: stretch;
  }

  .trial-next-shell {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .trial-next-downloads {
    grid-template-columns: minmax(0, 1fr);
  }

  .trial-next-bundle-code-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Product trial section ------------------------------- */

.product-trial-section {
  scroll-margin-top: calc(var(--nav-total-height, 120px) + var(--space-lg));
}

.product-trial-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  width: 100%;
  max-width: 102rem;
  margin-inline: auto;
  outline: 1px solid transparent;
  outline-offset: 0.45rem;
}

.product-trial-section.is-trial-highlighted .product-trial-options {
  animation: trial-section-highlight 1.6s ease-out;
}

@keyframes trial-section-highlight {
  0% {
    outline-color: color-mix(in srgb, var(--accent) 88%, transparent);
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 0 34px var(--accent-tint-md);
  }
  45% {
    outline-color: color-mix(in srgb, var(--accent) 64%, transparent);
    box-shadow: 0 0 0 1px var(--accent-tint-md), 0 0 52px var(--accent-tint-sm);
  }
  100% {
    outline-color: transparent;
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 0 0 rgba(0,0,0,0);
  }
}

.product-trial-options .product-trial-card,
.product-trial-options .bundle-trial-box {
  width: 100%;
  max-width: none;
  min-height: 100%;
}

.product-trial-options .product-trial-card,
.product-trial-options .bundle-trial-box,
.product-trial-options .bundle-trial-box--compact {
  grid-template-columns: minmax(0, 1fr);
}

.product-trial-options .product-trial-card {
  justify-content: stretch;
}

.product-trial-options .bundle-trial-copy {
  justify-self: center;
  max-width: 34rem;
  text-align: center;
}

.product-trial-card {
  display: grid;
  grid-template-columns: minmax(18rem, 28rem) minmax(18rem, 24rem);
  gap: var(--space-lg);
  justify-content: center;
  max-width: 58rem;
  margin-inline: auto;
  padding: var(--space-lg) var(--space-md) var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.product-trial-copy {
  justify-self: center;
  max-width: 34rem;
  text-align: center;
}

.product-trial-copy .trial-modal-text,
.product-trial-copy .trial-modal-footnote {
  text-align: justify !important;
  text-align-last: left;
}

.product-trial-form {
  align-self: start;
  width: min(100%, 300px);
}

.product-trial-options .product-trial-form,
.product-trial-options .bundle-trial-form {
  justify-self: center;
}

.product-trial-form .trial-modal-submit {
  width: 100%;
}

.product-trial-form .trial-modal-message {
  margin-top: 0;
}

.product-trial-form .trial-modal-downloads {
  display: grid;
}

@media (min-width: 1180px) {
  .product-trial-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: var(--space-lg) 0;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
  }

  .product-trial-options .product-trial-card,
  .product-trial-options .bundle-trial-box {
    min-height: 0;
    padding: 0 clamp(var(--space-md), 2vw, var(--space-xl));
    border: 0;
    background: transparent;
  }

  .product-trial-options .bundle-trial-box {
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 1440px) {
  .product-trial-options .product-trial-card,
  .product-trial-options .bundle-trial-box,
  .product-trial-options .bundle-trial-box--compact {
    grid-template-columns: minmax(20rem, 30rem) minmax(18rem, 300px);
    align-items: center;
    justify-content: center;
  }

  .product-trial-options .product-trial-copy,
  .product-trial-options .bundle-trial-copy {
    justify-self: center;
    max-width: 30rem;
    text-align: center;
  }

  .product-trial-options .product-trial-form,
  .product-trial-options .bundle-trial-form {
    justify-self: center;
  }
}

@media (max-width: 1179px) {
  .product-trial-options {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .product-trial-options .product-trial-card,
  .product-trial-options .bundle-trial-box,
  .product-trial-options .bundle-trial-box--compact {
    grid-template-columns: minmax(18rem, 28rem) minmax(18rem, 24rem);
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .product-trial-card,
  .product-trial-options .product-trial-card,
  .product-trial-options .bundle-trial-box,
  .product-trial-options .bundle-trial-box--compact {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-md);
  }

  .product-trial-copy,
  .product-trial-form,
  .bundle-trial-form,
  .product-trial-form > *,
  .bundle-trial-form > *,
  .trial-turnstile,
  .trial-turnstile > * {
    min-width: 0;
    max-width: 100%;
  }

  .trial-turnstile {
    overflow: hidden;
  }

  .product-trial-form,
  .bundle-trial-form {
    width: min(100%, 300px);
    justify-self: center;
  }

  .product-trial-form .form-input,
  .bundle-trial-form .form-input,
  .trial-turnstile,
  .product-trial-form .trial-modal-submit,
  .bundle-trial-form .bundle-trial-submit {
    width: 100%;
  }
}

/* ---- Demo video modal ------------------------------------ */

.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  background: var(--scrim-med);
}

.demo-modal {
  position: relative;
  width: min(100%, 68rem);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: var(--space-lg);
  box-shadow: 0 0 48px var(--accent-tint-md);
}

.demo-modal-backdrop--pip {
  inset: auto var(--space-lg) var(--space-lg) auto;
  display: block;
  width: min(28rem, calc(100vw - (2 * var(--space-lg))));
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.demo-modal-backdrop--pip .demo-modal {
  width: 100%;
  padding: var(--space-xs);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 0 32px var(--accent-tint-md);
  pointer-events: auto;
}

.demo-modal-backdrop--pip .demo-modal-kicker,
.demo-modal-backdrop--pip .demo-modal-title {
  display: none;
}

.demo-modal--image {
  width: min(100%, 92rem);
}

.demo-modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal-expand {
  position: absolute;
  top: var(--space-sm);
  right: 2.75rem;
  z-index: 2;
  display: none;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: var(--muted);
  font: inherit;
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.55rem;
  cursor: pointer;
}

.demo-modal-backdrop--pip .demo-modal-close {
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 1.8rem;
  height: 1.8rem;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}

.demo-modal-backdrop--pip .demo-modal-expand {
  display: block;
  top: 0.55rem;
  right: 2.6rem;
}

.demo-modal-close:hover,
.demo-modal-close:focus-visible,
.demo-modal-expand:hover,
.demo-modal-expand:focus-visible {
  color: var(--accent);
}

.demo-modal-kicker {
  margin: 0 0 var(--space-xs);
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-modal-title {
  margin: 0 2rem var(--space-md) 0;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-modal-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
}

.demo-modal-frame--image {
  aspect-ratio: auto;
}

.demo-modal-frame--image img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  background: var(--bg);
}

.demo-modal-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 720px) {
  .demo-modal-backdrop--pip {
    right: var(--space-sm);
    bottom: var(--space-sm);
    left: var(--space-sm);
    width: auto;
  }
}

/* ---- Product card trial tag ---- */

.product-card-trial {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--accent) 56%, var(--border));
  background: var(--accent-tint-xs);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-top: var(--space-xs);
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 0.18em;
  white-space: nowrap;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.product-card-trial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.product-card-trial-row .product-card-trial {
  margin-top: 0;
}

a.product-card-trial:hover,
a.product-card-trial:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

.btn--ghost {
  border-color: var(--muted);
  color: var(--muted);
}

.btn--ghost.pixel-hover-btn {
  border-color: transparent;
}

.btn--ghost:hover:not(.pixel-hover) {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
}

/* ---- Footer ---------------------------------------------- */

.footer-shell {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--scrim-heavy));
  background-size: 8px 8px, 8px 8px, 100% 100%;
  background-color: var(--bg);
}

.footer-lead {
  padding: 1.5rem var(--space-lg) 1.6rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(8rem, 0.5fr) minmax(8rem, 0.5fr) minmax(18rem, 0.8fr);
  align-items: start;
  gap: 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.footer-brand-mark {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-brand-text {
  font-size: 0.9rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(240, 240, 240, 0.5);
  max-width: 22ch;
}

.footer-col-title {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.72);
  margin-bottom: 0.65rem;
}

.footer-explore {
  align-self: start;
  padding-top: 2.3rem;
}

.footer-quicklinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-quicklinks a {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(240, 240, 240, 0.5);
}

.footer-quicklinks a:hover {
  color: var(--text);
}

.footer-social-group {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.footer-social-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.5);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(240, 240, 240, 0.86);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.footer-social-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.footer-social-link path,
.footer-social-link circle,
.footer-social-link rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link .footer-social-fill {
  fill: currentColor;
  stroke: none;
}

.footer-newsletter {
  display: grid;
  gap: 0.75rem;
  padding-left: clamp(1rem, 2.4vw, 2rem);
  position: relative;
  align-content: start;
}

.footer-newsletter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1px;
  height: 7.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.footer-lead-title {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.92);
  margin-bottom: 0.4rem;
}

.footer-lead-text {
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.45;
  max-width: 42ch;
}

.footer-manage {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.48);
  margin-top: 0.1rem;
  justify-self: start;
}

.footer-manage:hover {
  color: var(--text);
}

.footer-lead-form {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--scrim-light);
  min-height: 3.2rem;
  align-items: stretch;
}

.footer-lead-input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0 1.4rem 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  min-width: 0;
}

.footer-lead-input::placeholder {
  color: rgba(240, 240, 240, 0.62);
}

.footer-lead-btn {
  background: var(--text);
  border: none;
  color: var(--bg);
  padding: 0 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  min-height: 100%;
}

.footer-lead-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ===== Tablet footer (iPad Mini, Galaxy Tab S8+) ===== */
@media (max-width: 1024px) {
  .footer-shell {
    margin-top: 0.75rem;
  }

  .footer-lead {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand      brand"
      "newsletter newsletter"
      "explore    support";
    gap: 1.75rem var(--space-lg);
    padding: 1.75rem var(--space-lg) 2rem;
  }

  .footer-brand        { grid-area: brand; }
  .footer-newsletter   { grid-area: newsletter; }
  .footer-explore[aria-label="Footer navigation"] { grid-area: explore; }
  .footer-explore[aria-label="Footer support"]    { grid-area: support; }

  .footer-explore {
    padding-top: 0;
  }

  .footer-brand {
    gap: 0.6rem 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "mark socials"
      "text text";
    align-items: center;
  }

  .footer-brand-mark   { grid-area: mark; margin: 0; }
  .footer-brand-text   { grid-area: text; }
  .footer-social-group { grid-area: socials; justify-self: end; margin-top: 0; }

  .footer-social-group .footer-col-title {
    display: none;
  }

  .footer-brand-mark {
    font-size: clamp(2.4rem, 7vw, 3.4rem);
  }

  .footer-brand-text {
    font-size: 1rem;
    max-width: none;
  }

  .footer-social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .footer-social-link svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .footer-newsletter {
    padding-left: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-newsletter::before {
    display: none;
  }

  .footer-lead-title {
    font-size: 1rem;
  }

  .footer-lead-text {
    font-size: 0.95rem;
    max-width: none;
  }

  .footer-lead-input {
    width: 100%;
    font-size: 1rem;
    padding: 0 1.2rem;
  }

  .footer-lead-form {
    width: 100%;
    min-height: 3.5rem;
  }

  .footer-lead-btn {
    min-height: 3.5rem;
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }

  .footer-quicklinks {
    gap: 0.85rem;
  }

  .footer-quicklinks a {
    font-size: 1rem;
  }

  .footer-col-title {
    font-size: 0.75rem;
  }
}

/* ===== Phone footer (iPhone 17 Pro Max and below) ===== */
@media (max-width: 560px) {
  .footer-lead {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand      brand"
      "newsletter newsletter"
      "explore    support";
    gap: 1.5rem var(--space-md);
    padding: 1.5rem var(--space-md) 1.75rem;
  }

  .footer-brand {
    gap: 0.75rem 1rem;
    padding-top: 0;
    padding-bottom: 1.25rem;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "mark socials"
      "text text";
    align-items: center;
  }

  .footer-brand-mark {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .footer-brand-text {
    max-width: none;
    text-align: left;
  }

  .footer-social-group {
    justify-self: end;
  }

  .footer-socials {
    justify-content: flex-end;
    gap: 0.55rem;
  }

  .footer-social-link {
    width: 2.6rem;
    height: 2.6rem;
  }

  .footer-explore {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-explore[aria-label="Footer support"] {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-quicklinks a {
    display: block;
    padding: 0.35rem 0;
    font-size: 1.05rem;
  }

  .footer-lead-form {
    flex-direction: column;
    border: none;
    background: transparent;
    gap: 0.75rem;
  }

  .footer-lead-input {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--scrim-light);
    min-height: 3.25rem;
    padding: 0 1.1rem;
  }

  .footer-lead-btn {
    width: 100%;
    min-height: 3.25rem;
  }
}

.footer {
  padding: 0.95rem var(--space-lg) 1.15rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
  color: rgba(240, 240, 240, 0.75);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.footer-copy a {
  color: inherit;
}

.footer-right a + a {
  position: relative;
  padding-left: 1rem;
}

.footer-right a + a::before {
  content: "·";
  position: absolute;
  left: -0.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(240, 240, 240, 0.42);
}

.footer-unsub {
  opacity: 1;
}

.footer-unsub:hover {
  opacity: 1;
}

/* Newsletter form feedback */
.footer-lead-msg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  grid-column: 1 / -1;
}

.footer-lead-msg--ok {
  color: var(--accent);
}

.footer-lead-msg--err {
  color: var(--danger);
}

/* Checkbox styling */
.form-field--checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.form-checkbox:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.form-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-label--checkbox {
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
}

/* ---- Mission --------------------------------------------- */

.mission-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.mission-col {
  display: grid;
  grid-auto-flow: row;
  align-content: start;
  gap: var(--space-md);
}

.mission-statement {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.mission-text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mission-body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ---- Param table ----------------------------------------- */

.plugin-technical-section {
  display: grid;
  gap: 0;
}

.technical-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.technical-tab {
  min-width: 11rem;
  min-height: 2.6rem;
  padding: 0 var(--space-md);
  border: 1px solid rgba(228, 108, 101, 0.62);
  border-bottom: 0;
  background: rgba(228, 108, 101, 0.14);
  color: rgba(255, 205, 201, 0.9);
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(228, 108, 101, 0.18), 0 -4px 14px rgba(228, 108, 101, 0.08);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.technical-tab.is-active,
.technical-tab:hover,
.technical-tab:focus-visible {
  border-color: var(--accent);
  background: rgba(228, 108, 101, 0.1);
  color: var(--text);
  box-shadow: 0 -8px 18px var(--accent-tint-xs);
}

.technical-tab.is-active {
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
}

.technical-panels {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.24);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.technical-panel[hidden] {
  display: none;
}

.technical-panel-title {
  margin: 0 0 var(--space-sm);
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.param-mobile-list {
  display: none;
}

@media (max-width: 768px) {
  .technical-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .technical-tab {
    flex: 0 0 auto;
    min-width: 10rem;
  }
}

@media (max-width: 640px) {
  .technical-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .technical-tab {
    min-width: 0;
    width: 100%;
    padding: 0 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .technical-panels {
    min-width: 0;
    padding: 0.85rem;
  }

  .param-carousel-table--has-mobile-list {
    display: none;
  }

  [data-mobile-parameter-mode="table"] .param-carousel-table th:nth-child(3),
  [data-mobile-parameter-mode="table"] .param-carousel-table td:nth-child(3) {
    display: none;
  }

  .param-mobile-list {
    display: grid;
    gap: 0.65rem;
  }

  .param-mobile-item {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
  }

  .param-mobile-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.78rem 0.85rem;
    cursor: pointer;
    list-style: none;
  }

  .param-mobile-summary::-webkit-details-marker {
    display: none;
  }

  .param-mobile-main {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
  }

  .param-mobile-name {
    color: var(--text);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .param-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    min-width: 0;
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .param-mobile-hint {
    position: relative;
    width: 1.65rem;
    height: 1.65rem;
    border: 1px solid var(--accent-tint-lg);
    border-radius: 999px;
    color: var(--accent);
    flex: 0 0 auto;
  }

  .param-mobile-hint::before,
  .param-mobile-hint::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.72rem;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.14s ease;
  }

  .param-mobile-hint::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .param-mobile-item[open] .param-mobile-hint::after {
    opacity: 0;
  }

  .param-mobile-description {
    margin: 0;
    padding: 0.8rem 0.85rem 0.9rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
  }
}

@media (max-width: 400px) {
  [data-mobile-parameter-mode="table"] .param-carousel-table th:nth-child(2),
  [data-mobile-parameter-mode="table"] .param-carousel-table td:nth-child(2) {
    display: none;
  }

  [data-mobile-parameter-mode="table"] .param-carousel-table th:first-child,
  [data-mobile-parameter-mode="table"] .param-carousel-table td:first-child {
    width: 4.75rem;
  }

  [data-mobile-parameter-mode="table"] .param-carousel-table td:nth-child(4)::before {
    content: attr(data-range-label);
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
  }
}

.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.param-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.param-table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
  line-height: 1.5;
}

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

.param-carousel {
  display: grid;
  gap: var(--space-md);
}

.param-carousel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.param-carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.param-carousel-tab,
.param-carousel-arrow {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.param-carousel-tab {
  padding: 0.55rem 0.8rem;
  font-size: 0.6875rem;
  cursor: pointer;
}

.param-carousel-tab.is-active,
.param-carousel-tab:hover,
.param-carousel-tab:focus-visible,
.param-carousel-arrow:hover,
.param-carousel-arrow:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-tint-sm);
}

.param-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.param-carousel-arrow {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.param-carousel-viewport {
  position: relative;
  min-height: 0;
  height: auto;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 28%),
    var(--bg);
  overflow: visible;
  touch-action: pan-y;
}

.param-carousel-slide {
  position: static;
  inset: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  display: none;
  grid-template-rows: auto auto;
  gap: var(--space-md);
  transform: none;
  transition: opacity 180ms ease;
}

.param-carousel-slide.is-active {
  display: grid;
  transform: none;
}

.param-carousel-slide[hidden] {
  display: none;
}

.param-carousel-slide--dense {
  gap: 0.75rem;
}

.param-carousel-slide--dense .param-carousel-header {
  gap: 0.2rem;
}

.param-carousel-slide--dense .param-carousel-copy {
  font-size: 0.78rem;
  line-height: 1.45;
}

.param-carousel-slide--dense .param-carousel-table {
  font-size: 0.75rem;
}

.param-carousel-slide--dense .param-carousel-table th,
.param-carousel-slide--dense .param-carousel-table td {
  padding: 0.45rem 0.55rem;
}

.param-carousel-header {
  display: grid;
  gap: 0.35rem;
}

.param-carousel-kicker {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-accent);
}

.param-carousel-title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.param-carousel-copy {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
}

.param-carousel-table th:first-child,
.param-carousel-table td:first-child {
  width: 9rem;
}

.param-carousel-table {
  height: auto;
  table-layout: fixed;
}

.param-carousel-table thead {
  height: auto;
}

.param-carousel-table tbody tr {
  height: auto;
}

.param-carousel-table th:nth-child(2),
.param-carousel-table td:nth-child(2) {
  width: 9rem;
}

.param-carousel-table th:nth-child(3),
.param-carousel-table td:nth-child(3) {
  width: 7rem;
}

@media (min-width: 769px) {
  .param-carousel.is-stacked {
    gap: var(--space-lg);
  }

  .param-carousel.is-stacked .param-carousel-topbar {
    display: none;
  }

  .param-carousel.is-stacked .param-carousel-viewport {
    display: grid;
    gap: var(--space-md);
    border: 0;
    background: transparent;
    touch-action: auto;
  }

  .param-carousel.is-stacked .param-carousel-slide,
  .param-carousel.is-stacked .param-carousel-slide.is-active {
    display: grid;
  }

  .param-carousel.is-stacked .param-carousel-slide {
    border: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 28%),
      var(--bg);
  }
}

/* ---- Cart items ------------------------------------------ */

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.cart-item .cart-item-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cart-item--animating > *:not(.cart-pixel-tile) {
  opacity: 0;
}
.cart-item--revealing > *:not(.cart-pixel-tile) {
  transition: opacity 0.25s ease;
  opacity: 1;
}
.cart-pixel-tile {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45),
              opacity 0.28s 0.04s ease;
  will-change: transform, opacity;
}

.cart-item-name {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.cart-item-promo-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--accent-tint-lg);
  color: var(--muted);
  opacity: 0.58;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
}

.cart-item-note {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-align: left;
}

.cart-bundle-contents {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.cart-bundle-plugin {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-tint-lg);
  padding: 0.15em 0.5em;
}

/* Quantity stepper: [−] N [+] */
.cart-qty {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  border: 1px solid var(--border);
}

.cart-qty-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.12s ease;
}

.cart-qty-btn:first-child {
  border-right: 1px solid var(--border);
}

.cart-qty-btn:last-child {
  border-left: 1px solid var(--border);
}

.cart-qty-btn:hover {
  color: var(--accent);
}

.cart-qty-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.2rem 0.6rem;
  min-width: 1.75rem;
  user-select: none;
}

.cart-item-price {
  color: var(--accent);
  font-size: 0.875rem;
  text-align: right;
}

.cart-total-line {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: var(--space-md) 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.cart-summary-line {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.cart-summary-line--muted {
  color: var(--muted);
}

.cart-summary-line--saving {
  color: var(--accent);
}

.cart-summary-value {
  font-family: var(--font-mono);
}

.cart-total-amount {
  color: var(--accent);
}

.cart-layout {
  max-width: 48rem;
}

@media (min-width: 1025px) {
  .cart-page {
    display: grid;
    justify-items: center;
  }

  .cart-page .page-title {
    text-align: left;
    justify-self: center;
    width: 100%;
    max-width: 48rem;
  }

  .cart-page .cart-layout {
    width: 100%;
    margin: 0 auto;
  }
}

.cart-promo {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
}

.cart-promo-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-md);
}

.cart-promo-form {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) auto;
  align-items: center;
  gap: var(--space-sm);
}

#cart-promo-apply {
  min-width: 4.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.cart-promo-label {
  color: var(--muted);
  text-transform: uppercase;
}

.cart-promo-input {
  min-width: 0;
  text-transform: uppercase;
}

.cart-promo-current,
.cart-promo-available {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cart-promo-chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0.35rem 0.55rem;
}

.cart-promo-chip--active {
  color: var(--accent);
  border-color: var(--accent-tint-lg);
}

.cart-promo-chip--available {
  color: var(--muted);
  cursor: pointer;
  opacity: 0.55;
}

.cart-promo-chip--available:hover {
  color: var(--text);
  border-color: var(--text);
  opacity: 1;
}

.cart-promo-remove {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.cart-promo-remove:hover {
  color: var(--text);
}

.cart-promo-message {
  color: var(--muted);
  min-height: 1rem;
}

.cart-promo-message--success {
  color: var(--accent);
}

.cart-promo-message--error {
  color: var(--red-light);
}

@media (max-width: 560px) {
  .cart-promo-top {
    grid-template-columns: 1fr;
  }

  .cart-promo-top #checkout-btn {
    order: -1;
    justify-self: stretch;
    min-width: 0;
  }

  .cart-promo-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #cart-promo-apply {
    min-width: 6.25rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

#checkout-btn {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  justify-self: end;
  min-width: 18rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

#checkout-btn:hover:not(.pixel-hover) {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
  box-shadow: 0 0 12px rgba(244,249,255,0.34), 0 0 32px rgba(190,220,255,0.2) !important;
}

.cart-checkout-note {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: var(--space-sm);
}

/* ---- Contact form ---------------------------------------- */

.form-field {
  display: grid;
  grid-auto-flow: row;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid var(--accent-tint-md);
  color: var(--text);
  padding: var(--space-sm) var(--space-md);
  width: 100%;
  outline: none;
  box-shadow: 0 0 8px var(--accent-tint-sm), 0 0 20px var(--accent-tint-xs), 0 0 40px var(--accent-tint-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.15), 0 0 30px rgba(255,255,255,0.1), 0 0 60px rgba(255,255,255,0.06), 0 0 100px var(--accent-tint-xs);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.15), 0 0 30px rgba(255,255,255,0.1), 0 0 60px rgba(255,255,255,0.06), 0 0 100px var(--accent-tint-xs);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contact-form button[type="submit"] {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-form .cf-turnstile {
  margin: var(--space-lg) 0;
}

.form-field-error {
  display: none;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--red-light);
  margin: 0;
  padding-top: 2px;
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: rgba(229, 115, 115, 0.7);
  box-shadow: 0 0 8px rgba(229, 115, 115, 0.15), 0 0 20px rgba(229, 115, 115, 0.08);
}

/* ---- Plugin detail page ---------------------------------- */

.plugin-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: var(--space-lg);
  padding: 0 0 var(--space-lg);
  margin-bottom: var(--space-lg);
}

.plugin-header-right {
  display: grid;
  grid-auto-flow: row;
  align-items: end;
  justify-items: end;
  gap: var(--space-sm);
  padding-top: var(--space-xs);
}

.plugin-name {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0 0 var(--space-xs);
}

.plugin-type {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.plugin-price {
  font-size: 1.5rem;
  color: var(--accent);
}

.plugin-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-lg);
}

.plugin-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: 0 0 30px var(--accent-tint-xs);
}

.media-carousel {
  position: relative;
  width: 100%;
}

.media-carousel-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.media-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 420ms ease;
  will-change: opacity;
}

.media-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.media-carousel-slide.is-exiting {
  z-index: 1;
}

.media-carousel .plugin-hero-img,
.media-carousel-video {
  width: 100%;
  height: 100%;
  display: block;
}

.media-carousel .plugin-hero-img {
  object-fit: contain;
}

.media-carousel-video {
  border: 0;
  background: var(--bg);
}

.media-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  background: var(--scrim-med);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
}

.media-carousel-arrow--prev {
  left: 0.5rem;
}

.media-carousel-arrow--next {
  right: 0.5rem;
}

.media-carousel-arrow:hover,
.media-carousel-arrow:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.media-carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: var(--space-sm);
}

.media-carousel-indicator {
  width: 0.52rem;
  height: 0.52rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.media-carousel-indicator.is-active,
.media-carousel-indicator:hover,
.media-carousel-indicator:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-tint-md);
}

.media-carousel-indicators--thumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.media-carousel-thumb {
  width: min(10.5rem, 42vw);
  height: 2.65rem;
  padding: 0 0.75rem;
  border-radius: 0.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.44);
  color: rgba(240, 240, 240, 0.7);
  text-align: center;
}

.media-carousel-thumb span {
  min-width: 0;
  width: 100%;
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.media-carousel-thumb.is-active,
.media-carousel-thumb:hover,
.media-carousel-thumb:focus-visible {
  background: rgba(228, 108, 101, 0.13);
  color: var(--text);
}

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

  .plugin-trust-grid {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - clamp(1rem, 6vw, 2rem)));
  }

  .plugin-trust-grid--ableton {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1024px) {
  .plugin-hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.plugin-desc {
  display: grid;
  gap: var(--space-md);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

.plugin-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-xl);
}

.plugin-summary-item {
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}

.plugin-summary-label {
  display: block;
  color: var(--text);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.plugin-summary-item p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.section--spectra {
  position: relative;
}

.section--spectra::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(228,108,101,0.028), transparent 30%),
    radial-gradient(circle at 82% 32%, rgba(228,108,101,0.014), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0));
  pointer-events: none;
}

.spectra-top,
.spectra-summary-band {
  position: relative;
  z-index: 1;
}

.spectra-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.spectra-hero-copy {
  display: grid;
  gap: 1.25rem;
}

.spectra-title {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.65rem, 1.25vw, 1rem);
  font-size: clamp(3rem, 5.6vw, 5rem);
  letter-spacing: 0.14em;
  line-height: 0.92;
  text-transform: uppercase;
}

.spectra-title-logo {
  display: block;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
  object-fit: contain;
}

.spectra-title-text {
  min-width: 0;
}

.spectra-subtitle {
  margin-top: -0.35rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.spectra-lead {
  max-width: 38rem;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  line-height: 1.45;
  color: var(--text);
}

.spectra-copy-divider {
  width: min(100%, 30rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-tint-xl), var(--accent-tint-xs));
}

.spectra-body {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.spectra-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.35rem;
}

.spectra-actions--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 14rem;
}

.spectra-actions .btn {
  min-height: 3.25rem;
  padding: 0.72rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.section--spectra #buy-btn {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.section--spectra #buy-btn:hover:not(.pixel-hover) {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
  box-shadow: 0 0 12px rgba(244,249,255,0.34), 0 0 32px rgba(190,220,255,0.2) !important;
}

.spectra-demo-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.spectra-demo-trigger-icon {
  width: 0;
  height: 0;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.65rem solid currentColor;
}

.spectra-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.15rem;
}

.spectra-price-current {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
}

.spectra-price-original {
  color: rgba(240,240,240,0.62);
  font-size: 1.3rem;
  text-decoration: line-through;
  display: none;
}

.spectra-discount-badge {
  position: relative;
  display: none;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--accent-tint-xl);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.spectra-discount-badge:hover {
  border-color: var(--hover-white);
  background: var(--hover-white);
  color: transparent;
}

.spectra-discount-badge::after {
  content: "BUY NOW";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.spectra-discount-badge:hover::after {
  opacity: 1;
}

.spectra-format-row,
.spectra-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.spectra-format-row {
  gap: 1.5rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.spectra-format-item {
  white-space: nowrap;
}

.spectra-format-item--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
}

.spectra-platform-icon-image {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  opacity: 0.92;
  filter: brightness(0) saturate(100%) invert(89%) sepia(8%) saturate(154%) hue-rotate(22deg) brightness(95%) contrast(92%);
}

.spectra-format-divider {
  width: 1px;
  height: 1.5rem;
  background: var(--accent-tint-lg);
}

.spectra-meta-row {
  gap: 1.5rem;
  color: var(--accent);
  font-size: 0.85rem;
}

.spectra-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.spectra-meta-item::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid var(--accent-tint-xl);
  border-radius: 999px;
  box-shadow: inset 0 0 0 0.15rem var(--accent-tint-sm);
}

.spectra-demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.spectra-summary-group--below-video {
  gap: 0.9rem;
  margin-top: 0.35rem;
  padding-left: 0;
  border-left: 0;
}

.spectra-demo-kicker {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.spectra-demo-card {
  width: 100%;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px var(--scrim-light);
  cursor: pointer;
  appearance: none;
}

.spectra-demo-card--carousel {
  cursor: default;
  max-width: 100%;
}

.spectra-demo-panel--entropy,
.spectra-demo-panel--entropy .spectra-demo-card,
.spectra-demo-panel--entropy .media-carousel,
.spectra-demo-panel--entropy .media-carousel-viewport,
.spectra-demo-panel--entropy .media-carousel-slide,
.spectra-demo-panel--entropy .spectra-demo-slide,
.spectra-demo-panel--entropy .spectra-demo-card-frame,
.spectra-demo-panel--entropy .spectra-demo-image {
  min-width: 0;
  max-width: 100%;
}

.spectra-demo-panel--entropy .spectra-demo-card {
  display: block;
  overflow: hidden;
}

.spectra-demo-panel--entropy .media-carousel,
.spectra-demo-panel--entropy .media-carousel-viewport,
.spectra-demo-panel--entropy .media-carousel-slide,
.spectra-demo-panel--entropy .spectra-demo-slide,
.spectra-demo-panel--entropy .spectra-demo-card-frame {
  overflow: hidden;
}

.spectra-demo-card:hover,
.spectra-demo-card:focus-visible {
  border-color: var(--accent-tint-lg);
}

.spectra-demo-slide {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  display: block;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.spectra-demo-card-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  background: var(--bg);
  aspect-ratio: 16 / 10;
}

.spectra-demo-card--carousel .media-carousel-viewport {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
}

.spectra-demo-card--carousel .spectra-demo-card-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.spectra-demo-slide:focus-visible .spectra-demo-card-frame {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.spectra-demo-slide--playing {
  cursor: default;
}

.spectra-demo-slide--pip {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 1050;
  width: min(28rem, calc(100vw - (2 * var(--space-lg))));
  height: auto;
  padding: var(--space-xs);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 0 32px var(--accent-tint-md);
}

.spectra-demo-slide--pip .spectra-demo-card-frame {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.spectra-demo-slide--pip .demo-modal-close {
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 1.8rem;
  height: 1.8rem;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}

.spectra-demo-slide--pip .demo-modal-expand {
  display: block;
  top: 0.55rem;
  right: 2.6rem;
}

.demo-inline-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.demo-inline-placeholder {
  background: var(--bg);
}

@media (max-width: 720px) {
  .spectra-demo-slide--pip {
    right: var(--space-sm);
    bottom: var(--space-sm);
    left: var(--space-sm);
    width: auto;
  }
}

.spectra-demo-card-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--scrim-light), transparent 10%, transparent 88%, var(--scrim-light)),
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 15%, transparent 85%, rgba(255,255,255,0.04));
  pointer-events: none;
}

.spectra-demo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-focus, center center);
  display: block;
}

.spectra-demo-card--entropy .spectra-demo-image {
  object-fit: contain;
  object-position: center center;
}

.spectra-demo-copy {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.25rem);
  bottom: clamp(0.85rem, 2vw, 1.25rem);
  z-index: 2;
  width: min(72%, 24rem);
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.54);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.spectra-demo-copy-title {
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spectra-demo-copy-text {
  color: rgba(240, 240, 240, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
}

.spectra-demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(4.4rem, 7.5vw, 5.6rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(228, 108, 101, 0.22), transparent 62%),
    rgba(0, 0, 0, 0.84);
  box-shadow:
    0 0 0 0.35rem rgba(0, 0, 0, 0.42),
    0 0 0 0.42rem rgba(228, 108, 101, 0.42),
    0 18px 56px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.spectra-demo-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.08rem solid var(--hover-white);
}

.spectra-summary-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1.8rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--accent-tint-md);
}

.spectra-summary-group {
  display: grid;
  gap: 0.9rem;
}

.spectra-summary-heading {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.spectra-summary-cards {
  display: grid;
  gap: 0.9rem;
}

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

.spectra-summary-cards--five {
  grid-template-columns: repeat(5, minmax(min-content, 1fr));
}

.spectra-summary-cards--entropy-best-on {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
}

.spectra-summary-cards--inflect-best-on {
  grid-template-columns: repeat(5, minmax(min-content, 1fr));
}

.spectra-summary-cards--ableton-views {
  grid-template-columns: repeat(5, minmax(min-content, 1fr));
}

.spectra-summary-card {
  min-height: 4.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--accent-tint-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-summary-card span:last-child {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.spectra-summary-icon {
  position: relative;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.92;
}

.spectra-summary-icon--wave::before {
  content: "";
  position: absolute;
  inset: 0.35rem 0.05rem 0.35rem 0.05rem;
  border-top: 2px solid currentColor;
  border-radius: 999px;
  transform: skewX(-18deg);
  box-shadow: 0 0.32rem 0 0 currentColor, 0 0.64rem 0 0 currentColor;
  opacity: 0.95;
}

.spectra-summary-icon--frame::before {
  content: "";
  position: absolute;
  inset: 0.2rem;
  border: 2px dashed currentColor;
}

.spectra-summary-icon--bars::before,
.spectra-summary-icon--bins::before,
.spectra-summary-icon--pads::before,
.spectra-summary-icon--impact::before {
  content: "";
  position: absolute;
}

.spectra-summary-icon--bars::before {
  inset: 0.2rem 0.18rem;
  background:
    linear-gradient(currentColor, currentColor) left 0.15rem bottom / 0.16rem 0.5rem no-repeat,
    linear-gradient(currentColor, currentColor) left 0.6rem bottom / 0.16rem 1rem no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / 0.16rem 1.45rem no-repeat,
    linear-gradient(currentColor, currentColor) right 0.58rem bottom / 0.16rem 1.15rem no-repeat,
    linear-gradient(currentColor, currentColor) right 0.14rem bottom / 0.16rem 0.78rem no-repeat;
}

.spectra-summary-icon--bins::before {
  inset: 0.2rem 0.28rem;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 0.22rem 0.78rem no-repeat,
    linear-gradient(currentColor, currentColor) left 0.48rem bottom / 0.22rem 1.2rem no-repeat,
    linear-gradient(currentColor, currentColor) right 0.48rem bottom / 0.22rem 1.55rem no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 0.22rem 1.85rem no-repeat;
}

.spectra-summary-icon--drum::before,
.spectra-summary-icon--drum::after,
.spectra-summary-icon--vocal::before,
.spectra-summary-icon--vocal::after,
.spectra-summary-icon--loops::before,
.spectra-summary-icon--loops::after {
  content: "";
  position: absolute;
}

.spectra-summary-icon--drum::before {
  inset: 0.25rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.spectra-summary-icon--drum::after {
  inset: 0.55rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.5;
}

.spectra-summary-icon--pads::before {
  inset: 0.42rem 0.12rem;
  background:
    linear-gradient(currentColor, currentColor) left 0 top 0.2rem / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 0 center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 0 bottom 0.2rem / 100% 2px no-repeat;
  transform: skewX(-20deg);
}

.spectra-summary-icon--vocal::before {
  left: 50%;
  top: 0.2rem;
  width: 0.7rem;
  height: 1rem;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0.35rem 0.35rem;
}

.spectra-summary-icon--vocal::after {
  left: 50%;
  bottom: 0.22rem;
  width: 1.15rem;
  height: 0.95rem;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.spectra-summary-icon--loops::before,
.spectra-summary-icon--loops::after {
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.spectra-summary-icon--loops::before {
  left: 0.15rem;
}

.spectra-summary-icon--loops::after {
  right: 0.15rem;
}

.spectra-summary-icon--impact::before {
  inset: 0.35rem;
  background:
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transform: rotate(35deg);
}

@media (max-width: 1360px) {
  .spectra-top,
  .spectra-summary-band {
    grid-template-columns: 1fr;
  }

  .spectra-top {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
  }

  .spectra-hero-copy,
  .spectra-demo-panel {
    display: contents;
  }

  .spectra-title {
    order: 1;
  }

  .spectra-subtitle {
    order: 2;
  }

  .spectra-demo-kicker {
    display: none;
  }

  .spectra-demo-card {
    --demo-media-inset: clamp(0rem, calc((100vw - 1140px) * 0.35), 7rem);

    order: 3;
    width: calc(100% - (2 * var(--demo-media-inset)));
    margin-inline: auto;
  }

  .spectra-price-row {
    order: 4;
    margin-top: 0.35rem;
  }

  .spectra-actions {
    order: 5;
    grid-template-columns: 1fr;
    margin-top: 0;
    width: 100%;
    max-width: none;
  }

  .spectra-actions .btn {
    width: 100%;
  }

  .spectra-format-row {
    order: 6;
  }

  .spectra-meta-row {
    order: 7;
  }

  .spectra-lead {
    order: 8;
    margin-top: 0.25rem;
  }

  .spectra-copy-divider {
    order: 9;
  }

  .spectra-body {
    order: 10;
    max-width: none;
  }

  .spectra-summary-group--below-video {
    --demo-media-inset: clamp(0rem, calc((100vw - 1140px) * 0.35), 7rem);

    order: 11;
    margin-top: 0.4rem;
    width: calc(100% - (2 * var(--demo-media-inset)));
    max-width: 100%;
    margin-inline: auto;
    align-self: center;
  }

  .spectra-summary-cards--four,
  .spectra-summary-cards--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five .spectra-summary-card {
    grid-column: span 2;
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five .spectra-summary-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 1140px) {
  .spectra-demo-card {
    --demo-media-inset: 0rem;
    width: 100%;
  }

  .spectra-summary-group--below-video {
    --demo-media-inset: 0rem;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .spectra-title {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }

  .spectra-demo-card {
    padding: 0.8rem;
    border-radius: 0.9rem;
  }

  .spectra-demo-card--entropy .media-carousel-indicators--thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    inline-size: 100%;
    min-inline-size: 0;
  }

  .spectra-demo-card--entropy .media-carousel-thumb {
    inline-size: 100%;
    min-inline-size: 0;
    padding-inline: 0.45rem;
  }

  .spectra-format-row,
  .spectra-meta-row {
    gap: 0.85rem 1.2rem;
  }

  .spectra-format-divider {
    display: none;
  }

  .spectra-summary-cards--four,
  .spectra-summary-cards--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five .spectra-summary-card,
  .spectra-summary-group--below-video .spectra-summary-cards--five .spectra-summary-card:nth-child(4) {
    grid-column: span 2;
  }

  .spectra-summary-group--below-video .spectra-summary-cards--five .spectra-summary-card:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }
}

.plugin-section {
  margin-top: var(--space-xl);
}


.dashboard-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: end;
  margin-bottom: var(--space-md);
}

.dashboard-field {
  display: grid;
  gap: 0.35rem;
  min-width: 12rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.dashboard-field input,
.dashboard-field select {
  min-height: 2.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0 0.75rem;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.dashboard-metric {
  border: 1px solid var(--border);
  padding: var(--space-sm);
}

.dashboard-metric span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.dashboard-metric strong {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
}

.dashboard-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dashboard-table-wrap .param-table {
  min-width: 760px;
}

.dashboard-table-wrap th,
.dashboard-table-wrap td {
  white-space: nowrap;
}

#purchase-table {
  min-width: 1180px;
}

#health-table {
  min-width: 420px;
}

@media (max-width: 768px) {
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-field,
  .dashboard-controls .btn {
    width: 100%;
  }
}

.plugin-shapes-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
}

.fold-shapes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(42,42,42,0.4);
  border-left: 1px solid rgba(42,42,42,0.4);
}

.fold-shape-item {
  display: grid;
  grid-template-columns: 10ch 1fr;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(42,42,42,0.4);
  border-right: 1px solid rgba(42,42,42,0.4);
}

.fold-shape-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}

.fold-shape-desc {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.4;
}

.spec-label {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  width: 12ch;
}

/* ---- Glow block (reusable highlight) --------------------- */
/* Add .glow-block to any container to get a frame whose borders
   start red-accent at the midpoint of each edge and fade to black
   at the corners. Layer on top of cards, buttons, panels, etc. */

.glow-block {
  position: relative;
  --glow-block-edge: var(--red-accent);
  --glow-block-deep: var(--red-deep);
}

.glow-block::before,
.glow-block::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Top + bottom edges */
.glow-block::before {
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--glow-block-deep) 0%, var(--glow-block-edge) 50%, var(--glow-block-deep) 100%);
}

.glow-block::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--glow-block-deep) 0%, var(--glow-block-edge) 50%, var(--glow-block-deep) 100%);
}

/* Left + right edges via an inner pseudo on a child wrapper */
.glow-block > .glow-block-edges {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glow-block > .glow-block-edges::before,
.glow-block > .glow-block-edges::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--glow-block-deep) 0%, var(--glow-block-edge) 50%, var(--glow-block-deep) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.glow-block > .glow-block-edges::before { left: 0; }
.glow-block > .glow-block-edges::after  { right: 0; }

/* Activate on hover (or .is-active for non-hoverable contexts) */
.glow-block:hover::before,
.glow-block:hover::after,
.glow-block.is-active::before,
.glow-block.is-active::after,
.glow-block:hover > .glow-block-edges::before,
.glow-block:hover > .glow-block-edges::after,
.glow-block.is-active > .glow-block-edges::before,
.glow-block.is-active > .glow-block-edges::after {
  opacity: 1;
}

.sat-modes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.sat-mode-card {
  border: 1px solid rgba(42,42,42,0.6);
  background: rgba(255,255,255,0.02);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sat-mode-card:hover {
  border-color: transparent;
}

.sat-mode-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.sat-mode-desc {
  font-size: 0.5625rem;
  color: var(--muted);
  line-height: 1.35;
}

.sat-mode-graph {
  width: 100%;
  height: 40px;
  display: block;
  margin-top: auto;
}

.sat-mode-graph .sat-axis {
  stroke: rgba(150,150,150,0.25);
  stroke-width: 1;
}

.sat-mode-graph .sat-curve {
  stroke: var(--red-accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spec-table-pair {
  --spec-label-width: 11.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.spec-table-pair .spec-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  border: 1px solid rgba(120,120,120,0.5);
}

.spec-table-pair .spec-label,
.spec-table-pair .spec-table td:first-child {
  width: var(--spec-label-width);
  min-width: var(--spec-label-width);
}

.spec-table-pair .spec-table + .spec-table {
  border-left: none;
}

.spec-table-pair .spec-table td {
  border: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md);
  vertical-align: baseline;
}

@media (max-width: 768px) {
  .spec-table-pair {
    --spec-label-width: min(42vw, 10.5rem);
    grid-template-columns: 1fr;
  }
  .spec-table-pair .spec-table + .spec-table {
    border-left: 1px solid var(--border);
    border-top: none;
  }
}

.plugin-coming-note {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .plugin-header {
    grid-template-columns: 1fr;
  }

  .plugin-header-right {
    justify-items: start;
    grid-auto-flow: row;
    align-items: start;
  }

  .product-actions {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 24rem;
  }

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

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

/* ---- Breadcrumb ------------------------------------------ */

.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
  text-decoration: none;
}

.breadcrumb-sep {
  margin: 0 0.4em;
}

/* ---- Auth pages (login / signup) ------------------------- */

.auth-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--nav-total-height));
  padding: var(--space-xl) var(--space-lg);
}

.auth-card {
  width: 100%;
  max-width: 28rem;
  border: 1px solid rgba(42,42,42,0.4);
  background: var(--bg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-lg);
}

.auth-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.auth-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: var(--space-xs);
}

.auth-form {
  display: grid;
  gap: var(--space-md);
}

.cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cf-turnstile iframe {
  width: 100% !important;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: var(--border);
}

.auth-message {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
}

.auth-message--error {
  border-color: var(--danger);
  color: var(--danger-text);
}

.auth-message--success {
  border-color: var(--accent);
  color: var(--accent);
}

.auth-footer {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.auth-footer a {
  color: var(--accent);
}

/* ---- Account page ---------------------------------------- */

.account-layout {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) var(--space-lg);
}

.account-sidebar {
  display: grid;
  gap: var(--space-xs);
  position: sticky;
  top: calc(var(--nav-total-height) + var(--space-lg));
}

.account-nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-mono);
  text-align: left;
  width: 100%;
}

.account-nav-link:hover,
.account-nav-link.active {
  color: var(--text);
}

.account-nav-link.active {
  border-bottom: 1px solid var(--border);
}

.account-content {
  display: grid;
  gap: var(--space-xl);
}

.account-section {
  display: none;
}

.account-section.active {
  display: grid;
  gap: var(--space-lg);
}

.account-user-email {
  font-size: 0.875rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.account-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---- Purchase / download items --------------------------- */

.purchase-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.purchase-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.purchase-item-name {
  letter-spacing: 0.04em;
  color: var(--text);
}

.purchase-item-key {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-style: italic;
}

.purchase-item-note {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: var(--space-xs);
  letter-spacing: 0.02em;
}

.purchase-item--expired {
  opacity: 0.6;
}

.purchase-empty {
  padding: var(--space-lg) 0;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---- Payment pending banner -------------------------------- */

.payment-pending {
  border: 1px solid var(--accent);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  animation: payment-pulse 2s ease-in-out infinite;
}

.payment-pending--timeout {
  border-color: var(--muted);
  color: var(--muted);
  animation: none;
}

@keyframes payment-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ---- Activation code + device list ----------------------- */

.activation-code-box {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  align-items: center;
  gap: var(--space-md);
}

.code-display {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--text);
  cursor: pointer;
  transition: color 0.12s ease;
}

.code-display:hover {
  color: var(--accent);
}

.code-display--copied {
  color: var(--accent);
  animation: code-flash 0.3s ease-out;
}

@keyframes code-flash {
  0%   { opacity: 0; transform: scale(0.95); }
  50%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.code-timer {
  font-size: 0.75rem;
  color: var(--muted);
}

.device-list {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
}

.device-list-header {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.device-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
}

.device-name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.device-meta {
  font-size: 0.75rem;
  color: var(--muted);
  flex: 1;
}

@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-md);
  }

  .account-sidebar {
    position: static;
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
  }

  .purchase-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ---- Cookie banner --------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  right: auto;
  width: min(calc(100vw - 2rem), 980px);
  max-width: calc(100vw - 2rem);
  min-width: 0;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--bg) 94%, black);
  border: 1px solid rgba(228,108,101,0.58);
  padding: var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-lg);
  z-index: 320;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  box-shadow: 0 0 34px rgba(0,0,0,0.48), 0 0 72px rgba(228,108,101,0.2);
  overflow: hidden;
  animation: cookie-banner-enter 0.34s ease-out;
}

.cookie-banner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(228,108,101,0), var(--accent), rgba(228,108,101,0));
}

@keyframes cookie-banner-enter {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(1rem);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.cookie-banner-copy {
  display: grid;
  gap: 0.35rem;
}

.cookie-banner-title,
.cookie-banner-text {
  margin: 0;
}

.cookie-banner-title {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner-text {
  max-width: 56rem;
  line-height: 1.55;
}

.cookie-banner-link {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 0.625rem;
}

.cookie-banner-link:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: flex-end;
}

.btn--muted {
  border-color: var(--border);
  color: var(--muted);
  opacity: 0.7;
}

@media (max-width: 600px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
    bottom: var(--space-sm);
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 0;
  }
}

/* ---- Legal page ------------------------------------------ */

.legal-content {
  display: grid;
  gap: var(--space-lg);
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.legal-col {
  display: grid;
  align-content: start;
  gap: var(--space-lg);
}

.legal-col-header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.legal-block {
  display: grid;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.6;
}

.legal-block--muted {
  color: var(--muted);
  font-size: 0.75rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.legal-label {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ---- Legal tabs ------------------------------------------ */

.legal-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-sm);
}

.legal-tab {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  text-transform: uppercase;
}

.legal-tab:hover {
  color: var(--text);
}

.legal-tab--active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  margin-bottom: -1px;
  padding-bottom: calc(var(--space-xs) + var(--space-sm) + 1px);
}

.legal-tab-panel {
  display: none;
}

.legal-tab-panel--active {
  display: grid;
  align-content: start;
  gap: var(--space-lg);
}

@media (max-width: 600px) {
  .legal-tabs {
    flex-wrap: wrap;
  }
}

/* ---- Legal gate ------------------------------------------ */

.legal-gate {
  display: grid;
  gap: var(--space-md);
  max-width: 48ch;
}

.legal-gate-text {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.legal-gate-error {
  font-size: 0.75rem;
  color: var(--danger-text);
  letter-spacing: 0.04em;
}

/* ---- Utility --------------------------------------------- */

.muted {
  color: var(--muted);
}

/* ---- Responsive ------------------------------------------ */

@media (max-width: 768px) {
  .hero {
    padding: var(--space-xl) var(--space-md);
  }

  .section {
    --section-inline-padding: var(--space-md);

    padding: var(--space-xl) var(--section-inline-padding);
  }

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

  .param-carousel-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .param-carousel-controls {
    justify-content: flex-end;
  }

  .param-carousel-viewport {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .param-carousel-slide {
    position: static;
    inset: auto;
    padding: 0.9rem;
    display: none;
    grid-template-rows: auto auto;
    transform: none;
    transition: opacity 180ms ease;
  }

  .param-carousel-slide.is-active {
    display: grid;
    transform: none;
  }

  .param-carousel-slide[hidden] {
    display: none;
  }

  .param-carousel-table {
    height: auto;
  }

  .param-carousel-table thead {
    height: auto;
  }

  .param-carousel-table tbody tr {
    height: auto;
  }

  .param-carousel-table th,
  .param-carousel-table td {
    padding: 0.65rem 0.5rem;
  }

  .param-carousel-table th:first-child,
  .param-carousel-table td:first-child {
    width: 5.25rem;
  }

  .param-carousel-table th:nth-child(2),
  .param-carousel-table td:nth-child(2) {
    width: 5.5rem;
  }

  .param-carousel-table th:nth-child(3),
  .param-carousel-table td:nth-child(3) {
    width: 3.75rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    text-align: left;
    padding: 1rem var(--space-md) 1.25rem;
  }

  .footer-right {
    justify-content: flex-start;
    gap: 1rem;
  }

  .footer-right a + a {
    padding-left: 1rem;
  }

  .footer-right a + a::before {
    left: 0;
  }

  .cart-item {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 0.6rem;
  }

  .cart-item .cart-item-info {
    grid-column: 1;
    min-width: 0;
  }

  .cart-item .cart-qty {
    grid-column: 2;
  }

  .cart-item .cart-item-info .cart-item-note {
    display: block;
    margin-top: 0.2rem;
    text-align: left;
    white-space: normal;
  }

  .cart-item .cart-item-price {
    grid-column: 3;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 4rem;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-content: center;
    gap: 0.55rem;
    padding:
      calc(var(--safe-top) + 0.5rem)
      max(var(--space-lg), calc(var(--safe-right) + var(--space-lg)))
      0.5rem
      max(var(--space-lg), calc(var(--safe-left) + var(--space-lg)));
    height: var(--nav-total-height);
  }

  .nav-mobile-actions {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-total-height);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    max-height: calc(100vh - var(--nav-total-height));
    overflow-y: auto;
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px var(--scrim-light);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease, visibility 220ms ease;
    z-index: 1115;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links > li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links > li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.95rem 0.25rem;
    font-size: 0.85rem;
  }

  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 0.65rem 0.25rem;
  }

  .section,
  .hero {
    --section-inline-padding: 1.5rem;

    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .home-hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .home-hero-grid,
  .home-band-grid,
  .home-cta-panel {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    min-height: 0;
  }

  .home-actions {
    margin-top: 1.75rem;
    margin-bottom: 0;
  }

  .home-hero-visual {
    min-height: 28rem;
  }

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

  .home-pillars article:last-child {
    grid-column: 1 / -1;
  }

  .home-band-offer--featured {
    margin-top: 0;
  }

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

  .home-band-offer--featured .home-band-actions {
    grid-template-columns: 1fr;
  }

  .home-band-price-row {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  .home-band-meta {
    flex-wrap: wrap;
  }

  .home-cta-panel {
    gap: var(--space-lg);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-band {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-band-stack,
  .home-band-offer--featured {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 3.75rem;
  }

  .nav {
    gap: 0.45rem;
    padding:
      calc(var(--safe-top) + 0.5rem)
      max(var(--space-md), calc(var(--safe-right) + var(--space-md)))
      0.5rem
      max(var(--space-md), calc(var(--safe-left) + var(--space-md)));
  }

  .nav-wordmark {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }

  .nav-mobile-actions {
    gap: 0.4rem;
  }

  .nav-cart-link,
  .nav-toggle {
    width: 2.25rem;
    height: 2.25rem;
  }

  .nav-cart-link svg {
    width: 1rem;
    height: 1rem;
  }

  .nav-links {
    top: var(--nav-total-height);
  }

  .product-card,
  .home-pillar,
  .home-band-offer,
  .home-cta-panel {
    padding: 1.25rem;
  }

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

  .product-card-footer .product-card-link--demo,
  .product-card-footer .product-card-link:not(.product-card-link--demo),
  .product-card-footer .product-card-add {
    grid-column: 1;
  }

  .product-card-footer .product-card-link--demo {
    grid-row: 1;
  }

  .product-card-footer .product-card-link:not(.product-card-link--demo) {
    grid-row: 2;
    justify-self: start;
  }

  .product-card-footer .product-card-add {
    grid-row: 3;
  }

  .home-pillars,
  .home-band-include-grid {
    grid-template-columns: 1fr;
  }

  .home-band-include-item {
    width: 92%;
    max-width: 92%;
  }

  .home-band-include-image {
    width: 92%;
    max-width: 100%;
  }

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

  .home-stat {
    padding: 0.9rem 0.65rem;
  }

  .home-stat-value {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }

  .home-stat-value--platforms {
    gap: 0.45rem;
  }

  .home-stat-value--platforms img {
    width: 0.95rem;
    height: 0.95rem;
  }

  .home-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  .home-hero-visual {
    min-height: 23rem;
  }
}

/* ---- Dynamic Banner -------------------------------------- */

.dynamic-banner {
  background: var(--accent);
  color: var(--bg);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-transform: uppercase;
  font-weight: 700;
}

.dynamic-banner-close {
  background: none;
  border: none;
  color: var(--bg);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0;
  opacity: 0.7;
}

.dynamic-banner-close:hover {
  opacity: 1;
}

/* ---- Promo Banner (scrolling marquee) --------------------- */

.promo-banner {
  position: fixed;
  top: var(--nav-total-height);
  left: 0;
  width: 100%;
  z-index: 999;
  overflow: hidden;
  background: var(--accent);
  border-bottom: 1px solid var(--border);
  height: 2rem;
  display: flex;
  align-items: center;
}

.promo-banner[data-banner-active="false"] {
  display: none;
}

.promo-banner-track {
  display: flex;
  width: max-content;
  animation: promo-scroll 20s linear infinite;
}

.promo-banner-text {
  flex-shrink: 0;
  padding: 0 var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bg);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes promo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Promo pricing (strikethrough + sale) ----------------- */

.price-original {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.75em;
  margin-right: var(--space-xs);
}

.price-sale {
  color: var(--accent);
}

.plugin-price .price-original {
  font-size: 0.7em;
}

.plugin-price .price-sale {
  color: var(--accent);
}

/* ---- Home landing page ----------------------------------- */

.home-page {
  --home-content-max: 96rem;
  --home-hero-visual-height: 34rem;

  background: transparent;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(0.8rem + var(--space-xl)) var(--space-lg) var(--space-xl);
  background: transparent;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 72%,
    rgba(0,0,0,0) 78%,
    var(--scrim-light) 100%
  );
  pointer-events: none;
}

.home-hero-grid,
.home-stats,
.home-band-grid,
.home-cta-panel,
.home-section-heading,
.home-page #featured-plugins > .product-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--home-content-max);
  margin-left: auto;
  margin-right: auto;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--home-hero-visual-height);
  margin-top: -1.2rem;
  position: relative;
  z-index: 2;
}

.home-kicker,
.home-pillar-index,
.home-band-label {
  color: var(--red-accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-title {
  width: 100%;
  max-width: 100%;
  margin-top: 0.75rem;
  font-size: clamp(2.15rem, 4.8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.home-title-line {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.home-intro {
  max-width: 78ch;
  margin-top: 1.5rem;
  color: rgba(240,240,240,0.76);
  font-size: 0.95rem;
  line-height: 1.85;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: auto;
  margin-bottom: 4.9rem;
}

.home-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-proof-list li {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-visual {
  position: relative;
  min-width: 0;
  min-height: var(--home-hero-visual-height);
  z-index: 1;
}

.home-hero-showcase {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  background: var(--scrim-med);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 18px 60px var(--scrim-light),
    0 0 40px rgba(255,255,255,0.06);
}

.home-hero-showcase::after {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.68) 100%),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.08), transparent 34%);
}

.home-hero-showcase::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.032) 13%, transparent 33%);
  mix-blend-mode: screen;
}

.home-showcase-slide {
  --showcase-focus-x: 50%;
  --showcase-focus-y: 50%;
  --showcase-zoom: 1.58;

  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  will-change: opacity;
}

.home-showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-showcase-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--showcase-focus-x) var(--showcase-focus-y);
  transform: scale(var(--showcase-zoom));
  transform-origin: var(--showcase-focus-x) var(--showcase-focus-y);
  filter: saturate(1.05) contrast(1.03);
}

.home-showcase-slide--spectra {
  --showcase-focus-x: 50%;
  --showcase-focus-y: 50%;
  --showcase-zoom: 1.06;
}

.home-showcase-slide--inflect {
  --showcase-focus-x: 50%;
  --showcase-focus-y: 50%;
  --showcase-zoom: 1.06;
}

.home-showcase-slide--inertia {
  --showcase-focus-x: 50%;
  --showcase-focus-y: 50%;
  --showcase-zoom: 1.06;
}

.home-showcase-slide--entropy {
  --showcase-focus-x: 50%;
  --showcase-focus-y: 50%;
  --showcase-zoom: 1.06;
}

.home-showcase-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.3rem;
  max-width: min(31rem, calc(100% - 2rem));
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(255,255,255,0.13);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), transparent 52%),
    rgba(3,3,3,0.58);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.035) inset,
    0 18px 52px rgba(0,0,0,0.32),
    0 0 20px rgba(255,255,255,0.032);
}

.home-showcase-caption > span {
  color: var(--red-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-right: 7rem;
}

.home-showcase-caption strong {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-right: 7rem;
}

.home-showcase-title-logo {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  max-width: 1.35rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.16));
}

.home-showcase-caption p {
  margin: 0;
  color: rgba(240,240,240,0.72);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.55;
}

.home-showcase-link {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.3rem 0.68rem;
  border: 1px solid var(--red-accent);
  border-radius: 999px;
  color: var(--red-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.home-showcase-link:hover,
.home-showcase-link:focus-visible {
  background: var(--red-accent);
  color: var(--bg);
}

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

@media (prefers-reduced-motion: reduce) {
  .home-showcase-slide {
    transition: none;
  }
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(255,255,255,0.08);
}

.home-stat {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  background: var(--scrim-heavy);
}

.home-stat-value {
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.home-stat-value--platforms {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 1.5rem;
}

.home-stat-value--platforms img {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(97%) sepia(2%) saturate(246%) hue-rotate(265deg) brightness(116%) contrast(88%);
}

.home-stat-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.55;
}

.home-story {
  padding-top: 2rem;
  padding-bottom: 0.75rem;
}

.home-story .home-section-heading {
  margin-bottom: 0;
}

.home-story + #featured-plugins {
  padding-top: 0.75rem;
}

#featured-plugins {
  scroll-margin-top: calc(var(--nav-total-height) + 2rem + var(--space-md));
}

.home-section-heading {
  margin-bottom: var(--space-xl);
}

.home-section-heading .section-header {
  margin-bottom: 1rem;
}

.home-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-shadow: 0 0 18px rgba(240, 240, 240, 0.12);
}

.home-section-label::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--red-accent);
  box-shadow: 0 0 6px var(--red-accent), 0 0 12px var(--red-glow);
}

.home-section-heading .section-intro {
  margin: 0;
}

.home-pillars {
  width: 100%;
  max-width: var(--home-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.home-pillar,
.home-band-offer {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.75rem;
  background: var(--scrim-heavy);
}

.home-band-offer--featured {
  --home-bundle-accent: var(--red-accent);
  --home-bundle-accent-rgb: 228,108,101;
  --glow-block-edge: var(--home-bundle-accent);
  --glow-block-deep: rgba(var(--home-bundle-accent-rgb),0.05);
  margin-top: 100px;
  gap: 0;
  padding: 1.3rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--home-bundle-accent-rgb),0.2), rgba(var(--home-bundle-accent-rgb),0.09) 26%, rgba(var(--home-bundle-accent-rgb),0) 58%),
    var(--scrim-heavy);
  box-shadow: 0 0 42px rgba(var(--home-bundle-accent-rgb),0.14);
}

.home-band-offer--destruction {
  --home-bundle-accent: #ff6b78;
  --home-bundle-accent-rgb: 255,107,120;
}

.home-band-offer--core {
  --home-bundle-accent: #df7a82;
  --home-bundle-accent-rgb: 223,122,130;
}

.home-band-offer--starter {
  --home-bundle-accent: #c98e93;
  --home-bundle-accent-rgb: 201,142,147;
}

.home-band-offer--featured .home-band-label {
  color: var(--home-bundle-accent);
}

.home-band-offer--featured .home-band-cta {
  border-color: var(--home-bundle-accent);
  color: var(--bg);
  background: var(--home-bundle-accent);
}

.home-band-offer--featured .home-band-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.home-band-offer-title {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.home-band-offer-copy {
  max-width: 36ch;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.home-band-includes {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.05rem;
  padding-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.home-band-includes-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}

.home-band-include-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.home-band-include-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 16rem;
  justify-self: center;
  width: 100%;
}

.home-band-include-item {
  display: grid;
  width: 72%;
  justify-self: center;
  gap: 0.2rem;
  align-content: start;
  padding: 0.3rem 0.32rem 0.34rem;
  min-height: 6.4rem;
  background: rgba(255,255,255,0.02);
}

.home-band-include-image {
  width: 60%;
  max-width: 4.75rem;
  aspect-ratio: 1.15 / 0.88;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  justify-self: center;
}

.home-band-include-name,
.home-band-include-price {
  margin: 0;
  font-family: var(--font-mono);
  text-align: center;
}

.home-band-include-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.15;
  color: var(--text);
}

.home-band-include-price {
  font-size: 0.72rem;
  line-height: 1.1;
}

.home-band-summary {
  margin-top: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.home-band-price-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0;
}

.home-band-summary-copy {
  display: grid;
  gap: 0.08rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255,255,255,0.12);
  justify-items: start;
  align-self: center;
  text-align: left;
}

.home-band-total {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.home-band-cta {
  width: 100%;
  min-height: 2.85rem;
  text-align: center;
  text-transform: uppercase;
}

.home-band-compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  text-align: center;
  text-transform: uppercase;
}

.home-band-offer--featured .bundle-saving {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--home-bundle-accent);
  justify-self: start;
  text-align: left;
}

.home-band-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: -0.15rem;
  font-size: 0.72rem;
  color: rgba(215,215,215,0.68);
  text-align: center;
}

.home-band-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-band-meta-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.home-pillar h2,
.home-band-title,
.home-cta-title {
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-pillar p:last-child,
.home-band-text,
.home-cta-text,
.home-band-offer p {
  color: rgba(240,240,240,0.72);
  line-height: 1.75;
}

.home-band {
  padding-top: 2.5rem;
}

.home-band-copy {
  position: relative;
}

.home-band-stack {
  display: grid;
  gap: 0.45rem;
  justify-items: stretch;
}

.home-band-carousel {
  display: grid;
  gap: 0.75rem;
}

.home-band-track {
  display: grid;
}

.home-band-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.home-band-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-band-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  min-height: 1rem;
}

.home-band-carousel-dot {
  --home-bundle-dot: var(--red-accent);
  width: 2.25rem;
  height: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(240,240,240,0.22);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.home-band-carousel-dot--destruction {
  --home-bundle-dot: #ff6b78;
}

.home-band-carousel-dot--core {
  --home-bundle-dot: #df7a82;
}

.home-band-carousel-dot--starter {
  --home-bundle-dot: #c98e93;
}

.home-band-carousel-dot:hover,
.home-band-carousel-dot:focus-visible,
.home-band-carousel-dot.is-active {
  background: var(--home-bundle-dot);
}

.home-band-carousel-dot.is-active {
  transform: scaleX(1.12);
}

.home-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: var(--space-xl);
  align-items: center;
}

.home-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.4rem;
}

.home-band-price {
  margin: 0 0 -0.28rem;
  padding: 0;
  display: block;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-top: -1.6rem;
}

.home-trust-shell {
  --home-trust-gutter: var(--space-lg);

  padding-top: 2.5rem;
}

.home-trust-shell .plugin-trust-section {
  margin-left: calc(-1 * var(--home-trust-gutter));
  margin-right: calc(-1 * var(--home-trust-gutter));
}

@media (max-width: 1024px) {
  .home-trust-shell {
    --home-trust-gutter: 1.5rem;
  }
}

.home-cta {
  padding-top: 2.5rem;
}

.home-cta-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, var(--accent-tint-xs), transparent 48%),
    var(--scrim-heavy);
}

@media (max-width: 1180px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .home-hero-copy {
    min-height: 0;
    margin-top: 0;
  }

  .home-hero-visual {
    min-height: clamp(24rem, 58vw, 32rem);
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: calc(1rem + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .home-hero-grid,
  .home-band-grid,
  .home-cta-panel {
    grid-template-columns: 1fr;
  }

  .home-band-offer--featured {
    margin-top: 0;
    padding: 1.3rem;
  }

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

  .home-band-include-item {
    width: 92%;
    max-width: 92%;
  }

  .home-band-include-image {
    width: 92%;
    max-width: 100%;
  }

  .home-band-offer--featured .home-band-actions {
    grid-template-columns: 1fr;
  }

  .home-band-summary-copy {
    padding-left: 0.65rem;
    border-left: 1px solid rgba(255,255,255,0.12);
  }

  .home-band-price {
    margin: 0;
  }

  .home-band-meta {
    gap: 0.35rem;
    flex-direction: column;
  }

  .home-band-meta span:not(:last-child)::after {
    display: none;
  }

  .home-title {
    max-width: none;
  }

  .home-hero-visual {
    min-height: 23rem;
  }

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

  .home-stat {
    padding: 0.9rem 0.65rem;
  }

  .home-stat-value {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }

  .home-stat-value--platforms {
    gap: 0.45rem;
  }

  .home-stat-value--platforms img {
    width: 0.95rem;
    height: 0.95rem;
  }

  .home-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

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

  .home-cta-panel {
    padding: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pillars article:last-child {
    grid-column: 1 / -1;
  }
}

.home-band-include-image--logo,
#bundle-grid .home-band-include-image--logo,
.product-grid--bundles .home-band-include-image--logo,
.bundle-card .home-band-include-image--logo,
.bundle-card .home-band-include-item--entropy .home-band-include-image--logo {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.home-band-include-image--logo {
  width: clamp(2.35rem, 5vw, 3.2rem);
  height: clamp(2.35rem, 5vw, 3.2rem);
  max-width: 3.2rem;
  margin: 0 auto;
}

#bundle-grid .home-band-include-image--logo,
.product-grid--bundles .home-band-include-image--logo,
.bundle-card .home-band-include-image--logo,
.bundle-card .home-band-include-item--entropy .home-band-include-image--logo {
  width: clamp(1.55rem, 4vw, 2.25rem);
  height: clamp(1.55rem, 4vw, 2.25rem);
  max-width: 2.25rem;
  margin: 0 auto;
}
