/* Flower & Gift product tour — self-hosted fonts, no inline styles or scripts (strict CSP). */
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Pinyon Script'; font-weight: 400; font-display: swap; src: url(fonts/pinyon-script-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format('woff2'); }

:root { --ink: #3B3147; --rose: #C04D76; --rose2: #E07A9E; --blush: #F2B5C8; --gold: #C9A35C; --mist: #FFF8F5; --line: rgba(255,255,255,.14); }
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { background: radial-gradient(900px 600px at 90% -10%, rgba(192,77,118,.38), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(201,163,92,.22), transparent 60%), var(--ink);
  color: #fff; font: 400 15px/1.55 Montserrat, system-ui, sans-serif; overflow-x: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
.tour { min-height: 100%; display: flex; flex-direction: column; padding: 14px 22px 18px; gap: 12px; max-width: 1500px; margin: 0 auto; }

.tour-top { display: flex; align-items: center; gap: 12px; }
.tour-logo { height: 28px; width: auto; }
.tour-badge { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; border: 1px solid rgba(201,163,92,.5); border-radius: 99px; padding: 4px 10px; }
.tour-count { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.6); }
.tour-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 22px; line-height: 1; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.tour-close:hover { background: rgba(255,255,255,.16); }

.tour-chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tour-chapters::-webkit-scrollbar { display: none; }
.tour-chapter { flex: 1 0 auto; min-width: 74px; border: 0; background: none; padding: 0 0 4px; text-align: left; color: rgba(255,255,255,.55); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.tour-chapter i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); margin-bottom: 6px; overflow: hidden; }
.tour-chapter i b { display: block; height: 100%; width: 0; background: var(--rose2); }
.tour-chapter.done i b { width: 100%; }
.tour-chapter.on { color: #fff; }
.tour-chapter.on i b { width: var(--p, 0%); transition: width .2s linear; }
.tour-chapter.admin { color: rgba(201,163,92,.75); }
.tour-chapter.admin.on { color: var(--gold); }

.tour-stage { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: center; }
.tour-screen { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -24px rgba(0,0,0,.6); }
.tour-bar { height: 26px; background: var(--mist); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.tour-bar i { width: 9px; height: 9px; border-radius: 50%; background: #F0DCE3; }
.tour-bar span { margin-left: 10px; font-size: 11px; color: #7A6E86; }
.tour-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.tour-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s ease; }
.tour-shot img.fade { opacity: 0; }
.tour-hole { position: absolute; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(59,49,71,.45), 0 0 0 3px var(--rose2); transition: all .6s cubic-bezier(.4,.1,.2,1); pointer-events: none; }
.tour-cursor { position: absolute; width: 22px; height: 22px; margin: -4px 0 0 -4px; transition: left .9s cubic-bezier(.4,.1,.2,1), top .9s cubic-bezier(.4,.1,.2,1); pointer-events: none;
  background: url(cursor.svg) no-repeat center / contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.tour-cursor::after { content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--rose2); opacity: 0; }
.tour-cursor.click::after { animation: ping .7s ease-out; }
@keyframes ping { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.8); } }

.tour-card { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 290px; }
.tour-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.tour-title { font: 600 26px/1.15 Poppins, sans-serif; letter-spacing: -.01em; }
.tour-title em { font: 400 1.25em/1 "Pinyon Script", cursive; color: var(--blush); }
.tour-text { color: rgba(255,255,255,.8); font-size: 14.5px; flex: 1; }
.tour-end { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 99px; font: 600 12px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.tour-btn.rose { background: var(--rose); color: #fff; }
.tour-btn.ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.tour-controls { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.tour-ctl { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.07); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.tour-ctl.play { width: 44px; height: 44px; background: var(--rose); border-color: var(--rose); font-size: 12px; letter-spacing: -2px; }
.tour-ctl:hover { background: rgba(255,255,255,.16); }
.tour-ctl.play:hover { background: #A83E66; }
.tour-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.tour-progress span { display: block; height: 100%; width: 0; background: var(--rose2); }
.tour-error { text-align: center; color: var(--blush); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 2px; }

/* Phone: the phone screenshots, the card under the screen, no spotlight. */
@media (max-width: 860px) {
  .tour { padding: 10px 12px 14px; gap: 10px; }
  .tour-stage { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .tour-screen { max-width: 270px; width: 100%; margin: 0 auto; border-radius: 20px; }
  .tour-bar { display: none; }
  .tour-shot { aspect-ratio: 3 / 4; }
  .tour-card { min-height: 0; padding: 16px; }
  .tour-title { font-size: 21px; }
  .tour-text { font-size: 14px; }
  .tour-count { display: none; }
  .tour-close { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-cursor, .tour-shot img { transition: none; } }
