/* guide.css: shared by the three view guides */
.g-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.g-hero { padding: 64px 0 28px; display: grid; gap: 18px; }
.g-crumb { font: 500 13px/1 var(--mono); color: var(--text-3); display: flex; gap: 8px; align-items: center; }
.g-crumb a { color: var(--text-3); text-decoration: none; }
.g-crumb a:hover { color: var(--text); }
.g-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 15ch; }
.g-hero p { color: var(--text-2); font-size: 18px; max-width: 60ch; }
.g-views { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.g-views a { font: 500 14px/1 var(--sans); padding: 9px 14px; border-radius: 8px; color: var(--text-2); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.g-views a[aria-current] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 rgba(255,255,255,.04) inset; }
.g-views a:hover { color: var(--text); }

/* ---- tour ---- */
.tour { display: grid; gap: 16px; margin: 0 0 96px; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0,0,0,.7); background: var(--bg-2); }
.shot img { width: 100%; }
.shot .hl { position: absolute; border-radius: 6px; box-shadow: 0 0 0 2px var(--light), 0 0 0 9999px rgba(6,8,11,.62); transition: all .35s var(--ease); pointer-events: none; }
.shot.idle .hl { opacity: 0; }
.dot { position: absolute; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0;
  background: var(--text); color: #0b0d11; font: 600 12px/24px var(--mono); text-align: center; cursor: pointer;
  box-shadow: 0 0 0 3px rgba(11,13,17,.85), 0 4px 14px rgba(0,0,0,.5); transition: transform .15s var(--ease), background .15s; z-index: 2; }
.dot:hover { transform: translate(-50%, -50%) scale(1.12); }
.dot[aria-pressed="true"] { background: var(--light); }
.shot:not(.idle) .dot:not([aria-pressed="true"]) { opacity: .55; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: grid; grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 24px; align-items: center; min-height: 172px; }
.panel .txt { display: grid; gap: 10px; align-content: center; }
.panel .ctl { display: grid; gap: 12px; align-content: center; }
.cropbox { display: grid; place-items: center; height: 132px; background: var(--bg); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cropbox .lede { font: 500 13px/1.4 var(--mono); color: var(--text-3); padding: 16px; text-align: center; }
.panel .count { font: 500 12px/1 var(--mono); color: var(--text-3); display: flex; justify-content: space-between; }
.panel h3 { font-size: 22px; }
.panel p { color: var(--text-2); font-size: 15px; }
.crop { background-repeat: no-repeat; background-color: var(--bg); max-width: 100%; }
.keys { display: flex; gap: 6px; flex-wrap: wrap; }
kbd { font: 500 12px/1 var(--mono); color: var(--text); padding: 5px 7px; border-radius: 5px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -1px 0 var(--line-2); white-space: nowrap; }
.nav-row { display: flex; gap: 8px; }
.nav-row button { flex: 1; height: 38px; border-radius: 8px; border: 0; font: 500 14px/1 var(--sans); cursor: pointer; }
.nav-row .prev { background: transparent; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-row .next { background: var(--text); color: #0b0d11; }
.nav-row button:disabled { opacity: .35; cursor: default; }
.panel .hint { font-size: 12px; color: var(--text-3); }
.progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--light); transition: width .35s var(--ease); }

/* ---- sections ---- */
.g-sec { padding: 0 0 96px; }
.g-sec > header { display: grid; gap: 12px; margin-bottom: 32px; max-width: 64ch; }
.g-sec h2 { font-size: clamp(28px, 3.4vw, 40px); }
.g-sec > header p { color: var(--text-2); font-size: 17px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--light); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--bg-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: s; content: counter(s); font: 500 13px/28px var(--mono); width: 28px; height: 28px; border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.step h3 { font-size: 18px; }
.step p { color: var(--text-2); font-size: 15px; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 20px; }
.tabs button { border: 0; background: transparent; color: var(--text-2); font: 500 14px/1 var(--sans); padding: 9px 14px; border-radius: 7px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sf { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.sf img { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-2); }
.sf h3 { font-size: 24px; margin-bottom: 12px; }
.sf p { color: var(--text-2); margin-bottom: 12px; }
.sf ul { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 6px; }
.pair { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.card { background: var(--bg-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; align-content: start; }
.card img { border-bottom: 1px solid var(--line); }
.card div { padding: 20px; display: grid; gap: 8px; }
.card h3 { font-size: 20px; }
.card p { color: var(--text-2); font-size: 15px; }
.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kgrid section { background: var(--bg-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; }
.kgrid h3 { font-size: 15px; color: var(--text-2); font-weight: 500; margin-bottom: 12px; }
.kgrid dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.kgrid dt { display: flex; gap: 4px; }
.kgrid p { color: var(--text-2); font-size: 15px; }
.sdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.sdot.surge { background: #e8a33c; } .sdot.coil { background: #5aa7f0; } .sdot.rebound { background: #b48cf0; }
.kgrid dd { margin: 0; color: var(--text-2); font-size: 14px; }
.g-faq details { border-top: 1px solid var(--line); }
.g-faq details:last-child { border-bottom: 1px solid var(--line); }
.g-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; font: 400 20px/1 var(--mono); color: var(--text-3); }
.g-faq details[open] summary::after { content: '−'; }
.g-faq details p { color: var(--text-2); padding: 0 0 18px; max-width: 70ch; }
.next-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next-guides a { display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background .2s var(--ease); }
.next-guides a:hover { background: var(--surface); }
.next-guides b { font-weight: 500; font-size: 20px; }
.next-guides span { color: var(--text-2); font-size: 15px; }
.g-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.note { font-size: 13px; color: var(--text-3); }

@media (max-width: 1000px) {
  .panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf, .pair, .kgrid, .next-guides { grid-template-columns: 1fr; }
  .sf img { max-width: 320px; }
}
@media (max-width: 560px) {
  .g-hero { padding-top: 40px; }
  .dot { width: 18px; height: 18px; font-size: 10px; line-height: 18px; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .shot .hl, .progress i { transition: none; } }
