/* ============================================
   MEEDS – Meeds Company Site
   Design System & Full Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  --stable-vh: 1vh;
  --hero-assistant-bg: #fff;
  --hero-assistant-border: rgba(255, 255, 255, 0.9);
  --hero-assistant-text: #111827;
  --hero-assistant-muted: rgba(17, 24, 39, 0.58);
  --hero-assistant-control-bg: rgba(3, 59, 134, 0.1);
  --hero-assistant-control-border: rgba(3, 59, 134, 0.14);
  --hero-assistant-chip-bg: #fff;
  --hero-assistant-chip-border: rgba(255, 255, 255, 0.86);
  --hero-assistant-chip-text: #172033;
  --hero-assistant-chip-icon: #033b86;
  --hero-assistant-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

@media (prefers-color-scheme: dark) {
  html:not([data-public-theme]) {
    --hero-assistant-bg: #fff;
    --hero-assistant-border: rgba(255, 255, 255, 0.9);
    --hero-assistant-text: #111827;
    --hero-assistant-muted: rgba(17, 24, 39, 0.58);
    --hero-assistant-control-bg: rgba(3, 59, 134, 0.1);
    --hero-assistant-control-border: rgba(3, 59, 134, 0.14);
    --hero-assistant-chip-bg: #fff;
    --hero-assistant-chip-border: rgba(255, 255, 255, 0.86);
    --hero-assistant-chip-text: #172033;
    --hero-assistant-chip-icon: #033b86;
    --hero-assistant-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  }
}

html[data-public-theme="light"] {
  --hero-assistant-bg: #fff;
  --hero-assistant-border: rgba(255, 255, 255, 0.9);
  --hero-assistant-text: #111827;
  --hero-assistant-muted: rgba(17, 24, 39, 0.58);
  --hero-assistant-control-bg: rgba(3, 59, 134, 0.1);
  --hero-assistant-control-border: rgba(3, 59, 134, 0.14);
  --hero-assistant-chip-bg: #fff;
  --hero-assistant-chip-border: rgba(255, 255, 255, 0.86);
  --hero-assistant-chip-text: #172033;
  --hero-assistant-chip-icon: #033b86;
  --hero-assistant-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

html[data-public-theme="dark"] {
  --hero-assistant-bg: #fff;
  --hero-assistant-border: rgba(255, 255, 255, 0.9);
  --hero-assistant-text: #111827;
  --hero-assistant-muted: rgba(17, 24, 39, 0.58);
  --hero-assistant-control-bg: rgba(3, 59, 134, 0.1);
  --hero-assistant-control-border: rgba(3, 59, 134, 0.14);
  --hero-assistant-chip-bg: #fff;
  --hero-assistant-chip-border: rgba(255, 255, 255, 0.86);
  --hero-assistant-chip-text: #172033;
  --hero-assistant-chip-icon: #033b86;
  --hero-assistant-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: #ffffff;
  color: #1d1d1f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.75;
}

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

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section Rules ---------- */
.section-rule {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.section-rule--light {
  background: rgba(255, 255, 255, 0.12);
  max-width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 40px 20px;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.nav-inner>a:first-child {
  justify-self: end;
  margin-right: 120px;
  flex-shrink: 0;
}

.nav-logo {
  height: 32px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  min-width: 0;
  transition: filter 0.4s;
}

.nav.scrolled .nav-logo {
  filter: invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: color 0.4s, opacity 0.2s;
}

.nav.scrolled .nav-links a {
  color: #222326;
}

.nav-links a.active {
  opacity: 0.72;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: #222326 !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.4s;
}

.nav.scrolled .nav-cta {
  background: #222326;
  color: #fff !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1 !important;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-left: 120px;
}

[data-auth-nav]:not([data-auth-ready="true"]) {
  visibility: hidden;
}

html[data-public-auth-hint="app"] [data-auth-nav],
html[data-public-auth-hint="marketing"] [data-auth-nav] {
  visibility: visible;
}

.nav-auth-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-auth-pill[hidden] {
  display: none !important;
}

.nav-auth-try {
  display: none;
}

html[data-public-auth-hint="app"] .nav-auth-signin,
html[data-public-auth-hint="app"] .nav-auth-signup {
  display: none;
}

html[data-public-auth-hint="app"] .nav-auth-try {
  display: inline-flex;
}

.nav-auth-signin {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #1f2937 !important;
}

.nav-auth-signup,
.nav-auth-try {
  background: #033b86;
  color: #fff !important;
}

.nav-auth-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1 !important;
}

.nav-auth-signin:hover {
  background: #e5e7eb;
}

.nav-auth-signup:hover,
.nav-auth-try:hover {
  background: #002e7e;
}

body.shop-detail-mode .nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body.shop-detail-mode .nav .nav-logo {
  filter: invert(1);
}

body.shop-detail-mode .nav .nav-links a {
  color: #222326;
}

body.shop-detail-mode .nav .nav-cta {
  background: #222326;
  color: #fff !important;
}

.mobile-nav-toggle,
.mobile-nav-overlay {
  display: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

html.public-auth-overlay-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.public-auth-overlay-open {
  position: fixed;
  top: var(--public-auth-scroll-y, 0);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.public-auth-overlay {
  --auth-modal-surface: #ffffff;
  --auth-modal-frame-surface: #ffffff;
  --auth-modal-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  --auth-overlay-padding-top: max(18px, env(safe-area-inset-top));
  --auth-overlay-padding-bottom: max(18px, env(safe-area-inset-bottom));
  --auth-overlay-padding-x: max(18px, env(safe-area-inset-left), env(safe-area-inset-right));
  --auth-overlay-placement-height: min(
    var(--auth-overlay-layout-height, calc(var(--stable-vh, 1vh) * 100)),
    var(--auth-overlay-height, calc(var(--stable-vh, 1vh) * 100))
  );
  --auth-overlay-stage-height: max(
    1px,
    calc(var(--auth-overlay-placement-height) - var(--auth-overlay-padding-top) - var(--auth-overlay-padding-bottom))
  );
  position: fixed;
  top: var(--auth-overlay-top, 0);
  left: var(--auth-overlay-left, 0);
  z-index: 6000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: var(--auth-overlay-width, 100vw);
  height: var(--auth-overlay-height, 100vh);
  height: var(--auth-overlay-height, 100dvh);
  padding: var(--auth-overlay-padding-top) var(--auth-overlay-padding-x) var(--auth-overlay-padding-bottom);
  box-sizing: border-box;
  pointer-events: none;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html[data-public-theme="dark"] .public-auth-overlay {
  --auth-modal-surface: #18181b;
  --auth-modal-frame-surface: #18181b;
  --auth-modal-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.public-auth-overlay.is-open {
  pointer-events: auto;
}

.public-auth-overlay__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 8, 15, 0.62);
  cursor: default;
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.08s ease;
  will-change: opacity;
}

.public-auth-overlay.is-open .public-auth-overlay__backdrop {
  opacity: 1;
}

.public-auth-overlay.is-keyboard-active {
  --auth-overlay-padding-top: max(8px, env(safe-area-inset-top));
  --auth-overlay-padding-bottom: 8px;
  --auth-overlay-padding-x: max(8px, env(safe-area-inset-left), env(safe-area-inset-right));
}

.public-auth-overlay.is-keyboard-active .public-auth-overlay__backdrop {
  opacity: 1;
  transition: none;
}

.public-auth-overlay__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--auth-overlay-stage-height);
  min-height: 0;
  pointer-events: none;
}

.public-auth-overlay.is-keyboard-active .public-auth-overlay__stage {
  align-items: flex-start;
}

@supports (height: 100svh) {
  .public-auth-overlay {
    --auth-overlay-placement-height: min(var(--auth-overlay-layout-height, 100svh), var(--auth-overlay-height, 100svh));
  }
}

.public-auth-overlay__shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: min(var(--auth-overlay-stage-height), 620px);
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--auth-modal-surface);
  box-shadow: var(--auth-modal-shadow);
  clip-path: inset(0 round 24px);
  contain: paint;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition:
    opacity 0.16s ease,
    transform 0.18s ease,
    visibility 0s linear 0.16s;
  will-change: opacity, transform;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  pointer-events: auto;
  touch-action: auto;
}

.public-auth-overlay.is-keyboard-active .public-auth-overlay__shell {
  height: var(--auth-overlay-stage-height);
  max-height: var(--auth-overlay-stage-height);
  transform: none;
}

.public-auth-overlay__shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: var(--auth-modal-surface);
}

.public-auth-overlay.is-open.is-frame-ready .public-auth-overlay__shell {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s, 0s, 0s;
}

.public-auth-overlay__frame {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: var(--auth-modal-frame-surface);
  color-scheme: light dark;
  opacity: 0;
  clip-path: inset(0 round 24px);
  transition: opacity 0.08s ease;
  touch-action: auto;
}

.public-auth-overlay.is-frame-ready .public-auth-overlay__frame {
  opacity: 1;
}

@media (max-width: 640px) {
  .public-auth-overlay {
    --auth-overlay-padding-top: max(12px, env(safe-area-inset-top));
    --auth-overlay-padding-bottom: max(12px, env(safe-area-inset-bottom));
    --auth-overlay-padding-x: max(12px, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  .public-auth-overlay__shell {
    width: 100%;
    height: min(var(--auth-overlay-stage-height), 620px);
  }

  .public-auth-overlay.is-keyboard-active .public-auth-overlay__shell {
    height: var(--auth-overlay-stage-height);
  }
}

@media (max-height: 560px) {
  .public-auth-overlay__shell {
    height: var(--auth-overlay-stage-height);
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  transform: scale(1.02);
  will-change: transform;
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .hero-bg img {
    transform: none !important;
    will-change: auto;
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.15) 50%,
      rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  padding: 120px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  max-width: 880px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  max-width: 680px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.hero-assistant {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 28px;
}

.hero-query {
  width: 100%;
}

.hero-query-surface {
  display: flex;
  flex-direction: column;
  min-height: 128px;
  padding: 24px;
  border: 1px solid var(--hero-assistant-border);
  border-radius: 28px;
  background: var(--hero-assistant-bg);
  color: var(--hero-assistant-text);
  box-shadow: var(--hero-assistant-shadow);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.hero-query-input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--hero-assistant-text);
  font: inherit;
  font-size: 20px;
  line-height: 1.45;
}

.hero-query-input::placeholder {
  color: var(--hero-assistant-muted);
  opacity: 1;
}

.hero-query-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.hero-query-attach,
.hero-query-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-query-attach {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hero-assistant-control-border);
  border-radius: 14px;
  background: var(--hero-assistant-control-bg);
  color: var(--hero-assistant-chip-icon);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.hero-query-submit {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #033b86;
  color: #fff;
  box-shadow: 0 14px 32px rgba(3, 59, 134, 0.28);
}

.hero-query-submit svg {
  width: 25px;
  height: 25px;
}

.hero-query-attach:hover,
.hero-query-submit:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
}

.hero-query-submit:hover {
  background: #002e7e;
  box-shadow: 0 18px 40px rgba(3, 59, 134, 0.36);
}

.hero-prompt-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--hero-assistant-chip-border);
  border-radius: 999px;
  background: var(--hero-assistant-chip-bg);
  color: var(--hero-assistant-chip-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-prompt:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
}

.hero-prompt svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--hero-assistant-chip-icon);
}

.hero-prompt span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 30px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-cta-primary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
}

.hero-cta-primary.is-authenticated {
  background: #033b86;
  color: #fff;
}

.hero-cta-primary.is-authenticated:hover {
  background: #002e7e;
}

.hero-cta-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
  transform: translateX(3px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  cursor: pointer;
}

.hero-cta-secondary:hover {
  color: #fff;
  opacity: 1 !important;
}

.hero-cta-secondary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta-secondary:hover svg {
  transform: translateX(3px);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Feature Sections ---------- */
.features {
  padding: 100px 0 60px;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 100px;
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 0.82;
  min-width: 0;
}

.feature-text h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.feature-text p {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.58;
  color: #6e6e73;
  max-width: 440px;
}

.feature-visual {
  flex: 1.18;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

/* ---------- Product Demonstrations ---------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.product-demo {
  --demo-duration: 10400ms;
  --demo-blue: #0f63d8;
  --demo-ink: #f7f8fa;
  --demo-muted: #9298a5;
  --demo-line: rgba(255, 255, 255, 0.09);
  --demo-surface: #0b0d11;
  position: relative;
  width: 100%;
  max-width: 610px;
  min-height: 430px;
  aspect-ratio: 1.38;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  color: var(--demo-ink);
  background: var(--demo-surface);
  border: 1px solid rgba(15, 20, 29, 0.86);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 50px rgba(17, 24, 39, 0.14),
    0 4px 12px rgba(17, 24, 39, 0.08);
  transform: translateZ(0);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease;
}

.product-demo::before {
  content: '';
  position: absolute;
  inset: 52px 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
}

.product-demo.is-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 28px 80px rgba(17, 24, 39, 0.18),
    0 8px 20px rgba(17, 24, 39, 0.08);
}

.product-demo__topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--demo-line);
  background: rgba(14, 16, 21, 0.94);
}

.product-demo__identity,
.product-demo__utilities,
.product-demo__live,
.product-demo__context-status {
  display: flex;
  align-items: center;
}

.product-demo__identity {
  min-width: 0;
  gap: 9px;
  color: #f8f9fb;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.product-demo__identity > span:first-of-type {
  flex-shrink: 0;
  white-space: nowrap;
}

.product-demo__identity img {
  width: 25px;
  height: 25px;
  border-radius: 6px;
}

.product-demo__view {
  min-width: 0;
  overflow: hidden;
  color: #8d93a0;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-demo__view::before {
  content: '/';
  margin-right: 9px;
  color: #414753;
}

.product-demo__utilities {
  flex-shrink: 0;
  gap: 8px;
}

.product-demo__live,
.product-demo__context-status {
  gap: 6px;
  color: #a2a8b4;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0;
  white-space: nowrap;
}

.product-demo__live i {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #50c878;
  box-shadow: 0 0 0 0 rgba(80, 200, 120, 0.36);
}

.product-demo__live--recording i {
  background: #ff6b66;
  box-shadow: 0 0 0 0 rgba(255, 107, 102, 0.4);
}

.product-demo__context-status svg {
  width: 13px;
  height: 13px;
  color: #74aef8;
}

.product-demo__replay {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  color: #8e95a2;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 300ms ease;
}

.product-demo__replay:hover,
.product-demo__replay:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.product-demo__replay:focus-visible {
  box-shadow: 0 0 0 2px #78aef7;
}

.product-demo__replay svg {
  width: 15px;
  height: 15px;
}

.product-demo.is-restarting .product-demo__replay {
  transform: rotate(-360deg);
}

.product-demo__body {
  position: relative;
  z-index: 2;
  height: calc(100% - 52px);
  min-height: 0;
  padding: 20px 22px 24px;
}

.product-demo__eyebrow,
.product-demo__insight-label {
  color: #8d94a1;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-demo__section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
  color: #9299a6;
  font-size: 10px;
  letter-spacing: 0;
}

.product-demo__section-heading strong {
  color: #d8dce4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.product-demo__grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.065);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.product-demo__insight {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
}

.product-demo__insight-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  color: #dce9fb;
  background: #123b6e;
  border-radius: 50%;
}

.product-demo__insight-icon svg {
  width: 16px;
  height: 16px;
}

.product-demo__insight>div {
  min-width: 0;
}

.product-demo__insight p {
  margin-top: 2px;
  color: #f0f2f6;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-demo__scan {
  position: absolute;
  top: 52px;
  bottom: 2px;
  left: -20%;
  z-index: 1;
  width: 18%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(76, 158, 255, 0.06), transparent);
  transform: skewX(-8deg);
}

/* Recovery demonstration */
.product-demo--recovery {
  --demo-accent: #50c878;
}

.recovery-demo__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}

.recovery-demo__summary {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 104px;
}

.recovery-demo__ring {
  position: relative;
  width: 102px;
  height: 102px;
  flex: 0 0 102px;
}

.recovery-demo__ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.recovery-demo__ring-track,
.recovery-demo__ring-value,
.recovery-demo__ring-glint {
  fill: none;
  stroke-width: 8;
}

.recovery-demo__ring-track {
  stroke: rgba(255, 255, 255, 0.075);
}

.recovery-demo__ring-value {
  stroke: var(--demo-accent);
  stroke-linecap: round;
  stroke-dasharray: 78 100;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(80, 200, 120, 0.3));
}

.recovery-demo__ring-glint {
  stroke: rgba(255, 255, 255, 0.78);
  stroke-linecap: round;
  stroke-dasharray: 2 98;
  stroke-dashoffset: -77;
  opacity: 0.8;
}

.recovery-demo__score {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.recovery-demo__score strong {
  color: #fff;
  font-size: 30px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.recovery-demo__score span {
  margin-top: 4px;
  color: #8e95a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.recovery-demo__summary-copy {
  min-width: 0;
}

.recovery-demo__summary-copy h3 {
  max-width: 230px;
  margin-top: 5px;
  color: #f7f8fa;
  font-size: 19px;
  font-weight: 610;
  line-height: 1.16;
  letter-spacing: 0;
}

.recovery-demo__summary-copy p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #818895;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0;
}

.recovery-demo__sync-check {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  color: #07110a;
  background: #50c878;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}

.recovery-demo__trend {
  min-height: 0;
  padding-top: 1px;
}

.recovery-demo__trend .product-demo__section-heading strong {
  color: #64d58a;
}

.recovery-demo__chart {
  display: block;
  width: 100%;
  height: 70px;
  margin-top: 3px;
  overflow: visible;
}

.recovery-demo__area {
  fill: rgba(80, 200, 120, 0.08);
  opacity: 1;
}

.recovery-demo__line {
  fill: none;
  stroke: #61d38a;
  stroke-width: 2.1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.recovery-demo__chart-dot {
  fill: #0b0d11;
  stroke: #61d38a;
  stroke-width: 2;
  opacity: 1;
}

.recovery-demo__chart-dot--final {
  fill: #61d38a;
  stroke: rgba(11, 13, 17, 0.8);
  stroke-width: 3;
}

.recovery-demo__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3px;
  border-top: 1px solid var(--demo-line);
}

.recovery-demo__metrics span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
  padding: 8px 9px 0;
  border-right: 1px solid var(--demo-line);
}

.recovery-demo__metrics span:first-child {
  padding-left: 0;
}

.recovery-demo__metrics span:last-child {
  padding-right: 0;
  border-right: 0;
}

.recovery-demo__metrics small {
  color: #747b88;
  font-size: 8px;
  letter-spacing: 0;
  white-space: nowrap;
}

.recovery-demo__metrics b {
  color: #dfe2e8;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.recovery-demo__insight {
  border-color: rgba(80, 200, 120, 0.14);
  background: rgba(80, 200, 120, 0.055);
}

/* Nutrition demonstration */
.product-demo--nutrition {
  --demo-accent: #f2b84b;
}

.nutrition-demo__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.nutrition-demo__signals {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--demo-line);
}

.nutrition-demo__signals .product-demo__section-heading strong {
  color: #e0af57;
}

.nutrition-demo__signal-row {
  display: grid;
  grid-template-columns: 64px minmax(70px, 1fr) 58px;
  align-items: center;
  gap: 10px;
  min-height: 23px;
  color: #a8aeba;
  font-size: 9px;
  letter-spacing: 0;
}

.nutrition-demo__signal-row>b {
  color: #e7e9ed;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
}

.nutrition-demo__bar {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
}

.nutrition-demo__bar i {
  display: block;
  width: var(--signal-level);
  height: 100%;
  background: #e8af43;
  border-radius: inherit;
  transform: scaleX(1);
  transform-origin: left;
}

.nutrition-demo__signal-row:nth-child(4) .nutrition-demo__bar i {
  background: #55b7cf;
}

.nutrition-demo__conversation {
  position: relative;
  min-height: 0;
}

.nutrition-demo__user-message {
  width: min(86%, 360px);
  margin-left: auto;
  padding: 9px 11px;
  color: #f5f6f8;
  background: #164d91;
  border: 1px solid rgba(114, 174, 247, 0.16);
  border-radius: 7px 7px 2px 7px;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0;
}

.nutrition-demo__reflecting,
.nutrition-demo__answer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.nutrition-demo__reflecting {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 64px;
  color: #a6acb8;
  font-size: 9px;
  letter-spacing: 0;
  opacity: 0;
}

.nutrition-demo__reflecting i {
  width: 4px;
  height: 4px;
  margin-left: -3px;
  background: #e0a63e;
  border-radius: 50%;
}

.nutrition-demo__lens-mark {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #f4c86e;
  background: rgba(242, 184, 75, 0.1);
  border: 1px solid rgba(242, 184, 75, 0.17);
  border-radius: 50%;
}

.nutrition-demo__lens-mark svg {
  width: 14px;
  height: 14px;
}

.nutrition-demo__answer {
  min-height: 122px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 2px solid #e5ab3e;
  border-radius: 0 7px 7px 0;
  opacity: 1;
}

.nutrition-demo__answer-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nutrition-demo__answer-heading>div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nutrition-demo__answer-heading b {
  color: #f2f3f5;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.nutrition-demo__answer-heading span:not(.nutrition-demo__lens-mark) {
  color: #7e8591;
  font-size: 8px;
  letter-spacing: 0;
}

.nutrition-demo__answer>p {
  margin: 8px 0 7px;
  color: #c5cad2;
  font-size: 10px;
  line-height: 1.42;
  letter-spacing: 0;
}

.nutrition-demo__action {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f2d28e;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0;
}

.nutrition-demo__action span {
  font-size: 12px;
}

/* Sleep demonstration */
.product-demo--sleep {
  --demo-accent: #8d8cf4;
}

.sleep-demo__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 13px;
}

.sleep-demo__summary {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--demo-line);
}

.sleep-demo__summary>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sleep-demo__summary>div:first-child strong {
  color: #fff;
  font-size: 27px;
  font-weight: 640;
  line-height: 1;
  letter-spacing: 0;
}

.sleep-demo__quality {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid var(--demo-line);
}

.sleep-demo__quality b {
  color: #b0afff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.sleep-demo__quality span {
  color: #7e8592;
  font-size: 8px;
  letter-spacing: 0;
}

.sleep-demo__change {
  align-self: center;
  color: #65c78a;
  font-size: 8px;
  font-weight: 550;
  letter-spacing: 0;
  white-space: nowrap;
}

.sleep-demo__change span {
  margin-right: 3px;
}

.sleep-demo__timeline {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.sleep-demo__stage-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 8px;
  height: 24px;
}

.sleep-demo__stage-row>span {
  color: #717885;
  font-size: 8px;
  letter-spacing: 0;
}

.sleep-demo__stage-track {
  position: relative;
  height: 13px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 2px;
}

.sleep-demo__stage-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--segment-left);
  width: var(--segment-width);
  border-radius: 2px;
  transform: scaleX(1);
  transform-origin: left;
}

.sleep-demo__stage-track--awake i {
  background: #d8b970;
}

.sleep-demo__stage-track--rem i {
  background: #62b8d3;
}

.sleep-demo__stage-track--core i {
  background: #7e85e9;
}

.sleep-demo__stage-track--deep i {
  background: #5b4cbd;
}

.sleep-demo__time-labels {
  display: flex;
  justify-content: space-between;
  margin: 3px 0 0 46px;
  color: #555c68;
  font-size: 7px;
  letter-spacing: 0;
}

.sleep-demo__cursor {
  position: absolute;
  top: 26px;
  bottom: 15px;
  left: 46px;
  width: calc(100% - 46px);
  pointer-events: none;
}

.sleep-demo__cursor::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 10px rgba(188, 195, 255, 0.35);
  opacity: 0;
}

.sleep-demo__cursor i {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
}

.sleep-demo__pattern {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 63px;
  padding: 9px 12px;
  background: rgba(141, 140, 244, 0.055);
  border: 1px solid rgba(141, 140, 244, 0.12);
  border-radius: 7px;
}

.sleep-demo__week {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 39px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.sleep-demo__week i {
  width: 10px;
  height: var(--night-height);
  background: rgba(139, 141, 241, 0.5);
  border-radius: 2px 2px 0 0;
  transform: scaleY(1);
  transform-origin: bottom;
}

.sleep-demo__week i:nth-last-child(-n+2) {
  background: #918ff5;
}

.sleep-demo__pattern-copy p {
  margin-top: 3px;
  color: #e5e5f2;
  font-size: 10px;
  line-height: 1.38;
  letter-spacing: 0;
}

/* Strain demonstration */
.product-demo--strain {
  --demo-accent: #ff6b66;
}

.strain-demo__body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 11px;
}

.strain-demo__overview {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.strain-demo__score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
  border-right: 1px solid var(--demo-line);
}

.strain-demo__score>div {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 5px;
}

.strain-demo__score strong {
  color: #fff;
  font-size: 31px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.strain-demo__score>div span {
  color: #686f7b;
  font-size: 10px;
  letter-spacing: 0;
}

.strain-demo__score p {
  margin-top: 7px;
  color: #67ca8b;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0;
}

.strain-demo__load {
  min-width: 0;
}

.strain-demo__load .product-demo__section-heading strong {
  color: #68c98d;
}

.strain-demo__chart {
  display: block;
  width: 100%;
  height: 100px;
  overflow: visible;
}

.strain-demo__range {
  fill: rgba(96, 199, 137, 0.08);
  stroke: rgba(96, 199, 137, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.strain-demo__line {
  fill: none;
  stroke: #ff7771;
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.strain-demo__pulse-dot {
  fill: #ff7771;
  stroke: #2d1112;
  stroke-width: 3;
}

.strain-demo__session {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--demo-line);
  border-bottom: 1px solid var(--demo-line);
}

.strain-demo__session-heading,
.strain-demo__session-heading>div,
.strain-demo__zones span {
  display: flex;
  align-items: center;
}

.strain-demo__session-heading {
  justify-content: space-between;
  gap: 14px;
}

.strain-demo__session-heading>div {
  min-width: 0;
  gap: 8px;
}

.strain-demo__activity-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #ff9a95;
  background: rgba(255, 107, 102, 0.11);
  border-radius: 50%;
  font-size: 12px;
}

.strain-demo__session-heading p {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.strain-demo__session-heading b {
  color: #eceef2;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0;
}

.strain-demo__session-heading p span {
  color: #757c88;
  font-size: 8px;
  letter-spacing: 0;
}

.strain-demo__session-heading>strong {
  color: #e6e8ec;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.strain-demo__session-heading small {
  color: #727986;
  font-size: 7px;
  font-weight: 500;
}

.strain-demo__zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 9px;
}

.strain-demo__zones span {
  gap: 5px;
}

.strain-demo__zones small,
.strain-demo__zones em {
  color: #767d89;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0;
}

.strain-demo__zones i {
  height: 3px;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
}

.strain-demo__zones b {
  display: block;
  width: var(--zone-width);
  height: 100%;
  background: #5ec98c;
  border-radius: inherit;
  transform: scaleX(1);
  transform-origin: left;
}

.strain-demo__zones span:nth-child(2) b {
  background: #e2b84d;
}

.strain-demo__zones span:nth-child(3) b {
  background: #ff7771;
}

.strain-demo__insight {
  border-color: rgba(255, 107, 102, 0.14);
  background: rgba(255, 107, 102, 0.05);
}

.strain-demo__insight .product-demo__insight-icon {
  color: #ffd8d6;
  background: #4b1d21;
}

.strain-demo__recovery-time {
  margin-left: auto;
  color: #ffaaa6;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

/* Product demo motion sequences */
.product-demo.is-playing .product-demo__live i {
  animation: demo-live-pulse 2.1s ease-out infinite;
}

.product-demo--recovery.is-playing .product-demo__scan {
  animation: demo-scan var(--demo-duration) ease-in-out infinite;
}

.product-demo--recovery.is-playing .recovery-demo__ring-value {
  animation: recovery-ring-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--recovery.is-playing .recovery-demo__ring-glint {
  animation: recovery-glint-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--recovery.is-playing .recovery-demo__line,
.product-demo--strain.is-playing .strain-demo__line {
  animation: demo-line-draw var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--recovery.is-playing .recovery-demo__area,
.product-demo--strain.is-playing .strain-demo__range {
  animation: demo-area-rise var(--demo-duration) ease infinite;
}

.product-demo--recovery.is-playing .recovery-demo__chart-dot {
  animation: demo-dot-arrive var(--demo-duration) ease infinite;
}

.product-demo--recovery.is-playing .recovery-demo__insight,
.product-demo--strain.is-playing .strain-demo__insight {
  animation: demo-insight-arrive var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--nutrition.is-playing .nutrition-demo__bar i {
  animation: nutrition-signal-fill var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--nutrition.is-playing .nutrition-demo__user-message {
  animation: nutrition-user-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--nutrition.is-playing .nutrition-demo__reflecting {
  animation: nutrition-reflecting-cycle var(--demo-duration) ease infinite;
}

.product-demo--nutrition.is-playing .nutrition-demo__reflecting i {
  animation: nutrition-dot 900ms ease-in-out infinite;
}

.product-demo--nutrition.is-playing .nutrition-demo__reflecting i:nth-last-child(2) {
  animation-delay: 120ms;
}

.product-demo--nutrition.is-playing .nutrition-demo__reflecting i:last-child {
  animation-delay: 240ms;
}

.product-demo--nutrition.is-playing .nutrition-demo__answer {
  animation: nutrition-answer-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--sleep.is-playing .sleep-demo__stage-track i {
  animation: sleep-segment-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--segment-delay);
}

.product-demo--sleep.is-playing .sleep-demo__cursor::before,
.product-demo--sleep.is-playing .sleep-demo__cursor i {
  animation: sleep-cursor-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--sleep.is-playing .sleep-demo__week i {
  animation: sleep-week-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(2) { animation-delay: 70ms; }
.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(3) { animation-delay: 140ms; }
.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(4) { animation-delay: 210ms; }
.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(5) { animation-delay: 280ms; }
.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(6) { animation-delay: 350ms; }
.product-demo--sleep.is-playing .sleep-demo__week i:nth-child(7) { animation-delay: 420ms; }

.product-demo--sleep.is-playing .sleep-demo__pattern {
  animation: demo-insight-arrive var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--strain.is-playing .strain-demo__pulse-dot {
  animation: strain-pulse-cycle var(--demo-duration) ease infinite;
}

.product-demo--strain.is-playing .strain-demo__zones b {
  animation: strain-zone-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes demo-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(80, 200, 120, 0.34); }
  65%, 100% { box-shadow: 0 0 0 6px rgba(80, 200, 120, 0); }
}

@keyframes demo-scan {
  0%, 5% { left: -20%; opacity: 0; }
  8% { opacity: 1; }
  28% { left: 105%; opacity: 0.45; }
  31%, 100% { left: 105%; opacity: 0; }
}

@keyframes recovery-ring-cycle {
  0%, 7% { stroke-dashoffset: 78; opacity: 0.35; }
  28%, 88% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: 0.35; }
}

@keyframes recovery-glint-cycle {
  0%, 20% { stroke-dashoffset: 0; opacity: 0; }
  29% { opacity: 0.9; }
  45% { stroke-dashoffset: -78; opacity: 0; }
  100% { stroke-dashoffset: -78; opacity: 0; }
}

@keyframes demo-line-draw {
  0%, 12% { stroke-dashoffset: 100; opacity: 0.2; }
  38%, 90% { stroke-dashoffset: 0; opacity: 1; }
  98%, 100% { stroke-dashoffset: 0; opacity: 0.2; }
}

@keyframes demo-area-rise {
  0%, 18% { opacity: 0; }
  42%, 90% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes demo-dot-arrive {
  0%, 28% { opacity: 0; transform: scale(0.3); transform-origin: center; }
  38%, 90% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.8); }
}

@keyframes demo-insight-arrive {
  0%, 42% { opacity: 0; transform: translateY(12px); }
  53%, 90% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(5px); }
}

@keyframes nutrition-signal-fill {
  0%, 6% { transform: scaleX(0.08); opacity: 0.4; }
  29%, 91% { transform: scaleX(1); opacity: 1; }
  98%, 100% { transform: scaleX(1); opacity: 0.4; }
}

@keyframes nutrition-user-cycle {
  0%, 11% { opacity: 0; transform: translateY(10px) scale(0.98); }
  19%, 89% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100% { opacity: 0; transform: translateY(2px) scale(1); }
}

@keyframes nutrition-reflecting-cycle {
  0%, 25% { opacity: 0; transform: translateY(5px); }
  31%, 43% { opacity: 1; transform: translateY(0); }
  49%, 100% { opacity: 0; transform: translateY(-3px); }
}

@keyframes nutrition-answer-cycle {
  0%, 43% { opacity: 0; transform: translateY(11px); clip-path: inset(0 0 100% 0); }
  54%, 90% { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
  98%, 100% { opacity: 0; transform: translateY(3px); clip-path: inset(0 0 0 0); }
}

@keyframes nutrition-dot {
  0%, 100% { opacity: 0.25; transform: translateY(1px); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes sleep-segment-cycle {
  0%, 8% { opacity: 0.2; transform: scaleX(0); }
  28%, 91% { opacity: 1; transform: scaleX(1); }
  98%, 100% { opacity: 0.2; transform: scaleX(1); }
}

@keyframes sleep-cursor-cycle {
  0%, 16% { opacity: 0; transform: translateX(0); }
  22% { opacity: 1; }
  58% { opacity: 1; transform: translateX(calc(100cqw - 94px)); }
  62%, 100% { opacity: 0; transform: translateX(calc(100cqw - 94px)); }
}

@keyframes sleep-week-cycle {
  0%, 42% { opacity: 0; transform: scaleY(0.12); }
  58%, 91% { opacity: 1; transform: scaleY(1); }
  98%, 100% { opacity: 0.2; transform: scaleY(1); }
}

@keyframes strain-pulse-cycle {
  0%, 27% { opacity: 0; transform: scale(0.4); transform-origin: center; }
  39%, 89% { opacity: 1; transform: scale(1); }
  48%, 55%, 62% { transform: scale(1.32); }
  51%, 58%, 65% { transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.8); }
}

@keyframes strain-zone-cycle {
  0%, 29% { opacity: 0.3; transform: scaleX(0.05); }
  52%, 91% { opacity: 1; transform: scaleX(1); }
  98%, 100% { opacity: 0.4; transform: scaleX(1); }
}

@container (max-width: 430px) {
  .product-demo__body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-demo__view {
    max-width: 86px;
  }

  .product-demo__context-status {
    font-size: 0;
  }

  .product-demo__context-status svg {
    width: 15px;
    height: 15px;
  }

  .recovery-demo__ring {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .recovery-demo__summary-copy h3 {
    font-size: 16px;
  }

  .recovery-demo__metrics small {
    display: none;
  }

  .recovery-demo__metrics span {
    justify-content: center;
  }

  .sleep-demo__summary {
    grid-template-columns: 1fr auto;
  }

  .sleep-demo__change {
    display: none;
  }

  .sleep-demo__pattern {
    grid-template-columns: 88px 1fr;
  }

  .sleep-demo__week {
    gap: 4px;
  }

  .sleep-demo__week i {
    width: 8px;
  }

  .strain-demo__overview {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }

  .strain-demo__score {
    padding-right: 10px;
  }

  .strain-demo__score strong {
    font-size: 27px;
  }
}

@container (max-width: 320px) {
  .product-demo__topbar {
    padding-right: 8px;
    padding-left: 12px;
  }

  .product-demo__view {
    display: none;
  }

  .product-demo__utilities {
    gap: 4px;
  }

  .product-demo__live {
    font-size: 9px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-demo:hover {
    transform: translateY(-4px) rotateX(0.8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-demo,
  .product-demo *,
  .product-demo *::before,
  .product-demo *::after {
    animation: none !important;
    transition: none !important;
  }

  .product-demo__scan,
  .nutrition-demo__reflecting,
  .sleep-demo__cursor {
    display: none !important;
  }

  .recovery-demo__ring-value,
  .recovery-demo__line,
  .strain-demo__line {
    stroke-dashoffset: 0 !important;
  }

  .nutrition-demo__bar i,
  .sleep-demo__stage-track i,
  .sleep-demo__week i,
  .strain-demo__zones b {
    opacity: 1 !important;
    transform: none !important;
  }

  .nutrition-demo__answer,
  .product-demo__insight,
  .sleep-demo__pattern {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- Qualitative Product Demonstrations ---------- */
.product-demo {
  --demo-duration: 12000ms;
  --demo-blue: #033b86;
  --demo-ink: #111318;
  --demo-muted: #687181;
  --demo-line: rgba(16, 24, 40, 0.1);
  --demo-surface: #f7f8fa;
  color: var(--demo-ink);
  background: var(--demo-surface);
  border-color: rgba(16, 24, 40, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 24px 60px rgba(18, 30, 48, 0.13),
    0 5px 16px rgba(18, 30, 48, 0.07);
}

.product-demo::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 26, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 26, 43, 0.025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.54), transparent 88%);
}

.product-demo.is-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 30px 76px rgba(18, 30, 48, 0.15),
    0 8px 20px rgba(18, 30, 48, 0.07);
}

.product-demo__controls {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 30;
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-demo:hover .product-demo__controls,
.product-demo__controls:focus-within {
  opacity: 1;
}

.unified-demo__sources > .product-demo__section-heading,
.pattern-demo__heading,
.talk-demo__memory > .product-demo__section-heading,
.direction-demo__intake-heading,
.direction-demo__plan-heading {
  padding-right: 30px;
}

.product-demo__controls .product-demo__replay {
  width: 27px;
  height: 27px;
  color: #737d8e;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 3px 9px rgba(18, 30, 48, 0.08);
}

@media (hover: none), (pointer: coarse) {
  .product-demo__controls {
    opacity: 0.5;
  }
}

.product-demo__replay:hover,
.product-demo__replay:focus-visible {
  color: #10233c;
  background: rgba(3, 59, 134, 0.07);
}

.product-demo__replay:focus-visible {
  box-shadow: 0 0 0 2px rgba(3, 59, 134, 0.32);
}

.product-demo__body {
  height: 100%;
  color: #151820;
}

.product-demo__eyebrow,
.product-demo__insight-label {
  color: #737d8c;
}

.product-demo__section-heading {
  color: #6d7685;
}

.product-demo__section-heading strong {
  color: #28313d;
}

/* Unified Health */
.unified-demo__body {
  display: grid;
  grid-template-rows: auto 22px minmax(0, 1fr);
  gap: 9px;
  padding: 16px 20px 20px;
}

.unified-demo__sources {
  min-width: 0;
}

.unified-demo__sources .product-demo__section-heading strong {
  color: #16704a;
}

.unified-demo__source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.unified-demo__source {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 39px;
  padding: 6px 7px;
  color: #303846;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(18, 30, 48, 0.035);
}

.unified-demo__source > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unified-demo__source > i {
  display: grid;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 14px;
  place-items: center;
  color: #fff;
  background: #168654;
  border-radius: 50%;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.unified-demo__source-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 6px;
}

.unified-demo__source-icon svg {
  width: 14px;
  height: 14px;
}

.unified-demo__source-icon--blue { color: #174f99; background: #e8f1fc; }
.unified-demo__source-icon--coral { color: #b64b48; background: #fcecea; }
.unified-demo__source-icon--green { color: #24704d; background: #e8f5ee; }
.unified-demo__source-icon--violet { color: #6d56a4; background: #f0ecfa; }
.unified-demo__source-icon--amber { color: #976815; background: #fbf3dc; }
.unified-demo__source-icon--indigo { color: #4d56a8; background: #eceefd; }
.unified-demo__source-icon--teal { color: #0f766e; background: #e4f4f2; }

.unified-demo__merge {
  position: relative;
  height: 22px;
}

.unified-demo__merge > span,
.unified-demo__merge > i {
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(3, 59, 134, 0.26);
}

.unified-demo__merge > span {
  top: 0;
  height: 10px;
}

.unified-demo__merge > i {
  bottom: 0;
  height: 9px;
}

.unified-demo__merge > b {
  position: absolute;
  top: 8px;
  left: calc(50% - 3px);
  width: 7px;
  height: 7px;
  background: #033b86;
  border: 2px solid #eef3f9;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(3, 59, 134, 0.12);
}

.unified-demo__profile {
  min-height: 0;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.11);
  border-radius: 7px;
  box-shadow: 0 9px 22px rgba(23, 38, 59, 0.07);
}

.unified-demo__profile-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.unified-demo__mirror {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 7px;
  overflow: hidden;
}

.unified-demo__mirror img {
  display: block;
  width: 100%;
  height: 100%;
}

.unified-demo__profile-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.unified-demo__profile-heading strong {
  color: #151922;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

.unified-demo__profile-heading > div span {
  color: #788190;
  font-size: 8px;
  letter-spacing: 0;
}

.unified-demo__profile-state {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #176b48;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.unified-demo__profile-state i {
  width: 6px;
  height: 6px;
  background: #25a46b;
  border-radius: 50%;
}

.unified-demo__profile-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.unified-demo__profile-context > div {
  min-width: 0;
  min-height: 54px;
  padding: 8px;
  background: #f5f7f9;
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 5px;
}

.unified-demo__profile-context span {
  display: block;
  color: #26303d;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0;
}

.unified-demo__profile-context p {
  margin-top: 3px;
  color: #77808f;
  font-size: 7px;
  line-height: 1.25;
  letter-spacing: 0;
}

.unified-demo__complete {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.unified-demo__complete > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: #fff;
  background: #168654;
  border-radius: 50%;
}

.unified-demo__complete svg {
  width: 12px;
  height: 12px;
}

.unified-demo__complete p {
  color: #5e6877;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0;
}

.unified-demo__complete strong {
  color: #1e2733;
  font-weight: 650;
}

/* Pattern Intelligence */
.pattern-demo__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px 20px 20px;
}

.pattern-demo__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pattern-demo__heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.pattern-demo__heading strong {
  color: #1e2530;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.pattern-demo__thinking {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6a7280;
  font-size: 8px;
  letter-spacing: 0;
  white-space: nowrap;
}

.pattern-demo__thinking i {
  width: 4px;
  height: 4px;
  background: #7357b6;
  border-radius: 50%;
}

.pattern-demo__map {
  position: relative;
  min-height: 0;
  padding: 12px 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 7px;
}

.pattern-demo__axis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 7px 6px 116px;
  color: #969daa;
  font-size: 7px;
  letter-spacing: 0;
  text-align: center;
}

.pattern-demo__lane {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 45px;
}

.pattern-demo__lane + .pattern-demo__lane {
  border-top: 1px solid rgba(16, 24, 40, 0.055);
}

.pattern-demo__lane-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3b4553;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.pattern-demo__lane-label i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 6px;
}

.pattern-demo__lane-label svg {
  width: 14px;
  height: 14px;
}

.pattern-demo__lane--sleep .pattern-demo__lane-label i { color: #5a59a6; background: #eceefd; }
.pattern-demo__lane--care .pattern-demo__lane-label i { color: #b64b48; background: #fcecea; }
.pattern-demo__lane--daily .pattern-demo__lane-label i { color: #0f766e; background: #e4f4f2; }

.pattern-demo__track {
  position: relative;
  height: 32px;
}

.pattern-demo__track > span {
  position: absolute;
  top: 15px;
  right: 2px;
  left: 2px;
  height: 1px;
  background: #d8dde5;
}

.pattern-demo__track > b {
  position: absolute;
  top: 11px;
  left: 51%;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 2px solid #7357b6;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(115, 87, 182, 0.1);
  transform: translateX(-50%);
}

.pattern-demo__track > em {
  position: absolute;
  top: 4px;
  right: 2px;
  left: 74%;
  max-width: none;
  overflow: hidden;
  padding: 5px 7px;
  color: #2f3744;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(18, 30, 48, 0.05);
  font-size: 7px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pattern-demo__connections {
  position: absolute;
  top: 26px;
  right: 14px;
  left: 130px;
  z-index: 3;
  height: 135px;
  overflow: visible;
  pointer-events: none;
}

.pattern-demo__connections svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pattern-demo__connections path {
  fill: none;
  stroke: rgba(115, 87, 182, 0.48);
  stroke-width: 1.3;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.pattern-demo__connections > span {
  position: absolute;
  top: calc(50% - 4px);
  left: calc(70% - 4px);
  width: 8px;
  height: 8px;
  background: #7357b6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(115, 87, 182, 0.12);
}

.pattern-demo__relationship {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(115, 87, 182, 0.18);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(35, 29, 54, 0.06);
}

.pattern-demo__relationship-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: #6246a0;
  background: #f0ecfa;
  border-radius: 7px;
}

.pattern-demo__relationship-icon svg {
  width: 18px;
  height: 18px;
}

.pattern-demo__relationship > div {
  min-width: 0;
}

.pattern-demo__relationship p {
  margin-top: 3px;
  color: #505a68;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0;
}

.pattern-demo__confidence {
  margin-left: auto;
  padding: 5px 7px;
  color: #5e4592;
  background: #f3effa;
  border: 1px solid rgba(115, 87, 182, 0.14);
  border-radius: 12px;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Talk to Your Health */
.talk-demo__body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 20px 20px;
}

.talk-demo__memory {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.talk-demo__memory .product-demo__section-heading strong {
  color: #174f99;
}

.talk-demo__memory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.talk-demo__memory-list > span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  color: #4d5664;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 12px;
  font-size: 7px;
  font-weight: 550;
  letter-spacing: 0;
  white-space: nowrap;
}

.talk-demo__memory-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.talk-demo__memory-dot--blue { background: #346fb6; }
.talk-demo__memory-dot--coral { background: #c2605c; }
.talk-demo__memory-dot--green { background: #2d8b62; }
.talk-demo__memory-dot--violet { background: #7664b4; }
.talk-demo__memory-dot--teal { background: #258d87; }

.talk-demo__thread {
  position: relative;
  min-height: 0;
}

.talk-demo__question {
  width: min(82%, 390px);
  min-height: 40px;
  margin-left: auto;
  padding: 10px 12px;
  color: #fff;
  background: #033b86;
  border: 1px solid rgba(0, 46, 126, 0.18);
  border-radius: 7px 7px 2px 7px;
  box-shadow: 0 6px 14px rgba(3, 59, 134, 0.14);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0;
}

.talk-demo__question > i {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -2px;
  background: rgba(255, 255, 255, 0.82);
  opacity: 0;
}

.talk-demo__reflection,
.talk-demo__answer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.talk-demo__reflection {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 68px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(3, 59, 134, 0.1);
  border-radius: 7px;
  opacity: 0;
}

.talk-demo__mirror {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 7px;
  overflow: hidden;
}

.talk-demo__mirror img {
  display: block;
  width: 100%;
  height: 100%;
}

.talk-demo__reflection > div,
.talk-demo__answer-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.talk-demo__reflection strong,
.talk-demo__answer-heading strong {
  color: #1c2531;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
}

.talk-demo__reflection > div span,
.talk-demo__answer-heading > div span {
  color: #788190;
  font-size: 7px;
  letter-spacing: 0;
}

.talk-demo__reflection-trace {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.talk-demo__reflection-trace i {
  width: 4px;
  height: 4px;
  background: #346fb6;
  border-radius: 50%;
}

.talk-demo__answer {
  min-height: 176px;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid rgba(3, 59, 134, 0.14);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(18, 30, 48, 0.08);
}

.talk-demo__answer-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.talk-demo__answer > p {
  margin: 10px 0;
  color: #303947;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0;
}

.talk-demo__reasoning {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.talk-demo__reasoning span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5a6472;
  font-size: 7px;
  letter-spacing: 0;
}

.talk-demo__reasoning i {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  color: #fff;
  background: #25835b;
  border-radius: 50%;
  font-size: 6px;
  font-style: normal;
}

/* Clear Direction */
.direction-demo__body {
  position: relative;
  padding: 0;
}

.direction-demo__intake,
.direction-demo__plan {
  position: absolute;
  inset: 16px 20px 20px;
}

.direction-demo__intake {
  opacity: 0;
}

.direction-demo__intake-heading,
.direction-demo__plan-heading > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.direction-demo__intake-heading strong,
.direction-demo__plan-heading strong {
  color: #1e2631;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.direction-demo__intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.direction-demo__intake-grid > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 67px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 7px;
  box-shadow: 0 5px 13px rgba(18, 30, 48, 0.045);
}

.direction-demo__intake-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 7px;
}

.direction-demo__intake-icon svg {
  width: 17px;
  height: 17px;
}

.direction-demo__intake-icon--blue { color: #174f99; background: #e8f1fc; }
.direction-demo__intake-icon--coral { color: #b64b48; background: #fcecea; }
.direction-demo__intake-icon--green { color: #24704d; background: #e8f5ee; }
.direction-demo__intake-icon--teal { color: #0f766e; background: #e4f4f2; }

.direction-demo__intake-grid p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.direction-demo__intake-grid b {
  color: #27303c;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
}

.direction-demo__intake-grid p span {
  color: #77808f;
  font-size: 7px;
  line-height: 1.25;
  letter-spacing: 0;
}

.direction-demo__organizing {
  position: relative;
  width: 180px;
  height: 64px;
  margin: 14px auto 0;
}

.direction-demo__organizing > span,
.direction-demo__organizing > i,
.direction-demo__organizing > b {
  position: absolute;
  top: 29px;
  height: 1px;
  background: rgba(3, 59, 134, 0.24);
}

.direction-demo__organizing > span { right: 104px; left: 0; }
.direction-demo__organizing > i { right: 0; left: 104px; }
.direction-demo__organizing > b {
  top: 26px;
  left: 22px;
  width: 7px;
  height: 7px;
  background: #346fb6;
  border: 2px solid #f7f8fa;
  border-radius: 50%;
}

.direction-demo__organizing > div {
  position: absolute;
  top: 9px;
  left: 70px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(3, 59, 134, 0.18);
  overflow: hidden;
}

.direction-demo__organizing img {
  display: block;
  width: 100%;
  height: 100%;
}

.direction-demo__plan {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 9px;
  opacity: 1;
}

.direction-demo__plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direction-demo__plan-ready {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  color: #176b48;
  background: #eaf6ef;
  border: 1px solid rgba(23, 107, 72, 0.12);
  border-radius: 12px;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.direction-demo__plan-ready i {
  font-size: 7px;
  font-style: normal;
}

.direction-demo__priority {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 118px;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid rgba(3, 59, 134, 0.17);
  border-left: 3px solid #033b86;
  border-radius: 7px;
  box-shadow: 0 9px 22px rgba(18, 30, 48, 0.07);
}

.direction-demo__priority-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: #fff;
  background: #033b86;
  border-radius: 7px;
}

.direction-demo__priority-icon svg {
  width: 16px;
  height: 16px;
}

.direction-demo__priority > div {
  min-width: 0;
  padding-right: 88px;
}

.direction-demo__priority strong {
  display: block;
  margin-top: 4px;
  color: #1d2530;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.26;
  letter-spacing: 0;
}

.direction-demo__priority p {
  margin-top: 5px;
  color: #626c7a;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0;
}

.direction-demo__priority-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 7px;
  color: #174f99;
  background: #eaf2fc;
  border-radius: 12px;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.direction-demo__next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.direction-demo__next-steps > div {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-height: 58px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 6px;
}

.direction-demo__next-steps > div > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: #fff;
  background: #24805a;
  border-radius: 50%;
  font-size: 8px;
}

.direction-demo__next-steps > div:last-child > span {
  background: #7357b6;
}

.direction-demo__next-steps p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.direction-demo__next-steps b {
  color: #26303c;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0;
}

.direction-demo__next-steps p span {
  color: #6e7785;
  font-size: 7px;
  line-height: 1.3;
  letter-spacing: 0;
}

.direction-demo__why {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 9px;
  color: #5f6977;
  background: rgba(15, 118, 110, 0.055);
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 6px;
}

.direction-demo__why > span {
  color: #0f6b64;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.direction-demo__why p {
  font-size: 7px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Qualitative product motion */
.product-demo--unified.is-playing .unified-demo__source {
  animation: unified-source-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--source-order) * 160ms);
}

.product-demo--unified.is-playing .unified-demo__source > i {
  animation: unified-check-cycle var(--demo-duration) ease infinite;
  animation-delay: calc(var(--source-order) * 160ms);
}

.product-demo--unified.is-playing .unified-demo__merge > b {
  animation: unified-merge-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--unified.is-playing .unified-demo__profile {
  animation: qualitative-panel-arrive var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--unified.is-playing .unified-demo__profile-context > div {
  animation: unified-profile-row-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--profile-order) * 130ms);
}

.product-demo--unified.is-playing .unified-demo__complete {
  animation: qualitative-insight-arrive var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--patterns.is-playing .pattern-demo__thinking i,
.product-demo--talk.is-playing .talk-demo__reflection-trace i {
  animation: qualitative-dot-pulse 900ms ease-in-out infinite;
}

.product-demo--patterns.is-playing .pattern-demo__thinking i:nth-child(2),
.product-demo--talk.is-playing .talk-demo__reflection-trace i:nth-child(2) { animation-delay: 120ms; }

.product-demo--patterns.is-playing .pattern-demo__thinking i:nth-child(3),
.product-demo--talk.is-playing .talk-demo__reflection-trace i:nth-child(3) { animation-delay: 240ms; }

.product-demo--patterns.is-playing .pattern-demo__lane {
  animation: pattern-lane-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--lane-order) * 180ms);
}

.product-demo--patterns.is-playing .pattern-demo__track > em {
  animation: pattern-event-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--lane-order) * 180ms);
}

.product-demo--patterns.is-playing .pattern-demo__connections path {
  animation: pattern-connection-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--patterns.is-playing .pattern-demo__connections > span {
  animation: pattern-node-cycle var(--demo-duration) ease infinite;
}

.product-demo--patterns.is-playing .pattern-demo__relationship {
  animation: qualitative-insight-arrive var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--talk.is-playing .talk-demo__memory-list > span {
  animation: talk-memory-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--memory-order) * 120ms);
}

.product-demo--talk.is-playing .talk-demo__question {
  animation: talk-question-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--talk.is-playing .talk-demo__question > i {
  animation: talk-cursor-cycle 700ms steps(2, jump-none) infinite;
}

.product-demo--talk.is-playing .talk-demo__reflection {
  animation: talk-reflection-cycle var(--demo-duration) ease infinite;
}

.product-demo--talk.is-playing .talk-demo__answer {
  animation: talk-answer-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--direction.is-playing .direction-demo__intake {
  animation: direction-intake-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--direction.is-playing .direction-demo__intake-grid > div {
  animation: direction-card-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: calc(var(--intake-order) * 150ms);
}

.product-demo--direction.is-playing .direction-demo__organizing > b {
  animation: direction-organize-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--direction.is-playing .direction-demo__organizing > div {
  animation: direction-mirror-cycle var(--demo-duration) ease-in-out infinite;
}

.product-demo--direction.is-playing .direction-demo__plan {
  animation: direction-plan-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--direction.is-playing .direction-demo__priority,
.product-demo--direction.is-playing .direction-demo__next-steps,
.product-demo--direction.is-playing .direction-demo__why {
  animation: direction-plan-item-cycle var(--demo-duration) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-demo--direction.is-playing .direction-demo__next-steps { animation-delay: 160ms; }
.product-demo--direction.is-playing .direction-demo__why { animation-delay: 300ms; }

@keyframes unified-source-cycle {
  0%, 5% { opacity: 0.25; transform: translateY(7px) scale(0.98); }
  18%, 90% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0.3; transform: translateY(0) scale(1); }
}

@keyframes unified-check-cycle {
  0%, 11% { opacity: 0; transform: scale(0.45); }
  20%, 91% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.75); }
}

@keyframes unified-merge-cycle {
  0%, 19% { opacity: 0; transform: translateY(-9px); }
  32%, 72% { opacity: 1; transform: translateY(9px); }
  82%, 100% { opacity: 0; transform: translateY(9px); }
}

@keyframes qualitative-panel-arrive {
  0%, 25% { opacity: 0.25; transform: translateY(10px); }
  39%, 91% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0.35; transform: translateY(3px); }
}

@keyframes unified-profile-row-cycle {
  0%, 30% { opacity: 0; transform: translateY(6px); }
  45%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(2px); }
}

@keyframes qualitative-insight-arrive {
  0%, 48% { opacity: 0; transform: translateY(9px); }
  60%, 91% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(3px); }
}

@keyframes qualitative-dot-pulse {
  0%, 100% { opacity: 0.25; transform: translateY(1px); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes pattern-lane-cycle {
  0%, 8% { opacity: 0.25; transform: translateX(-8px); }
  24%, 91% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: 0.3; transform: translateX(0); }
}

@keyframes pattern-event-cycle {
  0%, 19% { opacity: 0; transform: translateX(-12px) scale(0.96); }
  35%, 92% { opacity: 1; transform: translateX(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateX(2px) scale(1); }
}

@keyframes pattern-connection-cycle {
  0%, 34% { opacity: 0; }
  44%, 91% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes pattern-node-cycle {
  0%, 38% { opacity: 0; transform: scale(0.4); transform-origin: center; }
  47%, 91% { opacity: 1; transform: scale(1); }
  64%, 70% { transform: scale(1.35); }
  67%, 74% { transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.7); }
}

@keyframes talk-memory-cycle {
  0%, 7% { opacity: 0.28; transform: translateY(4px); }
  20%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0.3; transform: translateY(0); }
}

@keyframes talk-question-cycle {
  0%, 7% { opacity: 0; transform: translateY(8px) scale(0.98); }
  17%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateY(2px) scale(1); }
}

@keyframes talk-cursor-cycle {
  0%, 44% { opacity: 1; }
  45%, 100% { opacity: 0; }
}

@keyframes talk-reflection-cycle {
  0%, 28% { opacity: 0; transform: translateY(7px); }
  36%, 49% { opacity: 1; transform: translateY(0); }
  55%, 100% { opacity: 0; transform: translateY(-3px); }
}

@keyframes talk-answer-cycle {
  0%, 49% { opacity: 0; transform: translateY(11px); clip-path: inset(0 0 100% 0); }
  62%, 92% { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
  98%, 100% { opacity: 0; transform: translateY(3px); clip-path: inset(0 0 0 0); }
}

@keyframes direction-intake-cycle {
  0%, 6% { opacity: 0; transform: translateY(8px); }
  16%, 42% { opacity: 1; transform: translateY(0); }
  49%, 100% { opacity: 0; transform: translateY(-5px); }
}

@keyframes direction-card-cycle {
  0%, 9% { opacity: 0; transform: translateY(9px) scale(0.98); }
  23%, 39% { opacity: 1; transform: translateY(0) scale(1); }
  47%, 100% { opacity: 0; transform: translateY(-5px) scale(0.98); }
}

@keyframes direction-organize-cycle {
  0%, 18% { opacity: 0; transform: translateX(0); }
  26% { opacity: 1; }
  43% { opacity: 1; transform: translateX(132px); }
  48%, 100% { opacity: 0; transform: translateX(132px); }
}

@keyframes direction-mirror-cycle {
  0%, 23% { box-shadow: 0 7px 18px rgba(3, 59, 134, 0.18); transform: scale(0.94); }
  37% { box-shadow: 0 7px 28px rgba(3, 59, 134, 0.32); transform: scale(1.08); }
  47%, 100% { box-shadow: 0 7px 18px rgba(3, 59, 134, 0.18); transform: scale(1); }
}

@keyframes direction-plan-cycle {
  0%, 43% { opacity: 0; transform: translateY(12px); }
  56%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(3px); }
}

@keyframes direction-plan-item-cycle {
  0%, 49% { opacity: 0; transform: translateY(8px); }
  62%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(2px); }
}

@container (max-width: 430px) {
  .product-demo__live {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unified-demo__body,
  .pattern-demo__body,
  .talk-demo__body {
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .unified-demo__source {
    min-height: 34px;
    padding: 4px 5px;
  }

  .unified-demo__source-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .unified-demo__source-icon svg {
    width: 12px;
    height: 12px;
  }

  .unified-demo__source > span:nth-child(2) {
    font-size: 7px;
  }

  .unified-demo__source > i {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    font-size: 6px;
  }

  .pattern-demo__lane {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .pattern-demo__axis {
    margin-left: 96px;
  }

  .pattern-demo__connections {
    left: 110px;
  }

  .pattern-demo__confidence {
    display: none;
  }

  .talk-demo__answer {
    min-height: 182px;
  }

  .direction-demo__intake,
  .direction-demo__plan {
    right: 16px;
    left: 16px;
  }

  .direction-demo__priority > div {
    padding-right: 0;
  }

  .direction-demo__priority-tag {
    display: none;
  }
}

@container (max-width: 320px) {
  .product-demo__live {
    max-width: none;
    font-size: 0;
  }

  .unified-demo__source-icon {
    display: none;
  }

  .unified-demo__profile-context p {
    display: none;
  }

  .unified-demo__profile-context > div {
    min-height: 34px;
  }

  .pattern-demo__thinking {
    font-size: 0;
  }

  .pattern-demo__lane {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .pattern-demo__lane-label {
    gap: 4px;
    font-size: 7px;
  }

  .pattern-demo__lane-label i {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .pattern-demo__axis {
    margin-left: 78px;
  }

  .pattern-demo__connections {
    left: 92px;
  }

  .talk-demo__memory-list > span:last-child {
    display: none;
  }

  .talk-demo__answer > p {
    font-size: 9px;
  }

  .talk-demo__reasoning span {
    font-size: 6px;
  }

  .direction-demo__intake-grid > div {
    min-height: 58px;
    padding: 7px;
  }

  .direction-demo__intake-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .direction-demo__next-steps {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .direction-demo__next-steps > div {
    min-height: 44px;
    padding: 6px 8px;
  }

  .direction-demo__why {
    min-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unified-demo__source,
  .unified-demo__source > i,
  .unified-demo__profile,
  .unified-demo__profile-context > div,
  .unified-demo__complete,
  .pattern-demo__lane,
  .pattern-demo__track > em,
  .pattern-demo__connections path,
  .pattern-demo__connections > span,
  .pattern-demo__relationship,
  .talk-demo__memory-list > span,
  .talk-demo__question,
  .talk-demo__answer,
  .direction-demo__plan,
  .direction-demo__priority,
  .direction-demo__next-steps,
  .direction-demo__why {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .unified-demo__merge > b,
  .pattern-demo__thinking,
  .talk-demo__reflection,
  .talk-demo__question > i,
  .direction-demo__intake {
    display: none !important;
  }
}

/* ---------- Train by the Numbers ---------- */
.numbers-section {
  padding: 120px 0;
}

.numbers-section .section-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 64px;
  text-align: center;
}

.numbers-section .section-header h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  color: #222326;
  letter-spacing: -0.5px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.numbers-item {
  padding: 40px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.numbers-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.numbers-ordinal {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  margin-bottom: 20px;
}

.numbers-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.numbers-item p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6e6e73;
}

/* ---------- Manifesto / Philosophy ---------- */
.manifesto-section {
  padding: 120px 0;
  background: #111113;
  color: #fff;
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.manifesto-inner h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 64px;
  letter-spacing: -0.5px;
}

.manifesto-beliefs {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.manifesto-beliefs p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 120px 0 80px;
  overflow: hidden;
}

.testimonials .section-header {
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.testimonials .section-header h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  color: #222326;
  letter-spacing: -0.5px;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-track-wrapper::before,
.testimonials-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.testimonials-track-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scrollTestimonials 40s linear infinite;
  width: max-content;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 400px;
  padding: 32px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #FFB800;
}

.testimonial-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #222326;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 120px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.12;
  color: #222326;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #616265;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 100px;
  background: #222326;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.cta-btn svg {
  width: 22px;
  height: 22px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
  filter: invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: #616265;
  line-height: 1.5;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #222326;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #616265;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #222326;
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-bottom p {
  font-size: 14px;
  color: #616265;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #616265;
}

/* ---------- App Store Badge ---------- */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  margin-top: 24px;
  transition: transform 0.2s;
}

.app-badge:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.app-badge svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
}

.app-badge-text .small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
}

.app-badge-text .big {
  font-size: 16px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 50px;
  }

  .feature-block {
    gap: 48px;
  }

  .feature-text h2 {
    font-size: 38px;
  }

  .numbers-section .section-header h2,
  .testimonials .section-header h2 {
    font-size: 40px;
  }

  .manifesto-inner h2 {
    font-size: 40px;
  }

  .cta-section h2 {
    font-size: 42px;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    position: relative;
    min-height: 38px;
  }

  .nav-inner>a:first-child {
    justify-self: start;
    margin-right: 0;
  }

  .nav-logo {
    height: 32px;
  }

  .nav-link-item {
    display: none;
  }

  .nav-links {
    display: none !important;
  }

  .nav-auth {
    margin-left: 0;
    gap: 8px;
    justify-self: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
  }

  .nav-auth-pill {
    min-height: 34px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  }

  .nav.scrolled .mobile-nav-toggle,
  body.shop-detail-mode .mobile-nav-toggle {
    color: #1f2937;
    border-color: rgba(31, 41, 55, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(243, 244, 246, 0.82));
  }

  .mobile-nav-toggle:hover {
    transform: translateY(-1px);
  }

  .mobile-nav-toggle svg {
    width: 20px;
    height: 20px;
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 3500;
    pointer-events: none;
  }

  .mobile-nav-overlay.is-open {
    pointer-events: auto;
  }

  .mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  .mobile-nav-overlay.is-open .mobile-nav-backdrop {
    opacity: 1;
  }

  .mobile-nav-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 88px 24px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
    color: #1d1d1f;
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.16);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .mobile-nav-overlay.is-open .mobile-nav-panel {
    transform: translateX(0);
  }

  .mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #374151;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mobile-nav-links a,
  .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 42px;
    padding: 10px 24px;
    border-radius: 100px;
    color: #222326 !important;
    font-size: 15px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(34, 35, 38, 0.08);
    box-shadow: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.4s;
  }

  .mobile-nav-links a.active {
    border-color: rgba(34, 35, 38, 0.2);
  }

  .mobile-nav-cart-link {
    gap: 10px;
  }

  .mobile-nav-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #033b86;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-nav-cta {
    margin-top: 16px;
  }

  .mobile-nav-cta svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
  }

  .mobile-nav-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero {
    min-height: calc(var(--stable-vh, 1vh) * 85);
  }

  .hero-bg img {
    transform: none;
    object-position: 35% center;
    will-change: auto;
  }

  .hero-assistant {
    max-width: 760px;
    margin-bottom: 24px;
  }

  .hero-query-surface {
    min-height: 118px;
    padding: 20px;
    border-radius: 24px;
  }

  .hero-query-input {
    font-size: 18px;
    min-height: 48px;
  }

  .hero-query-submit {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .hero-prompt-row {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hero-prompt-row::-webkit-scrollbar {
    display: none;
  }

  .hero-prompt {
    flex: 0 0 auto;
    max-width: 280px;
    scroll-snap-align: center;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .container {
    padding: 0 20px;
  }

  .feature-block {
    flex-direction: column !important;
    gap: 40px;
    padding: 40px 20px;
  }

  .feature-text h2 {
    font-size: 32px;
  }

  .feature-text p {
    font-size: 17px;
  }

  .feature-visual {
    width: 100%;
  }

  .product-demo {
    max-width: 100%;
    min-height: 430px;
  }

  .numbers-section {
    padding: 80px 0;
  }

  .numbers-section .section-header {
    padding: 0 20px 40px;
  }

  .numbers-section .section-header h2 {
    font-size: 32px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }

  .numbers-item {
    padding: 28px 24px;
  }

  .manifesto-section {
    padding: 80px 0;
  }

  .manifesto-inner {
    padding: 0 20px;
  }

  .manifesto-inner h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .manifesto-beliefs p {
    font-size: 16px;
  }

  .testimonials .section-header h2 {
    font-size: 32px;
  }

  .testimonial-card {
    flex: 0 0 300px;
    padding: 24px;
  }

  .cta-section h2 {
    font-size: 34px;
  }

  .cta-section p {
    font-size: 17px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    text-align: center;
  }

  .footer-bottom p {
    white-space: nowrap;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(8px, 3.2vw, 16px);
    max-width: 100%;
  }

  .footer-social a {
    flex: 0 0 auto;
    width: clamp(30px, 9.2vw, 36px);
    height: clamp(30px, 9.2vw, 36px);
  }

  .section-rule {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: calc(14px + env(safe-area-inset-top, 0px)) 12px 14px;
  }

  .nav-logo {
    height: 28px;
  }

  .nav-cta {
    padding: 8px 10px;
    font-size: 11px;
  }

  .nav-auth {
    margin-left: 0;
    gap: 6px;
  }

  .nav-auth-pill {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .mobile-nav-toggle {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .mobile-nav-toggle svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav-panel {
    padding: 78px 16px 22px;
  }

  .mobile-nav-links a,
  .mobile-nav-cta {
    min-height: 40px;
    padding: 9px 20px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-content {
    padding: 92px 16px 54px;
  }

  .hero-assistant {
    margin-bottom: 22px;
  }

  .hero-query-surface {
    min-height: 108px;
    padding: 16px;
    border-radius: 22px;
  }

  .hero-query-input {
    font-size: 16px;
    min-height: 42px;
  }

  .hero-query-attach {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 24px;
  }

  .hero-query-submit {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .hero-query-submit svg {
    width: 22px;
    height: 22px;
  }

  .hero-prompt-row {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-prompt {
    min-height: 40px;
    max-width: 250px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero-prompt svg {
    width: 17px;
    height: 17px;
  }

  .hero-cta-primary {
    font-size: 16px;
    padding: 14px 28px;
  }

  .hero-cta-secondary {
    font-size: 15px;
  }

  .feature-text h2 {
    font-size: 28px;
  }

  .product-demo {
    min-height: 438px;
  }

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

  .manifesto-inner h2 {
    font-size: 26px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

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

/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* ---------- About Hero Banner ---------- */
.about-hero {
  position: relative;
  padding: 180px 40px 100px;
  text-align: center;
  background: #000;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.about-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.about-hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1px;
}

.about-hero h1 sup {
  font-size: 0.5em;
  top: -0.6em;
}

/* ---------- Our Story Section ---------- */
.about-story {
  padding: 120px 0;
}

.about-story-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-story-inner--full {
  display: block;
}

.about-story-image {
  flex: 1;
  min-width: 0;
}

.about-story-image img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.04);
}

.about-story-text {
  flex: 1;
  min-width: 0;
}

.about-story-text--full {
  max-width: none;
}

.about-story-text h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}

.about-story-text p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #6e6e73;
  margin-bottom: 20px;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

.about-story-text strong {
  color: #1d1d1f;
  font-weight: 600;
}

.about-story-text sup {
  font-size: 0.6em;
}

/* ---------- Why Customers Love Us ---------- */
.about-customers {
  padding: 100px 0;
  background: linear-gradient(180deg, #f3f6f7 0%, #edf0f2 100%);
}

.about-customers-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-customers-inner h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  margin-bottom: 48px;
  letter-spacing: -0.025em;
  text-align: center;
}

.about-customers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-customer-card {
  background: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-customer-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-customer-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3f6f7 0%, #e8ecee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.about-customer-icon svg {
  width: 26px;
  height: 26px;
  stroke: #222326;
}

.about-customer-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 14px;
}

.about-customer-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #6e6e73;
}

/* ---------- Core Values ---------- */
.about-values {
  padding: 120px 0;
}

.about-values-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-values-header {
  text-align: center;
  margin-bottom: 64px;
}

.about-values-header h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  letter-spacing: -0.025em;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.about-value-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-value-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  line-height: 1;
}

.about-value-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6e6e73;
}

/* ---------- Collaborators ---------- */
.about-collaborators {
  padding: 100px 0;
  background: #f3f6f7;
}

.about-collaborators-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.about-collaborators-inner h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.about-collaborators-sub {
  font-size: 18px;
  font-weight: 400;
  color: #6e6e73;
  margin-bottom: 56px;
}

.about-collaborators-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.collab-logo {
  opacity: 0.6;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.collab-logo:hover {
  opacity: 1;
}

/* ---------- Active Nav Link ---------- */
.nav-links a.active {
  opacity: 1;
  font-weight: 600;
}

/* ---------- About Page Responsive ---------- */
@media (max-width: 1024px) {
  .about-hero h1 {
    font-size: 44px;
  }

  .about-story-inner {
    gap: 48px;
  }

  .about-story-text h2,
  .about-customers-inner h2,
  .about-values-header h2,
  .about-collaborators-inner h2 {
    font-size: 36px;
  }

  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 140px 20px 80px;
  }

  .about-hero h1 {
    font-size: 36px;
  }

  .about-story {
    padding: 80px 0;
  }

  .about-story-inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .about-story-text h2 {
    font-size: 32px;
  }

  .about-customers {
    padding: 80px 0;
  }

  .about-customers-inner {
    padding: 0 20px;
  }

  .about-customers-inner h2 {
    font-size: 32px;
  }

  .about-customers-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    padding: 80px 0;
  }

  .about-values-inner {
    padding: 0 20px;
  }

  .about-values-header h2 {
    font-size: 32px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-collaborators-inner {
    padding: 0 20px;
  }

  .about-collaborators-inner h2 {
    font-size: 32px;
  }

  .about-collaborators-logos {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 28px;
  }

  .about-customer-card {
    padding: 32px 24px;
  }

  .about-value-card {
    padding: 28px 24px;
  }
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* ---------- Shop Hero Banner ---------- */
.shop-hero {
  position: relative;
  padding: 180px 40px 100px;
  text-align: center;
  background: #000;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero::after {
  display: none;
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.shop-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.shop-hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.shop-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Category Navigation ---------- */
.shop-categories {
  padding: 80px 0 0;
  background: #f3f6f7;
}

.shop-categories-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.shop-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-category-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.shop-category-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.shop-category-img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f8f9fa;
}

.shop-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-category-card:hover .shop-category-img img {
  transform: scale(1.08);
}

.shop-category-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222326;
  letter-spacing: -0.01em;
}

/* ---------- Shipping Banner ---------- */
.shop-shipping-banner {
  background: #f3f6f7;
  padding: 40px 0 0;
}

.shop-shipping-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #222326 0%, #2d3047 100%);
  border-radius: 20px;
  color: #fff;
}

.shop-shipping-inner svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.shop-shipping-inner span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Products Section ---------- */
.shop-products {
  padding: 100px 0 120px;
  background: #f3f6f7;
}

.shop-products-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.shop-products-header {
  text-align: center;
  margin-bottom: 40px;
}

.shop-products-header h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.shop-products-header p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #6e6e73;
}

/* ---------- Filter Bar ---------- */
.shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.shop-filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #616265;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.shop-filter-btn:hover {
  border-color: #222326;
  color: #222326;
}

.shop-filter-btn.active {
  background: #222326;
  color: #fff;
  border-color: #222326;
}

/* ---------- Product Grid ---------- */
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease,
    opacity 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.shop-product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

.shop-product-card:focus-visible {
  outline: 3px solid rgba(34, 35, 38, 0.2);
  outline-offset: 4px;
}

.shop-product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f9fa;
}

.shop-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shop-product-card:hover .shop-product-img img {
  transform: scale(1.06);
}

.shop-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1.5px solid #ff2b00;
  border-radius: 50%;
  background: #fff;
  color: #ff2b00;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  pointer-events: none;
}

.shop-stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border: 1px solid #b42318;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff;
  color: #b42318;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.shop-product-card.is-sold-out .shop-sale-badge {
  top: 62px;
}

.shop-product-info {
  padding: 20px 20px 16px;
  flex: 1;
}

.shop-product-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.shop-product-price {
  font-size: 15px;
  font-weight: 500;
  color: #222326;
}

.price-current {
  color: #222326;
  font-weight: 600;
}

.price-original {
  color: #aaabae;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.shop-product-link {
  display: block;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #222326;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s, color 0.2s;
}

.shop-product-link:hover {
  background: #222326;
  color: #fff;
  opacity: 1;
}

.shop-product-card-skeleton {
  cursor: default;
  pointer-events: none;
}

.shop-product-card-skeleton:hover {
  transform: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.shop-product-card-skeleton .shop-product-img,
.shop-skeleton-line,
.shop-skeleton-button {
  background: linear-gradient(90deg, #eef1f4 0%, #f8fafc 45%, #eef1f4 100%);
  background-size: 220% 100%;
  animation: shop-skeleton-shimmer 1.2s ease-in-out infinite;
}

.shop-skeleton-line,
.shop-skeleton-button {
  display: block;
  border-radius: 999px;
}

.shop-skeleton-title {
  width: 78%;
  height: 16px;
  margin-bottom: 12px;
}

.shop-skeleton-price {
  width: 42%;
  height: 14px;
}

.shop-skeleton-button {
  flex: 1;
  min-height: 40px;
}

@keyframes shop-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-card-skeleton .shop-product-img,
  .shop-skeleton-line,
  .shop-skeleton-button {
    animation: none;
  }
}

/* ---------- Shop Page Responsive ---------- */
@media (max-width: 1024px) {
  .shop-hero h1 {
    font-size: 48px;
  }

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

  .shop-products-header h2 {
    font-size: 36px;
  }

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

@media (max-width: 768px) {
  .shop-hero {
    padding: 140px 20px 80px;
  }

  .shop-hero h1 {
    font-size: 40px;
  }

  .shop-hero-sub {
    font-size: 16px;
  }

  .shop-categories-inner {
    padding: 0 20px;
  }

  .shop-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .shop-category-img {
    width: 100px;
    height: 100px;
  }

  .shop-shipping-inner {
    margin: 0 20px;
  }

  .shop-products {
    padding: 80px 0;
  }

  .shop-products-inner {
    padding: 0 20px;
  }

  .shop-products-header h2 {
    font-size: 32px;
  }

  .shop-filter-bar {
    gap: 6px;
  }

  .shop-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .shop-hero h1 {
    font-size: 32px;
  }

  .shop-categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .shop-category-card {
    padding: 20px 16px;
  }

  .shop-category-img {
    width: 80px;
    height: 80px;
  }

  .shop-products-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-info {
    padding: 16px 16px 12px;
  }
}

/* ============================================
   HEADLESS SHOP STOREFRONT UI
   ============================================ */
.shop-nav-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-nav-cart-link [data-shop-cart-count] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1ch;
}

.shop-nav-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.shop-nav-cart-icon {
  width: 18px;
  height: 18px;
  margin-top: -1px;
}

.shop-nav-cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  border: 2px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  background: #033b86;
  color: #fff;
  box-shadow: 0 4px 12px rgba(3, 59, 134, 0.35);
}

[data-shop-cart-count]:empty {
  visibility: hidden;
}

.shop-privacy-strip {
  background: #f3f6f7;
  padding: 32px 0 12px;
}

.shop-privacy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: #3c3d42;
}

.shop-privacy-inner h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1d1d1f;
}

.shop-privacy-inner p {
  font-size: 15px;
  line-height: 1.65;
  color: #5d5f66;
}

.shop-inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #033b86;
}

.shop-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.shop-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: #033b86;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.shop-pill-link:not(.shop-pill-link-secondary):hover {
  background: #002e7e;
  opacity: 1;
}

.shop-pill-link-secondary {
  background: #fff;
  color: #222326;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.shop-data-status {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 12px;
  padding: 10px 14px;
}

.shop-data-status[data-state="loading"] {
  background: rgba(3, 59, 134, 0.12);
  color: #155f93;
}

.shop-data-status[data-state="error"] {
  background: rgba(220, 38, 38, 0.1);
  color: #a71b1b;
}

.shop-data-status[data-state="empty"] {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.shop-card-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.shop-card-link,
.shop-card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  border: none;
}

.shop-card-link {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #222326;
  background: #fff;
}

.shop-card-btn {
  background: #033b86;
  color: #fff;
  cursor: pointer;
}

.shop-card-btn:not(.shop-card-btn-secondary):hover {
  background: #002e7e;
  opacity: 1;
}

.shop-card-btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #222326;
}

.shop-card-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.shop-product-card.is-sold-out .shop-card-btn:disabled {
  border-color: #c7cbd1;
  background: #e5e7eb;
  color: #6b7280;
  opacity: 1;
}

.shop-product-card.is-sold-out .shop-card-btn-secondary:disabled {
  border-color: #d1d5db;
  background: #f3f4f6;
  color: #9ca3af;
}

.shop-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  background: #222326;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  font-size: 14px;
}

.shop-toast[data-state="success"] {
  background: #14532d;
}

.shop-toast[data-state="error"] {
  background: #991b1b;
}

.shop-products-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.shop-search-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(460px, 100%);
}

.shop-search-group span {
  font-size: 13px;
  font-weight: 600;
  color: #5d5f66;
}

.shop-search-group input {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
  color: #1d1d1f;
}

.shop-search-group input:focus {
  outline: 2px solid rgba(3, 59, 134, 0.32);
  border-color: #033b86;
}

.shop-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.shop-load-more-btn {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #222326;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.shop-load-more-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.shop-product-detail-page {
  padding: 132px 0 96px;
  background: #fff;
}

.shop-detail-shell {
  max-width: 1120px;
}

.shop-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #8f97a5;
  margin-bottom: 22px;
}

.shop-detail-breadcrumb a {
  color: #8f97a5;
  font-weight: 500;
}

.shop-detail-breadcrumb span:last-child {
  color: #374151;
  font-weight: 600;
}

.shop-back-link {
  margin-bottom: 18px;
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.shop-detail-media {
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.shop-detail-main-image-frame {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  --shop-image-zoom-x: 50%;
  --shop-image-zoom-y: 50%;
}

.shop-detail-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  opacity: 1;
  transform: scale(1);
  transform-origin: var(--shop-image-zoom-x) var(--shop-image-zoom-y);
  transition:
    opacity 0.18s ease,
    transform 0.22s ease;
  will-change: transform;
}

.shop-detail-main-image.is-hidden {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .shop-detail-main-image-frame.is-zooming .shop-detail-main-image {
    transform: scale(1.85);
  }
}

@media (hover: none), (pointer: coarse) {
  .shop-detail-main-image-frame {
    cursor: default;
  }
}

.shop-detail-gallery-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 86px;
  padding: 18px 8px 0;
}

.shop-detail-gallery-thumbs[hidden] {
  display: none;
}

.shop-detail-gallery-thumb {
  width: 84px;
  height: 76px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #fff;
  opacity: 0.72;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.shop-detail-gallery-thumb:hover,
.shop-detail-gallery-thumb:focus-visible,
.shop-detail-gallery-thumb.is-active {
  border-color: rgba(17, 24, 39, 0.42);
  opacity: 1;
}

.shop-detail-gallery-thumb:focus-visible {
  outline: 2px solid #033b86;
  outline-offset: 3px;
}

.shop-detail-gallery-thumb.is-active {
  transform: translateY(-1px);
}

.shop-detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.shop-detail-content {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 430px;
}

.shop-detail-content h1 {
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #111827;
}

.shop-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.shop-detail-sku {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

.shop-detail-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.shop-detail-price {
  font-size: 34px;
  font-weight: 700;
  color: #1f2937;
}

.shop-detail-availability {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 600;
}

.shop-detail-availability.is-available {
  color: #2f9e44;
}

.shop-detail-availability.is-unavailable {
  color: #b45309;
}

.shop-detail-description {
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
  max-width: 920px;
}

.shop-detail-description p {
  margin-bottom: 14px;
}

.shop-detail-options {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.shop-option-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-option-group span {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.shop-option-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-option-pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid #cfd5df;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.shop-option-pill.is-active {
  border-color: #111827;
  color: #111827;
  background: #f4f4f5;
}

.shop-detail-actions {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) minmax(170px, 1fr);
  align-items: start;
  gap: 12px;
  margin-bottom: 8px;
}

.shop-detail-actions.is-sold-out {
  grid-template-columns: 1fr;
  gap: 18px;
}

.shop-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: none;
  background: transparent;
}

.shop-detail-actions.is-sold-out .shop-qty-control {
  display: none;
}

.shop-qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: #111827;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-qty-control input {
  width: 38px;
  height: 28px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  background: transparent;
  -moz-appearance: textfield;
}

.shop-qty-control input:focus {
  outline: none;
}

.shop-qty-control input::-webkit-outer-spin-button,
.shop-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-detail-actions .shop-card-btn,
.shop-detail-actions .shop-card-btn-secondary {
  min-height: 42px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
}

.shop-detail-actions .shop-card-btn {
  border: 1px solid #033b86;
  background: #033b86;
  color: #fff;
}

.shop-detail-actions.is-sold-out [data-shop-detail-add] {
  min-height: 58px;
  border: 2px solid #12384a;
  background: #fff;
  color: #12384a;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
  cursor: not-allowed;
}

.shop-detail-actions.is-sold-out [data-shop-detail-add]:hover {
  background: #fff;
  color: #12384a;
  opacity: 1;
}

.shop-detail-actions .shop-card-btn-secondary {
  border: 1px solid #e8b82d;
  background: #f7c842;
  color: #111827;
}

.shop-express-payment {
  display: grid;
  align-self: start;
  gap: 6px;
  min-width: 0;
}

.shop-express-payment.is-sold-out {
  gap: 12px;
}

.shop-express-payment .shop-card-btn {
  width: 100%;
}

.shop-express-payment .shop-card-btn[hidden],
.shop-express-payment .shop-detail-more-payments[hidden] {
  display: none !important;
}

.shop-wallet-form {
  display: block;
  width: 100%;
  margin: 0;
}

.shop-wallet-form[hidden] {
  display: none;
}

.shop-wallet-host,
.shop-wallet-host .shopify-payment-button,
.shop-wallet-host shopify-accelerated-checkout {
  display: block;
  width: 100%;
  min-width: 0;
}

.shop-wallet-host shopify-accelerated-checkout {
  --shopify-accelerated-checkout-button-block-size: 42px;
  --shopify-accelerated-checkout-button-border-radius: 2px;
  --shopify-accelerated-checkout-skeleton-background-color: #f7c842;
}

.shop-wallet-host .shopify-payment-button {
  margin: 0;
}

.shop-wallet-host .shopify-payment-button__more-options {
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.shop-detail-actions .shop-card-btn:disabled,
.shop-detail-actions .shop-card-btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shop-detail-actions.is-sold-out [data-shop-detail-add]:disabled {
  opacity: 1;
}

.shop-express-payment.is-sold-out .shop-card-btn-secondary:disabled {
  min-height: 52px;
  border-color: #8b8b8b;
  background: #8b8b8b;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  opacity: 1;
}

.shop-detail-more-payments {
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: underline;
}

.shop-detail-more-payments.is-disabled {
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
}

.shop-express-payment .shop-detail-more-payments {
  margin: 0 auto;
}

.shop-detail-notes {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 14px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.shop-detail-notes li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.shop-detail-notes li::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 0;
  color: #111827;
  font-size: 11px;
}

.shop-detail-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 0 2px;
  margin: 0 0 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-detail-tabs button {
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
}

.shop-detail-tabs button.is-active {
  color: #1f3657;
  border-bottom: 2px solid #1f3657;
}

.shop-detail-tabs button:disabled {
  cursor: default;
}

.shop-detail-overview {
  padding-top: 8px;
}

.shop-detail-overview-card {
  border-radius: 24px;
  padding: 26px 28px;
  background: linear-gradient(145deg, #0b0b0d 0%, #141419 100%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-detail-overview .shop-detail-description {
  color: rgba(255, 255, 255, 0.9);
}

.shop-detail-overview .shop-detail-description p {
  color: inherit;
}

.shop-detail-recommendations {
  padding-top: 78px;
}

.shop-detail-recommendations[hidden] {
  display: none;
}

.shop-detail-recommendations-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.shop-detail-recommendations-header h2 {
  grid-column: 2;
  max-width: 760px;
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
}

.shop-detail-recommendations-controls {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-detail-recommendations-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  background: #fff;
  color: #222326;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.shop-detail-recommendations-controls button:hover:not(:disabled) {
  border-color: #222326;
}

.shop-detail-recommendations-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.shop-detail-recommendations-controls button[hidden] {
  display: none;
}

.shop-detail-recommendations-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-recommended-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shop-recommended-track::-webkit-scrollbar {
  display: none;
}

.shop-recommended-track .shop-product-card {
  scroll-snap-align: start;
  border-radius: 24px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.shop-recommended-track .shop-product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

.shop-recommended-track .shop-product-img {
  background: #f8f9fa;
}

.shop-recommended-track .shop-product-img img {
  object-fit: cover;
  padding: 0;
}

.shop-recommended-track .shop-product-card:hover .shop-product-img img {
  transform: scale(1.06);
}

.shop-recommended-track .shop-product-info {
  padding: 20px 20px 16px;
}

.shop-recommended-track .shop-product-info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.shop-recommended-track .shop-product-price {
  font-size: 15px;
  font-weight: 500;
  color: #222326;
}

.shop-recommended-track .shop-product-price::before {
  content: "From";
  display: block;
  margin-bottom: 4px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 500;
}

.shop-recommended-track .shop-card-actions {
  display: none;
}

.shop-cart-page {
  padding-top: 70px;
}

.shop-empty-state {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}

.shop-empty-state h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.shop-empty-state p {
  color: #5d5f66;
  margin-bottom: 18px;
}

.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.shop-cart-lines {
  display: grid;
  gap: 12px;
}

.shop-cart-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px;
}

.shop-cart-line.is-updating {
  opacity: 0.6;
}

.shop-cart-line-image-wrap {
  display: block;
}

.shop-cart-line-image {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f6f7;
}

.shop-cart-line-title {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.shop-cart-line-price {
  font-size: 14px;
  color: #54565c;
  margin-bottom: 10px;
}

.shop-cart-line-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-line-remove {
  border: none;
  background: transparent;
  color: #ad1b1b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.shop-cart-line-total {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.shop-cart-summary {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px;
  height: fit-content;
}

.shop-cart-summary h2 {
  font-size: 21px;
  margin-bottom: 16px;
}

.shop-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4f5055;
}

.shop-cart-summary-total {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 17px;
  color: #1d1d1f;
}

.shop-checkout-btn {
  margin-top: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  background: #222326;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.shop-checkout-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shop-cart-legal-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b6d74;
}

.legal-page {
  background: #ffffff;
  color: #1d1d1f;
}

body.legal-body .nav,
body.legal-body .nav.scrolled {
  border-top: 2px solid #222326;
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.1);
}

body.legal-body .nav .nav-logo,
body.legal-body .nav.scrolled .nav-logo {
  filter: invert(1);
}

body.legal-body .nav .nav-links a,
body.legal-body .nav.scrolled .nav-links a {
  color: #222326;
}

body.legal-body .nav .nav-cta,
body.legal-body .nav.scrolled .nav-cta {
  background: #222326;
  color: #ffffff !important;
}

body.legal-body .mobile-nav-toggle,
body.legal-body .nav.scrolled .mobile-nav-toggle {
  border-color: rgba(31, 41, 55, 0.16);
  background: #f7f7f8;
  color: #1f2937;
}

.legal-hero {
  padding: 154px 24px 72px;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.legal-eyebrow {
  margin-bottom: 16px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 780px;
  color: #1d1d1f;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.legal-hero-copy {
  max-width: 690px;
  margin-top: 22px;
  color: #5f6065;
  font-size: 20px;
  line-height: 1.55;
}

.legal-dates {
  display: flex;
  gap: 48px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-dates div {
  display: grid;
  gap: 5px;
}

.legal-dates dt {
  color: #86868b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-dates dd {
  color: #303136;
  font-size: 15px;
  font-weight: 500;
}

.legal-content-band {
  padding: 82px 24px 124px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 78px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.legal-toc {
  position: sticky;
  top: 108px;
  align-self: start;
  max-height: calc(100vh - 132px);
  padding-right: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.legal-toc > p {
  margin-bottom: 16px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 700;
}

.legal-toc nav {
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: #77787d;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: #033b86;
}

.legal-mobile-toc {
  display: none;
}

.legal-document {
  min-width: 0;
  color: #424348;
  font-size: 16px;
  line-height: 1.78;
}

.legal-preamble {
  margin-bottom: 58px;
  padding: 28px 30px;
  border-left: 3px solid #033b86;
  border-radius: 0 6px 6px 0;
  background: #f6f7f9;
}

.legal-preamble p,
.legal-preamble ul {
  margin-bottom: 16px;
}

.legal-preamble > :last-child {
  margin-bottom: 0;
}

.legal-document h2 {
  scroll-margin-top: 118px;
  margin: 62px 0 20px;
  padding-top: 54px;
  border-top: 1px solid #e6e6e8;
  color: #1d1d1f;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.legal-document .legal-preamble + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-document p {
  margin-bottom: 20px;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 12px;
  margin: 0 0 24px 22px;
  padding-left: 8px;
}

.legal-document ul {
  list-style: disc;
}

.legal-document ol {
  list-style: decimal;
}

.legal-document li {
  padding-left: 5px;
}

.legal-document li > p {
  margin-bottom: 0;
}

.legal-document strong {
  color: #202124;
  font-weight: 650;
}

.legal-document a {
  color: #033b86;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document .legal-emphasis {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid #303136;
  background: #f5f5f7;
  color: #25262a;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  body.legal-body .nav,
  body.legal-body .nav.scrolled {
    border-top: 0;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
  }

  .legal-toc {
    display: none;
  }

  .legal-mobile-toc {
    display: block;
    margin-bottom: 34px;
    padding: 17px 0;
    border-top: 1px solid #dedee1;
    border-bottom: 1px solid #dedee1;
  }

  .legal-mobile-toc summary {
    color: #303136;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
  }

  .legal-mobile-toc nav {
    display: grid;
    gap: 12px;
    margin-top: 18px;
  }

  .legal-mobile-toc a {
    color: #68696e;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding: 124px 20px 48px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-hero-copy {
    margin-top: 16px;
    font-size: 17px;
  }

  .legal-dates {
    gap: 28px;
    margin-top: 30px;
  }

  .legal-content-band {
    padding: 48px 20px 88px;
  }

  .legal-preamble {
    margin-bottom: 44px;
    padding: 22px 20px;
  }

  .legal-document {
    font-size: 15px;
    line-height: 1.75;
  }

  .legal-document h2 {
    margin-top: 48px;
    padding-top: 42px;
    font-size: 24px;
  }

  .legal-document ul,
  .legal-document ol {
    margin-left: 17px;
    padding-left: 5px;
  }
}

@media (max-width: 900px) {
  .shop-products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-actions-row {
    flex-wrap: wrap;
  }

  .shop-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-product-detail-page {
    padding: 116px 0 72px;
  }

  .shop-detail-content {
    max-width: none;
    padding: 0;
  }

  .shop-detail-content h1 {
    font-size: 40px;
  }

  .shop-detail-main-image-frame {
    aspect-ratio: 1 / 0.9;
  }

  .shop-detail-gallery-thumbs {
    justify-content: flex-start;
    gap: 12px;
    min-height: 76px;
    padding: 14px 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .shop-detail-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .shop-detail-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 64px;
  }

  .shop-detail-actions {
    grid-template-columns: 1fr 1fr;
  }

  .shop-qty-control {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .shop-detail-tabs {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .shop-detail-overview-card {
    padding: 22px 22px;
  }

  .shop-detail-recommendations {
    padding-top: 64px;
  }

  .shop-detail-recommendations-header {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .shop-detail-recommendations-header h2,
  .shop-detail-recommendations-controls {
    grid-column: 1;
  }

  .shop-detail-recommendations-controls {
    justify-self: center;
  }

  .shop-recommended-track {
    grid-auto-columns: minmax(260px, 44vw);
  }

  .shop-cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shop-nav-cart-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .shop-nav-cart-icon {
    width: 17px;
    height: 17px;
  }

  .shop-nav-cart-count {
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 9px;
  }

  .shop-privacy-inner {
    padding: 0 20px;
  }

  .shop-privacy-inner h2 {
    font-size: 20px;
  }

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

  .shop-detail-actions {
    grid-template-columns: 1fr;
  }

  .shop-detail-content h1 {
    font-size: 34px;
  }

  .shop-detail-price {
    font-size: 30px;
  }

  .shop-detail-more-payments {
    margin-left: auto;
    margin-right: auto;
  }

  .shop-detail-tabs {
    gap: 14px;
  }

  .shop-detail-overview-card {
    border-radius: 20px;
    padding: 18px 16px;
  }

  .shop-detail-recommendations {
    padding-top: 58px;
  }

  .shop-detail-recommendations-header h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .shop-detail-recommendations-controls {
    display: none;
  }

  .shop-recommended-track {
    grid-auto-columns: minmax(248px, 76vw);
    gap: 14px;
    margin-right: -20px;
    padding-bottom: 10px;
    scroll-padding-left: 0;
  }

  .shop-recommended-track .shop-product-info {
    padding: 16px 16px 12px;
  }

  .shop-recommended-track .shop-product-info h3 {
    font-size: 16px;
  }

  .shop-cart-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shop-cart-line-image {
    width: 100%;
    height: 180px;
  }

  .shop-cart-line-total {
    justify-self: start;
  }
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff !important;
  transition: transform 0.2s, background 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #1d1d1f;
  opacity: 1 !important;
}

.store-badge svg {
  width: 28px;
  height: 28px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.badge-text .small {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.badge-text .big {
  font-size: 17px;
  font-weight: 600;
}

/* ---------- Pricing Page ---------- */
.pricing-page {
  background: #ffffff;
}

.pricing-page .nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.pricing-page .nav .nav-logo {
  filter: invert(1);
}

.pricing-page .nav .nav-links a {
  color: #222326;
}

.pricing-page .nav .nav-cta {
  background: #222326;
  color: #fff !important;
}

.overview-pricing {
  padding: 112px 0 104px;
  background: #f7f8fa;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.overview-pricing .pricing-hero {
  padding: 0 40px 60px;
}

.overview-pricing .pricing-cards {
  padding-bottom: 0;
}

.overview-pricing .pricing-footer {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 32px 20px 0;
}

.pricing-hero {
  text-align: center;
  padding: 180px 40px 60px;
}

.pricing-hero h1,
.pricing-hero h2 {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}

.pricing-hero p {
  font-size: 20px;
  color: #4b5563;
}

.pricing-cards {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.pricing-card {
  position: relative;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  background: #ffffff;
  border: 1px solid rgba(3, 59, 134, 0.5);
  box-shadow: 0 10px 25px -5px rgba(3, 59, 134, 0.1), 0 8px 10px -6px rgba(3, 59, 134, 0.1);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #033b86;
  color: #fff;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  text-align: center;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
  text-align: center;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: #4b5563;
}

.pricing-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features-title {
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  color: #374151;
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  margin-right: 12px;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.pricing-btn:not(.primary) {
  background: #e5e7eb;
  color: #6b7280;
}

.pricing-btn:not(.primary):hover {
  background: #d1d5db;
}

.pricing-btn.primary {
  background: linear-gradient(to right, #033b86, rgba(3, 59, 134, 0.9));
  color: #fff;
}

.pricing-btn.primary:hover {
  box-shadow: 0 10px 15px -3px rgba(3, 59, 134, 0.3);
}

.pricing-btn[aria-disabled="true"] {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  box-shadow: none;
}

.pricing-footer {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid #e5e7eb;
}

.pricing-footer p {
  font-size: 14px;
  color: #4b5563;
}

.pricing-footer a {
  color: #033b86;
  text-decoration: none;
}

.pricing-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .overview-pricing {
    padding: 88px 0 80px;
  }

  .overview-pricing .pricing-hero {
    padding: 0 20px 48px;
  }

  .pricing-hero h1,
  .pricing-hero h2 {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .pricing-hero p {
    font-size: 17px;
  }

  .overview-pricing .pricing-cards {
    padding: 0 20px;
    gap: 28px;
  }

  .pricing-card {
    flex-basis: 100%;
    max-width: 460px;
  }

  .overview-pricing .pricing-footer {
    margin: 40px 20px 0;
    padding: 28px 0 0;
  }
}

@media (max-width: 420px) {
  .pricing-card {
    padding: 28px 24px;
  }

  .pricing-price {
    font-size: 32px;
  }
}

/* ---------- Information Architecture Pages ---------- */
.info-page {
  background: #ffffff;
}

.info-page .reveal {
  opacity: 1;
  transform: none;
}

.page-hero {
  position: relative;
  padding: 184px 40px 104px;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 30% 45%, rgba(255, 255, 255, 0.07) 0%, transparent 64%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.page-eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.page-hero-copy {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.page-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.page-primary-link,
.page-secondary-link,
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.page-primary-link,
.form-submit-btn {
  background: #ffffff;
  color: #1d1d1f;
}

.form-submit-btn {
  background: #222326;
  color: #ffffff;
}

.page-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-primary-link:hover,
.page-secondary-link:hover,
.form-submit-btn:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.form-submit-btn:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.58;
  box-shadow: none;
}

.site-section {
  padding: 112px 0;
}

.site-section--soft {
  background: linear-gradient(180deg, #f7f9fa 0%, #eef2f4 100%);
}

.site-section--compact {
  padding: 84px 0;
}

.site-section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-section-narrow {
  max-width: 840px;
}

.site-section-header {
  max-width: 820px;
  margin-bottom: 46px;
}

.site-section-header.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.site-section h2,
.form-shell h2 {
  color: #1d1d1f;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.site-section p,
.site-copy,
.site-section li {
  color: #6e6e73;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
}

.site-section p + p {
  margin-top: 18px;
}

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

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

.feature-card,
.step-card,
.release-note-card,
.contact-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
}

.feature-card,
.contact-card {
  padding: 34px 32px;
}

.feature-card h3,
.step-card h3,
.release-note-card h3,
.contact-card h3 {
  color: #1d1d1f;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}

.feature-card p,
.step-card p,
.release-note-card p,
.contact-card p {
  color: #6e6e73;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

.step-card {
  padding: 28px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #f1f4f6;
  color: #222326;
  font-size: 13px;
  font-weight: 700;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin-top: 34px;
}

.signal-list li {
  position: relative;
  padding-left: 22px;
  color: #333438;
}

.signal-list li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #222326;
}

.release-note-list {
  display: grid;
  gap: 22px;
}

.release-note-card {
  padding: 34px;
}

.release-note-meta {
  display: inline-flex;
  margin-bottom: 14px;
  color: #86868b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.release-note-card ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.release-note-card li {
  position: relative;
  padding-left: 20px;
  color: #4f5055;
  font-size: 15px;
  line-height: 1.6;
}

.release-note-card li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #222326;
}

/* Release notes */
.release-page {
  --release-ink: #222326;
  --release-muted: #6f7175;
  --release-rule: #e1e2e4;
  --release-link: #033b86;
  background: #ffffff;
}

.release-page .nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.release-page .nav-logo {
  filter: invert(1);
}

.release-page .nav-links a {
  color: var(--release-ink);
}

.release-page .mobile-nav-toggle,
.release-page .nav.scrolled .mobile-nav-toggle {
  color: #1f2937;
  border-color: rgba(31, 41, 55, 0.16);
  background: #f7f7f8;
}

.release-docs {
  min-height: 100vh;
  padding: 136px 0 120px;
  background: #ffffff;
}

.release-doc-shell {
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
}

.release-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: #5f6165;
  font-size: 12px;
  line-height: 1.4;
}

.release-breadcrumb a:hover {
  color: var(--release-link);
  opacity: 1;
}

.release-breadcrumb span[aria-hidden="true"] {
  color: #a3a5a8;
  font-size: 16px;
  line-height: 1;
}

.release-doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  grid-template-areas:
    "heading months"
    "log months";
  column-gap: 72px;
  align-items: start;
}

.release-doc-heading {
  grid-area: heading;
  margin-bottom: 42px;
}

.release-doc-heading h1 {
  margin: 0;
  color: var(--release-ink);
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
}

.release-doc-heading p {
  margin: 23px 0 0;
  color: #77797d;
  font-size: 12px;
  line-height: 1.5;
}

.release-log {
  grid-area: log;
  min-width: 0;
}

.release-month {
  scroll-margin-top: 116px;
}

.release-month + .release-month {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--release-rule);
}

.release-month h2 {
  margin: 0 0 26px;
  color: var(--release-ink);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
}

.release-day + .release-day {
  margin-top: 34px;
}

.release-day h3 {
  margin: 0 0 18px;
  color: var(--release-ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.release-entry + .release-entry {
  margin-top: 24px;
}

.release-entry h4 {
  margin: 0 0 5px;
  color: #2d2f32;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
}

.release-entry p {
  max-width: 680px;
  margin: 0;
  color: #34363a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.release-entry a {
  color: var(--release-link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.release-entry a:hover {
  opacity: 0.72;
}

.release-months {
  position: sticky;
  top: 116px;
  grid-area: months;
  padding-left: 28px;
  border-left: 1px solid var(--release-rule);
}

.release-months nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.release-months a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: #737579;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.release-months a:hover {
  color: var(--release-ink);
  opacity: 1;
}

.release-months a[aria-current="true"] {
  color: var(--release-ink);
  font-weight: 500;
}

.release-months a[aria-current="true"]::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -29px;
  width: 1px;
  background: var(--release-ink);
}

.faq-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  flex: 0 0 auto;
  color: #86868b;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: '-';
}

.faq-answer {
  padding: 0 0 30px;
  color: #6e6e73;
  font-size: 16px;
  line-height: 1.72;
}

.form-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 18px 42px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.form-field {
  display: grid;
  gap: 9px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #2b2c30;
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dde2;
  border-radius: 14px;
  background: #ffffff;
  color: #1d1d1f;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(3, 59, 134, 0.62);
  box-shadow: 0 0 0 4px rgba(3, 59, 134, 0.12);
}

.form-helper {
  color: #86868b;
  font-size: 13px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-status-message {
  flex: 1 1 260px;
  min-height: 20px;
  color: #616265;
  font-size: 14px;
  line-height: 1.5;
}

.form-status-message[hidden] {
  display: none;
}

.form-status-message[data-state="success"] {
  color: #0f766e;
}

.form-status-message[data-state="error"] {
  color: #b42318;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.final-statement {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.final-statement p {
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .page-hero h1 {
    font-size: 46px;
  }

  .step-grid,
  .info-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-doc-shell {
    width: min(900px, calc(100% - 48px));
  }

  .release-doc-layout {
    grid-template-columns: minmax(0, 1fr) 150px;
    column-gap: 48px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 144px 20px 82px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero-copy {
    font-size: 17px;
  }

  .site-section {
    padding: 82px 0;
  }

  .site-section--compact {
    padding: 68px 0;
  }

  .site-section-inner {
    padding: 0 20px;
  }

  .site-section h2,
  .form-shell h2 {
    font-size: 32px;
  }

  .info-grid,
  .info-grid--three,
  .step-grid,
  .signal-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .contact-card,
  .release-note-card {
    padding: 28px 24px;
  }

  .form-shell {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .faq-question {
    padding: 24px 0;
    font-size: 17px;
  }

  .release-docs {
    padding: 116px 0 88px;
  }

  .release-doc-shell {
    width: min(620px, calc(100% - 40px));
  }

  .release-breadcrumb {
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .release-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .release-doc-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "months"
      "log";
    column-gap: 0;
  }

  .release-doc-heading {
    margin-bottom: 28px;
  }

  .release-doc-heading h1 {
    font-size: 32px;
  }

  .release-doc-heading p {
    margin-top: 16px;
  }

  .release-months {
    position: static;
    margin-bottom: 40px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--release-rule);
    border-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .release-months::-webkit-scrollbar {
    display: none;
  }

  .release-months nav {
    flex-direction: row;
    gap: 24px;
    width: max-content;
  }

  .release-months a {
    padding: 6px 0;
  }

  .release-months a[aria-current="true"]::before {
    top: auto;
    right: 0;
    bottom: -16px;
    left: 0;
    width: auto;
    height: 1px;
  }

  .release-month + .release-month {
    margin-top: 56px;
    padding-top: 44px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero-copy {
    font-size: 16px;
  }

  .page-primary-link,
  .page-secondary-link,
  .form-submit-btn {
    width: 100%;
  }

  .form-actions {
    align-items: stretch;
  }

  .release-docs {
    padding-top: 108px;
  }

  .release-doc-shell {
    width: calc(100% - 32px);
  }

  .release-doc-heading h1 {
    font-size: 30px;
  }

  .release-month h2 {
    font-size: 20px;
  }

  .release-entry p {
    font-size: 14px;
    line-height: 1.66;
  }
}
