/* ============================
   JVTDesigns - Design Tokens
   ============================ */
:root {
  /* Color */
  --bg: #15171A;
  --surface: #1D2024;
  --surface-raised: #24282D;
  --border: #2E3339;
  --text: #EDEEF0;
  --text-muted: #8B9199;
  --text-faint: #5B6169;
  --accent: #E08A3E;
  --accent-hover: #EF9B4F;
  --accent-dim: #4A3423;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.05rem; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 10px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: #17130D;
}
.btn-accent:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-ghost {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 9px 18px;
  font-size: 0.88rem;
}
.btn-ghost:hover { background: #593B22; }

/* ============================
   Header
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 23, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.logo span { color: var(--text); }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

/* ============================
   Hero - full-bleed photographic
   ============================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,16,18,0.94) 0%,
    rgba(15,16,18,0.75) 30%,
    rgba(15,16,18,0.25) 60%,
    rgba(15,16,18,0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-copy {
  max-width: 620px;
}
.hero-copy h1,
.hero-copy .eyebrow {
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.hero-sub {
  color: var(--text);
  font-size: 1.08rem;
  max-width: 48ch;
  margin-top: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ============================
   Sections (generic)
   ============================ */
.section {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}

.link-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.link-more:hover { color: var(--accent-hover); }

/* ============================
   TV vs headphones hook
   ============================ */
.hook-inner {
  max-width: 720px;
  padding-top: 10px;
}
.hook-inner h2 { margin: 0 0 20px; }

/* ============================
   Who this is for
   ============================ */
.for-you-inner {
  max-width: 680px;
  padding-top: 10px;
}
.for-you-inner h2 { margin: 0 0 20px; }

/* Shared: large headline + short lead line + smaller
   detail line, used by both statement sections above. */
.statement-lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.5;
}
.statement-detail {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
  line-height: 1.6;
  max-width: 58ch;
}

/* ============================
   Why Trust Me - copy block
   ============================ */
.trust-inner { padding-top: 10px; }
.trust-copy {
  max-width: 66ch;
}
.trust-copy h2 { margin: 0 0 20px; }
.trust-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

/* ============================
   Four-panel grid
   ============================ */
.panels { padding-top: 20px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.trust-item {
  padding: 24px 4px 0;
  border-top: 1px solid var(--border);
}
.trust-item h3 {
  margin: 0 0 10px;
}
.trust-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ============================
   Philosophy section
   ============================ */
.philosophy {
  background: var(--surface);
  text-align: center;
}
.philosophy-inner {
  max-width: 76ch;
  margin: 0 auto;
}
.philosophy h2 {
  margin: 0 0 24px;
}
.philosophy-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.btn-large {
  padding: 17px 34px;
  font-size: 1.05rem;
}

/* ============================
   Card grid / Speaker cards
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 20px 0;
}

.speaker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.speaker-card:hover {
  transform: translateY(-3px);
  border-color: #3A4048;
}
.speaker-card:hover .card-cta {
  background: var(--accent-hover);
  color: #17130D;
}

.card-photo {
  aspect-ratio: 1 / 1;
  background: var(--surface-raised);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-photo img[src=""],
.card-photo img:not([src]) {
  display: none;
}
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(21,23,26,0.85);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 10px;
}
.card-body h3 {
  font-size: 1.02rem;
}
.card-price {
  font-family: var(--font-mono);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.card-price.free { color: var(--accent); }

.card-tier-row {
  margin-bottom: 12px;
}
.card-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
}
.card-tier[data-tier="simple"] .tier-dot { background: #6FBF8B; }
.card-tier[data-tier="moderate"] .tier-dot { background: var(--accent); }
.card-tier[data-tier="complex"] .tier-dot { background: #D96B6B; }

.card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  margin-top: auto;
}
.card-cta svg {
  width: 14px;
  height: 14px;
}

/* ============================
/* ============================
   Footer
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 50px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
  flex-wrap: wrap;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 32ch;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ============================
   About page
   ============================ */
.about-hero {
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--border);
}
.about-lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 50ch;
}

.story-inner {
  max-width: 74ch;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.story-block {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.story-mark {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.story-block p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.about-cta {
  background: var(--surface);
  text-align: center;
}
.about-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.about-cta h2 { max-width: 24ch; }
.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================
   Donate page
   ============================ */
.donate-action {
  background: var(--surface);
  text-align: center;
}
.donate-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.donate-inner h2 {
  max-width: 26ch;
  margin-top: 6px;
}
.donate-button-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.donate-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 42ch;
}

/* ============================
   Learn page
   ============================ */
.learn-choose h2,
.learn-includes h2,
.learn-tools h2 { margin-bottom: 34px; }

.choose-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.choose-item {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  max-width: 76ch;
}
.choose-item h3 { margin-bottom: 12px; }
.choose-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.tier-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-list li {
  color: var(--text-muted);
  font-size: 0.97rem;
  padding-left: 18px;
  border-left: 2px solid var(--accent-dim);
}
.tier-list strong { color: var(--text); }

.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-dim);
}
.inline-link:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.includes-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 30px;
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.includes-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.learn-tools {
  background: var(--surface);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tools-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.tools-item h3 { margin-bottom: 10px; font-size: 1rem; }
.tools-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.tools-safety {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 28px;
  font-style: italic;
}

@media (max-width: 900px) {
  .includes-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ============================
   Credibility badge (about page)
   ============================ */
.credibility-badge {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px 10px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  animation: credibilityFade 7s ease forwards;
  animation-delay: 1.1s;
}
.credibility-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.credibility-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.credibility-text { line-height: 1.35; }
.credibility-rating {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.credibility-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@keyframes credibilityFade {
  0%   { opacity: 0; transform: translateY(8px); pointer-events: none; }
  8%   { opacity: 1; transform: translateY(0); pointer-events: auto; }
  82%  { opacity: 1; transform: translateY(0); pointer-events: auto; }
  100% { opacity: 0; transform: translateY(8px); pointer-events: none; }
}

@media (max-width: 640px) {
  .credibility-badge {
    right: 14px;
    bottom: 14px;
    padding: 8px 14px 8px 8px;
  }
  .credibility-avatar { width: 32px; height: 32px; }
}

/* ============================
   Build plans filters
   ============================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 36px 0 18px;
}
.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-divider {
  width: 1px;
  height: 26px;
  background: var(--border);
  flex-shrink: 0;
}
.region-filter-btn,
.filter-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.region-filter-btn:hover,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.region-filter-btn.active {
  background: var(--accent);
  color: #17130D;
  border-color: var(--accent);
}
.filter-btn-outline {
  border-style: dashed;
}
.filter-btn-outline.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-dim);
  border-style: solid;
}
.filter-count {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 26px;
}

@media (max-width: 640px) {
  .filter-divider {
    width: 100%;
    height: 1px;
    margin: 2px 0;
  }
}

/* ============================
   404 page
   ============================ */
.error-page {
  min-height: 76vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.error-inner {
  max-width: 620px;
  padding: 60px 0;
}
.error-code {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin: 4px 0 20px;
}
.error-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 48ch;
  margin-top: 14px;
}
.error-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.error-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.error-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.error-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .error-code { font-size: 3.4rem; }
}

/* ============================
   Legal page (Terms & Privacy)
   ============================ */
.legal-section-head {
  max-width: 74ch;
}
.legal-section-head h2 {
  margin-top: 4px;
}
.legal-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 68ch;
}
.legal-effective {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 12px;
}
.legal-section-head-spaced {
  margin-top: 12px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .about-hero { padding: 100px 0 40px; }
}
@media (max-width: 900px) {
  .hero { min-height: 76vh; }
  .hero-inner { padding-top: 100px; padding-bottom: 60px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 50px 0; }
}

/* ============================
   Product page
   ============================ */
.product-breadcrumb {
  padding: 24px 0 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.product-breadcrumb a { color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--accent); }

.product-hero {
  padding: 24px 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

/* Gallery */
.product-gallery { min-width: 0; }
.gallery-main {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img[src=""],
.gallery-main img:not([src]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); }

/* Buy panel */
.buy-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  align-self: start;
  position: sticky;
  top: 96px;
}
.buy-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--text);
}
.buy-price.free { color: var(--accent); }
.buy-price-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 4px;
}
.buy-panel .btn { width: 100%; margin-top: 16px; }
.buy-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

.quick-facts { display: flex; flex-direction: column; gap: 14px; }
.quick-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.quick-fact-label { color: var(--text-muted); }
.quick-fact-value { color: var(--text); text-align: right; }
.quick-fact-value a { color: var(--accent); }
.quick-fact-value a:hover { text-decoration: underline; }

.cost-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.product-notice {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.product-notice p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.focus-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Full-width sections below hero */
.product-section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}
.product-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 12px 4px;
  font-size: 0.92rem;
}
.specs-table td:first-child {
  color: var(--text-muted);
  width: 46%;
}
.specs-table td:last-child {
  color: var(--text);
  font-family: var(--font-mono);
}

.sound-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 62ch;
  margin-bottom: 18px;
}
.fr-graph {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.fr-graph summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fr-graph summary::-webkit-details-marker { display: none; }
.fr-graph summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.1rem;
}
.fr-graph[open] summary::after { content: "−"; }
.fr-graph-body {
  padding: 18px;
  border-top: 1px solid var(--border);
}
.fr-graph-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 10px;
}

.dimensions-list,
.included-list,
.fit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.dimensions-list li,
.included-list li,
.fit-list li {
  display: flex;
  gap: 10px;
}
.dimensions-list li span:first-child,
.included-list li span:first-child,
.fit-list li span:first-child {
  color: var(--accent);
  flex-shrink: 0;
}

.region-tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.region-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.buy-cta-bottom {
  text-align: center;
  padding: 60px 0;
}
.buy-cta-bottom p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
}
@media (max-width: 640px) {
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .specs-table td:first-child { width: 55%; }

  /* On phones, the crop is narrower and taller, so a center-anchored
     crop cuts off the speaker (bottom-right of the photo). Anchor to
     the right and bottom instead so it stays in frame. */
  .hero-bg-photo { object-position: right bottom; }

  /* Fixed 24px side padding feels too tight on narrow screens, several
     pages had text running right up to the edge. Give it more room,
     proportional to screen width instead of a fixed pixel value. */
  .wrap { padding: 0 6%; }
}
