/* =============================================================
   Zoomi · care-guide.css — shared layout for setup-guide,
   tag-care, profile-best-practices, and any other "how-to" page
   that needs a hero + step cards + tip callout + closing CTA.
   Token-driven only. Zero hex.
   ============================================================= */

.cg-hero {
  padding: var(--s-3xl) var(--page-gutter) var(--s-2xl);
  text-align: center;
}
.cg-hero__eyebrow { margin-bottom: var(--s-md); }
.cg-hero__h1 {
  font-family: var(--font-heading);
  font-size: var(--t-display-sm);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-tight);
  margin: 0 auto var(--s-md);
  color: var(--zoomi-ink);
  max-width: 22ch;
}
.cg-hero__sub {
  font-size: var(--t-body-lg);
  color: var(--zoomi-body);
  margin: 0 auto;
  max-width: 56ch;
}
/* App-store badges under the hero copy. */
.cg-hero__apps {
  margin-top: var(--s-xl);
}
.cg-hero__apps .app-badges { justify-content: center; margin-top: 0; }
/* Android side note under the badges. */
.cg-hero__note {
  margin: var(--s-md) auto 0;
  max-width: 48ch;
  font-size: var(--t-body-sm);
  color: var(--zoomi-body);
}
.cg-hero__note a {
  color: var(--zoomi-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Hero product visual. */
.cg-hero__visual {
  margin: var(--s-2xl) auto 0;
  max-width: 460px;
}
.cg-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================================
   App showcase — a row of phone screenshots with captions.
   ============================================================= */
.cg-appshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
  align-items: start;
}
.cg-appshot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-md);
}
.cg-appshot img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  border-radius: var(--r-bento);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.cg-appshot figcaption {
  font-family: var(--font-heading);
  font-size: var(--t-body-md);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  color: var(--zoomi-ink);
  text-align: center;
}

.cg-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--s-3xl) var(--page-gutter);
}
.cg-section--grey { background: var(--zoomi-bg); max-width: none; }
.cg-section--grey > .cg-section__inner {
  max-width: 1080px; margin: 0 auto;
}
.cg-section__head {
  margin-bottom: var(--s-2xl);
}
.cg-section__head .eyebrow {
  display: inline-block;
  margin-bottom: var(--s-xs);
}
.cg-section__h2 {
  font-family: var(--font-heading);
  font-size: var(--t-headline-lg);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  color: var(--zoomi-ink);
  margin: 0;
}

/* =============================================================
   Step cards — numbered, responsive 2-up grid.
   ============================================================= */
.cg-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cg-step {
  position: relative;
  background: var(--zoomi-card);
  border: 1px solid var(--zoomi-hair);
  border-radius: var(--r-bento);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.cg-step__num {
  font-family: var(--font-heading);
  font-size: var(--t-headline-md);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  color: var(--zoomi-body);
  line-height: 1;
}
.cg-step__title {
  font-family: var(--font-heading);
  font-size: var(--t-headline-sm);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  color: var(--zoomi-ink);
  margin: 0;
}
.cg-step__body {
  font-size: var(--t-body-md);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0;
}

/* =============================================================
   Troubleshoot tiles — 3-up grid of FAQ-like cards.
   ============================================================= */
.cg-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.cg-tile {
  background: var(--zoomi-card);
  border-radius: var(--r-bento);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.cg-tile h3 {
  font-family: var(--font-heading);
  font-size: var(--t-headline-sm);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  color: var(--zoomi-ink);
  margin: 0;
}
.cg-tile p {
  font-size: var(--t-body-md);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0;
}
.cg-tile a {
  color: var(--zoomi-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Two-up variant — for sections that pair exactly two tiles.
   Collapses to a single column on small screens (see Responsive). */
.cg-tiles--2 { grid-template-columns: repeat(2, 1fr); }

/* =============================================================
   Prose card — a centered, readable text block for checklist
   and explainer copy. Same card surface as .cg-tile.
   ============================================================= */
.cg-prose {
  max-width: 760px;
  margin: 0 auto;
  background: var(--zoomi-card);
  border: 1px solid var(--zoomi-hair);
  border-radius: var(--r-bento);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.cg-prose > p {
  font-size: var(--t-body-md);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0;
}
.cg-prose strong { color: var(--zoomi-ink); font-weight: 600; }
.cg-prose a {
  color: var(--zoomi-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Checklist — dot-marked list used inside .cg-prose. */
.cg-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.cg-checklist li {
  position: relative;
  padding-left: var(--s-lg);
  font-size: var(--t-body-md);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
}
.cg-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zoomi-ink);
}

/* =============================================================
   Tip callout — single wide warm card with optional CTA.
   ============================================================= */
.cg-callout {
  background: var(--accent-peach-soft);
  border-radius: var(--r-card);
  padding: var(--s-2xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}
.cg-callout--mint   { background: var(--accent-mint-soft); }
.cg-callout--button { background: var(--accent-buttercup-soft); }
.cg-callout__h3 {
  font-family: var(--font-heading);
  font-size: var(--t-headline-md);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  color: var(--zoomi-ink);
  margin: 0 0 var(--s-sm);
}
.cg-callout__body {
  font-size: var(--t-body-md);
  color: var(--zoomi-ink);
  line-height: var(--lh-body);
  margin: 0;
}
.cg-callout__cta { justify-self: end; align-self: end; }

/* =============================================================
   Closing CTA — ink panel matching .hiw-cta / .faq-page__cta.
   ============================================================= */
.cg-final {
  background: var(--zoomi-ink);
  color: var(--zoomi-cta-text);
  padding: var(--s-4xl) var(--page-gutter);
  text-align: center;
}
.cg-final__inner { max-width: 720px; margin: 0 auto; }
.cg-final .eyebrow { color: rgba(255, 255, 255, 0.72); }
.cg-final__h {
  font-family: var(--font-heading);
  font-size: var(--t-display-sm);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-tight);
  color: var(--zoomi-cta-text);
  margin: var(--s-md) 0;
}
.cg-final__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--t-body-lg);
  margin: 0 0 var(--s-xl);
}
.cg-final__actions {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}
.cg-final .zoomi-btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--zoomi-cta-text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.cg-final .zoomi-btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.cg-final__apps {
  margin-top: var(--s-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-md);
}
.cg-final__apps-label {
  font-size: var(--t-body-md);
  color: rgba(255, 255, 255, 0.78);
}
.cg-final__apps .app-badges { justify-content: center; margin-top: 0; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
  .cg-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .cg-callout { grid-template-columns: 1fr; }
  .cg-callout__cta { justify-self: start; }
  .cg-final__h { font-size: var(--t-headline-lg); }
}
@media (max-width: 720px) {
  .cg-tiles--2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cg-appshots { grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }
  .cg-appshot img { max-width: 100%; }
  .cg-appshot figcaption { font-size: var(--t-body-sm); }
}
@media (max-width: 520px) {
  .cg-hero__h1 { font-size: var(--t-headline-lg); }
  .cg-steps { grid-template-columns: 1fr; }
  .cg-tiles { grid-template-columns: 1fr; }
  .cg-section__h2 { font-size: var(--t-headline-md); }
  .cg-appshots { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .cg-appshot img { max-width: 240px; }
}
