:root {
  color-scheme: dark;
  --page: #0b1219;
  --panel: #151e29;
  --line: #2c3c4a;
  --muted: #a5b4bd;
  --ink: #f3f7ef;
  --lime: #c8f56a;
  --teal: #5bd5b2;
  --ink-dark: #162016;
  --frame: #101923;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background: var(--page);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.tour-wrap { margin-inline: auto; width: min(100% - 104px, 1328px); }
.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tour-skip { position: absolute; top: 12px; left: 12px; z-index: 5; transform: translateY(-180%); background: var(--lime); color: var(--ink-dark); padding: 10px 16px; border-radius: 8px; }
.tour-skip:focus { transform: none; }
.tour-header { background: #0b1219; border-bottom: 1px solid #25313a; }
.tour-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 14px; }
.tour-brand { display: inline-flex; align-items: center; min-height: 44px; }
.tour-brand img { display: block; width: clamp(124px, 13vw, 158px); max-width: 100%; height: auto; }
.tour-header-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.tour-site-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: 17px; }
.tour-site-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.back-to-site { color: var(--muted); font-size: .84rem; font-weight: 650; white-space: nowrap; }
.back-to-site:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.tour-demo-link { color: var(--lime); }
.tour-languages { display: flex; padding: 3px; gap: 2px; border: 1px solid #333f49; border-radius: 9px; background: #131d25; }
.tour-languages button { min-width: 37px; min-height: 34px; color: var(--muted); border: 0; border-radius: 6px; background: transparent; font-size: .72rem; font-weight: 800; }
.tour-languages button[aria-pressed="true"] { background: #293637; color: var(--lime); }

.tour-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); min-height: 397px; align-items: center; gap: 34px; padding: 50px 0 45px; }
.tour-hero-copy { position: relative; z-index: 1; padding: 8px 0 10px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--lime); font-size: .72rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.kicker-line { width: 24px; height: 2px; background: var(--lime); border-radius: 4px; }
.tour-hero h1 { margin: 0; font-size: clamp(2.7rem, 5.25vw, 5rem); font-weight: 770; line-height: .99; letter-spacing: -.073em; text-wrap: balance; }
.tour-hero h1 em { display: block; color: var(--lime); font-style: normal; }
.tour-hero-body { margin: 24px 0 0; max-width: 510px; color: #b9c5ce; font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.57; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 29px; }
.tour-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 0 15px; font-size: .875rem; font-weight: 730; line-height: 1.22; text-align: center; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.tour-button span[aria-hidden] { font-size: 1.13rem; font-weight: 510; }
.tour-primary { background: var(--lime); color: var(--ink-dark); border-color: var(--lime); }
.tour-primary:hover { background: #dcff94; border-color: #dcff94; }
.tour-plain { color: #d4e1e5; background: transparent; padding-inline: 8px; }
.tour-plain:hover { color: var(--lime); }
.tour-outline { color: var(--ink); background: #17242e; border-color: #354652; }
.tour-outline:hover:not(:disabled) { background: #243540; border-color: #667e87; }
.tour-outline:disabled { color: #a2aeb4; border-color: #29383e; background: transparent; opacity: .61; }
.tour-art { position: relative; isolation: isolate; min-width: 0; height: 100%; min-height: 320px; margin: 0; border: 1px solid #2d3d42; border-radius: 18px; overflow: hidden; background: #111a23; }
.tour-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; object-position: 52% 53%; }
.tour-art::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(0deg, #101a22 0%, #101a2200 29%); }
.art-corners { position: absolute; z-index: 1; top: 18px; right: 18px; width: 28px; height: 28px; border-top: 1px solid #aabf82; border-right: 1px solid #aabf82; opacity: .65; border-radius: 0 3px 0 0; }
.art-legend { display: flex; align-items: center; gap: 9px; position: absolute; z-index: 2; left: 19px; bottom: 17px; color: #e3eee4; font-size: .75rem; font-weight: 670; }
.art-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #b9f26386; }
.tour-guide { scroll-margin-top: 15px; padding: 0 0 52px; }
.tour-hero[hidden] ~ .tour-guide { padding-top: 26px; }
.tour-introduction { display: inline-block; margin-bottom: 10px; color: var(--muted); font-size: .79rem; text-decoration: underline; text-underline-offset: 3px; }
.tour-introduction:hover { color: var(--ink); }
.guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.guide-heading h2 { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.85rem); letter-spacing: -.045em; line-height: 1.14; }
.guide-heading p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.guide-heading .sample-chip { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 7px 10px; margin: 0; border: 1px solid #324649; border-radius: 6px; background: #142425; color: #cfe6da; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.sample-chip span:first-child { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.tour-layout { display: grid; grid-template-columns: 226px minmax(0, 1fr); align-items: start; gap: 16px; }
.tour-nav { min-width: 0; background: #101a22; border: 1px solid #2a3944; border-radius: 12px; padding: 16px 11px 11px; }
.tour-nav-header { display: flex; justify-content: space-between; gap: 8px; margin: 0 8px 12px; color: #b2c2cc; font-size: .73rem; font-weight: 700; }
#sidebar-progress { color: var(--lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress-track { height: 4px; margin: 0 8px 12px; background: #2d3c46; border-radius: 10px; overflow: hidden; }
.progress-track span { display: block; width: 9%; height: 100%; background: var(--lime); border-radius: inherit; transition: width .22s ease; }
.tour-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.tour-nav button { width: 100%; padding: 9px 10px; min-height: 43px; display: flex; align-items: center; gap: 9px; text-align: start; border: 1px solid transparent; border-radius: 7px; color: #c5d0d6; font-size: .79rem; font-weight: 630; background: transparent; }
.tour-nav button:hover { background: #192b32; color: var(--ink); }
.tour-nav button[aria-current="step"] { border-color: #425945; background: #25382c; color: #e8f5d5; }
.nav-symbol { flex: 0 0 21px; display: grid; place-items: center; height: 21px; color: #8aa6af; font-size: .92rem; }
.tour-nav button[aria-current="step"] .nav-symbol { color: var(--lime); }
.tour-nav small { display: block; margin-top: 2px; color: #c3abf2; font-size: .64rem; font-weight: 600; }
.tour-frame { min-width: 0; background: var(--frame); border: 1px solid #2b3b47; border-radius: 13px; overflow: hidden; box-shadow: 0 16px 52px #060c1256; }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 7px 18px; border-bottom: 1px solid #2b3a45; background: #13202a; }
.frame-brand { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .76rem; font-weight: 730; }
.frame-brand img { display: block; width: 90px; height: auto; flex: 0 0 auto; }
.frame-slash, #frame-path { color: var(--muted); }
#frame-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.tip-toggle { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 34px; padding: 0 8px; border: 1px solid #33434f; border-radius: 6px; white-space: nowrap; background: #1b2a34; color: #d4e3e8; font-size: .74rem; font-weight: 650; }
.tip-toggle:hover { color: var(--lime); border-color: #77917c; }
.info-symbol { display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; width: 14px; height: 14px; font: 700 .63rem Georgia, serif; }
.frame-content { padding: 21px; }
.step-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(246px, .56fr); align-items: center; gap: 18px; margin-bottom: 17px; }
.step-status { margin: 0 0 8px; color: var(--teal); font-size: .7rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
.step-status.is-roadmap { color: #cdb5f6; }
.step-copy h3 { outline: none; margin: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 750; line-height: 1.04; letter-spacing: -.053em; text-wrap: balance; }
#step-title { scroll-margin-top: 16px; }
#step-intro { margin: 8px 0 0; max-width: 650px; color: #b3c2cd; font-size: .875rem; line-height: 1.53; }
.coachmark { position: relative; color: #e6ecd9; background: #242e25; border: 1px solid #576842; border-radius: 10px; padding: 11px 12px; }
.coachmark::before { content: ""; position: absolute; top: -4px; right: 27px; width: 7px; height: 7px; transform: rotate(45deg); border-top: 1px solid #576842; border-left: 1px solid #576842; background: #242e25; }
.coachmark-heading { display: flex; align-items: center; gap: 8px; color: var(--lime); font-size: .73rem; font-weight: 750; line-height: 1.25; }
.coachmark-icon { line-height: 1; font-size: 1rem; }
.coachmark-heading button { margin-left: auto; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 1.11rem; }
.coachmark-heading button:hover { color: var(--ink); background: #3b4b37; }
.coachmark p { margin: 4px 0 0 18px; font-size: .765rem; line-height: 1.43; }
.step-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 15px; padding: 0; margin: 17px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.step-facts li { display: flex; align-items: first baseline; gap: 6px; }
.step-facts li::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #91b7a7; transform: translateY(-2px); }
.tour-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 21px; background: #13202a; border-top: 1px solid #2b3a45; }
.controls-left { display: flex; align-items: center; gap: 13px; }
#step-count { color: var(--muted); font-size: .77rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tour-controls .tour-primary { min-width: 118px; }
.next-copy { display: grid; gap: 2px; min-width: 0; padding-block: 5px; text-align: start; }
#next-target { max-width: 23ch; font-size: .75rem; font-weight: 600; }
.tour-footer { border-top: 1px solid #24313b; background: #0d161e; }
.tour-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 75px; }
.tour-footer-inner p { margin: 0; color: var(--muted); text-align: center; font-size: .79rem; }
.tour-brand-small img { width: 120px; }
.no-script { color: var(--lime); }

@media (max-width: 1140px) {
  .tour-wrap { width: min(100% - 60px, 1328px); }
  .tour-layout { grid-template-columns: 191px minmax(0, 1fr); }
  .tour-hero { gap: 25px; }
  .frame-content { padding: 17px; }
}
@media (max-width: 840px) {
  .tour-wrap { width: calc(100% - 36px); }
  .tour-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); min-height: 330px; gap: 16px; padding: 30px 0 28px; }
  .tour-art { min-height: 245px; }
  .hero-kicker { margin-bottom: 13px; }
  .tour-hero-body { margin-top: 14px; }
  .hero-buttons { margin-top: 17px; }
  .tour-layout { grid-template-columns: minmax(0, 1fr); }
  .tour-nav { padding: 8px; }
  .tour-nav-header, .tour-nav .progress-track { display: none; }
  .tour-nav ol { display: flex; overflow-x: auto; gap: 4px; padding: 3px; scrollbar-width: thin; }
  .tour-nav li { flex: 0 0 auto; }
  .tour-nav button { min-height: 40px; padding: 5px 8px; white-space: nowrap; }
  .tour-nav small { display: none; }
}
@media (max-width: 570px) {
  .tour-wrap { width: calc(100% - 28px); }
  .tour-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-top: 7px; }
  .tour-header-actions { display: contents; }
  .tour-header .tour-site-links { grid-column: 1 / -1; grid-row: 2; }
  .tour-header .tour-languages { grid-column: 2; grid-row: 1; }
  .tour-hero { grid-template-columns: 1fr; gap: 14px; padding: 27px 0 24px; }
  .tour-hero-copy { padding: 0; }
  .tour-hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .tour-hero-body { font-size: .96rem; }
  .tour-art { height: 174px; min-height: 174px; border-radius: 11px; }
  .tour-art img { object-position: 50% 49%; }
  .art-corners { top: 8px; right: 8px; width: 16px; height: 16px; }
  .art-legend { left: 9px; bottom: 8px; font-size: .67rem; }
  .guide-heading { align-items: start; gap: 8px; }
  .guide-heading p { font-size: .78rem; }
  .guide-heading .sample-chip { font-size: .67rem; padding: 6px 7px; gap: 5px; }
  .step-header { grid-template-columns: 1fr; gap: 12px; margin-bottom: 13px; }
  .frame-content { padding: 14px 11px; }
  .frame-bar, .tour-controls { padding-inline: 11px; }
  .tour-controls .tour-primary { min-width: auto; }
  .tour-controls .tour-button { padding-inline: 11px; gap: 6px; }
  #step-count { display: none; }
  .tour-footer-inner { flex-wrap: wrap; padding-block: 14px; gap: 8px 12px; justify-content: space-between; }
  .tour-footer-inner p { flex-basis: 100%; order: 3; text-align: left; }
  .tour-footer .tour-site-links { column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  :root, body { background: #fff; color: #18242b; color-scheme: light; }
  body { print-color-adjust: exact; }
  .tour-wrap { width: 100%; }
  .tour-header, .tour-footer, .tour-hero, .guide-heading, .tour-nav, .tour-controls, .tip-toggle, .coachmark, .step-facts { display: none !important; }
  .tour-guide { padding: 0; }
  .tour-layout { display: block; }
  .tour-frame { box-shadow: none; break-inside: avoid; }
}
