/* ==========================================================================
   I am Your Geek LLC — app support pages

   Loaded only by support.html. Everything here builds on the tokens and
   primitives in styles.css (navy / cyan / silver, Montserrat + Inter,
   .container, .section, .card, .kicker, .faq). No new colours are
   introduced — screenshot callouts reuse the numbered-step language from
   section 7 of styles.css so the page reads as part of the same system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page header extras — version + last-updated chips, on-page jump nav
   -------------------------------------------------------------------------- */
.support-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.jump-nav li { margin: 0; }
.jump-nav a {
  display: inline-block;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.jump-nav a:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   2. Screenshot + callout layout
   -------------------------------------------------------------------------- */
.guide {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) {
  .guide { grid-template-columns: 1fr; }
}

/* The device frame. Midnight Navy bezel rather than a photographic mockup —
   it reads as a screenshot, not as a claim about a specific handset. */
.shot {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  padding: 9px;
  background: var(--navy);
  border-radius: 40px;
  box-shadow: var(--shadow-md);
}

/* Markers are positioned in percentages, and a percentage resolves against
   the padding box of the containing block. The bezel padding therefore has to
   live on .shot and the positioning context on this inner element, so that
   0–100% maps exactly onto the screenshot itself. */
.shot-screen {
  position: relative;
  border-radius: 31px;
  overflow: hidden;
}

/* Numbered pins over the screenshot. White ring keeps them legible on both
   the light app chrome and any photograph in the growth timeline. */
.marker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(11, 29, 58, 0.45);
}

/* The matching legend. Numbers are generated so the markup stays in step. */
.callouts {
  counter-reset: callout;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.callouts li {
  position: relative;
  min-height: 32px;
  margin: 0;
  padding-left: 48px;
}
.callouts li::before {
  counter-increment: callout;
  content: counter(callout);
  position: absolute;
  left: 0;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}
.callouts strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-weight: 600;
}
.callouts span {
  display: block;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* Two screens side by side (Add Plant / Edit Plant), each in its own card
   with the shot stacked above its legend. */
.guide-card {
  gap: 26px;
}
.guide-card .shot { max-width: 300px; }
.guide-card > h3 { margin-bottom: 6px; }
.guide-card > p { color: var(--ink-muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   3. Tip note
   -------------------------------------------------------------------------- */
.tip {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.6;
}
.tip p { margin: 0; max-width: none; }
.tip strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   4. Small corrections for reversed (navy) bands
   -------------------------------------------------------------------------- */
.on-navy .pillar p { color: rgba(255, 255, 255, 0.78); }

/* --------------------------------------------------------------------------
   5. Print — the guide is genuinely useful on paper
   -------------------------------------------------------------------------- */
@media print {
  .jump-nav,
  .support-meta { display: none; }
  .shot { box-shadow: none; max-width: 300px; }
  .guide,
  .guide-card,
  .faq details { break-inside: avoid; }
  .faq details { border: 1px solid #ccc; }
  .faq .faq-body { display: block !important; }
}
