/* Rentari feature tour, scoped to the current public-site shell. */
.pd-feature-tour .ft-page { --ft-tint: var(--surface-canvas); --ft-accent: var(--brand-deep); color: var(--text); }
.pd-feature-tour .ft-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.pd-feature-tour .ft-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 58px 48px; }
.pd-feature-tour .ft-hero-copy { max-width: 490px; }
.pd-feature-tour #main-content .ft-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; margin: 0 0 16px; }
.pd-feature-tour .ft-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ai); }
.pd-feature-tour #main-content h1 { margin: 0 0 18px; }
.pd-feature-tour #main-content .ft-lead { color: var(--text-muted); margin: 0 0 24px; max-width: 440px; }
.pd-feature-tour .ft-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-feature-tour #main-content .ft-plan-note { color: var(--text-muted); margin: 16px 0 0; font-size: 12px; }
.pd-feature-tour .ft-plan-note a { text-decoration: underline; text-underline-offset: 3px; }
.pd-feature-tour .ft-hero-art { position: relative; min-width: 0; }
.pd-feature-tour .ft-hero-art img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.pd-feature-tour .ft-art-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.pd-feature-tour .ft-art-note i { color: var(--ai); }
.pd-feature-tour .ft-jumpbar { position: sticky; top: 80px; z-index: 20; border-block: 1px solid var(--border); background: var(--surface); }
.pd-feature-tour .ft-jumps { display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.pd-feature-tour .ft-jumps a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 62px; padding: 14px 10px; border-bottom: 3px solid transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.pd-feature-tour .ft-jumps a:hover { background: var(--surface-canvas); color: var(--text); }
.pd-feature-tour .ft-jumps a[aria-current] { color: var(--action-ink); border-bottom-color: var(--action-ink); }
.pd-feature-tour .ft-start { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 28px; border-bottom: 1px solid var(--border-hairline); }
.pd-feature-tour #main-content .ft-start p { color: var(--text-muted); margin: 0; }
.pd-feature-tour .ft-start a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 15px; border: 1px solid var(--border); border-radius: var(--radius-md); font-weight: 600; }
.pd-feature-tour .ft-start a:hover { background: var(--surface-canvas); }
.pd-feature-tour .ft-start a > i:first-child { color: var(--brand-deep); }
.pd-feature-tour .ft-start a > i:last-child { margin-left: 12px; font-size: 12px; }
.pd-feature-tour .ft-group { padding-top: 58px; scroll-margin-top: 165px; }
.pd-feature-tour .ft-group-marketing { --ft-tint: var(--brand-deep-tint); }
.pd-feature-tour .ft-group-leases { --ft-tint: var(--info-bg); }
.pd-feature-tour .ft-group-maintenance { --ft-tint: var(--surface-canvas); }
.pd-feature-tour .ft-group-accounting { --ft-tint: var(--brand-deep-tint); }
.pd-feature-tour .ft-group-ai { --ft-tint: var(--ai-bg); --ft-accent: var(--ai); }
.pd-feature-tour .ft-group-heading { margin-bottom: 24px; }
.pd-feature-tour #main-content .ft-group-heading .ft-eyebrow { margin-bottom: 12px; text-transform: uppercase; }
.pd-feature-tour .ft-category-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); color: var(--ft-accent); background: var(--ft-tint); }
.pd-feature-tour #main-content .ft-group-heading h2 { margin: 0 0 8px; }
.pd-feature-tour #main-content .ft-group-heading > p:last-child { margin: 0; color: var(--text-muted); }
.pd-feature-tour .ft-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--border); border-radius: 12px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 16px; }
.pd-feature-tour .ft-tabs button { flex: 0 0 auto; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-md); color: var(--text-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pd-feature-tour .ft-tabs button:hover { background: var(--surface-canvas); color: var(--text); }
.pd-feature-tour .ft-tabs button[aria-selected="true"] { background: var(--action-soft); color: var(--action-ink); }
.pd-feature-tour .ft-group-ai .ft-tabs button[aria-selected="true"] { background: var(--ai-bg); color: var(--ai); }
.pd-feature-tour .ft-panel { display: grid; grid-template-columns: .9fr 1.35fr; gap: 32px; align-items: center; min-height: 425px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--ft-tint); padding: 32px; scroll-margin-top: 165px; }
.pd-feature-tour .ft-panel + .ft-panel { margin-top: 16px; }
.pd-feature-tour [data-tour-ready] .ft-panel { margin-top: 0; }
.pd-feature-tour #main-content .ft-panel-label { color: var(--ft-accent); font-size: 12px; font-weight: 600; margin: 0 0 12px; }
.pd-feature-tour #main-content .ft-panel h3 { margin: 0 0 14px; }
.pd-feature-tour #main-content .ft-panel-copy > p:not(.ft-panel-label) { margin: 0; color: var(--text-muted); }
.pd-feature-tour .ft-panel-copy ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.pd-feature-tour .ft-panel-copy li { display: flex; align-items: baseline; gap: 10px; }
.pd-feature-tour .ft-panel-copy li i { color: var(--ft-accent); font-size: 11px; }
.pd-feature-tour .ft-screen { margin: 0; min-width: 0; }
.pd-feature-tour .ft-preview { display: grid; place-items: center; position: relative; width: 100%; height: 335px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.pd-feature-tour .ft-preview img { display: block; max-width: 100%; width: auto; height: auto; max-height: 100%; object-fit: contain; }
.pd-feature-tour .ft-screen-illustration .ft-preview { background: transparent; border-color: transparent; }
.pd-feature-tour .ft-expand { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600; }
.pd-feature-tour .ft-preview:hover { border-color: var(--ft-accent); }
.pd-feature-tour .ft-preview:hover .ft-expand { background: var(--surface-canvas); }
.pd-feature-tour .ft-screen figcaption { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-muted); }
.pd-feature-tour .ft-pilot-card { min-width: 0; padding: 24px; border: 1px solid var(--ai-border); border-radius: 12px; background: var(--surface); }
.pd-feature-tour .ft-pilot-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pd-feature-tour .ft-pilot-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: var(--radius-md); background: var(--ai-bg); color: var(--ai); }
.pd-feature-tour #main-content .ft-pilot-label { margin: 0; font-weight: 600; }
.pd-feature-tour #main-content .ft-pilot-caption { margin: 2px 0 0; color: var(--text-muted); font-size: 12px; }
.pd-feature-tour .ft-pilot-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 22px; }
.pd-feature-tour .ft-pilot-options button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 48px; padding: 9px 6px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.pd-feature-tour .ft-pilot-options button:hover { background: var(--surface-canvas); color: var(--text); }
.pd-feature-tour .ft-pilot-options button[aria-selected="true"] { background: var(--ai-bg); color: var(--ai); }
.pd-feature-tour .ft-pilot-description { min-height: 176px; }
.pd-feature-tour #main-content .ft-pilot-description h4 { margin: 0 0 16px; font-size: 14px; line-height: 22px; font-weight: 600; }
.pd-feature-tour .ft-pilot-flow { position: relative; display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.pd-feature-tour .ft-pilot-flow::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 14px; width: 1px; background: var(--border); }
.pd-feature-tour #main-content .ft-pilot-flow li { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; line-height: 20px; }
.pd-feature-tour .ft-pilot-step { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text-muted); font-size: 12px; font-weight: 600; }
.pd-feature-tour .ft-pilot-flow li:nth-child(2) .ft-pilot-step { border-color: var(--ai-border); background: var(--ai-bg); color: var(--ai); }
.pd-feature-tour #main-content .ft-pilot-note { display: flex; align-items: baseline; gap: 9px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border-hairline); color: var(--text-muted); font-size: 12px; line-height: 19px; }
.pd-feature-tour .ft-pilot-note i { color: var(--ai); }
.pd-feature-tour .ft-related { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; padding-block: 14px 0; }
.pd-feature-tour .ft-related > span { color: var(--text-muted); font-size: 12px; }
.pd-feature-tour .ft-related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
.pd-feature-tour .ft-related a:hover { color: var(--ft-accent); text-decoration-color: currentColor; }
.pd-feature-tour .ft-related i { font-size: 10px; }
.pd-feature-tour .ft-close { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; padding: 36px; margin-block: 58px 64px; background: var(--surface-canvas); border: 1px solid var(--border); border-radius: var(--radius-card); }
.pd-feature-tour #main-content .ft-close h2 { margin: 0 0 12px; }
.pd-feature-tour #main-content .ft-close p:not(.ft-eyebrow) { color: var(--text-muted); margin: 0 0 24px; }
.pd-feature-tour .ft-close-links { display: grid; gap: 12px; }
.pd-feature-tour .ft-close-links a { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-weight: 600; }
.pd-feature-tour .ft-close-links a:hover { border-color: var(--border-strong); }
.pd-feature-tour .ft-close-links i:first-child { color: var(--ai); font-size: 18px; }
.pd-feature-tour .ft-close-links i:last-child { margin-left: auto; }
.pd-feature-tour .ft-close-links small { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); margin-top: 4px; }
.pd-feature-tour .ft-dialog { width: min(1160px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--elev-4); }
.pd-feature-tour .ft-dialog::backdrop { background: var(--surface-scrim); }
.pd-feature-tour .ft-dialog-header { position: sticky; top: 0; display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; align-items: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.pd-feature-tour #main-content .ft-dialog-header h2 { margin: 0; }
.pd-feature-tour #main-content .ft-dialog-header p { margin: 4px 0 0; color: var(--text-muted); font-size: 12px; }
.pd-feature-tour .ft-dialog-header button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.pd-feature-tour .ft-dialog-header button:hover { background: var(--surface-canvas); }
.pd-feature-tour .ft-dialog-body { padding: 20px; }
.pd-feature-tour .ft-dialog-body img { width: 100%; height: auto; }
.pd-feature-tour [hidden] { display: none !important; }
@media (max-width: 1024px) {
  .pd-feature-tour .ft-hero { gap: 24px; }
  .pd-feature-tour .ft-jumps { width: 100%; padding-inline: 20px; }
  .pd-feature-tour .ft-jumps a { font-size: 12px; }
  .pd-feature-tour .ft-panel { grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 24px; }
  .pd-feature-tour .ft-close { gap: 28px; }
}
@media (max-width: 700px) {
  .pd-feature-tour .ft-shell { width: calc(100% - 32px); }
  .pd-feature-tour .ft-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 30px 26px; }
  .pd-feature-tour .ft-hero-copy { max-width: none; }
  .pd-feature-tour .ft-hero-art img { max-height: 190px; }
  .pd-feature-tour .ft-jumpbar { top: 70px; }
  .pd-feature-tour .ft-jumps { width: 100%; padding-inline: 12px; }
  .pd-feature-tour .ft-jumps a { min-height: 54px; padding-inline: 12px; }
  .pd-feature-tour .ft-start { display: grid; gap: 10px; padding-block: 22px; }
  .pd-feature-tour .ft-start a > i:last-child { margin-left: auto; }
  .pd-feature-tour .ft-group { padding-top: 36px; scroll-margin-top: 145px; }
  .pd-feature-tour .ft-panel { grid-template-columns: 1fr; padding: 22px 18px; gap: 26px; scroll-margin-top: 145px; }
  .pd-feature-tour .ft-tabs { width: 100%; }
  .pd-feature-tour .ft-tabs button { padding-inline: 15px; }
  .pd-feature-tour .ft-preview { height: 255px; padding: 8px; }
  .pd-feature-tour .ft-pilot-card { padding: 18px 14px; }
  .pd-feature-tour .ft-pilot-options { gap: 3px; padding: 4px; }
  .pd-feature-tour .ft-pilot-options button { padding-inline: 4px; }
  .pd-feature-tour .ft-related { gap: 0 18px; }
  .pd-feature-tour .ft-related > span { width: 100%; }
  .pd-feature-tour .ft-close { grid-template-columns: 1fr; padding: 24px 20px; gap: 28px; margin-block: 36px; }
  .pd-feature-tour .ft-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); }
  .pd-feature-tour .ft-dialog-header { padding: 12px; }
  .pd-feature-tour .ft-dialog-body { padding: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.pd-feature-tour) { scroll-behavior: smooth; }
  .pd-feature-tour :is(.ft-tabs button, .ft-pilot-options button, .ft-jumps a, .ft-start a, .ft-preview, .ft-expand) { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
  .pd-feature-tour .ft-preview img { transition: transform 260ms cubic-bezier(.23, 1, .32, 1); }
  .pd-feature-tour .ft-preview:hover img { transform: scale(1.015); }
  .pd-feature-tour .ft-panel-copy .pd-action i { transition: transform 180ms cubic-bezier(.23, 1, .32, 1); }
  .pd-feature-tour .ft-panel-copy .pd-action:hover i { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.pd-feature-tour) { scroll-behavior: auto; }
}
