/* Shared homepage preview and isolated, interactive chat demonstration. */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-teaser { display: block; min-width: 0; padding: 28px; color: #25231f; background: #fffdf8; border: 1px solid #d8d0c2; border-radius: 24px; box-shadow: 10px 12px 0 #d9dfd3; text-decoration: none; }
.demo-teaser:hover { color: #25231f; border-color: #275c45; }
.teaser-heading { margin-bottom: 24px; font-size: 1.1rem; line-height: 1.5; }
.teaser-heading strong, .teaser-heading > span { display: block; }
.teaser-heading > span { color: #6f6a60; }
.teaser-scenes { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.teaser-scenes > div { min-width: 0; }
.teaser-label { margin: 0 0 14px; color: #6f6a60; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.teaser-chat > img { display: block; width: 70%; height: auto; margin-left: auto; border-radius: 12px; }
.teaser-wall { padding: 12px; background: #eee8dc; border-radius: 12px; transform: rotate(3deg); }
.teaser-wall > img { display: block; width: 100%; height: auto; border-radius: 6px; }
.teaser-wall > p:not(.teaser-label) { margin: 12px 0 5px; font: 600 1.2rem/1.2 var(--tw-type__family__title); }
.teaser-wall > span { display: block; color: #6f6a60; font-size: .68rem; }
.teaser-action { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .95rem; font-weight: 700; }
.teaser-play { display: grid; place-items: center; flex: 0 0 36px; height: 36px; padding-left: 2px; color: #fffdf8; background: #275c45; border-radius: 50%; font-size: .75rem; }
.demo-teaser > small { display: block; margin: 10px 0 0 46px; color: #6f6a60; font-size: .7rem; }
.tour { max-width: 1040px; margin: 32px auto; }
.tour [hidden] { display: none !important; }
.tour-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.tour-heading h1 { margin: 8px 0 18px; font-size: clamp(2.7rem, 5.5vw, 4.8rem); }
.tour-heading .lede { margin: 0 0 12px; }
.tour-disclaimer { max-width: 550px; margin: 0 auto; color: #6f6a60; font-size: .8rem; }
.tour-stage { padding: 24px; background: #e8ede4; border: 1px solid #cbd6c5; border-radius: 22px; scroll-margin-top: 76px; }
.tour-progress { display: flex; justify-content: center; gap: clamp(12px, 4vw, 44px); margin: 0; padding: 0; list-style: none; }
.tour-progress li { display: flex; align-items: center; gap: 6px; color: #6b7465; font-size: .85rem; }
.tour-progress li > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #bfcbb8; border-radius: 50%; font-size: .75rem; }
.tour-progress [aria-current] { color: #214d38; font-weight: 750; }
.tour-progress [aria-current] > span { color: white; background: #275c45; border-color: #275c45; }
.tour-instruction { max-width: 680px; min-height: 122px; margin: 22px auto 0; text-align: center; }
.tour-instruction h2 { margin: 0 0 8px; font-size: 1.7rem; }
.tour-instruction p { margin: 0; font-size: .95rem; line-height: 1.5; color: #515b4c; }
.tour-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.tour-controls button { min-height: 44px; }
.tour-controls > .primary { min-width: 280px; }
.tour-reset { background: transparent; }
.tour-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.tour-scenes > section { min-width: 0; border: 1px solid #d6d7d0; border-radius: 18px; overflow: hidden; background: #fff; }
.tour-scene-heading { padding: 16px 12px; border-bottom: 1px solid #ebebe7; text-align: center; }
.tour-source { color: #6f6a60; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.tour-scene-heading h3 { margin: 5px 0; font: 700 1.05rem/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.tour-scene-heading p { margin: 0; color: #6d6d72; font-size: .7rem; }
.tour-conversation { height: 410px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.tour-time, .tour-joined { margin: 0 0 14px; color: #6d6d72; font-size: .72rem; text-align: center; }
.tour-bubble { width: fit-content; max-width: 95%; padding: 10px 12px; margin: 0 0 10px; border-radius: 16px 16px 16px 5px; background: #e9e9eb; color: #171719; font: 400 .85rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; overflow-wrap: anywhere; }
.tour-own { margin-left: auto; border-radius: 16px 16px 5px 16px; background: #0069dc; color: #fff; }
.tour-sender { display: block; margin-bottom: 5px; font-size: .66rem; font-weight: 650; }
.tour-photo-message { max-width: 88%; margin: 0 0 14px; }
.tour-photo-message img { display: block; width: 100%; height: auto; border-radius: 12px; }
.tour-photo-message figcaption { margin: 6px 0 0; font-size: .8rem; }
.tour-wall-content { padding: 16px; }
.tour-capture { width: fit-content; padding: 5px 9px; margin: 0 auto 16px; border-radius: 20px; background: #f0eee8; color: #6f6a60; font-size: .7rem; text-align: center; }
.tour-capture[data-state="on"] { background: #e0eee5; color: #215536; }
.tour-capture[data-state="stopped"] { background: #f6e6d8; color: #78532d; }
.tour-empty { padding: 36px 8px; text-align: center; color: #6f6a60; }
.tour-empty > span { display: block; margin-bottom: 16px; color: #a8b8a5; font-size: 2.5rem; }
.tour-empty strong { color: #41533c; font-size: .95rem; }
.tour-empty p { font-size: .8rem; }
.tour-wall-photo { margin: 0; padding: 6px; background: #fffdf8; border: 1px solid #e3ddd2; border-radius: 9px; }
.tour-wall-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.tour-wall-photo figcaption { padding: 10px 4px 4px; }
.tour-wall-photo strong { display: block; font: 600 1.15rem/1.2 var(--tw-type__family__title); }
.tour-wall-photo figcaption span { display: block; margin-top: 5px; color: #6f6a60; font-size: .7rem; }
.tour-count { margin: 18px 0 0; color: #6f6a60; font-size: .75rem; text-align: center; }
.tour-kept, .tour-not-saved { font-size: .8rem; line-height: 1.45; }
.tour-kept { color: #275c45; }
.tour-not-saved { padding: 10px; color: #78532d; background: #fcf2e8; border-radius: 8px; }
.tour-takeaway { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 36px 0; }
.tour-takeaway h2 { font-size: 1.6rem; }
.tour-takeaway p { color: #6f6a60; font-size: .92rem; line-height: 1.6; }
.tour-start { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-top: 1px solid #d8d0c2; }
.tour-start h2 { margin: 0 0 8px; font-size: 1.8rem; }
.tour-start p { margin: 0; color: #6f6a60; }
.tour button:focus-visible, .demo-teaser:focus-visible { outline: 3px solid #a5523e; outline-offset: 4px; }
@media (max-width: 720px) {
  .hero-actions > a { flex: 1 1 auto; }
  .demo-teaser { width: 100%; max-width: 460px; justify-self: center; padding: 20px; box-shadow: 5px 6px 0 #d9dfd3; }
  .teaser-scenes { gap: 12px; }
  .teaser-scenes .tour-bubble { font-size: .75rem; padding: 8px 10px; }
  .teaser-wall { padding: 9px; }
  .teaser-wall > p:not(.teaser-label) { font-size: 1rem; }
  .tour { margin: 22px auto; }
  .tour-heading { margin-bottom: 20px; }
  .tour-heading h1 { font-size: clamp(2.15rem, 8vw, 3rem); }
  .tour-disclaimer { font-size: .72rem; }
  .tour-stage { padding: 16px 10px; border-radius: 14px; }
  .tour-progress { gap: 12px; }
  .tour-progress li { gap: 4px; font-size: .72rem; }
  .tour-progress li > span { width: 21px; height: 21px; font-size: .66rem; }
  .tour-instruction { margin-top: 18px; min-height: 132px; }
  .tour-instruction h2 { font-size: 1.4rem; }
  .tour-instruction p { font-size: .86rem; }
  .tour-controls { margin: 14px 0 20px; }
  .tour-controls > .primary { flex: 1 1 100%; min-width: 0; }
  .tour-controls > button:not(.primary) { flex: 1; }
  .tour-scenes { gap: 10px; }
  .tour-scenes > section { border-radius: 11px; }
  .tour-scene-heading { padding: 12px 6px; }
  .tour-scene-heading h3 { font-size: .87rem; }
  .tour-source { font-size: .6rem; letter-spacing: .02em; }
  .tour-scene-heading p { font-size: .62rem; }
  .tour-conversation { height: 330px; padding: 10px 8px; }
  .tour-bubble { max-width: 100%; padding: 9px; font-size: .75rem; border-radius: 12px 12px 12px 4px; }
  .tour-own { border-radius: 12px 12px 4px 12px; }
  .tour-sender, .tour-time, .tour-joined { font-size: .62rem; }
  .tour-photo-message { max-width: 100%; }
  .tour-photo-message figcaption { font-size: .7rem; }
  .tour-wall-content { padding: 10px 8px; }
  .tour-capture { margin-bottom: 12px; padding: 5px 6px; font-size: .64rem; }
  .tour-empty { padding: 22px 0; }
  .tour-empty strong { font-size: .82rem; }
  .tour-empty p, .tour-kept, .tour-not-saved, .tour-count { font-size: .7rem; }
  .tour-wall-photo { padding: 4px; }
  .tour-wall-photo figcaption { padding: 8px 2px 3px; }
  .tour-wall-photo strong { font-size: .95rem; }
  .tour-wall-photo figcaption span { font-size: .6rem; }
  .tour-not-saved { padding: 8px; }
  .tour-takeaway { grid-template-columns: 1fr; gap: 4px; margin: 24px 0; }
  .tour-start { align-items: start; flex-direction: column; gap: 16px; }
  .tour-start > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .teaser-wall { transform: none; } }

/* Distinct devices: Messages lives on a phone; the album is a website. */
.tour-scenes { grid-template-columns: minmax(0, 300px) 64px minmax(0, 440px); gap: 16px; align-items: center; max-width: 900px; }
.tour-scenes > .tour-phone { border: 7px solid #232526; border-radius: 38px; box-shadow: 0 12px 25px #18251a24; }
.tour-phone-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 4px; height: 38px; color: #232526; font: 700 .72rem/1 -apple-system, sans-serif; }
.tour-phone-status i { width: 76px; height: 21px; border-radius: 20px; background: #232526; }
.tour-phone .tour-scene-heading { padding-top: 10px; }
.tour-phone .tour-conversation { height: 320px; padding: 14px 12px; }
.tour-contact { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 10px; background: #f4f6f9; border-radius: 12px; }
.tour-contact > span { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: #275c45; border-radius: 50%; font-weight: 700; }
.tour-contact strong, .tour-contact small { display: block; font: 600 .82rem/1.5 -apple-system, sans-serif; }
.tour-contact small { color: #6d6d72; font-size: .65rem; font-weight: 400; }
.tour-message-input { display: flex; align-items: center; gap: 8px; padding: 10px; color: #83838a; font-size: .78rem; }
.tour-message-input > span:nth-child(2) { flex: 1; border: 1px solid #d7d7dd; padding: 8px 10px; border-radius: 20px; }
.tour-message-input b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #0069dc; color: white; }
.tour-home-indicator { width: 90px; height: 4px; margin: 2px auto 9px; background: #232526; border-radius: 8px; }
.tour-flow-arrow { text-align: center; color: #275c45; }
.tour-flow-arrow > span { display: block; font-size: 2.6rem; }
.tour-flow-arrow small { font-size: .68rem; line-height: 1.4; }
.tour-scenes > .tour-collection { align-self: center; border-radius: 12px; box-shadow: 0 10px 24px #18251a12; }
.tour-browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #eeefed; border-bottom: 1px solid #d6d7d0; color: #a3a6a0; font-size: .6rem; }
.tour-browser-bar > div { flex: 1; min-width: 0; padding: 6px 8px; text-align: center; border-radius: 5px; background: white; color: #515b4c; font-size: .7rem; }
.tour-browser-bar > div span { color: #83877f; }
.tour-collection .tour-scene-heading { background: #fffdf8; }
.tour-collection .tour-scene-heading h3 { font: 600 1.5rem/1.3 var(--tw-type__family__title); }
.tour-collection .tour-scene-heading p { line-height: 1.5; }
.tour-collection .tour-wall-photo img { max-height: 260px; object-fit: cover; }
.tour-web-note { margin: 16px 0 0; color: #6f6a60; font-size: .7rem; text-align: center; }
@media (max-width: 720px) {
  .tour-scenes { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tour-scenes > .tour-phone { width: 100%; max-width: 290px; justify-self: center; border-radius: 34px; }
  .tour-scenes > .tour-collection { width: 100%; max-width: 380px; justify-self: center; }
  .tour-flow-arrow { display: flex; align-items: center; justify-content: center; gap: 14px; }
  .tour-flow-arrow > span { transform: rotate(90deg); line-height: 1; }
  .tour-flow-arrow small br { display: none; }
  .tour-phone .tour-conversation { height: 250px; }
  .tour-phone .tour-source, .tour-collection .tour-source { font-size: .65rem; }
  .tour-phone .tour-bubble { font-size: .8rem; }
  .tour-phone .tour-scene-heading h3 { font-size: 1rem; }
  .tour-collection .tour-wall-content { padding: 14px; }
  .tour-collection .tour-empty p, .tour-kept, .tour-not-saved { font-size: .8rem; }
}
