:root {
  /* PowerCore Chrome */
  --bg: #0a0a0b;
  --surface: #121214;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --border: #2a2a30;
  --font-display: "Inter", "DM Sans", "Roboto", system-ui, sans-serif;
  --font-body: "Inter", "DM Sans", "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 80% -20%, color-mix(in srgb, #22d3ee 18%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, color-mix(in srgb, #a78bfa 14%, transparent) 0%, transparent 45%),
    var(--bg);
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}
.logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

.hero {
  position: relative;
  margin: 28px 0 8px;
  padding: 0;
  max-width: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050505;
  min-height: 280px;
  display: grid;
  align-items: end;
}
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.92;
}
.hero-loop {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero.is-video .hero-loop {
  opacity: 0.92;
}
.hero.is-video .hero-banner:not(.hero-loop) {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-loop {
    display: none !important;
  }
  .hero.is-video .hero-banner:not(.hero-loop) {
    opacity: 0.92;
  }
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 40px 28px 36px;
  max-width: 560px;
  display: grid;
  gap: 14px;
  background: linear-gradient(90deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.55) 70%, transparent 100%);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34em;
}
.page-banner {
  position: relative;
  margin: 24px 0 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 140px;
  background: #050505;
}
.page-banner img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: left center;
  opacity: 0.85;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.primary {
  background: var(--accent);
  border-color: #67e8f9;
  color: #0a0a0b;
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.section { padding: 40px 0 64px; }
.section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 20px;
  font-weight: 550;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.product-card:hover { border-color: var(--accent); text-decoration: none; }
.product-card-art {
  position: relative;
  background: #050505;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card-art img,
.product-card-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.2s ease;
}
.product-card-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050505;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.product-card.is-looping .product-card-loop { opacity: 1; }
.product-card.is-looping .product-card-poster { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .product-card-loop { display: none; }
  .product-card.is-looping .product-card-poster { opacity: 1; }
}
.product-card-body { padding: 16px 18px 18px; }
.product-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.price {
  margin-top: 14px;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 15px;
}
.product-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.product-card .badge { margin-bottom: 0; }

.product-hero { padding: 32px 0 24px; max-width: none; }
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 28px;
  align-items: start;
}
.product-detail-art {
  background: #050505;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.product-detail-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
}
.product-demo {
  background: #050505;
}
.product-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
  vertical-align: top;
}
.product-detail-copy { max-width: 640px; }
@media (max-width: 720px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-art { max-width: 240px; }
}
.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 8px 0 12px;
  font-weight: 550;
}
.features { list-style: none; padding: 0; margin: 24px 0; }
.features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
.features li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}

.legal { padding: 48px 0 80px; max-width: 640px; }
.legal h1 { font-family: var(--font-display); }
.legal p, .legal li { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.story p { margin: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.disclosure { border-left: 2px solid var(--accent); padding-left: 12px; }

.section-lead {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Connect — one short horizontal strip (no tall panel) */
.directory-section {
  margin: 4px 0 8px;
  padding: 0;
}

.directory {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 88%, #000);
}

.directory-compact {
  max-width: 100%;
}

.dir-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

.dir-avatar-sm {
  width: 24px;
  height: 24px;
}

.dir-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}

.dir-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  margin-left: auto;
}

.dir-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.dir-chip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  text-decoration: none;
}

.dir-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: inherit;
}

.dir-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Free Vault promo banner (under hero) */
.vault-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: center;
  margin: 16px 0 12px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 12px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    linear-gradient(300deg, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 50%),
    color-mix(in srgb, var(--surface) 92%, #000);
}

.vault-banner-copy {
  min-width: 0;
}

.vault-free-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}

.vault-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.vault-free-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  max-width: 36rem;
}

.vault-banner-cta {
  min-width: 0;
}

.vault-free-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vault-free-form input[type="email"] {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0a0a0a;
  color: var(--text);
  font: inherit;
}

.vault-banner .opt-in {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.vault-free-status {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 1.2em;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 720px) {
  .vault-banner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .dir-strip {
    margin-left: 0;
    width: 100%;
  }
}

/* Store chat widget (Phase 5): launcher + modal on active product pages */
.store-chat-launcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.store-chat-launcher:hover { border-color: var(--accent); }
.store-chat-launcher:focus-visible,
.store-chat-dialog textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.store-chat-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}
.store-chat-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.store-chat-dialog h2 { margin: 0 0 8px; font-size: 1.1rem; }
.store-chat-dialog label { display: block; margin: 12px 0 4px; font-weight: 600; }
.store-chat-dialog textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.store-chat-counter { text-align: right; margin: 4px 0 0; }
.store-chat-status { min-height: 1.5em; margin: 8px 0 0; }
@media (max-width: 720px) {
  .store-chat-launcher { right: 12px; bottom: 12px; }
}

/* Homepage hero row: banner | Vincent panel (stacks on narrow) */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: stretch;
  margin: 28px 0 8px;
}
.hero-row .hero { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Aurora chrome — CSS-only conic border on the chat panel, not the hero media */
@property --aurora-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.aurora-border {
  --aurora-angle: 0deg;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--aurora-angle), #22d3ee, #34d399, #fbbf24, #fb7185, #38bdf8, #22d3ee) border-box;
  animation: aurora-spin 8s linear infinite;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}
@keyframes aurora-spin {
  to { --aurora-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-border {
    animation: none;
    --aurora-angle: 135deg;
  }
}
.vincent-chrome {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
  height: 100%;
  padding: 16px;
  font-family: var(--font-body);
}
.vincent-chrome h2 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; }
.vincent-transcript {
  min-height: 140px;
  max-height: 260px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 8px;
}
.vincent-msg { margin: 0; padding: 8px 10px; border-radius: 10px; background: #1a1a1e; color: var(--text); font-size: 0.95rem; }
.vincent-form { display: flex; gap: 8px; }
.vincent-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.vincent-status { margin: 0; min-height: 1.2em; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
}
