:root {
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --surface: #05060a;
  --muted: #8b93a7;
  --red: #e02030;
  --blue: #2f6bff;
}

body.page-home {
  font-family: var(--font-body);
  background: var(--surface);
  margin: 0;
}

.letterbox {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  background: var(--surface);
  overflow-x: clip;
}

.letterbox-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 8;
  pointer-events: none;
  
  width: max(24px, calc((100vw - min(100vw, 100dvh * 16 / 9)) / 2 + 20px));
}

.letterbox-rail--l {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--surface) 0%,
    var(--surface) 62%,
    rgba(5, 6, 10, 0.55) 82%,
    transparent 100%
  );
}

.letterbox-rail--r {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--surface) 0%,
    var(--surface) 62%,
    rgba(5, 6, 10, 0.55) 82%,
    transparent 100%
  );
}

.letterbox-stage {
  position: relative;
  z-index: 1;
  width: min(100%, calc(100dvh * 16 / 9));
  max-width: 100%;
  background: var(--surface);
  min-width: 0;
}

.page--home {
  align-items: stretch;
  background: var(--surface);
  width: 100%;
  max-width: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.72) 0%, rgba(5, 6, 10, 0.28) 42%, transparent 68%),
    linear-gradient(to top, rgba(5, 6, 10, 0.88) 0%, rgba(5, 6, 10, 0.35) 38%, transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 92vw);
  margin: 0 auto 0 0;
  padding: 0 0 clamp(2.2rem, 6vh, 3.6rem) clamp(1.2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.logo-stack--hero {
  width: min(280px, 58vw);
  aspect-ratio: 1024 / 452;
  position: relative;
  margin-bottom: 0.15rem;
}

.logo-stack--hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-blurb {
  margin: 0;
  max-width: 28rem;
  color: rgba(242, 244, 248, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 0.55rem;
}

.cta--compact {
  font-size: 0.92em;
  padding: 0;
  min-width: 0;
}

.cta--compact .cta-inner {
  padding: 0.7rem 1.35rem 0.75rem;
}

.cta--compact .cta-title {
  font-size: 0.95rem;
}

.cta--compact .cta-sub {
  font-size: 0.68rem;
}

.hero-demo {
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1.5px;
}

.hero-demo:hover {
  color: #ff4a57;
}

.page-home .top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border: none;
  backdrop-filter: none;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.page-home .top-nav-inner {
  width: min(1280px, calc(100dvh * 16 / 9 - 1.25rem), 96vw);
  padding: 1rem 0;
}

.page-home .top-nav-links {
  gap: 0.7rem;
}

.page-home .top-nav-link {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.45rem;
}

.page-home .top-nav-brand--compact img {
  height: 50px;
  max-width: min(280px, 48vw);
}

.page-home .top-nav.is-scrolled {
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-home .top-nav.is-hidden {
  transform: translateY(-120%);
  pointer-events: none;
}

.page-home .top-nav.is-nav-open {
  transform: none;
  pointer-events: auto;
}

.page-home .top-nav-brand--compact {
  opacity: 1;
  pointer-events: auto;
}

.band,
.features,
.band--setup,
.band--download,
.band--faq {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface);
  padding: 4.25rem 0;
  border: none;
}

.band--download {
  padding: 3rem 0;
}

.band-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.band-inner--narrow {
  width: min(1100px, 92vw);
  text-align: left;
}

.band-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.band-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.band-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.setup-grid {
  display: grid;
  gap: 2.75rem;
}

.setup-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.7fr);
  gap: 1.5rem;
  align-items: center;
}

.setup-media {
  min-height: 0;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.setup-clip {
  position: relative;
  width: 100%;
  height: 100%;
  background: #05060a;
  overflow: hidden;
}

.setup-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #05060a;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.setup-clip.is-faded .setup-video {
  opacity: 0.12;
  filter: brightness(0.25) saturate(0.6);
}

.setup-clip-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.55s ease;
  pointer-events: none;
  z-index: 1;
}

.setup-clip.is-faded .setup-clip-veil {
  background: rgba(5, 6, 10, 0.82);
}

.setup-clip-caption {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.setup-clip.is-faded .setup-clip-caption {
  opacity: 1;
  transform: none;
}

.setup-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setup-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
}

.setup-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.setup-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.setup-path {
  display: inline-block;
  margin-top: 0.25rem;
  color: #c5cddf;
  font-size: 0.86rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.setup-note {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.32) !important;
}

.clip-slot {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  background: #0a0b10;
}

.clip-slot--has {
  background: #000;
}

.clip-slot--has img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clip-slot--dark {
  min-height: 100%;
  background: #0a0b10;
}

.clip-soon {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.15;
}

.clip-soon span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.band--download {
  padding: 2.5rem 0 3.5rem;
}

.band--download .band-inner {
  display: flex;
  justify-content: center;
}

.download-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 2.25rem 2.6rem 2.4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 28, 48, 0.92), rgba(10, 12, 20, 0.96));
  border: 1px solid rgba(47, 107, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 48px rgba(0, 0, 0, 0.35);
}

.download-panel .band-kicker,
.download-panel .band-title {
  text-align: center;
}

.download-panel .band-title {
  margin-bottom: 1.15rem;
}

.download-panel .cta-row {
  width: min(620px, 100%);
  margin: 0.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 0;
  align-items: stretch;
  justify-items: stretch;
}

.download-panel .cta {
  width: 100%;
  min-height: 74px;
  padding: 0.85rem 1.15rem;
  box-sizing: border-box;
}

.download-panel .buy-open.cta {
  width: 100%;
}

.download-panel .cta-title {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.download-panel .cta-sub {
  font-size: 0.62rem;
  line-height: 1.2;
  max-width: 14rem;
}

.buy-open,
.ems-open {
  cursor: pointer;
  font: inherit;
  appearance: none;
  border: none;
}

.news-strip {
  position: relative;
  z-index: 1;
  width: 70%;
  margin: 50px auto;
  padding: 0;
  background: #07080e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(220px, 32vw, 340px);
  overflow: hidden;
  background: linear-gradient(105deg, #0a0c14 0%, #0a0c14 42%, #1a0a0c 100%);
}

.news-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.4rem, 3.5vw, 2.6rem) clamp(1.2rem, 3vw, 2.4rem);
  max-width: 34rem;
}

.news-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e02030;
}

.news-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
}

.news-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.news-by {
  font-weight: 500;
  color: var(--muted);
}

.news-lead {
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 28rem;
}

.news-cta {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  color: #fff;
  background: #c41828;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: var(--para-btn);
  transition: background 0.15s ease, transform 0.15s ease;
}

.news-cta:hover {
  background: #e02030;
  transform: translateY(-1px);
}

.news-media {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 1;
  pointer-events: none;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
}

.news-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0a0c14 0%,
    rgba(10, 12, 20, 0.92) 12%,
    rgba(10, 12, 20, 0.55) 34%,
    rgba(10, 12, 20, 0.12) 58%,
    transparent 78%
  );
}

.buy-modal-card--ems {
  border-color: rgba(224, 32, 48, 0.4);
}

.buy-modal-option--ems {
  background: #c41828;
}

@media (max-width: 760px) {
  .news-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-media {
    position: relative;
    inset: auto;
    height: 210px;
    order: -1;
  }

  .news-fade {
    background: linear-gradient(
      180deg,
      transparent 35%,
      rgba(10, 12, 20, 0.55) 70%,
      #0a0c14 100%
    );
  }

  .news-copy {
    max-width: none;
    padding-top: 0.2rem;
  }
}

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.buy-modal[hidden] {
  display: none !important;
}

.buy-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(3, 4, 8, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.buy-modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 24, 40, 0.98), rgba(8, 10, 16, 0.98));
  border: 1px solid rgba(47, 107, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 80px rgba(0, 0, 0, 0.55);
}

.buy-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.buy-modal-close:hover {
  color: #fff;
}

.buy-modal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.buy-modal-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}

.buy-modal-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.buy-modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.buy-modal-option {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #fff;
  text-align: center;
  clip-path: var(--para-btn);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.buy-modal-option--full {
  background: #2f6bff;
}

.buy-modal-option--sub {
  background: #5a6170;
}

.buy-modal-option:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.buy-modal-option-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.buy-modal-option-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

body.buy-modal-open {
  overflow: hidden;
}

.features {
  padding: 0 0 2.5rem;
}

.features-intro {
  padding: 4rem 0 2rem;
}

.feature-row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.85fr);
  align-items: center;
  min-height: 0;
  margin: 0;
  background: var(--surface);
  overflow: hidden;
}

.feature-row--flip {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.7fr);
}

.feature-row--flip .feature-media {
  order: 2;
}

.feature-row--flip .feature-copy {
  order: 1;
}

.feature-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  min-height: 0;
  width: 100%;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 28%,
    rgba(5, 6, 10, 0.28) 48%,
    rgba(5, 6, 10, 0.72) 72%,
    rgba(5, 6, 10, 0.94) 88%,
    var(--surface) 100%
  );
}

.feature-row--flip .feature-media::after {
  background: linear-gradient(
    270deg,
    transparent 0%,
    transparent 28%,
    rgba(5, 6, 10, 0.28) 48%,
    rgba(5, 6, 10, 0.72) 72%,
    rgba(5, 6, 10, 0.94) 88%,
    var(--surface) 100%
  );
}

.feature-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
  background: var(--surface);
}

.feature-media--reel .feature-video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.feature-media--reel .feature-video.is-active {
  opacity: 1;
  pointer-events: auto;
}

.reel-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.78));
}

.reel-bar {
  height: 3px;
  width: calc(100% + 1.8rem);
  margin-left: -0.9rem;
  margin-right: -0.9rem;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.reel-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  transform-origin: left center;
}

.feature-row--flip .reel-bar-fill {
  background: var(--blue);
}

.reel-meta {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.reel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.reel-index {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
  transform: scaleX(1.18);
  transform-origin: right center;
}

.feature-row--flip .reel-index {
  color: var(--blue);
}

.feature-media .clip-slot {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 3.2vw, 2.4rem);
  background: var(--surface);
}

.feature-row--flip .feature-copy {
  align-items: flex-end;
}

.feature-box {
  position: relative;
  min-width: min(300px, 100%);
  max-width: 360px;
  width: 100%;
  padding-left: 1.05rem;
}

.feature-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.35rem;
  bottom: -0.35rem;
  width: 3px;
  background: var(--red);
}

.feature-row--flip .feature-box {
  text-align: right;
  padding-left: 0;
  padding-right: 1.05rem;
}

.feature-row--flip .feature-box::before {
  left: auto;
  right: 0;
  background: var(--blue);
}

.feature-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.feature-row--flip .feature-tag {
  color: var(--blue);
}

.feature-box h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.98;
  color: #fff;
}

.feature-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.capability-wrap {
  padding: 4rem 0 1rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  margin-top: 1.4rem;
}

.cap h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.faq-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.5rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 0 1.05rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer--minimal {
  width: 100%;
  padding: 2.25rem 1rem 2.4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.footer-brand {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: min(240px, 70vw);
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.85rem 1.55rem;
  text-decoration: none;
  color: #fff;
  background: #5a6170;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: var(--para-btn);
  transition: background 0.15s ease, transform 0.15s ease;
}

.footer-action:hover {
  background: #6d7585;
  color: #fff;
  transform: translateY(-1px);
}

.footer-action:last-child {
  background: #2f6bff;
}

.footer-action:last-child:hover {
  background: #4a80ff;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 0.72rem;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.footer-social-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.72rem;
}

.footer-social-link:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.06);
}

.footer-credit {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .page-home .top-nav {
    width: 100%;
  }

  .page-home .top-nav.is-nav-open {
    transform: none;
    z-index: 120;
  }

  .page-home .top-nav-inner {
    width: 94vw;
    position: relative;
    z-index: 130;
  }

  .page-home .top-nav-links,
  .page-home .top-nav-links.is-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 5.5rem 1.4rem 2.5rem;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: rgba(3, 4, 8, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    z-index: 120;
    box-sizing: border-box;
  }

  .page-home .top-nav-links.is-open {
    display: flex;
  }

  .page-home .top-nav-link {
    width: min(300px, 86vw);
    max-width: 86vw;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    box-sizing: border-box;
    flex: 0 0 auto;
  }

  .letterbox-rail {
    display: none;
  }

  .hero-content {
    width: min(560px, 92vw);
    padding: 0 1.1rem 2rem;
  }

  .logo-stack--hero {
    width: min(220px, 70vw);
  }

  .setup-card,
  .feature-row,
  .feature-row--flip {
    grid-template-columns: 1fr;
  }

  .feature-row--flip .feature-media,
  .feature-row--flip .feature-copy {
    order: initial;
  }

  .feature-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .feature-media::after {
    background: linear-gradient(
      to top,
      var(--surface) 0%,
      rgba(5, 6, 10, 0.88) 22%,
      rgba(5, 6, 10, 0.35) 48%,
      transparent 100%
    );
  }

  .feature-row--flip .feature-media::after {
    background: linear-gradient(
      to top,
      var(--surface) 0%,
      rgba(5, 6, 10, 0.88) 22%,
      rgba(5, 6, 10, 0.35) 48%,
      transparent 100%
    );
  }

  .feature-copy,
  .feature-row--flip .feature-copy {
    align-items: flex-start;
    padding: 1.25rem 1rem 1.75rem;
  }

  .feature-box,
  .feature-row--flip .feature-box {
    text-align: left;
    padding-left: 1.05rem;
    padding-right: 0;
    max-width: none;
  }

  .feature-box::before,
  .feature-row--flip .feature-box::before {
    left: 0;
    right: auto;
    top: -0.25rem;
    bottom: -0.25rem;
    background: var(--red);
  }

  .feature-row--flip .feature-box::before {
    background: var(--blue);
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .band,
  .band--setup,
  .band--faq {
    padding: 3.1rem 0;
  }

  .features-intro {
    padding: 3rem 0 1.5rem;
  }
}

.page-demo .top-nav {
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(8px);
}

.page-demo .letterbox-stage {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.demo-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 1.25rem 3.5rem;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 55% 40% at 30% 35%, rgba(47, 107, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 38% at 72% 40%, rgba(224, 32, 48, 0.1), transparent 70%),
    var(--surface);
}

.demo-logo {
  width: min(420px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 1.35rem;
}

.demo-lead {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.demo-list {
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 34rem;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.demo-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #e8ebf2;
  font-size: 0.98rem;
  line-height: 1.45;
}

.demo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--blue);
  transform: skewX(-18deg);
}

.demo-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(320px, 100%);
}

.demo-download {
  width: 100%;
}

.demo-buy-link {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1.5px;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}

.demo-buy-link:hover {
  color: #fff;
}
