/* NTranscript guide page.
   Two layers: the landing's own monochrome page (nav, headings, footer),
   and inside .ntapp-ui a faithful copy of the app's "How to use" guides --
   tokens, class names and rules taken from src/App.css (dark theme). Keep
   the second half in sync with the app. */

:root {
  --bg: #0d0d0d;
  --line: #232326;
  --line-soft: #1c1c1e;
  --text: #e6e6e6;
  --text-bright: #ffffff;
  --text-dim: #98989c;
  --text-faint: #55555a;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); }
a { color: var(--text); }
a:hover { color: var(--text-bright); }
.mono { font-family: var(--font-mono); }
.section-index { font-size: 11px; color: var(--text-faint); }

/* Scrollbars: the app's thin rounded bar (see ../styles.css) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; background-color: #2c2c31; }
::-webkit-scrollbar-thumb:hover { background-color: #8e8e95; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-color: #2c2c31 transparent; scrollbar-width: thin; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- nav ---- */
.gnav {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px 40px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
}
.gnav__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-bright); font-family: var(--font-sans); font-size: 17px; font-weight: 600; text-decoration: none;
}
.gnav__brand img { width: 22px; height: 22px; }
.gnav__page { color: var(--text-dim); text-decoration: none; }
.gnav__page:hover { color: var(--text-bright); }
.gnav__link { text-decoration: underline; text-underline-offset: 3px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch__btn {
  border: 1px solid #2e2e31; padding: 3px 9px;
  font-family: var(--font-mono); font-size: 11px; cursor: pointer;
  background: transparent; color: var(--text-dim);
  transition: background .2s, color .2s;
}
.lang-switch__btn.is-active { background: var(--text); color: #111111; }

/* ---- hero ---- */
.ghero { text-align: center; padding: 72px 40px 28px; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.ghero .section-index { margin-bottom: 18px; }
.ghero__title { margin: 0; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--text-bright); }
.ghero__sub { margin: 18px auto 0; max-width: 480px; font-size: 16px; line-height: 1.55; color: var(--text-dim); text-wrap: pretty; }

/* ---- the six tabs, as anchors to the sections below ---- */
.gtabs {
  max-width: 840px;
  margin: 0 auto;
  padding: 12px 40px 56px;
  border-bottom: 1px solid var(--line);
  animation: fadeUp .9s .1s cubic-bezier(.2,.7,.2,1) both;
}
.gtabs .howto-tabs { margin: 0 auto; }

/* ---- one section per guide ---- */
.gsec {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 40px 72px;
  border-bottom: 1px solid var(--line);
}
.gsec__head { margin-bottom: 26px; }
.gsec__kicker { display: flex; align-items: center; gap: 10px; }
.gsec__num { color: var(--text-dim); }
.gsec__title { margin: 14px 0 0; font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--text-bright); text-wrap: balance; }

/* ---- closing: privacy + support, then footer ---- */
.gend { max-width: 840px; margin: 0 auto; padding: 48px 40px 64px; }
.gfooter {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 40px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-faint);
}
.gfooter a { color: var(--text-dim); text-decoration: none; }
.gfooter a:hover { color: var(--text-bright); }

/* =======================================================================
   App UI (src/App.css, dark theme), scoped under .ntapp-ui
   ======================================================================= */

.ntapp-ui {
  --bg: #0d0d0f;
  --surface: #151518;
  --text: #f1f1f2;
  --text-muted: #8e8e95;
  --border: #26262b;
  --accent: #6f81d6;
  --accent-tint: #1e2233;
  --danger: #ef6a6a;
  --danger-tint: #3a2323;
  --warning: #e0a952;
  --warning-tint: #3a2f18;
  --support: #c87c88;
  --control-h: 38px;
  --howto-width: min(760px, 100%);

  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ntapp-ui * { box-sizing: border-box; }

/* Base button, as the app draws every button */
.ntapp-ui button,
.ntapp-ui .as-button {
  font: inherit;
  height: var(--control-h);
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.14s ease, background 0.14s ease, border-color 0.14s ease,
    color 0.14s ease, transform 0.08s ease, opacity 0.14s ease;
}
.ntapp-ui button:hover,
.ntapp-ui .as-button:hover { filter: brightness(1.08); }
.ntapp-ui button:active,
.ntapp-ui .as-button:active { transform: translateY(1px); filter: brightness(0.94); }
.ntapp-ui button:focus-visible,
.ntapp-ui .as-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ntapp-ui .secondary { background: transparent; border-color: var(--border); color: var(--text); }
.ntapp-ui .with-icon { display: inline-flex; align-items: center; gap: 0.45rem; }

/* Help and support */
.howto-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  width: var(--howto-width);
}
.howto-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: auto;
  min-height: var(--control-h);
  padding: 0.3rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.howto-tab svg { flex: 0 0 auto; }
.howto-tab:hover { border-color: var(--text-muted); color: var(--text); }

.howto-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: var(--howto-width);
  margin: 0 auto 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.howto-privacy svg { flex: 0 0 auto; color: var(--accent); }

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  width: var(--howto-width);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.support-card-title { margin: 0 0 0.2rem; font-size: 0.88rem; font-weight: 500; }
.support-card-body { margin: 0; max-width: 46ch; font-size: 0.8rem; line-height: 1.5; color: var(--text-muted); }
.support-card .as-button { flex: 0 0 auto; color: var(--support); border-color: var(--support); }
.support-card .as-button:hover { background: var(--surface); border-color: var(--support); color: var(--support); }

/* A guide: a pretend window drawn at one fixed size and scaled to the
   column, a pointer that goes through the clicks, and the steps under it. */
.ntapp-ui.stage { width: var(--howto-width); }
.guide-stage { display: flex; flex-direction: column; gap: 1rem; }
.guide-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.08);
}
.guide-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 380px;
  transform-origin: 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
  pointer-events: none;
  user-select: none;
}
.guide-scene { width: 100%; height: 100%; }
.guide-pointer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
}
.guide-pointer-arrow {
  position: absolute;
  left: -5px;
  top: -2.5px;
  fill: #1a1a1a;
  stroke: white;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.3));
  transition: transform 0.12s ease;
}
.guide-pointer.pressing .guide-pointer-arrow { transform: scale(0.86); }
.guide-mouse {
  position: absolute;
  left: 16px;
  top: 16px;
  fill: var(--surface);
  stroke: var(--text);
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.25));
  animation: guide-pop 0.2s ease-out;
}
.guide-mouse .guide-mouse-right { fill: var(--accent); stroke: none; }
.guide-pointer-ring {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0;
}
.guide-pointer.pressing .guide-pointer-ring { animation: guide-press 0.36s ease-out; }
@keyframes guide-press {
  from { opacity: 0.9; transform: scale(0.3); }
  to { opacity: 0; transform: scale(1.15); }
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ntapp-ui .guide-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
}
.ntapp-ui .guide-step:hover { filter: none; border-color: var(--text-muted); }
.ntapp-ui .guide-step.current { border-color: var(--accent); background: var(--accent-tint); color: var(--text); }
.guide-step-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.guide-step.past .guide-step-number { border-color: var(--accent); color: var(--accent); }
.guide-step.current .guide-step-number { background: var(--accent); border-color: var(--accent); color: white; }

/* The pretend window */
.guide-window { position: relative; display: flex; width: 100%; height: 100%; background: var(--bg); }
.guide-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 158px;
  padding: 10px 8px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.guide-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.guide-switch-tab {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 0;
  border-radius: 6px;
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.guide-switch-tab.on { background: var(--accent); color: white; }
.guide-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.guide-nav.apart { margin-top: 6px; }
.guide-nav.on { background: var(--bg); color: var(--text); }
.guide-rail svg { flex: 0 0 auto; width: 13px; height: 13px; }
.guide-page { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 16px 18px; }
.guide-about { display: flex; gap: 7px; align-items: flex-start; }
.guide-about-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 600;
}
.guide-lines { display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; min-width: 0; }
.guide-lines i { display: block; height: 5px; border-radius: 3px; background: var(--border); }
.guide-row { display: flex; align-items: center; gap: 8px; }
.guide-row.spread { justify-content: space-between; }
.guide-row.end { justify-content: flex-end; }
.guide-row > .guide-lines { flex: 0 0 60px; }
.guide-grow { flex: 1 1 auto; }
.guide-muted { color: var(--text-muted); }
.guide-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  white-space: nowrap;
}
.guide-select::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
}
.guide-select.open { border-color: var(--accent); }
.guide-select-box { position: relative; }
.guide-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
  animation: guide-pop 0.18s ease-out;
}
.guide-options span { padding: 3px 9px; border-radius: 5px; }
.guide-options .chosen { background: var(--accent-tint); color: var(--accent); }
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  padding: 5px 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: white;
  white-space: nowrap;
}
.guide-button.secondary { border-color: var(--border); background: var(--surface); color: var(--text); }
.guide-button.small { padding: 3px 8px; }
.guide-button.done { border-color: var(--accent); color: var(--accent); }
.guide-button .guide-lines i { width: 34px !important; }
.guide-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 150px;
  padding: 0 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}
.guide-drop > .guide-lines { flex: 0 0 auto; width: 60%; align-items: center; }
.guide-drop.slim { height: auto; padding: 7px; border-width: 1px; border-radius: 8px; color: var(--text-muted); }
.guide-drop.working { border-style: solid; }
.guide-drop.working .guide-progress { width: 60%; }
.guide-drop-mark { display: inline-flex; padding: 7px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.guide-drop-title { font-weight: 600; }
.guide-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.guide-progress { display: block; height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; }
.guide-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  animation-name: guide-fill;
  animation-timing-function: linear;
  animation-fill-mode: both;
}
@keyframes guide-fill { from { width: 3%; } to { width: 100%; } }
.guide-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.28);
  animation: guide-fade 0.2s ease-out;
}
@keyframes guide-fade { from { opacity: 0; } }
@keyframes guide-pop { from { opacity: 0; transform: translateY(4px) scale(0.97); } }
.guide-picker,
.guide-viewer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.2);
  animation: guide-pop 0.2s ease-out;
}
.guide-picker { width: 300px; }
.guide-viewer { width: 400px; }
.guide-picker > .guide-lines { flex: 0 0 auto; }
.guide-picker-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
}
.guide-picker-row { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 5px; }
.guide-picker-row svg { width: 13px; height: 13px; color: var(--text-muted); }
.guide-picker-row.chosen { background: var(--accent); color: white; }
.guide-picker-row.chosen svg { color: white; }
.guide-picker-foot { display: flex; justify-content: flex-end; gap: 7px; }
.guide-result,
.guide-transcript {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  animation: guide-fade 0.3s ease-out;
}
.guide-result-name,
.guide-job-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-said { display: flex; flex-direction: column; gap: 6px; }
.guide-said p { margin: 0; }
.guide-said.appearing p { animation: guide-said-in 0.5s ease-out both; }
.guide-said.appearing p:nth-child(1) { animation-delay: 0.9s; }
.guide-said.appearing p:nth-child(2) { animation-delay: 2s; }
.guide-said.appearing p:nth-child(3) { animation-delay: 3.1s; }
@keyframes guide-said-in { from { opacity: 0; transform: translateY(5px); } }
.guide-listening { color: var(--text-muted); animation: guide-gone 0.2s ease-in 0.8s forwards; }
@keyframes guide-gone { to { opacity: 0; height: 0; margin-bottom: -10px; } }
.guide-checkbox { display: inline-flex; align-items: center; gap: 5px; width: 80px; }
.guide-checkbox > i { flex: 0 0 auto; width: 11px; height: 11px; border: 1.5px solid var(--border); border-radius: 3px; }
.guide-invite { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; color: var(--border); }
.guide-invite svg { width: 30px; height: 30px; }
.guide-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}
@keyframes liveDotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.guide-done { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.guide-saved-note { margin-top: auto; animation: guide-pop 0.3s ease-out; }
.guide-list { display: flex; flex-direction: column; gap: 6px; }
.guide-list-row,
.guide-job {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.guide-list-row > .guide-lines,
.guide-job > .guide-lines { flex: 0 0 90px; margin-left: auto; }
.guide-job { animation: guide-fade 0.3s ease-out; }
.guide-job-state { color: var(--text-muted); white-space: nowrap; }
.guide-job .guide-progress { flex: 1 1 auto; }
.guide-job.finished .guide-button { margin-left: auto; }
.guide-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: visible;
}
.guide-field.focused { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
.guide-typed { color: var(--text); animation: guide-fade 0.25s ease-out; }
.guide-field-text { position: relative; }
.guide-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 130px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.16);
  animation: guide-pop 0.18s ease-out;
}
.guide-menu span { padding: 4px 9px; border-radius: 5px; }
.guide-menu .off { color: var(--text-muted); opacity: 0.6; }
.guide-card {
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  animation: guide-fade 0.3s ease-out;
}
.guide-thumb { flex: 0 0 120px; height: 68px; overflow: hidden; border-radius: 6px; }
.guide-card-body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; min-width: 0; }
.guide-editor { display: flex; gap: 12px; flex: 1 1 auto; min-height: 0; }
.guide-editor-main { display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; min-width: 0; }
.guide-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}
.guide-picture { display: block; width: 190px; height: 107px; transition: transform 0.6s cubic-bezier(0.45, 0, 0.25, 1); }
.guide-picture.turned { transform: rotate(90deg) scale(0.74); }
.guide-thumb .guide-picture { width: 100%; height: 100%; }
.guide-picture svg { display: block; width: 100%; height: 100%; }
.guide-choice {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  white-space: nowrap;
}
.guide-choice .guide-lines i { width: 40px !important; }
.guide-choice.chosen { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.guide-tools { display: flex; flex-direction: column; gap: 2px; flex: 0 0 132px; }
.guide-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-muted);
  white-space: nowrap;
}
.guide-tool svg { flex: 0 0 auto; width: 13px; height: 13px; }
.guide-tool.chosen { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.guide-help { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.guide-help-tabs { display: flex; gap: 6px; }
.guide-help-tabs i { width: 56px; height: 20px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); }
.guide-help-tabs i:first-child { border-color: var(--accent); background: var(--accent); }
.guide-help-stage { flex: 1 1 auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }

/* ---- Mobile ---- */
@media (max-width: 825px) {
  .gnav { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 14px 20px; }
  .gnav__brand { margin-right: auto; }
  .ghero { padding: 52px 20px 24px; }
  .ghero__title { font-size: 40px; }
  .gtabs { padding: 8px 20px 40px; }
  .gsec { padding: 44px 20px 52px; }
  .gsec__title { font-size: 23px; }
  .gend { padding: 36px 20px 48px; }
  .gfooter { padding: 18px 20px; }
}
@media (max-width: 520px) {
  .howto-tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
