/* ==========================================================================
   Components — buttons, badges, tabs, product cards, section headers.
   Depends on tokens.css. Shared across services, homepage, and quiz results.
   ========================================================================== */

/* ---- Section header ---- */

.section-title {
  text-align: center;
  font-size: var(--font-size-section-title);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-2xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3xl);
  max-width: var(--prose-max-sm);
  margin-left: auto;
  margin-right: auto;
}

/* ---- Page header (interior pages without a full hero) ---- */

.page-header {
  padding: var(--space-px-120) 0 var(--space-px-80);
  text-align: center;
}

@media (max-width: 768px) {
  .page-header {
    padding: var(--space-px-120) 0 var(--space-px-60);
  }
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: var(--space-px-14) var(--space-px-30);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  text-align: center;
  transition: all var(--duration-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  transform: translateY(var(--lift-sm));
  box-shadow: var(--shadow-gold-md);
}

.btn-secondary {
  background: var(--overlay-white-05);
  border: var(--space-px-2) solid var(--overlay-white-10);
  color: var(--color-text);
  backdrop-filter: blur(var(--blur-sm));
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  background: var(--overlay-gold-10);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-lg {
  padding: var(--space-px-20) var(--space-px-50);
  border-radius: var(--radius-md);
}

.btn-lg.btn-primary {
  box-shadow: var(--shadow-gold-md);
}

.btn-lg.btn-primary:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(var(--lift-md));
}

/* ---- Badges ---- */

.badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: var(--space-3xs) var(--space-xs);
  background: var(--color-gold);
  color: var(--color-bg);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  white-space: nowrap;
}

/* ---- Content section (page-header followed by tabs/filters + a grid) ---- */

.content-section {
  padding: 0 var(--space-px-40) var(--space-px-120);
}

@media (max-width: 768px) {
  .content-section {
    padding: 0 var(--space-px-20) var(--space-px-80);
  }
}

/* ---- Tabs (career-level filters, reused by services and testimonials) ---- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.tab {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  border: var(--space-px-1) solid var(--overlay-white-10);
  background: var(--overlay-white-03);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm-alt);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.tab:hover {
  border-color: var(--overlay-gold-30);
  color: var(--color-text);
}

.tab.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.tab-context {
  max-width: var(--prose-max-sm);
  margin: 0 auto var(--space-2xl);
  text-align: center;
  color: var(--color-text-secondary);
  line-height: var(--line-height-base);
}

.tab-context p + p {
  margin-top: var(--space-2xs);
}

.persona-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xs);
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
}

.persona-label,
.product-persona {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.persona-tab {
  padding: var(--space-2xs) var(--space-sm);
  border: var(--space-px-1) solid var(--overlay-white-10);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.persona-tab:hover,
.persona-tab.active {
  color: var(--color-bg);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.persona-context strong {
  color: var(--color-gold);
}

/* ---- Product grid & cards ---- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr));
  gap: var(--space-lg);
  max-width: var(--content-max);
  margin: 0 auto;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--overlay-white-03);
  backdrop-filter: blur(var(--blur-sm));
  border: var(--space-px-1) solid var(--overlay-white-08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-fast);
}

.product-card:hover {
  border-color: var(--overlay-gold-30);
  transform: translateY(var(--lift-lg));
}

.product-card-featured {
  border-color: var(--overlay-gold-30);
  background: var(--overlay-gold-05);
}

/* Gold shimmer sweep along the border on hover. The gradient is masked to
   the ring left by the pseudo-element's padding, so only the border glows. */
.product-card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--space-px-2);
  background: linear-gradient(
    115deg,
    transparent 35%,
    var(--overlay-gold-50) 47%,
    var(--color-gold-secondary) 50%,
    var(--overlay-gold-50) 53%,
    transparent 65%
  );
  background-size: 300% 300%;
  background-position: 0% 0;
  -webkit-mask: linear-gradient(var(--color-white) 0 0) content-box, linear-gradient(var(--color-white) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--color-white) 0 0) content-box, linear-gradient(var(--color-white) 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-fast);
  pointer-events: none;
}

.product-card-featured:hover::before {
  opacity: 1;
  animation: border-shimmer var(--duration-shimmer) linear infinite;
}

@keyframes border-shimmer {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}

.product-grid-elevated .product-card {
  border-color: var(--overlay-gold-30);
  background: var(--overlay-gold-05);
  box-shadow: var(--shadow-gold-sm);
}

.type-badge {
  display: inline-block;
  padding: var(--space-3xs) var(--space-xs);
  border-radius: var(--radius-pill);
  background: var(--overlay-gold-15);
  color: var(--color-gold);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.product-name {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-xs);
}

.product-persona {
  margin: calc(var(--space-3xs) * -1) 0 var(--space-sm);
}

.product-outcome {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.product-description {
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-lg);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding-top: var(--space-md);
  border-top: var(--space-px-1) solid var(--overlay-white-08);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-gold);
}

.price-usd {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.product-grid-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-3xl) 0;
  grid-column: 1 / -1;
}

.services-catalog {
  max-width: var(--content-max);
  margin: 0 auto;
}

.service-group + .service-group {
  margin-top: var(--space-3xl);
}

.service-group-title {
  color: var(--color-gold);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--space-2xs);
    -webkit-overflow-scrolling: touch;
  }

  .tab {
    flex-shrink: 0;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Generic section padding (vertical + horizontal, no nested .container) ---- */

.section {
  padding: var(--space-px-120) var(--space-px-40);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-px-80) var(--space-px-20);
  }
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-px-120) var(--space-px-40) var(--space-px-80);
}

.hero-aurora {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--overlay-gold-10) 0%, transparent 55%);
  animation: aurora-breathe var(--duration-aurora-breathe) var(--ease-smooth) infinite;
  pointer-events: none;
}

.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-aurora::before {
  background: radial-gradient(ellipse at 68% 32%, var(--overlay-gold-15) 0%, transparent 50%);
  animation:
    aurora-rotate var(--duration-aurora-slow) linear infinite,
    aurora-pulse var(--duration-aurora-pulse) ease-in-out infinite;
}

.hero-aurora::after {
  background: radial-gradient(ellipse at 30% 70%, var(--overlay-gold-secondary-15) 0%, transparent 45%);
  animation:
    aurora-rotate-reverse var(--duration-aurora-mid) linear infinite,
    aurora-pulse var(--duration-aurora-pulse) ease-in-out infinite reverse;
}

@keyframes aurora-rotate {
  to { transform: rotate(1turn); }
}

@keyframes aurora-rotate-reverse {
  to { transform: rotate(-1turn); }
}

@keyframes aurora-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes aurora-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  max-width: var(--content-max);
}

/* Staggered entrance on page load: badge → headline → subline → CTAs */
.hero .hero-badge,
.hero h1,
.hero .hero-subtitle,
.hero .hero-cta-group {
  animation: hero-enter var(--duration-slow) var(--ease-smooth) both;
}

.hero h1 { animation-delay: var(--stagger-step); }
.hero .hero-subtitle { animation-delay: calc(var(--stagger-step) * 2); }
.hero .hero-cta-group { animation-delay: calc(var(--stagger-step) * 3); }

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(var(--fade-offset));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: var(--space-px-8) var(--space-px-20);
  background: var(--overlay-gold-15);
  border: var(--space-px-1) solid var(--overlay-gold-30);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.hero h1 {
  font-size: var(--font-size-hero-title);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: var(--font-size-hero-subtitle);
  color: var(--color-text-secondary);
  max-width: var(--prose-max);
  margin: 0 auto var(--space-2xl);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: var(--mobile-cta-max);
  }
}

/* ---- Credibility bar ---- */

.credibility {
  padding: var(--space-px-60) var(--space-px-40);
  text-align: center;
  border-bottom: var(--space-px-1) solid var(--overlay-white-05);
}

.credibility-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
}

.credibility-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.credibility-logo {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--overlay-offwhite-30);
  transition: color var(--duration-fast);
}

.credibility-logo:hover {
  color: var(--overlay-offwhite-60);
}

.credibility-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.credibility-chip {
  padding: var(--space-2xs) var(--space-md);
  background: var(--overlay-gold-10);
  border: var(--space-px-1) solid var(--overlay-gold-30);
  border-radius: var(--radius-pill);
  color: var(--color-gold);
  font-size: var(--font-size-sm-alt);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 768px) {
  .credibility-logos {
    gap: var(--space-lg);
  }
}

/* ---- Stats ---- */

.stats {
  padding: var(--space-px-80) var(--space-px-40);
  background: radial-gradient(ellipse at center, var(--overlay-gold-05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-2xl);
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-gold);
  margin-bottom: var(--space-2xs);
}

.stat-label {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
}


/* ---- ICP cards ("Who This Is For") ---- */

.icp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr));
  gap: var(--space-lg);
  max-width: var(--content-max);
  margin: 0 auto;
}

.icp-card {
  position: relative;
  display: block;
  background: var(--overlay-white-03);
  backdrop-filter: blur(var(--blur-sm));
  border: var(--space-px-1) solid var(--overlay-white-08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
  transition: all var(--duration-fast);
}

.icp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--space-px-3);
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-secondary));
  transform: translateX(-100%);
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.icp-card:hover {
  border-color: var(--overlay-gold-30);
  transform: translateY(var(--lift-lg));
}

.icp-card:hover::before {
  transform: translateX(0);
}

.icp-card-title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-sm);
}

.icp-card-pain {
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-lg);
}

.icp-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-gold);
  font-weight: var(--font-weight-bold);
  transition: gap var(--duration-fast);
}

.icp-card:hover .icp-card-link {
  gap: var(--space-xs);
}

/* ---- Quiz teaser ---- */

.quiz-teaser {
  padding: var(--space-px-100) var(--space-px-40);
  text-align: center;
  background: linear-gradient(180deg, var(--overlay-gold-05) 0%, transparent 100%);
}

@media (max-width: 768px) {
  .quiz-teaser {
    padding: var(--space-px-80) var(--space-px-20);
  }
}

/* ---- Testimonials ---- */

.testimonials {
  background: linear-gradient(180deg, var(--overlay-gold-03) 0%, transparent 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr));
  gap: var(--space-lg);
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
}

.testimonial-card {
  background: var(--overlay-white-03);
  backdrop-filter: blur(var(--blur-sm));
  border: var(--space-px-1) solid var(--overlay-white-08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration-fast);
}

.testimonial-card:hover {
  border-color: var(--overlay-gold-30);
  transform: translateY(var(--lift-lg));
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.testimonial-avatar {
  width: var(--size-avatar);
  height: var(--size-avatar);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  color: var(--color-bg);
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-weight: var(--font-weight-bold);
  color: var(--color-gold);
  margin-bottom: var(--space-3xs);
}

.testimonial-info p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.stars {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-xl);
}

.testimonial-text {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-md);
  font-style: italic;
}

.view-all-link {
  text-align: center;
}

.view-all-link a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-gold);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  transition: gap var(--duration-fast);
}

.view-all-link a:hover {
  gap: var(--space-sm);
}

/* ---- Final CTA ---- */

.final-cta {
  text-align: center;
  background: radial-gradient(ellipse at center, var(--overlay-gold-10) 0%, transparent 70%);
}

.final-cta-title {
  font-size: var(--font-size-final-cta-title);
  margin-bottom: var(--space-md);
}

.final-cta-title .highlight {
  color: var(--color-gold);
}

/* ---- Career GPS Quiz ---- */

.quiz-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-px-120) var(--space-px-40) var(--space-px-80);
}

.quiz-shell {
  width: 100%;
  max-width: var(--prose-max-xs);
  background: var(--overlay-white-03);
  backdrop-filter: blur(var(--blur-sm));
  border: var(--space-px-1) solid var(--overlay-white-08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: max-width var(--duration-fast) var(--ease-default);
}

.quiz-shell-wide {
  max-width: var(--content-max);
}

.quiz-progress {
  width: 100%;
  height: var(--space-px-8);
  background: var(--overlay-white-08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transition: width var(--duration-fast) var(--ease-default);
}

.quiz-step-label {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-xl);
}

.quiz-question-title {
  text-align: center;
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-xl);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.quiz-option {
  display: block;
  width: 100%;
  padding: var(--space-md);
  background: var(--overlay-white-05);
  border: var(--space-px-1) solid var(--overlay-white-10);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.quiz-option:hover {
  border-color: var(--color-gold);
  background: var(--overlay-gold-10);
  color: var(--color-gold);
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm-alt);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.quiz-back:hover {
  color: var(--color-gold);
}

.quiz-email-gate {
  text-align: center;
}

.quiz-email-subtitle {
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-xl);
}

.quiz-email-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.quiz-email-input {
  padding: var(--space-md);
  background: var(--overlay-white-05);
  border: var(--space-px-1) solid var(--overlay-white-10);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

.quiz-email-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  text-align: left;
}

.quiz-consent input {
  margin-top: var(--space-3xs);
  accent-color: var(--color-gold);
}

.quiz-consent a {
  color: var(--color-gold);
  text-decoration: underline;
}

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

.quiz-email-error {
  color: var(--color-gold-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
}

.quiz-results {
  text-align: center;
}

.quiz-results-title {
  font-size: var(--font-size-4xl);
  margin: var(--space-md) 0 var(--space-sm);
}

.quiz-results-subtitle {
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .quiz-hero {
    padding: var(--space-px-100) var(--space-px-20) var(--space-px-60);
  }

  .quiz-shell {
    padding: var(--space-lg);
  }
}

/* ---- About page: prose, stat rows, specialty tags ---- */

.about-prose {
  max-width: var(--prose-max-sm);
  margin: 0 auto;
  color: var(--color-text-secondary);
  line-height: var(--line-height-base);
  text-align: center;
}

.about-prose + .about-prose {
  margin-top: var(--space-md);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-xl);
  max-width: var(--content-max);
  margin: var(--space-2xl) auto 0;
  text-align: center;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  max-width: var(--content-max);
  margin: 0 auto;
}

.specialty-tag {
  padding: var(--space-xs) var(--space-lg);
  background: var(--overlay-gold-10);
  border: var(--space-px-1) solid var(--overlay-gold-30);
  border-radius: var(--radius-pill);
  color: var(--color-gold);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
}

/* ---- Privacy and error pages ---- */

.privacy-prose {
  max-width: var(--prose-max-sm);
  margin: 0 auto;
  padding-top: 0;
}

.privacy-prose h2 {
  color: var(--color-gold);
  font-size: var(--font-size-3xl);
  margin: var(--space-2xl) 0 var(--space-sm);
}

.privacy-prose p {
  color: var(--color-text-secondary);
}

.privacy-prose a {
  color: var(--color-gold);
  text-decoration: underline;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-px-80) var(--space-px-40);
  text-align: center;
  background: radial-gradient(ellipse at center, var(--overlay-gold-10) 0%, transparent 70%);
}

/* ---- Motion preferences ---- */

@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .hero-aurora::before,
  .hero-aurora::after,
  .hero .hero-badge,
  .hero h1,
  .hero .hero-subtitle,
  .hero .hero-cta-group,
  .product-card-featured:hover::before {
    animation: none;
  }
}
