:root {
  --bella-black: #050403;
  --bella-ink: #0d0a08;
  --bella-panel: #11100e;
  --bella-panel-soft: #191511;
  --bella-gold: #c9a46a;
  --bella-gold-soft: #ead7b3;
  --bella-cream: #fff8f0;
  --bella-champagne: #f3e7cf;
  --bella-blush: #e8c7bd;
  --bella-rose: #b6786d;
  --bella-text: #fffaf1;
  --bella-muted: #cbbca9;
  --bella-border: rgba(201, 164, 106, 0.32);
  --bella-shadow: rgba(0, 0, 0, 0.34);
  --bella-success: #8faa76;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--bella-text);
  background-color: var(--bella-black);
  background-image:
    linear-gradient(135deg, rgba(201, 164, 106, 0.1), transparent 34%),
    linear-gradient(0deg, rgba(255, 248, 240, 0.04), rgba(5, 4, 3, 0) 42%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.app-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--bella-border);
  color: var(--bella-gold);
  background: rgba(201, 164, 106, 0.08);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.brand-mark strong,
.brand-mark small {
  display: block;
  overflow-wrap: anywhere;
}

.brand-mark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-mark small {
  color: var(--bella-muted);
  font-size: 0.78rem;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-actions a,
.top-actions button {
  min-height: 40px;
  padding: 9px 14px;
  color: var(--bella-cream);
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid var(--bella-border);
  border-radius: 8px;
}

.top-actions button {
  color: var(--bella-black);
  background: var(--bella-gold);
}

.hero {
  display: grid;
  gap: 18px;
  min-height: calc(100svh - 132px);
  align-items: center;
  padding: 12px 0 34px;
}

.hero-copy,
.hero-media,
.quiz-card,
.result-card,
.booking-sheet {
  border: 1px solid var(--bella-border);
  border-radius: 8px;
  box-shadow: 0 24px 60px var(--bella-shadow);
}

.hero-copy {
  padding: 28px 20px;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.02)),
    var(--bella-panel);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--bella-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 2.55rem;
  line-height: 1.03;
}

h2 {
  font-size: 1.85rem;
  line-height: 1.1;
}

.hero-lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--bella-muted);
  font-size: 1.02rem;
}

.hero-actions,
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.text-action,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-action {
  color: var(--bella-black);
  background: var(--bella-gold);
  border-color: var(--bella-gold);
}

.secondary-action {
  color: var(--bella-cream);
  background: rgba(255, 248, 240, 0.06);
  border-color: var(--bella-border);
}

.text-action,
.ghost-button {
  color: var(--bella-gold-soft);
  background: transparent;
  border-color: rgba(201, 164, 106, 0.22);
}

.primary-action:hover,
.secondary-action:hover,
.text-action:hover,
.ghost-button:hover,
.option-button:hover {
  transform: translateY(-1px);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.text-action:focus-visible,
.ghost-button:focus-visible,
.option-button:focus-visible,
.top-actions a:focus-visible,
.top-actions button:focus-visible,
.close-button:focus-visible {
  outline: 3px solid rgba(201, 164, 106, 0.46);
  outline-offset: 3px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trust-strip span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--bella-gold-soft);
  background: rgba(201, 164, 106, 0.11);
  border: 1px solid rgba(201, 164, 106, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--bella-ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  color: var(--bella-cream);
  background: rgba(5, 4, 3, 0.78);
  border: 1px solid rgba(201, 164, 106, 0.34);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.media-caption strong,
.media-caption span {
  display: block;
}

.media-caption span {
  margin-top: 4px;
  color: var(--bella-muted);
  font-size: 0.9rem;
}

.is-hidden {
  display: none !important;
}

.quiz-stage,
.result-stage {
  display: grid;
  min-height: calc(100svh - 132px);
  place-items: center;
  padding: 10px 0 34px;
}

.quiz-card,
.result-card {
  width: min(100%, 760px);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.07), rgba(255, 248, 240, 0.015)),
    var(--bella-panel);
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--bella-muted);
  font-size: 0.9rem;
}

.quiz-topline .ghost-button {
  min-height: 38px;
  padding: 8px 12px;
}

.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 248, 240, 0.1);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, var(--bella-gold), var(--bella-blush));
  border-radius: inherit;
  transition: width 220ms ease;
}

.question-block {
  padding: 22px 0 12px;
}

.question-block h2 {
  margin-bottom: 10px;
}

.question-block p:not(.eyebrow) {
  margin: 0;
  color: var(--bella-muted);
}

.option-grid {
  display: grid;
  gap: 10px;
  margin: 8px 0 18px;
}

.option-button {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--bella-cream);
  background: rgba(255, 248, 240, 0.055);
  border: 1px solid rgba(201, 164, 106, 0.2);
  border-radius: 8px;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.option-button.is-selected {
  color: var(--bella-black);
  background: var(--bella-gold);
  border-color: var(--bella-gold);
}

.quiz-nav {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(17, 16, 14, 0), var(--bella-panel) 18%);
}

.selection-note {
  min-height: 24px;
  margin: 0;
  color: var(--bella-muted);
  font-size: 0.9rem;
}

.result-card {
  padding: 22px 18px;
}

.result-summary {
  margin: 14px 0 0;
  color: var(--bella-muted);
  font-size: 1.02rem;
}

.result-code {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  color: var(--bella-black);
  background: var(--bella-gold);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.benefit-item {
  padding: 12px 14px;
  color: var(--bella-cream);
  background: rgba(255, 248, 240, 0.055);
  border: 1px solid rgba(201, 164, 106, 0.2);
  border-radius: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.also-match {
  margin-top: 18px;
  padding: 14px;
  color: var(--bella-muted);
  background: rgba(255, 248, 240, 0.045);
  border: 1px solid rgba(201, 164, 106, 0.18);
  border-radius: 8px;
}

.also-match strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bella-gold-soft);
}

.disclaimer {
  margin: 18px 0 0;
  color: var(--bella-muted);
  font-size: 0.88rem;
}

.restart-button {
  width: 100%;
  margin-top: 16px;
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 16px 0 4px;
  color: var(--bella-muted);
  font-size: 0.88rem;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer a {
  color: var(--bella-gold-soft);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.64);
  border: 0;
}

.booking-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: 88svh;
  margin: 0 auto;
  padding: 18px;
  overflow: auto;
  color: var(--bella-text);
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.02)),
    var(--bella-panel);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  transform: translateY(18px);
  transition: transform 180ms ease;
}

.booking-modal.is-open .booking-sheet {
  transform: translateY(0);
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.sheet-header h2 {
  font-size: 1.55rem;
}

.close-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--bella-gold-soft);
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid var(--bella-border);
  border-radius: 50%;
}

.booking-hint {
  margin: 12px 0 0;
  color: var(--bella-muted);
}

.vagaro-slot {
  display: grid;
  gap: 8px;
  min-height: 420px;
  margin-top: 18px;
  padding: 6px 8px 18px;
  place-items: start center;
  text-align: center;
  background: var(--bella-cream);
  color: var(--bella-black);
  border: 1px solid var(--bella-gold);
  border-radius: 8px;
  overflow: hidden;
}

.vagaro-slot .vagaro-container,
.vagaro-slot .vagaro-iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.vagaro-slot iframe,
.vagaro-slot object,
.vagaro-slot embed {
  width: 100% !important;
  max-width: 100%;
}

.vagaro-slot .embedded-widget-title {
  width: 100%;
  color: var(--bella-black) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 800;
}

.booking-loader {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: var(--bella-muted);
  font-weight: 800;
}

@media (min-width: 680px) {
  .app-shell {
    padding: 22px;
  }

  .hero-actions,
  .result-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .primary-action,
  .secondary-action,
  .text-action {
    min-width: 180px;
  }

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
    gap: 24px;
    padding-top: 22px;
  }

  .hero-copy {
    padding: 44px 38px;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-lede,
  .result-summary {
    font-size: 1.08rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 560px;
  }

  .quiz-card,
  .result-card {
    padding: 28px;
  }

  .booking-modal {
    align-items: center;
    padding: 24px;
  }

  .booking-sheet {
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
