/* Feature tour: the same block as the home page's inline copy in index.html. Change both together. */
/* ───────── Feature tour (pill tabs over one app window) ───────── */
.tour-sub{max-width:34em;margin:18px auto 0;font-size:16px}
.tour-stage{margin-top:56px;border-radius:var(--r-lg);color:var(--ink);padding:clamp(16px,2.6vw,36px);overflow:hidden;background:radial-gradient(65% 85% at 0 0,#F1FA9E 0,transparent 62%),radial-gradient(70% 90% at 100% 0,#BFE86A 0,transparent 66%),radial-gradient(85% 85% at 100% 100%,#6FCFA6 0,transparent 62%),radial-gradient(70% 75% at 0 100%,#D6F04A 0,transparent 62%),#C9EA72}
.tour-bar{display:flex;align-items:center;gap:12px}
.tour-tabs{position:relative;flex:1;min-width:0;display:flex;cursor:grab;user-select:none;-webkit-user-select:none;gap:2px;padding:5px;border-radius:999px;background:rgba(40,70,30,.16);box-shadow:inset 0 0 0 1px rgba(40,70,30,.10);overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;overscroll-behavior-x:contain}
.tour-tabs::-webkit-scrollbar{display:none}
.tour-tabs.drag{cursor:grabbing;scroll-behavior:auto}
.tour-tabs.drag .tour-tab{pointer-events:none}
.tour-tab{flex:none;border:0;background:transparent;color:var(--ink);height:44px;padding:0 20px;border-radius:999px;font:500 15px var(--sans);cursor:pointer;white-space:nowrap;transition:background .25s var(--ease),color .25s}
@media (hover:hover){.tour-tab:hover{background:rgba(255,255,255,.35)}}
.tour-tab.on{background:#fff;color:var(--ink);box-shadow:0 2px 8px -2px rgba(30,60,20,.3)}
.tour-tab:focus-visible,.tour-next:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tour-next{flex:none;width:54px;height:54px;border-radius:50%;border:0;background:rgba(40,70,30,.16);box-shadow:inset 0 0 0 1px rgba(40,70,30,.10);color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s var(--ease)}
.tour-next svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.tour-next:hover{background:rgba(255,255,255,.45)}}
.tour-next:active{transform:scale(.95)}
.tour-stage.js .tour-panel:not(.on){display:none}
.tour-panel + .tour-panel{margin-top:48px}
.tour-stage.js .tour-panel + .tour-panel{margin-top:0}
.tour-stage.js .tour-panel.on{animation:tour-in .45s var(--ease)}
@keyframes tour-in{from{opacity:0;transform:translateY(10px)}}
.tour-copy{display:grid;grid-template-columns:1.1fr 1fr;gap:16px clamp(24px,5vw,72px);align-items:end;padding:clamp(28px,3.4vw,44px) clamp(4px,1vw,12px) clamp(24px,2.6vw,36px);min-height:226px}
.tour-copy h3{font-size:clamp(28px,2.8vw,40px);color:var(--ink)}
.tour-copy p{margin-top:12px;max-width:34em;color:var(--ink);opacity:.82}
.tour-copy .tag{background:rgba(255,255,255,.55);color:var(--ink)}
.tour-copy ul{list-style:none;margin:0;padding:0;font-size:14px;color:var(--ink)}
.tour-copy li{position:relative;padding:9px 0 9px 24px;border-top:1px solid rgba(40,70,30,.18)}
.tour-copy li::before{content:"";position:absolute;left:2px;top:15px;width:10px;height:6px;border:solid var(--ink);border-width:0 0 1.5px 1.5px;transform:rotate(-45deg)}
.tour-win{position:relative;margin:0;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(20,40,10,.10),0 36px 70px -28px rgba(20,50,20,.5)}
.tour-chrome{display:flex;align-items:center;gap:7px;height:38px;padding:0 14px;border-bottom:1px solid var(--line);border-radius:14px 14px 0 0;background:#F4F2EC}
.tour-chrome i{width:11px;height:11px;border-radius:50%;background:#FF5F57}.tour-chrome i:nth-child(2){background:#FEBC2E}.tour-chrome i:nth-child(3){background:#28C840}
.tour-chrome span{margin-left:14px;padding:4px 12px;border-radius:999px;background:#fff;font:400 12px var(--sans);color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tour-shot{border-radius:0 0 14px 14px;overflow:hidden}
.tour-shot img{width:100%;height:auto}
.tour-over{position:absolute;border-radius:12px;box-shadow:0 0 0 1px rgba(20,40,10,.08),0 30px 60px -20px rgba(20,50,20,.5)}
.tour-over-ticket{right:-1.5%;bottom:-5%;width:36%}
.tour-over-trip{right:3%;top:11%;height:84%;width:auto}
.tour-phones{display:flex;justify-content:center;align-items:center;gap:clamp(16px,3vw,40px);aspect-ratio:1440/938;border-radius:14px;background:rgba(255,255,255,.30);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);overflow:hidden}
.tour-phones img{height:90%;width:auto;border-radius:clamp(22px,2.6vw,38px);border:clamp(5px,.6vw,9px) solid #111;box-shadow:0 30px 60px -20px rgba(20,50,20,.5);object-fit:cover;object-position:top}
@media (max-width:899px){
  .tour-copy{grid-template-columns:1fr;align-items:start;min-height:0}
  .tour-over{display:none}
}
@media (max-width:767px){
  .tour-stage{margin-left:calc(var(--gutter) * -.5);margin-right:calc(var(--gutter) * -.5);border-radius:var(--r-md)}
  .tour-tab{height:40px;padding:0 16px;font-size:14px}
  .tour-next{width:48px;height:48px}
  /* A desktop screen on a phone: keep it readable and let it pan sideways */
  .tour-shot{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .tour-shot img{width:760px;max-width:none}
  .tour-phones{aspect-ratio:auto;height:440px;justify-content:flex-start;overflow-x:auto;padding:0 16px;scrollbar-width:none}
  .tour-phones img{height:92%;flex:none}
}
.tour-more{display:none}
@media (max-width:767px){
  /* Phones: the pills stay pinned under the nav, and each tab's checklist folds behind a button */
  .tour-stage{overflow:clip}
  .tour-bar{position:sticky;top:72px;z-index:6;margin:-6px;padding:6px;border-radius:999px;background:rgba(206,236,110,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .tour-stage .tour-panel{scroll-margin-top:146px}
  .tour-copy{gap:12px;padding-top:22px;padding-bottom:18px}
  .tour-stage.js .tour-copy ul:not(.open){display:none}
  .tour-more{display:inline-flex;align-items:center;gap:8px;justify-self:start;height:34px;padding:0 14px;border:0;border-radius:999px;background:rgba(255,255,255,.55);color:var(--ink);font:500 13px var(--sans);cursor:pointer}
  .tour-more::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
  .tour-more[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
  .tour-more:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
}
@media (prefers-reduced-motion:reduce){ .tour-stage.js .tour-panel.on{animation:none} .tour-tabs{scroll-behavior:auto} }

/* Pop-out version (used on /switch/floranext): a short teaser card, the tour opens in a dialog */
.tour-teaser{padding:0 0 clamp(40px,6vw,88px)}
.tour-teaser-card{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap;padding:clamp(22px,3vw,36px);border-radius:var(--r-lg);background:radial-gradient(70% 120% at 0 0,#F1FA9E 0,transparent 62%),radial-gradient(80% 120% at 100% 100%,#6FCFA6 0,transparent 62%),#C9EA72}
.tour-teaser-card h2{font-size:clamp(24px,2.6vw,34px)}
.tour-teaser-card p{margin-top:8px;max-width:38em;color:var(--ink);opacity:.82}
.tour-teaser-card .btn{flex:none}
.tour-dialog{border:0;padding:0;background:transparent;width:min(1240px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border-radius:var(--r-lg);color:var(--ink)}
.tour-dialog::backdrop{background:rgba(24,36,16,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.tour-dialog .tour-stage{margin:0;border-radius:0}
.tour-dialog .tour-copy{min-height:0}
.tour-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font:500 15px var(--sans)}
.tour-close{width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.6);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.tour-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.tour-close:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tour-dialog-foot{margin-top:14px;text-align:center;font-size:12px;opacity:.7}
@media (max-width:767px){
  .tour-dialog .tour-bar{top:6px}
  .tour-dialog .tour-stage .tour-panel{scroll-margin-top:76px}
}
