/* Oh Ventures tool walkthrough: coach marks for first-time users.
   Loaded by every tool page. Inherits the page's CSS variables, so it
   follows light and dark mode without a second palette. */

.ovg-launch-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ovg-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--line, #E3E2DB);
  border-radius: var(--radius, 4px);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #0E0E0C);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ovg-launch:hover { border-color: var(--sage, #6F8770); color: var(--sage-deep, #4F6552); }
.ovg-launch:focus-visible { outline: 2px solid var(--sage, #6F8770); outline-offset: 2px; }
.ovg-launch svg { width: 15px; height: 15px; flex-shrink: 0; }

/* First-visit hint beside the launcher */
.ovg-nudge {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg-alt, #F2F2EC);
  border: 1px solid var(--line, #E3E2DB);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  color: var(--ink-muted, #5A5A56);
  vertical-align: middle;
}
.ovg-nudge.on { display: inline-flex; }
.ovg-nudge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage, #6F8770);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ovg-nudge::before { animation: ovg-pulse 2.2s ease-in-out infinite; }
  @keyframes ovg-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
  }
}

/* Spotlight. The huge spread creates the dim; pointer-events stay off so the
   page underneath is still usable while the tour runs. */
.ovg-spot {
  position: fixed;
  z-index: 3000;
  border-radius: 6px;
  border: 1.5px solid var(--sage, #6F8770);
  box-shadow: 0 0 0 9999px rgba(8, 8, 6, 0.62);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ovg-spot { transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease; }
}
.ovg-spot.ovg-centered { border-color: transparent; }

.ovg-tip {
  position: fixed;
  z-index: 3001;
  width: min(348px, calc(100vw - 28px));
  background: var(--bg, #FAFAF7);
  border: 1px solid var(--line, #E3E2DB);
  border-radius: var(--radius, 4px);
  padding: 20px 22px 18px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34), 0 3px 10px rgba(0, 0, 0, 0.16);
}
.ovg-tip .ovg-count {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sage-deep, #4F6552);
  margin-bottom: 9px;
}
.ovg-tip h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink, #0E0E0C);
  margin: 0 0 8px;
  line-height: 1.25;
}
.ovg-tip p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2, #2A2A26);
  margin: 0 0 16px;
}
.ovg-actions { display: flex; align-items: center; gap: 8px; }
.ovg-actions .ovg-spacer { flex: 1; }
.ovg-btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: var(--radius, 4px);
  border: 1px solid var(--line, #E3E2DB);
  background: transparent;
  color: var(--ink-2, #2A2A26);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ovg-btn:hover { border-color: var(--ink, #0E0E0C); color: var(--ink, #0E0E0C); }
.ovg-btn:focus-visible { outline: 2px solid var(--sage, #6F8770); outline-offset: 2px; }
.ovg-btn.ovg-primary {
  background: var(--ink, #0E0E0C);
  border-color: var(--ink, #0E0E0C);
  color: var(--bg, #FAFAF7);
}
.ovg-btn.ovg-primary:hover {
  background: var(--sage-deep, #4F6552);
  border-color: var(--sage-deep, #4F6552);
  color: var(--bg, #FAFAF7);
}
.ovg-skip {
  background: none;
  border: none;
  padding: 6px 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: var(--ink-muted, #5A5A56);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ovg-skip:hover { color: var(--ink, #0E0E0C); }

@media (max-width: 520px) {
  .ovg-tip { padding: 17px 18px 15px; }
  .ovg-tip h4 { font-size: 16px; }
  .ovg-nudge { font-size: 12px; }
}
