/* Virtual Staiging — shared styles */
:root {
  --ink: #1F1D1A;
  --muted: #5C5750;
  --ground: #F5F3EF;
  --line: #E4DFD7;
  --card: #FFFFFF;
  --accent: #A44A26;
  --accent-dark: #8A3D1F;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }

/* Logo */
.logo { text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.logo span { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 14px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); color: var(--ink); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-small { padding: 10px 20px; font-size: 15px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { text-decoration: none; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.lead { font-size: 18px; color: var(--muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lead { font-size: 19px; max-width: 30em; }
.hero-demo { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Before / after slider */
.compare { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.compare.shadow { box-shadow: 0 24px 60px rgba(31, 29, 26, .18); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; z-index: 2; }
.compare .handle { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.compare .tag { position: absolute; top: 16px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: #fff; pointer-events: none; z-index: 2; }
.compare .tag.before { left: 16px; background: rgba(31,29,26,.75); }
.compare .tag.after { right: 16px; background: var(--accent); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare input[type=range]:focus-visible ~ .handle { outline: 3px solid var(--accent); outline-offset: 3px; }
.hot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(255,255,255,.45), 0 4px 12px rgba(0,0,0,.25); z-index: 4; }
.hot:hover { background: var(--accent); color: #fff; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Trust strip */
.strip { background: var(--ink); color: var(--ground); }
.strip .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; font-size: 15px; font-weight: 500; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); }
.step-num { font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* Shop */
.shop-band { background: #fff; }
.shop-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.shop-photo { flex: 1.5 1 520px; min-width: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.shop-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
ol.shop { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
ol.shop li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
ol.shop .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
ol.shop .name { flex: 1; font-weight: 500; }
ol.shop a { font-size: 14px; font-weight: 600; color: var(--accent); padding: 10px 0; }
.fine { font-size: 12px; color: var(--muted); }

/* Pricing */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.price-card.featured p { color: #CFC9BF; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: inherit !important; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.price-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.price-card .btn { margin-top: auto; }

/* CTA */
.cta { background: var(--accent); color: #fff; border-radius: 24px; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta p { font-size: 18px; max-width: 32em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
.footer-row .about { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.footer-row .about p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.copyright { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 32px; }

/* Staging tool */
.tool { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; padding-bottom: 96px; }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; }
.panel h2 { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.02em; }
.panel-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; border: 2px dashed var(--line); border-radius: 16px; padding: 48px 24px; cursor: pointer; background: var(--ground); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: #FBF7F3; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong { font-size: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field select { font: inherit; font-weight: 500; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px; color: var(--ink); }
.preview { width: 100%; border-radius: 12px; display: block; }
.keep { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.slot { aspect-ratio: 3 / 2; border-radius: 12px; background: var(--ground); overflow: hidden; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 12px; }
.slot.done { padding: 0; }
.slot .pickbtn { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; }
.slot .pickbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.picked { outline: 3px solid var(--accent); outline-offset: 3px; }
.slot.failed { color: #9B1C1C; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { min-height: 1.5em; color: var(--muted); }
.error { color: #9B1C1C; font-weight: 600; }

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; gap: 32px; }
  .card, .price-card, .panel { padding: 24px; }
  .nav-links { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 3s; }
}
