@import url('/community/demo/shared/themes/theme-demo.css');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--demo-font-sans);
  color: var(--demo-ink);
  background: var(--demo-page-background);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--demo-grid-overlay);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 85%);
}

a {
  color: inherit;
}

.demo-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.demo-nav,
.demo-card,
.demo-hero,
.demo-band,
.demo-feature,
.demo-article,
.demo-surface-map,
.demo-footer {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: var(--demo-surface);
  border: 1px solid var(--demo-line);
  box-shadow: var(--demo-shadow);
}

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 24px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.demo-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--demo-brand-gradient);
  color: #fff7ef;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.demo-brand-copy strong,
.demo-hero-copy h1,
.demo-section-title,
.demo-article h3,
.demo-band strong {
  font-family: var(--demo-font-display);
}

.demo-brand-copy small,
.demo-meta,
.demo-kicker,
.demo-eyebrow,
.demo-chip,
.demo-status,
.demo-link-list a,
.demo-list li,
.demo-footnote {
  letter-spacing: 0.02em;
}

.demo-brand-copy {
  display: grid;
  gap: 2px;
}

.demo-brand-copy strong {
  font-size: 1.08rem;
}

.demo-brand-copy small {
  color: var(--demo-muted);
}

.demo-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.demo-nav-links a,
.demo-button,
.demo-button-secondary {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-nav-links a:hover,
.demo-button:hover,
.demo-button-secondary:hover {
  transform: translateY(-1px);
}

.demo-nav-links a {
  background: var(--demo-interactive-bg);
  border: 1px solid var(--demo-interactive-border);
}

.demo-button,
.demo-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.demo-button {
  color: #fff7ef;
  background: var(--demo-accent-gradient);
  box-shadow: var(--demo-accent-shadow);
}

.demo-button-secondary {
  color: var(--demo-ink);
  background: var(--demo-interactive-bg-strong);
  border: 1px solid var(--demo-interactive-border);
}

.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 24px;
  border-radius: 34px;
  padding: 34px;
  overflow: hidden;
}

.demo-hero-copy {
  position: relative;
  z-index: 1;
}

.demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--demo-pill-bg);
  color: var(--demo-night);
  font-size: 0.84rem;
  font-weight: 600;
}

.demo-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--demo-accent);
}

.demo-hero-copy h1 {
  margin: 18px 0 14px;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  font-weight: 700;
}

.demo-hero-copy p {
  max-width: 58ch;
  margin: 0 0 22px;
  color: var(--demo-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.demo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.demo-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-meta {
  border-radius: 18px;
  padding: 16px;
  background: var(--demo-surface-strong);
  border: 1px solid var(--demo-interactive-border);
}

.demo-meta span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--demo-muted);
  margin-bottom: 6px;
}

.demo-meta strong {
  font-size: 1rem;
}

.demo-hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
}

.demo-hero-panel::before {
  content: '';
  position: absolute;
  inset: -20% -8% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 91, 45, 0.18), transparent 65%);
}

.demo-card {
  position: relative;
  border-radius: 26px;
  padding: 22px;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--demo-badge-bg);
  color: var(--demo-badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.demo-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.demo-card p,
.demo-band p,
.demo-feature p,
.demo-article p,
.demo-footer p {
  color: var(--demo-muted);
  line-height: 1.65;
}

.demo-card-grid,
.demo-feature-grid,
.demo-article-grid,
.demo-surface-grid {
  display: grid;
  gap: 18px;
}

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

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

.demo-section {
  margin-top: 28px;
}

.demo-section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.demo-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--demo-accent-deep);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
}

.demo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--demo-pill-bg);
  border: 1px solid var(--demo-pill-border);
  color: var(--demo-pill-text);
  font-size: 0.84rem;
  font-weight: 600;
}

.demo-band {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 18px;
  border-radius: 28px;
  padding: 26px;
}

.demo-link-list {
  display: grid;
  gap: 12px;
}

.demo-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--demo-surface-strong);
  border: 1px solid var(--demo-interactive-border);
  text-decoration: none;
}

.demo-link-list a::after {
  content: 'Open';
  color: var(--demo-accent-deep);
  font-weight: 700;
}

.demo-link-list a.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.demo-list {
  margin: 0;
  padding-left: 20px;
  color: var(--demo-muted);
}

.demo-list li + li {
  margin-top: 10px;
}

.demo-surface-map {
  border-radius: 28px;
  padding: 24px;
}

.demo-surface-tile,
.demo-feature,
.demo-article {
  border-radius: 24px;
  padding: 20px;
}

.demo-surface-tile {
  background: var(--demo-surface-strong);
  border: 1px solid var(--demo-interactive-border);
}

.demo-surface-tile h3,
.demo-feature h3,
.demo-article h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.demo-surface-tile strong {
  display: block;
  margin-top: 16px;
  font-size: 0.95rem;
}

.demo-footer {
  margin: 28px 0 20px;
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.demo-footer a {
  font-weight: 700;
}

.demo-footnote {
  font-size: 0.84rem;
}

.demo-float {
  animation: demo-float 7s ease-in-out infinite;
}

@keyframes demo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1024px) {
  .demo-hero,
  .demo-band,
  .demo-card-grid,
  .demo-feature-grid,
  .demo-article-grid,
  .demo-surface-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .demo-shell {
    padding: 16px;
  }

  .demo-nav,
  .demo-hero,
  .demo-band,
  .demo-surface-map,
  .demo-footer,
  .demo-card,
  .demo-feature,
  .demo-article {
    border-radius: 22px;
    padding: 18px;
  }

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

  .demo-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-nav-links {
    justify-content: flex-start;
  }

  .demo-hero-copy h1 {
    max-width: none;
  }
}

body.storefront-page::after {
  content: '';
  position: fixed;
  inset: auto auto 8% -6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 91, 45, 0.14), transparent 70%);
  pointer-events: none;
}

body.overlay-open {
  overflow: hidden;
}

.storefront-shell {
  display: grid;
  gap: 28px;
}

.storefront-main {
  display: grid;
  gap: 28px;
}

.storefront-nav {
  position: sticky;
  top: 18px;
  z-index: 20;
}

.storefront-primary-nav a {
  white-space: nowrap;
}

.storefront-hero {
  align-items: stretch;
}

.storefront-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.storefront-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.storefront-meta-grid {
  margin-top: auto;
}

.storefront-hero-visual {
  display: grid;
  gap: 18px;
}

.storefront-device-card {
  position: relative;
  min-height: 360px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(221, 226, 234, 0.8));
  border: 1px solid rgba(19, 32, 51, 0.08);
  box-shadow: var(--demo-shadow);
}

.storefront-device-orb {
  position: absolute;
  inset: 12% auto auto 8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.storefront-device-graphic {
  position: absolute;
  inset: 0;
}

.storefront-headband {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 180px;
  height: 110px;
  border: 16px solid rgba(19, 32, 51, 0.22);
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
  transform: translateX(-50%);
}

.storefront-earcup {
  position: absolute;
  top: 48%;
  width: 66px;
  height: 112px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(19, 32, 51, 0.78), rgba(19, 32, 51, 0.48));
  box-shadow: 0 18px 34px rgba(19, 32, 51, 0.18);
}

.storefront-earcup-left {
  left: 32%;
}

.storefront-earcup-right {
  right: 32%;
}

.storefront-price-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(19, 32, 51, 0.08);
}

.storefront-price-card span {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--demo-muted);
  font-weight: 700;
}

.storefront-price-card strong {
  font-size: 1.2rem;
}

.storefront-side-card h2 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.storefront-section {
  margin-top: 0;
}

.storefront-inline-link {
  border: 0;
  background: none;
  color: var(--demo-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.storefront-product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border-radius: 28px;
  background: var(--demo-surface);
  border: 1px solid var(--demo-line);
  box-shadow: var(--demo-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.storefront-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ci-shadow-strong);
}

.storefront-product-media {
  min-height: 180px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(219, 224, 232, 0.86));
  position: relative;
  overflow: hidden;
}

.storefront-product-media::before,
.storefront-product-media::after {
  content: '';
  position: absolute;
}

.storefront-product-media-speaker::before {
  inset: 30px 54px;
  border-radius: 999px;
  border: 10px solid rgba(19, 32, 51, 0.18);
}

.storefront-product-media-speaker::after {
  inset: 62px 86px;
  border-radius: 50%;
  background: rgba(19, 32, 51, 0.16);
}

.storefront-product-media-mic::before {
  left: 50%;
  top: 26px;
  width: 54px;
  height: 90px;
  border-radius: 30px;
  background: rgba(19, 32, 51, 0.18);
  transform: translateX(-50%);
}

.storefront-product-media-mic::after {
  left: 50%;
  bottom: 26px;
  width: 86px;
  height: 12px;
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.16);
  transform: translateX(-50%);
}

.storefront-product-media-hub::before {
  inset: 44px 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 32, 51, 0.2), rgba(19, 32, 51, 0.1));
}

.storefront-product-media-hub::after {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 6px solid rgba(255, 255, 255, 0.62);
  transform: translate(-50%, -50%);
}

.storefront-product-media-buds::before,
.storefront-product-media-buds::after {
  top: 42px;
  width: 34px;
  height: 94px;
  border-radius: 22px;
  background: rgba(19, 32, 51, 0.18);
}

.storefront-product-media-buds::before {
  left: 40%;
  transform: translateX(-50%);
}

.storefront-product-media-buds::after {
  left: 60%;
  transform: translateX(-50%);
}

.storefront-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--demo-badge-text);
  background: var(--demo-badge-bg);
}

.storefront-badge-alt {
  background: rgba(32, 50, 78, 0.12);
  color: var(--demo-accent-strong);
}

.storefront-product-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.storefront-product-card p {
  margin: 0;
  color: var(--demo-muted);
  line-height: 1.6;
}

.storefront-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.storefront-product-footer strong {
  font-size: 1.2rem;
}

.storefront-icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--demo-night);
  color: #fff7ef;
  font-size: 1.4rem;
  cursor: pointer;
}

.storefront-band {
  margin-top: 0;
}

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

.storefront-footer {
  align-items: start;
}

.storefront-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.storefront-footer-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--demo-muted);
  font-weight: 700;
}

.storefront-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.storefront-footer-list a {
  color: var(--demo-ink);
}

.storefront-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.storefront-overlay[hidden] {
  display: none;
}

.storefront-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 32, 51, 0.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.storefront-overlay-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 28px;
  background: var(--demo-surface-strong);
  border: 1px solid var(--demo-line);
  box-shadow: var(--ci-shadow-strong);
}

.storefront-overlay-dialog h2 {
  margin: 14px 0 10px;
  font-family: var(--demo-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.storefront-overlay-dialog p {
  color: var(--demo-muted);
  line-height: 1.7;
}

.storefront-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.storefront-overlay-close {
  border: 0;
  background: none;
  color: var(--demo-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

@media (max-width: 1024px) {
  .storefront-footer-links,
  .storefront-card-grid {
    grid-template-columns: 1fr;
  }
}

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

  .storefront-device-card {
    min-height: 300px;
  }

  .storefront-overlay-dialog {
    padding: 20px;
    border-radius: 22px;
  }
}