:root {
  --bg: #06070c;
  --bg-soft: #0d1018;
  --panel: rgba(20, 24, 38, 0.88);
  --panel-2: rgba(17, 20, 32, 0.92);
  --text: #f5f7ff;
  --muted: #b5bdd3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #8a5cff;
  --accent-2: #4d6fff;
  --glow: 0 20px 60px rgba(79, 70, 229, 0.22);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77, 111, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(138, 92, 255, 0.26), transparent 24%),
    linear-gradient(180deg, #0b1020 0%, var(--bg) 34%, #04050a 100%);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.language-switcher {
  position: relative;
  z-index: 40;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  min-width: 154px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.language-switcher summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.language-switcher[open] summary,
.language-switcher summary:hover {
  border-color: rgba(188, 174, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.language-switcher[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.language-current,
.language-menu a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.language-flag {
  width: 22px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 2px 8px rgba(0, 0, 0, 0.16);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 18, 31, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.language-menu a {
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: 60px 0 30px;
}

.eyebrow,
.section-kicker,
.hero-card-label,
.product-badge {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow,
.section-kicker,
.hero-card-label {
  color: #bcaeff;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.15rem, 4.3vw, 3.85rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero-text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
  max-width: 640px;
}

.hero-actions,
.card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: white;
  box-shadow: var(--glow);
}

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

.btn-disabled {
  cursor: not-allowed;
  opacity: 0.74;
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: min(100%, 360px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 27, 43, 0.96), rgba(13, 16, 24, 0.96));
  box-shadow: var(--glow);
}

.hero-card h3 {
  margin: 14px 0 12px;
  font-size: 1.45rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-grid h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.section-heading p,
.about-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 14px;
}

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

.product-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95), rgba(12, 15, 24, 0.95));
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 92, 255, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.product-top {
  margin-bottom: 12px;
}

.product-badge {
  display: inline-block;
  margin-bottom: 10px;
  color: #9ec4ff;
}

.product-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.2;
}

.product-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.9;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.site-footer {
  padding: 40px 0 26px;
}

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

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.8;
}

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

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.stat-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe4ff;
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-inline-link {
  display: inline-block;
  margin-top: 18px;
  color: #bcaeff;
  font-weight: 700;
  transition: color 0.2s ease;
}

.hero-inline-link:hover {
  color: #ffffff;
 }

@media (max-width: 900px) {
  .hero,
  .product-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .language-switcher summary {
    min-width: 180px;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .section {
    padding: 70px 0;
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* Home page */
.home-page {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.72), rgba(6, 7, 12, 0.98) 42%, #04050a 100%),
    #06070c;
}

.home-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.home-hero-visuals {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.home-shot {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
  filter: saturate(1.08);
}

.home-shot-training {
  right: 9%;
  top: 9%;
  width: min(28vw, 390px);
  height: min(62vh, 620px);
  border-radius: 30px;
}

.home-shot-scancart {
  right: 19%;
  bottom: 0;
  width: min(18vw, 270px);
  height: min(42vh, 400px);
  border-radius: 24px;
}

.home-shot-inventory {
  right: 31%;
  bottom: 5%;
  width: min(20vw, 300px);
  height: min(46vh, 430px);
  border-radius: 24px;
}

.home-shot-mods {
  right: -2%;
  bottom: 6%;
  width: min(23vw, 340px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.84) 43%, rgba(5, 7, 12, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.18), rgba(5, 7, 12, 0.82));
}

.home-nav {
  position: relative;
  z-index: 2;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.home-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.home-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-nav-links a {
  font-weight: 700;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 820px);
  margin-top: clamp(38px, 7vh, 68px);
  padding-bottom: 64px;
}

.home-hero-content h1 {
  margin: 12px 0 16px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-hero-lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.68;
  max-width: 720px;
  margin: 0;
}

.home-hero-actions,
.home-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin-top: 34px;
}

.home-signal {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.home-signal:hover,
.home-signal:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(138, 92, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.home-signal:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.42);
  outline-offset: 3px;
}

.home-signal span {
  display: block;
  margin-bottom: 8px;
  color: #bcaeff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-signal strong {
  display: block;
  color: var(--text);
  line-height: 1.35;
}

.home-section-heading {
  max-width: 780px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95), rgba(12, 15, 24, 0.95));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 92, 255, 0.42);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34);
}

.home-product-featured {
  grid-column: span 1;
}

.home-product-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #090b10;
}

.home-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.04);
}

.home-product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.home-product-copy h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.home-product-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
}

.home-product-copy .feature-list {
  margin-bottom: auto;
}

.home-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-principles-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.home-principles-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: #9ec4ff;
  font-weight: 800;
}

.home-principles-grid h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.home-principles-grid p,
.home-cta p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0;
}

.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(77, 111, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.96), rgba(11, 14, 21, 0.98));
}

.home-cta h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

.home-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.home-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 1020px) {
  .home-shot-training {
    right: 2%;
    width: min(36vw, 360px);
  }

  .home-shot-inventory {
    right: 30%;
    width: min(28vw, 280px);
  }

  .home-shot-scancart {
    right: 16%;
    width: min(26vw, 260px);
  }

  .home-shot-mods {
    opacity: 0.74;
  }

  .home-product-grid,
  .home-principles-grid,
  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero-content {
    margin-top: 34px;
    padding-bottom: 54px;
  }

  .home-hero-content h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .home-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.76) 52%, rgba(5, 7, 12, 0.96) 100%);
  }

  .home-shot {
    opacity: 0.42;
  }

  .home-shot-training {
    top: 18%;
    right: -8%;
    width: 52vw;
    height: 56vh;
  }

  .home-shot-scancart {
    top: 34%;
    right: 14%;
    bottom: auto;
    width: 42vw;
    height: 36vh;
  }

  .home-shot-inventory {
    left: -10%;
    right: auto;
    bottom: 8%;
    width: 45vw;
    height: 38vh;
  }

  .home-shot-mods {
    display: none;
  }

  .home-signal-row {
    grid-template-columns: 1fr;
  }

  .home-hero-actions,
  .home-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions .btn,
  .home-cta-actions .btn {
    width: 100%;
  }
}

/* Compact editorial homepage */
.compact-home-hero {
  min-height: 0;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(10, 13, 20, 0.94), rgba(5, 7, 11, 0.98)),
    #07090d;
}

.compact-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(92, 126, 255, 0.11), transparent 38%),
    linear-gradient(240deg, rgba(81, 211, 173, 0.08), transparent 34%);
}

.compact-home-hero .home-hero-visuals,
.compact-home-hero > .home-hero-content,
.studio-products-section .home-product-grid {
  display: none;
}

.studio-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
  padding: clamp(46px, 7vw, 74px) 0 clamp(26px, 4vw, 44px);
}

.studio-hero-copy {
  max-width: 760px;
}

.glass-title {
  position: relative;
  display: inline-block;
  margin: 14px 0 14px;
  padding-bottom: clamp(16px, 2.3vw, 30px);
  max-width: 12ch;
  background: linear-gradient(180deg, #ffffff 0%, #d7deee 58%, #8995aa 100%);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 28px rgba(78, 113, 255, 0.22));
  font-size: clamp(2.65rem, 6vw, 4.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.glass-title::after {
  content: attr(data-reflect);
  position: absolute;
  left: 0;
  top: calc(100% - 24px);
  width: 100%;
  max-width: 12ch;
  transform: scaleY(-1);
  transform-origin: top;
  opacity: 0.12;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 68%);
  -webkit-background-clip: text;
  color: transparent;
  filter: blur(0.2px);
  pointer-events: none;
}

.studio-media-cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 106px;
  gap: 10px;
}

.studio-media-tile {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  object-fit: cover;
  background: #0d111b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.studio-media-tile-tall {
  grid-row: span 2;
}

.compact-home-hero .home-hero-actions {
  gap: 10px;
  margin-top: 24px;
}

.compact-home-hero .home-hero-actions .btn {
  min-height: 44px;
  padding: 0 20px;
}

.studio-products-section {
  padding: clamp(46px, 6vw, 72px) 0;
}

.studio-product-list {
  border-top: 1px solid var(--line);
}

.studio-product-row {
  display: grid;
  grid-template-columns: minmax(96px, 132px) minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition:
    background 0.2s ease,
    padding 0.2s ease,
    border-color 0.2s ease;
}

.studio-custom-software {
  display: grid;
  grid-template-columns: minmax(96px, 132px) minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(158, 183, 255, 0.28);
  border-bottom: 1px solid rgba(158, 183, 255, 0.28);
}

.studio-custom-software .studio-product-status {
  color: #c7d8ff;
}

.studio-custom-software .studio-product-copy span {
  max-width: 760px;
}

.studio-product-row:hover,
.studio-product-row:focus-within {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(156, 185, 255, 0.25);
}

.studio-product-action:focus-visible,
.studio-product-play:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.42);
  outline-offset: 3px;
}

.studio-product-status,
.studio-product-action,
.studio-product-play {
  color: #9eb7ff;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.studio-product-copy {
  display: grid;
  gap: 4px;
}

.studio-product-copy strong {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.studio-product-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.studio-product-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

.studio-product-action,
.studio-product-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.studio-product-action {
  color: var(--text);
  padding: 0 2px;
}

.studio-product-play {
  min-width: 112px;
  padding: 0 13px;
  border: 1px solid rgba(190, 216, 255, 0.8);
  background: #d8e7ff;
  color: #07111f;
  box-shadow: 0 10px 24px rgba(88, 141, 255, 0.16);
}

.studio-product-play:hover,
.studio-product-play:focus-visible {
  border-color: #fff;
  background: #fff;
}

.compact-home-note {
  display: block;
  max-width: 980px;
  padding: 22px 24px;
  border-radius: 18px;
}

.compact-home-note p {
  max-width: 820px;
}

@media (max-width: 900px) {
  .studio-hero-layout {
    grid-template-columns: 1fr;
  }

  .studio-media-cluster {
    max-width: 460px;
  }

  .studio-product-row {
    grid-template-columns: 1fr auto;
  }

  .studio-custom-software {
    grid-template-columns: 1fr auto;
  }

  .studio-product-status {
    grid-column: 1 / -1;
  }

  .studio-product-actions {
    align-self: center;
  }
}

@media (max-width: 720px) {
  .compact-home-hero {
    padding-bottom: 18px;
  }

  .studio-hero-layout {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .glass-title {
    max-width: 10ch;
    padding-bottom: 6px;
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .glass-title::after {
    display: none;
  }

  .compact-home-hero .home-hero-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
  }

  .compact-home-hero .home-hero-actions .btn {
    width: auto;
    min-width: 132px;
  }

  .studio-media-cluster {
    grid-auto-rows: 62px;
    gap: 8px;
    max-width: 430px;
  }

  .studio-product-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 16px 0;
  }

  .studio-custom-software {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .studio-product-row:hover,
  .studio-product-row:focus-within {
    padding-left: 10px;
    padding-right: 10px;
  }

  .studio-product-actions {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .compact-home-hero .home-hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }
}

/* Site-wide compact pass */
.compact-page {
  --compact-card: 8px;
  --compact-panel: rgba(255, 255, 255, 0.042);
  --compact-line: rgba(255, 255, 255, 0.09);
}

body.compact-mods-page {
  background:
    linear-gradient(180deg, rgba(10, 13, 20, 0.96) 0%, rgba(8, 12, 18, 0.98) 48%, #04050a 100%),
    #070a10 !important;
}

body.compact-product-page {
  overflow-x: hidden;
}

.compact-product-page .container {
  width: min(calc(100vw - 40px), var(--max)) !important;
}

.compact-product-page .subpage-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  border-bottom: 1px solid var(--line) !important;
  background: rgba(6, 8, 14, 0.86) !important;
  backdrop-filter: blur(18px) !important;
}

.compact-product-page .subpage-nav,
.compact-product-page .scancart-nav {
  max-width: 100% !important;
  min-width: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.compact-product-page .subpage-brand,
.compact-product-page .scancart-brand {
  font-size: 1.02rem !important;
  letter-spacing: 0 !important;
}

.compact-product-page .subpage-brand-mark,
.compact-product-page .scancart-brand-mark {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
}

.compact-product-page .subpage-links,
.compact-product-page .scancart-links {
  gap: 16px !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.compact-product-page .subpage-links a,
.compact-product-page .scancart-links a {
  font-size: 0.9rem !important;
  overflow-wrap: anywhere;
}

.compact-product-page .page-shell {
  padding-bottom: 58px !important;
}

.compact-product-page .app-hero,
.compact-product-page .mods-hero,
.compact-product-page .scancart-hero {
  min-height: 0 !important;
  gap: clamp(24px, 4vw, 44px) !important;
  padding-top: clamp(30px, 4vw, 46px) !important;
  padding-bottom: clamp(24px, 3.4vw, 38px) !important;
}

.compact-product-page .scancart-header {
  min-height: 0 !important;
}

.compact-product-page .scancart-header::after {
  height: 72px !important;
}

.compact-product-page .scancart-hero-photo {
  width: min(56vw, 900px) !important;
  opacity: 0.48 !important;
}

.compact-product-page .app-title,
.compact-product-page .mods-title,
.compact-product-page .scancart-title {
  max-width: 16ch !important;
  margin: 10px 0 14px !important;
  font-size: clamp(2.05rem, 4.1vw, 3.45rem) !important;
  line-height: 1.05 !important;
  overflow-wrap: anywhere;
}

.compact-product-page .app-kicker,
.compact-product-page .mods-kicker,
.compact-product-page .scancart-kicker,
.compact-product-page .section-kicker,
.compact-product-page .scancart-section-kicker,
.compact-product-page .category-eyebrow,
.compact-product-page .shot-count,
.compact-product-page .metric-label {
  letter-spacing: 0.08em !important;
  font-size: 0.72rem !important;
}

.compact-product-page .app-description,
.compact-product-page .mods-lede,
.compact-product-page .scancart-lede,
.compact-product-page .section-head p,
.compact-product-page .section-intro p,
.compact-product-page .scancart-heading p {
  max-width: 680px !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}

.compact-product-page .app-meta,
.compact-product-page .mods-stats,
.compact-product-page .scancart-proof {
  gap: 10px !important;
  margin-top: 20px !important;
}

.compact-product-page .app-meta-chip,
.compact-product-page .launch-pill,
.compact-product-page .scancart-status {
  padding: 8px 11px !important;
  border-radius: 999px !important;
  font-size: 0.86rem !important;
}

.compact-product-page .app-hero-actions,
.compact-product-page .mods-actions,
.compact-product-page .scancart-actions,
.compact-product-page .scancart-cta-actions,
.compact-product-page .card-actions {
  gap: 10px !important;
  margin-top: 22px !important;
}

.compact-product-page .btn {
  min-height: 42px !important;
  padding: 0 16px !important;
  font-size: 0.92rem !important;
}

.compact-product-page .hero-media,
.compact-product-page .hero-showcase,
.compact-product-page .scancart-device-scene {
  min-height: clamp(240px, 28vw, 360px) !important;
}

.compact-product-page .hero-phone {
  inset: 0 64px 0 0 !important;
  padding: 10px !important;
  border-radius: 20px !important;
}

.compact-product-page .hero-phone video {
  border-radius: 14px !important;
}

.compact-product-page .hero-float {
  width: 40% !important;
  border-radius: 12px !important;
}

.compact-product-page .hero-float.top {
  top: 18px !important;
}

.compact-product-page .hero-float.bottom {
  bottom: 18px !important;
  border-radius: 12px !important;
}

.compact-product-page .hero-media-stack {
  width: min(100%, 390px) !important;
  height: clamp(240px, 28vw, 340px) !important;
  gap: 10px !important;
}

.compact-product-page .hero-media-card,
.compact-product-page .hero-side-stack img,
.compact-product-page .showcase-card,
.compact-product-page .scancart-phone,
.compact-product-page .scancart-float,
.compact-product-page .scancart-market-photo,
.compact-product-page .scancart-screen-card {
  border-radius: 12px !important;
}

.compact-product-page .scancart-device-scene {
  width: min(100%, 360px) !important;
}

.compact-product-page .scancart-phone {
  border-width: 7px !important;
}

.compact-product-page .scancart-phone-main {
  right: 34px !important;
  width: 218px !important;
  height: 452px !important;
}

.compact-product-page .scancart-phone-side {
  width: 150px !important;
  height: 312px !important;
}

.compact-product-page .section,
.compact-product-page .section-block,
.compact-product-page .pc-master-section,
.compact-product-page .scancart-section {
  padding-top: clamp(48px, 6vw, 72px) !important;
}

.compact-product-page .scancart-section {
  padding-bottom: clamp(48px, 6vw, 72px) !important;
}

.compact-product-page .section-head,
.compact-product-page .section-intro,
.compact-product-page .scancart-heading {
  margin-bottom: 22px !important;
}

.compact-product-page .section-head h2,
.compact-product-page .section-intro h2,
.compact-product-page .category-copy h2,
.compact-product-page .pc-master-copy h2,
.compact-product-page .scancart-heading h2,
.compact-product-page .scancart-map-copy h2,
.compact-product-page .scancart-cta h2,
.compact-product-page .cta-band h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

.compact-product-page .feature-grid-3,
.compact-product-page .audience-grid,
.compact-product-page .workflow-grid,
.compact-product-page .showcase-grid,
.compact-product-page .faq-grid,
.compact-product-page .pc-master-step-grid,
.compact-product-page .scancart-steps,
.compact-product-page .scancart-feature-grid,
.compact-product-page .category-nav-grid,
.compact-product-page .gallery-grid,
.compact-product-page .gallery-grid.compact {
  gap: 12px !important;
}

.compact-product-page .feature-panel,
.compact-product-page .audience-card,
.compact-product-page .workflow-card,
.compact-product-page .faq-card,
.compact-product-page .metric-card,
.compact-product-page .mods-stat,
.compact-product-page .pc-master-step,
.compact-product-page .pc-master-preview,
.compact-product-page .scancart-step,
.compact-product-page .scancart-card,
.compact-product-page .scancart-trust-card,
.compact-product-page .category-card,
.compact-product-page .cta-band,
.compact-product-page .scancart-cta,
.compact-product-page .pc-master-download-box {
  border-radius: var(--compact-card) !important;
}

.compact-product-page .feature-panel,
.compact-product-page .audience-card,
.compact-product-page .workflow-card,
.compact-product-page .faq-card,
.compact-product-page .metric-card,
.compact-product-page .mods-stat,
.compact-product-page .pc-master-step,
.compact-product-page .scancart-step,
.compact-product-page .scancart-card,
.compact-product-page .scancart-trust-card {
  padding: 18px !important;
}

.compact-product-page .category-card {
  min-height: 260px !important;
}

.compact-product-page .category-card-body {
  padding: 18px !important;
}

.compact-product-page .category-card h3,
.compact-product-page .feature-panel h3,
.compact-product-page .faq-card h3,
.compact-product-page .scancart-step h3,
.compact-product-page .scancart-card h3 {
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
}

.compact-product-page .gallery-card,
.compact-product-page .mod-shot,
.compact-product-page .video-card,
.compact-product-page .dual-media-grid > article,
.compact-product-page .feature-shot {
  border-radius: 8px !important;
}

.compact-product-page .video-card video,
.compact-product-page .dual-media-grid video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(320px, 42vw, 520px) !important;
  object-fit: cover;
  border-radius: 8px !important;
  background: #000;
}

.compact-product-page .gallery-card span,
.compact-product-page .mod-shot span {
  padding: 8px 10px !important;
  font-size: 0.78rem !important;
}

.compact-product-page .metric-strip {
  margin-top: 18px !important;
}

.compact-product-page .feature-grid,
.compact-product-page .steps-grid,
.compact-product-page .highlight-list,
.compact-product-page .dual-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
}

.compact-product-page .dual-media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-product-page .app-hero > *,
.compact-product-page .two-column > *,
.compact-product-page .section-head,
.compact-product-page .feature-grid > *,
.compact-product-page .steps-grid > *,
.compact-product-page .highlight-list > *,
.compact-product-page .dual-media-grid > *,
.compact-product-page .audience-grid > *,
.compact-product-page .workflow-grid > *,
.compact-product-page .metric-strip > * {
  min-width: 0;
}

.compact-product-page .feature-grid > article,
.compact-product-page .steps-grid > article,
.compact-product-page .highlight-list > article,
.compact-product-page .dual-media-grid > article,
.compact-product-page .audience-grid > article:not(.audience-card),
.compact-product-page .workflow-grid > article:not(.workflow-card),
.compact-product-page .faq-grid > details {
  padding: 18px !important;
  border: 1px solid var(--line);
  border-radius: var(--compact-card) !important;
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95), rgba(12, 15, 24, 0.95));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.compact-product-page .feature-grid > article h3,
.compact-product-page .steps-grid > article h3,
.compact-product-page .highlight-list > article h3,
.compact-product-page .audience-grid > article:not(.audience-card) h3,
.compact-product-page .workflow-grid > article:not(.workflow-card) h3 {
  margin: 0 0 10px;
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
}

.compact-product-page .feature-grid > article p,
.compact-product-page .steps-grid > article p,
.compact-product-page .highlight-list > article p,
.compact-product-page .audience-grid > article:not(.audience-card) p,
.compact-product-page .workflow-grid > article:not(.workflow-card) p,
.compact-product-page .faq-grid > details p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

.compact-product-page .feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(188, 174, 255, 0.28);
  border-radius: 12px;
  background: rgba(138, 92, 255, 0.12);
  color: #d7ceff;
}

.compact-product-page .feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
}

.compact-product-page .feature-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compact-product-page .metric-strip > div:not(.metric-card) {
  border: 1px solid var(--line);
  border-radius: var(--compact-card) !important;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px !important;
}

.compact-product-page .metric-strip > div:not(.metric-card) strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
}

.compact-product-page .metric-strip > div:not(.metric-card) span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.compact-product-page .two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.compact-product-page .two-column > div:first-child {
  align-self: center;
}

.compact-product-page .two-column h2 {
  margin: 10px 0 16px;
}

.compact-product-page .two-column p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0;
}

.compact-product-page .ai-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--compact-card) !important;
  background:
    radial-gradient(circle at top right, rgba(138, 92, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.96), rgba(11, 14, 21, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.compact-product-page .ai-card span,
.compact-product-page .steps-grid > article > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #bcaeff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compact-product-page .ai-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.compact-product-page .ai-card li + li {
  margin-top: 10px;
}

.compact-product-page .faq-grid > details summary {
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
}

.compact-product-page .faq-grid > details p {
  margin-top: 12px;
}

.compact-product-page .pc-master-section {
  margin-top: 58px !important;
  padding-bottom: 58px !important;
}

.compact-product-page .pc-master-layout,
.compact-product-page .feature-row,
.compact-product-page .scancart-map-layout {
  gap: clamp(18px, 4vw, 36px) !important;
}

.compact-product-page .cta-band {
  margin-top: 62px !important;
  margin-bottom: 52px !important;
  padding: 24px !important;
}

.compact-product-page .scancart-cta {
  padding: 24px !important;
}

.compact-product-page .legal-row,
.compact-product-page .scancart-legal-row {
  gap: 10px !important;
  margin-top: 14px !important;
}

.compact-product-page .beta-signup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.compact-product-page .beta-signup-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.6;
}

.compact-product-page .beta-signup-copy h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.08;
}

.compact-product-page .beta-signup-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.compact-product-page .beta-field {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.compact-product-page .beta-field input[type="email"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(156, 185, 255, 0.25);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(4, 7, 13, 0.68);
  color: var(--text);
  font: inherit;
}

.compact-product-page .beta-field input[type="email"]::placeholder {
  color: rgba(207, 216, 232, 0.6);
}

.compact-product-page .beta-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.compact-product-page .beta-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #9eb7ff;
}

.compact-product-page .beta-signup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.compact-product-page .beta-signup-status {
  min-height: 1.45em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.compact-product-page .beta-signup-status[data-state="success"] {
  color: #8ff0b0;
}

.compact-product-page .beta-signup-status[data-state="error"] {
  color: #ffb4b4;
}

.compact-product-page .beta-signup-note a {
  color: var(--text);
  font-weight: 800;
}

.compact-product-page .beta-signup-form .btn {
  width: 100%;
}

.compact-product-page .beta-hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.scancart-page .beta-signup-panel {
  border-color: rgba(47, 100, 57, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(67, 103, 72, 0.12);
}

.scancart-page .beta-signup-form {
  border-color: rgba(47, 100, 57, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.scancart-page .beta-signup-copy h2,
.scancart-page .beta-field,
.scancart-page .beta-signup-note a {
  color: #17351f;
}

.scancart-page .beta-signup-copy p,
.scancart-page .beta-check,
.scancart-page .beta-signup-note,
.scancart-page .beta-signup-status {
  color: #496852;
}

.scancart-page .beta-signup-status[data-state="success"] {
  color: #1f6a31;
}

.scancart-page .beta-signup-status[data-state="error"] {
  color: #9a3028;
}

.scancart-page .beta-signup-copy .section-kicker {
  color: #2f743d !important;
}

.scancart-page .beta-field input[type="email"] {
  border-color: rgba(47, 100, 57, 0.28);
  background: #fff;
  color: #17351f;
}

.scancart-page .beta-field input[type="email"]::placeholder {
  color: rgba(23, 53, 31, 0.54);
}

.wms-page .beta-signup-panel {
  border-color: var(--wms-line);
  background: rgba(255, 255, 255, 0.78);
}

.wms-page .beta-signup-form {
  border-color: var(--wms-line);
  background: #fff;
}

.wms-page .beta-signup-copy h2,
.wms-page .beta-field,
.wms-page .beta-signup-note a {
  color: var(--wms-ink);
}

.wms-page .beta-signup-copy p,
.wms-page .beta-check,
.wms-page .beta-signup-note,
.wms-page .beta-signup-status {
  color: #476073;
}

.wms-page .beta-signup-status[data-state="success"] {
  color: #087c68;
}

.wms-page .beta-signup-status[data-state="error"] {
  color: #a33a2f;
}

.wms-page .beta-field input[type="email"] {
  border-color: rgba(11, 95, 196, 0.22);
  background: #fff;
  color: var(--wms-ink);
}

.compact-legal-page {
  min-height: 100vh !important;
  background:
    linear-gradient(180deg, rgba(10, 13, 20, 0.96), rgba(4, 5, 10, 1)),
    #06070c !important;
  color: var(--text) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.compact-legal-page .legal-doc {
  width: min(calc(100% - 40px), 900px) !important;
  margin: 0 auto !important;
  padding: 40px 0 58px !important;
  color: var(--text) !important;
  font-family: inherit !important;
  font-size: 0.98rem !important;
  line-height: 1.66 !important;
}

.compact-legal-page .legal-doc.legal-shell,
.compact-legal-page .legal-doc .legal-shell {
  padding: clamp(22px, 4vw, 34px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24) !important;
}

.compact-legal-page h1,
.compact-legal-page h2,
.compact-legal-page h3 {
  color: var(--text) !important;
  letter-spacing: 0 !important;
  line-height: 1.16 !important;
}

.compact-legal-page h1 {
  margin: 0 0 12px !important;
  font-size: clamp(2rem, 4.8vw, 3rem) !important;
}

.compact-legal-page h2 {
  margin: 30px 0 10px !important;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem) !important;
}

.compact-legal-page h3 {
  margin: 20px 0 8px !important;
  font-size: 1.08rem !important;
}

.compact-legal-page p,
.compact-legal-page li {
  color: var(--muted) !important;
}

.compact-legal-page a {
  color: #b9c6ff !important;
  font-weight: 800 !important;
}

.compact-legal-page .back-link {
  display: inline-flex !important;
  margin-bottom: 18px !important;
}

.compact-legal-page hr {
  margin: 30px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
}

@media (max-width: 900px) {
  .compact-product-page .app-hero,
  .compact-product-page .mods-hero,
  .compact-product-page .scancart-hero,
  .compact-product-page .pc-master-layout,
  .compact-product-page .feature-row,
  .compact-product-page .scancart-map-layout {
    grid-template-columns: 1fr !important;
  }

  .compact-product-page .feature-grid,
  .compact-product-page .steps-grid,
  .compact-product-page .highlight-list,
  .compact-product-page .dual-media-grid,
  .compact-product-page .two-column {
    grid-template-columns: 1fr !important;
  }

  .compact-product-page .hero-media,
  .compact-product-page .hero-media-stack,
  .compact-product-page .hero-showcase,
  .compact-product-page .scancart-device-scene {
    justify-self: start !important;
    max-width: 460px !important;
  }

  .compact-product-page .beta-signup-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .compact-product-page .app-hero,
  .compact-product-page .mods-hero,
  .compact-product-page .scancart-hero {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }

  .compact-product-page .app-title,
  .compact-product-page .mods-title,
  .compact-product-page .scancart-title {
    max-width: 100% !important;
    font-size: clamp(1.7rem, 8.4vw, 2.2rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }

  .compact-product-page .section-head h2,
  .compact-product-page .section-intro h2,
  .compact-product-page .two-column h2,
  .compact-product-page .cta-band h2 {
    font-size: clamp(1.45rem, 6.6vw, 2rem) !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere;
  }

  .compact-product-page .app-hero-actions,
  .compact-product-page .mods-actions,
  .compact-product-page .scancart-actions {
    flex-direction: row !important;
    align-items: center !important;
  }

  .compact-product-page .app-hero-actions .btn,
  .compact-product-page .mods-actions .btn,
  .compact-product-page .scancart-actions .btn {
    width: auto !important;
    min-width: 0 !important;
  }

  .compact-product-page .hero-media,
  .compact-product-page .hero-showcase,
  .compact-product-page .scancart-device-scene {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 300px !important;
    overflow: hidden !important;
  }

  .compact-product-page .hero-media-stack {
    height: 290px !important;
  }

  .compact-product-page .scancart-phone-main {
    width: 184px !important;
    height: 382px !important;
  }

  .compact-product-page .scancart-phone-side {
    width: 128px !important;
    height: 262px !important;
  }

  .compact-product-page .section,
  .compact-product-page .section-block,
  .compact-product-page .pc-master-section,
  .compact-product-page .scancart-section {
    padding-top: 44px !important;
  }

  .compact-product-page .scancart-section {
    padding-bottom: 44px !important;
  }

  .compact-product-page .cta-band,
  .compact-product-page .scancart-cta {
    padding: 20px !important;
  }
}

@media (max-width: 520px) {
  .compact-product-page .container {
    width: calc(100vw - 32px) !important;
  }

  .compact-product-page .subpage-nav,
  .compact-product-page .scancart-nav {
    align-items: flex-start !important;
  }

  .compact-product-page .subpage-brand,
  .compact-product-page .scancart-brand,
  .compact-product-page .subpage-links,
  .compact-product-page .scancart-links {
    max-width: 100% !important;
  }

  .compact-product-page .subpage-links,
  .compact-product-page .scancart-links,
  .compact-product-page .app-meta {
    width: 100% !important;
  }

  .compact-product-page .app-meta-chip {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .compact-product-page .app-hero-actions,
  .compact-product-page .mods-actions,
  .compact-product-page .scancart-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .compact-product-page .app-hero-actions .btn,
  .compact-product-page .mods-actions .btn,
  .compact-product-page .scancart-actions .btn {
    width: 100% !important;
  }

  .compact-product-page .hero-media {
    min-height: 260px !important;
  }

  .compact-product-page .hero-phone {
    inset: 0 34px 46px 0 !important;
  }

  .compact-product-page .hero-float {
    width: 48% !important;
  }

  .compact-product-page .video-card video,
  .compact-product-page .dual-media-grid video {
    height: 360px !important;
  }

  .compact-legal-page .legal-doc {
    width: min(calc(100% - 28px), 900px) !important;
    padding-top: 28px !important;
  }
}
