/* The tour shows authentic app screenshots, never simulated product controls. */
.feature-tour { padding-top: 38px; padding-bottom: 84px; }
.feature-heading { padding-top: 56px; border-top: 1px solid var(--line); }
.feature-heading > p { max-width: 32ch; }
.feature-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); }
.feature-choice { position: relative; display: flex; align-items: start; gap: 16px; padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.feature-choice::after { content: ''; position: absolute; bottom: -1px; inset-inline: 0 24px; height: 2px; background: #294c37; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.feature-number { font: .625rem/2.1 var(--mono); }
.feature-choice b { display: block; font-size: .9375rem; font-weight: 600; }
.feature-choice small { display: block; font-size: .75rem; margin-top: 4px; }
.feature-choice-arrow { margin-left: auto; opacity: 0; }
.feature-choice:hover, .feature-choice[aria-selected="true"] { color: #173d28; }
.feature-choice[aria-selected="true"]::after { transform: scaleX(1); }
.feature-choice[aria-selected="true"] .feature-choice-arrow { opacity: 1; }
.feature-stage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 38px; }
.feature-stage-toolbar > p { font: .625rem/1.6 var(--mono); letter-spacing: .04em; color: var(--muted); }
.feature-theme { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.feature-theme button { font-size: .75rem; min-height: 36px; padding: 7px 15px; border-radius: 5px; color: #4b6053; }
.feature-theme button[aria-pressed="true"] { background: #f8f9f1; box-shadow: 0 1px 4px #20342422; color: #294632; }
.feature-panel-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 32px; }
.feature-panel-heading h3 { font-size: clamp(1.5rem,2.5vw,2.125rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; max-width: 25ch; }
.feature-panel-heading > p { max-width: 60ch; font-size: .9375rem; line-height: 1.8; color: var(--muted); }
.shot-variants { display: flex; gap: 24px; margin-bottom: 22px; }
.shot-variants button { padding-block: 8px; color: var(--muted); font-size: .8125rem; border-bottom: 1px solid transparent; }
.shot-variants button[aria-pressed="true"] { color: #173d28; border-color: currentColor; }
.app-capture { margin: 0; }
.app-shot { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid #7d887a55; box-shadow: 0 2px 4px #25372a15, 0 26px 60px -25px #142b2933; background: #191f20; cursor: zoom-in; aspect-ratio: 1.6; }
.app-shot picture { display: contents; }
.app-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-shot--knowledge img, .app-shot--sharing img { padding: 28px; }
.app-shot--sharing img { max-width: 640px; }
[data-preview-theme="light"] .app-shot { background: #e1e0d9; }
.shot-expand { position: absolute; right: 18px; bottom: 18px; padding: 10px 14px; background: #f1f2e9; color: #26372c; border: 1px solid #ffffff80; border-radius: 6px; box-shadow: 0 3px 14px #0003; font: .625rem/1.5 var(--mono); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.app-shot:hover .shot-expand, .app-shot:focus-visible .shot-expand { opacity: 1; transform: none; }
.app-capture figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font: .625rem/1.8 var(--mono); color: var(--muted); }
.app-capture figcaption i { font-style: normal; margin-inline: 8px; opacity: .65; }
.feature-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 38px; }
.feature-facts li { border-top: 1px solid var(--line); padding-top: 22px; }
.feature-facts h4 { font-size: .875rem; font-weight: 600; }
.feature-facts p { color: var(--muted); margin-top: 9px; font-size: .8125rem; }
.tour-note { margin-top: 42px; color: var(--muted); font-size: .8125rem; text-align: center; }
/* Without enhancement, links remain native anchors and every panel is readable. */
.feature-tour:not([data-enhanced]) .feature-panel { margin-block: 60px; }
.feature-tour:not([data-enhanced]) :is(.feature-stage-toolbar,.shot-variants,.shot-expand) { display: none; }
.screenshot-viewer { position: fixed; inset: 0; margin: auto; width: calc(100vw - 48px); max-width: 1800px; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #73837866; border-radius: 10px; background: #141b17; color: #eef1e9; box-shadow: 0 30px 100px #0008; }
.screenshot-viewer::backdrop { background: #070d0bed; backdrop-filter: blur(8px); }
.screenshot-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 20px; border-bottom: 1px solid #6f897744; }
.screenshot-viewer-toolbar p { font: .75rem/1.5 var(--mono); }
.screenshot-viewer-toolbar > div { display: flex; gap: 24px; }
.screenshot-viewer-toolbar button { color: #d4ded3; font-size: .8125rem; min-height: 40px; }
.screenshot-viewer-toolbar button:hover { color: #fff; }
.screenshot-viewer-toolbar button span { font-size: 1.125rem; margin-left: 10px; }
.screenshot-viewer-canvas { max-height: calc(100dvh - 120px); overflow: auto; overscroll-behavior: contain; }
.screenshot-viewer-canvas img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 126px); object-fit: contain; margin-inline: auto; }
.screenshot-viewer[data-zoomed] .screenshot-viewer-canvas img { width: max(var(--zoom-width,1440px),100%); max-width: none; max-height: none; }
.screenshot-viewer :focus-visible { outline: 2px solid #cbddc5; outline-offset: -3px; }
body:has(.screenshot-viewer[open]) { overflow: hidden; }
@media (max-width: 1000px) {
  .feature-choice { gap: 12px; }
  .feature-choice-arrow { display: none; }
  .feature-panel-heading { gap: 40px; }
}
@media (max-width: 700px) {
  .feature-tour { padding-top: 12px; padding-bottom: 60px; }
  .feature-heading { padding-top: 44px; }
  .feature-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-choice { gap: 12px; padding-block: 18px; }
  .feature-choice::after { right: 16px; }
  .feature-choice b { font-size: .875rem; }
  .feature-choice small { font-size: .6875rem; }
  .feature-number { font-size: .5625rem; }
  .feature-stage-toolbar { margin-block: 24px 30px; }
  .feature-stage-toolbar > p { font-size: .5625rem; }
  .feature-stage-toolbar > p > span { display: none; }
  .feature-theme button { padding-inline: 12px; }
  .feature-panel-heading { grid-template-columns: 1fr; gap: 18px; }
  .feature-panel-heading h3 { font-size: 1.625rem; }
  .feature-panel-heading > p { font-size: .875rem; }
  .app-shot { aspect-ratio: auto; }
  .app-shot img { height: auto; max-width: 100%; padding: 0; }
  .shot-expand { opacity: 1; transform: none; right: 12px; bottom: 12px; padding: 8px 10px; font-size: .5625rem; }
  .app-capture figcaption { flex-direction: column; gap: 3px; margin-top: 16px; }
  .feature-facts { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .feature-facts li { padding-top: 18px; }
  .feature-facts p { font-size: .875rem; }
  .tour-note { text-align: left; }
  .screenshot-viewer { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .screenshot-viewer-toolbar { padding: 10px 12px; gap: 10px; }
  .screenshot-viewer-toolbar > div { gap: 18px; }
  .screenshot-viewer-toolbar p { font-size: .625rem; }
  .screenshot-viewer-toolbar button { font-size: .75rem; }
  .screenshot-viewer-canvas { max-height: calc(100dvh - 86px); }
  .screenshot-viewer-canvas img { max-height: calc(100dvh - 90px); }
}
