/* The venue walkthrough (/partners/tour, tools/site/tour.py), on top of site.css. Pages link it as tour.css?v=<date>:
   change that date in tools/site/tour.py when this file changes. */
.tour {
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px -8px rgba(0, 0, 0, 0.18);
  --dot-1: #ff5f57; --dot-2: #febc2e; --dot-3: #28c840;
}
@media (prefers-color-scheme: dark) {
  .tour { --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 40px -8px rgba(0, 0, 0, 0.8); }
}
main.tour { max-width: 76rem; gap: 0; padding-inline: max(1rem, env(safe-area-inset-left, 0px)); }
.tour h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.tour h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.25; letter-spacing: -0.005em; }

/* The bar: back to /partners, and the languages. */
.tour-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; }
.tour-top .langs { margin: 0; }

/* Hero: the headline, its line and the call to action beside (under, on phones) a large framed screenshot. */
.tour-hero {
  display: grid; gap: 2rem; align-items: center; padding: 2.5rem 0 3.5rem;
  grid-template-columns: minmax(0, 1fr);
}
.hero-copy { display: grid; gap: 1rem; justify-items: start; }
.tour-hero h1 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em; }
.hero-line { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); color: var(--muted); max-width: 32rem; }
.hero-shot { margin: 0; display: grid; gap: 0.75rem; min-width: 0; }
.hero-shot .note { max-width: 40rem; }
.cta {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.75rem 1.5rem; margin-top: 0.5rem;
  border-radius: 0.875rem; background: var(--accent-fill); color: #fff; font-weight: 600; text-decoration: none;
}
.cta::after { content: "→"; margin-left: 0.5rem; }
.cta:hover { filter: brightness(1.08); }
.cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* A screenshot in a browser window. */
.window {
  border-radius: 0.875rem; overflow: hidden; background: var(--card); box-shadow: var(--shadow);
  border: 1px solid var(--line); min-width: 0;
}
.window-bar { display: flex; gap: 0.4375rem; padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--line); }
.window-bar span { width: 0.6875rem; height: 0.6875rem; border-radius: 50%; background: var(--dot-1); }
.window-bar span:nth-child(2) { background: var(--dot-2); }
.window-bar span:nth-child(3) { background: var(--dot-3); }
.window img { display: block; width: 100%; height: auto; background: var(--placeholder); }

/* The steps, with their list beside them on wide screens (sticky, the one in view marked by tour.js). */
.tour-body { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.step-nav { display: none; }
.steps { display: grid; gap: 4rem; }
.steps > h2 { margin-bottom: -2rem; }
.step { display: grid; gap: 1.25rem; align-items: center; grid-template-columns: minmax(0, 1fr); scroll-margin-top: 1.5rem; }
.step-text { display: grid; gap: 0.75rem; align-content: start; }
.step-text > p:not(.step-n) { color: var(--muted); }
.step-n {
  font-size: 0.8125rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em;
}
/* Uppercase turns Armenian "և" into the old "ԵՒ": Armenian labels keep their case (as site.css's .eyebrow). */
:lang(hy) .step-n { text-transform: none; letter-spacing: normal; }
.points { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.points li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); gap: 0.5rem; align-items: start; }
.points li::before {
  content: "✓"; display: grid; place-items: center; width: 1.375rem; height: 1.375rem; margin-top: 0.0625rem;
  border-radius: 50%; background: var(--green-soft); color: var(--green-text); font-size: 0.75rem; font-weight: 700;
}

/* What it costs. */
.money { display: grid; gap: 1rem; padding: 5rem 0 3rem; }
.money .lede { margin: 0; max-width: 40rem; }
.money-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.money-cards .card { padding: 1.25rem 1.5rem; }
.money .note { max-width: 40rem; }

/* The closing band: the contact form on the accent colour. */
.cta-band {
  display: grid; gap: 1.5rem; padding: 2rem 1.25rem; margin-top: 1rem; border-radius: 1.5rem;
  background: var(--accent-fill); color: #fff; grid-template-columns: minmax(0, 1fr);
}
.cta-copy { display: grid; gap: 0.5rem; align-content: start; }
.cta-copy p { font-size: 1.125rem; opacity: 0.92; }
.cta-band .form { color: var(--text); }

@media (min-width: 48rem) {
  .cta-band { padding: 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
@media (min-width: 60rem) {
  .tour-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding: 4rem 0 5rem; }
  .step { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem; }
  .step:nth-of-type(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .step:nth-of-type(even) .window { order: 2; }
  .steps { gap: 6rem; }
  .steps > h2 { margin-bottom: -3rem; }
}
@media (min-width: 72rem) {
  .tour-body { grid-template-columns: 12rem minmax(0, 1fr); gap: 3rem; }
  .step-nav { display: block; position: sticky; top: 1.5rem; align-self: start; }
  .step-nav-title {
    font-size: 0.8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
  }
  :lang(hy) .step-nav-title { text-transform: none; letter-spacing: normal; }
  .step-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.125rem; border-left: 2px solid var(--line); }
  .step-nav a {
    display: flex; align-items: baseline; gap: 0.625rem; padding: 0.4375rem 0.75rem; margin-left: -2px;
    border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.9375rem; line-height: 1.3;
  }
  .step-nav a:hover { color: var(--text); }
  .step-nav a[aria-current="step"] { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
  .step-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-radius: 0.25rem; }
  .nav-n { font-variant-numeric: tabular-nums; font-size: 0.8125rem; min-width: 1.125rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
