/* The guide uses the existing application screenshot; only the tour is animated. */
.landing-guide { position: relative; background: #f5f8fc; color: var(--text-main); }
.landing-guide-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: white; border-bottom: 1px solid var(--landing-card-border); }
.landing-guide-toolbar > span { font-size: 12px; color: var(--text-dim); }
.landing-guide button,.guide-reader button,.guide-reader a { font: inherit; }
.landing-guide-trigger,.landing-guide-launch { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; color: var(--primary); background: white; border: 1px solid #bfdbfe; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.landing-guide-trigger::before { content: '?'; display: grid; place-items: center; width: 19px; height: 19px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 12px; }
.landing-guide-trigger:hover,.landing-guide-launch:hover { background: #eff6ff; }
.landing-guide-launch { margin-top: 16px; background: var(--primary); border-color: var(--primary); color: white; }
.landing-guide-launch:hover { background: var(--primary-hover); }
.landing-guide-stage { position: relative; overflow: hidden; isolation: isolate; }
.landing-guide-stage > img { display: block; width: 100%; height: auto; }
.landing-guide-focus { position: absolute; z-index: 1; border: 2px solid #3b82f6; border-radius: 5px; box-shadow: 0 0 0 1800px rgb(15 23 42 / .42); pointer-events: none; transition: left .45s ease,top .45s ease,width .45s ease,height .45s ease; }
.landing-guide-focus[hidden],.landing-guide-caption[hidden] { display: none; }
.landing-guide-cursor { position: absolute; z-index: 3; top: 32px; right: 75px; width: 21px; height: 26px; pointer-events: none; opacity: 0; transform: translate(50px,25px); transition: transform .75s ease,opacity .2s ease; }
.landing-guide-cursor::before { content: ''; position: absolute; inset: 0; background: #17253c; clip-path: polygon(0 0,0 85%,27% 67%,47% 100%,68% 88%,48% 58%,90% 56%); filter: drop-shadow(0 1px 2px #fff); }
.landing-guide.is-pointing .landing-guide-cursor { opacity: 1; transform: none; }
.landing-guide.is-clicking .landing-guide-trigger { background: #2563eb; color: white; box-shadow: 0 0 0 5px #2563eb24; }
.landing-guide-caption { position: absolute; z-index: 2; top: 26%; left: 5%; width: min(90%,370px); box-sizing: border-box; padding: 18px 20px; background: white; border: 1px solid #c7d8ee; border-radius: var(--landing-card-radius); box-shadow: 0 12px 35px #0f172a1c; text-align: left; }
.landing-guide-caption small { color: var(--primary); font-size: 12px; font-weight: 600; }
.landing-guide-caption strong { display: block; margin: 6px 0; font-size: 16px; line-height: 1.4; }
.landing-guide-caption p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.landing-guide-caption > span { display: block; margin-top: 12px; font-size: 11px; color: var(--text-dim); }
.landing-guide:focus-visible,.landing-guide button:focus-visible,.guide-reader button:focus-visible,.guide-reader a:focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
html.guide-reader-open { overflow: hidden; }
html.landing-phone #showcase [data-desktop-only] { display: none !important; }
.guide-reader { box-sizing: border-box; width: min(1180px,calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--landing-card-border); border-radius: var(--landing-card-radius); color: var(--text-main); background: #f8fafc; font-family: var(--font-sans); box-shadow: 0 24px 80px #0f172a30; }
.guide-reader::backdrop { background: rgb(15 23 42 / .65); }
.guide-reader[open] { display: flex; flex-direction: column; }
.guide-reader-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; padding: 18px 24px; background: white; border-bottom: 1px solid var(--landing-card-border); }
.guide-reader-head h2 { margin: 0; font-size: 19px; font-weight: 600; }
.guide-reader-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--landing-card-border); border-radius: 10px; background: white; color: var(--text-muted); font-size: 26px !important; cursor: pointer; }
.guide-reader-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 24px; }
.guide-reader-intro { margin: 0 0 20px; color: var(--text-muted); line-height: 1.65; font-size: 14px; }
.guide-reader-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 28px; align-items: start; }
.guide-reader-image { overflow: hidden; border: 1px solid var(--landing-card-border); border-radius: 14px; background: white; }
.guide-reader-image .landing-guide-stage { aspect-ratio: 1619 / 1021; }
.guide-reader-image p { margin: 0; padding: 12px 16px; color: var(--text-dim); font-size: 12px; line-height: 1.6; }
.guide-reader-step-label { color: var(--primary); font-size: 13px; font-weight: 600; }
.guide-reader-copy h3 { margin: 8px 0 12px; font-size: clamp(20px,2vw,26px); line-height: 1.35; font-weight: 600; }
.guide-reader-copy > p { color: var(--text-muted); font-size: 14px; line-height: 1.75; }
.guide-reader-copy dl { margin: 18px 0; }
.guide-reader-copy dl > div { display: grid; grid-template-columns: minmax(110px,.65fr) minmax(0,1.35fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; font-size: 13px; line-height: 1.6; }
.guide-reader-copy dt { font-weight: 600; }
.guide-reader-copy dd { margin: 0; color: var(--text-muted); }
.guide-reader-note { padding: 12px 14px; border-left: 3px solid #60a5fa; background: #eff6ff; }
.guide-reader-doc { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.guide-reader-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.guide-reader-steps button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--landing-card-border); border-radius: 10px; color: var(--text-muted); background: white; cursor: pointer; font-size: 12px; }
.guide-reader-steps button[aria-current="step"] { color: var(--primary); border-color: #93b7ee; background: #eff6ff; font-weight: 600; }
.guide-reader-foot { display: flex; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 16px 24px; border-top: 1px solid var(--landing-card-border); background: white; }
.guide-reader-foot button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--landing-card-border); border-radius: 10px; background: white; color: var(--text-main); cursor: pointer; font-size: 14px; font-weight: 600; }
.guide-reader-foot button:last-child { background: var(--primary); border-color: var(--primary); color: white; }
.guide-reader-foot button:disabled { color: #94a3b8; background: #f1f5f9; cursor: default; }
@media(max-width:1100px) {
  .landing-guide-caption { padding: 12px 14px; width: min(90%,310px); }
  .landing-guide-caption strong { font-size: 14px; }
  .landing-guide-caption p { font-size: 12px; }
  .landing-guide-caption > span { display: none; }
}
@media(max-width:760px) {
  .landing-guide-toolbar { padding: 10px 12px; }
  .landing-guide-toolbar > span { max-width: 140px; line-height: 1.5; }
  .landing-guide-caption { position: relative; inset: auto; width: auto; min-height: 130px; border: 0; border-radius: 0; box-shadow: none; padding: 16px; }
  .landing-guide-caption[hidden] { display: block; visibility: hidden; }
  .landing-guide-caption strong { font-size: 16px; }
  .landing-guide-caption p { font-size: 13px; }
  .guide-reader { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .guide-reader-head { padding: 12px 16px; }
  .guide-reader-head h2 { font-size: 17px; }
  .guide-reader-body { padding: 16px; }
  .guide-reader-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .guide-reader-copy dl > div { grid-template-columns: minmax(95px,.65fr) minmax(0,1.35fr); gap: 12px; }
  .guide-reader-steps { flex-wrap: nowrap; overflow-x: auto; padding: 4px 3px 10px; }
  .guide-reader-steps button { flex-shrink: 0; }
  .guide-reader-foot { padding: 12px 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .landing-guide-focus,.landing-guide-cursor { transition: none; }
  .landing-guide-cursor { display: none; }
}
@media(max-width:600px) {
  #showcase [data-desktop-only] { display: none !important; }
}
