/* Ephor — the guide pages, ephorintelligence.com/guides/ (owner, 2026-10-20:
   GEO). One question per page, answered plainly, for a dealer to read and an
   AI assistant to quote. Light, like the legal and privacy pages, and like
   them without the animated header: a reading page, not a scene. Every value
   is a tokens.css token (web/tests/ephorDesignSystem.test.js). */

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font: 400 var(--fs-body)/var(--lh-body) var(--font);
}
b, strong { font-weight: 600; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---- the top bar: the name home, and the one action ---- */
.guide-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  inline-size: var(--shell); margin-inline: auto; padding-block: var(--s-6);
  border-block-end: 1px solid var(--line-soft);
}
.guide-cta {
  display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-6);
  border-radius: var(--r-pill); background: var(--navy); color: var(--white);
  font-size: var(--fs-body); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.guide-cta:hover { transform: scale(0.98); opacity: 0.92; }

/* ---- the article ---- */
.guide-main { inline-size: var(--shell); max-inline-size: var(--measure-text); margin-inline: auto; padding-block: var(--s-12) var(--s-20); }
.guide-crumbs { margin-block-end: var(--s-6); font-size: var(--fs-small); color: var(--grey); }
.guide-crumbs a { color: var(--grey); }
.guide-eyebrow {
  margin: 0 0 var(--s-3); font-size: var(--fs-caption); font-weight: 600;
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--teal);
}
.guide-main h1 {
  margin: 0 0 var(--s-4); font-size: var(--fs-title); font-weight: 500;
  line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: var(--navy);
}
.guide-lede { margin: 0 0 var(--s-3); font-size: var(--fs-lede); line-height: var(--lh-body); color: var(--slate); }
.guide-meta { margin: 0 0 var(--s-10); font-size: var(--fs-small); color: var(--grey); }
.guide-main h2 {
  margin: var(--s-12) 0 var(--s-3); font-size: var(--fs-h3); font-weight: 500;
  line-height: var(--lh-snug); letter-spacing: var(--ls-heading); color: var(--navy);
}
.guide-main h3 { margin: var(--s-8) 0 var(--s-2); font-size: var(--fs-body-lg); font-weight: 600; line-height: var(--lh-snug); color: var(--navy); }
.guide-main p { margin: 0 0 var(--s-4); }
.guide-main ul, .guide-main ol { margin: 0 0 var(--s-4); padding-inline-start: var(--s-6); display: grid; gap: var(--s-2); }

/* the short answer, first, so a reader in a hurry (or an assistant) has it */
.guide-short { padding: var(--s-6) var(--s-8); border-radius: var(--r-panel); background: var(--panel-ice); }
.guide-short h2 { margin-block-start: 0; }
.guide-short ol { margin-block-end: 0; }

/* the worked example: its figures are made up, and it says so first */
.guide-example { margin-block: var(--s-8); padding: var(--s-6) var(--s-8); border: 1px solid var(--line-soft); border-radius: var(--r-panel); }
.guide-example h2 { margin-block-start: 0; }
.guide-tag {
  display: inline-block; margin: 0 0 var(--s-3); padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--warm); color: var(--warm-text); font-size: var(--fs-caption); font-weight: 600;
}
.guide-example ul { margin-block-end: var(--s-4); }
.guide-example p:last-child { margin-block-end: 0; }

/* where Orion fits: once, at the end. The Orion belt sits in the box's
   bottom-END corner (inset-inline-end, so it moves to bottom-left under rtl).
   The positioned element carries NO direction, or inset-inline-end would
   resolve against it and stay on the right. The diagonal cannot mirror: its
   dots are placed by physical translate. ephor/css/modules.css's .belt,
   copied, because the guides load none of the home page's stylesheets
   (docs/brand-mark.md). */
.guide-orion { position: relative; margin-block-start: var(--s-12); padding: var(--s-8); border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); }
.guide-orion h2 { margin-block-start: 0; color: var(--white); }
.guide-orion p { color: var(--on-navy); }
.guide-orion a:not(.guide-cta) { color: var(--sky); }
.guide-orion .guide-cta { background: var(--white); color: var(--navy); }

.guide-orion .belt {
  position: absolute; inset-block-end: var(--s-3); inset-inline-end: var(--s-3);
  display: inline-grid; place-items: center; inline-size: 22px; block-size: 22px;
}
.belt i { grid-area: 1 / 1; border-radius: 50%; background: var(--belt); inline-size: 4.5px; block-size: 4.5px; box-shadow: 0 0 6px var(--belt); }
.belt i:nth-child(1) { translate: -6px 6px; }
.belt i:nth-child(2) { inline-size: 6.5px; block-size: 6.5px; box-shadow: 0 0 9px var(--belt); }
.belt i:nth-child(3) { translate: 6px -6px; }

/* the guides list */
.guide-main .guide-list { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.guide-list a {
  display: grid; gap: var(--s-2); padding: var(--s-6); border: 1px solid var(--line-soft);
  border-radius: var(--r-panel); color: var(--slate); text-decoration: none;
  transition: border-color 0.3s;
}
.guide-list a:hover { border-color: var(--line-strong); }
.guide-list .guide-title { font-size: var(--fs-body-lg); font-weight: 600; line-height: var(--lh-snug); color: var(--navy); }

/* text runs on the site's one line: the shell edge plus the inset, as the
   home page's (tokens.css) — 12px from a phone's edge without it */
.guide-top, .guide-main, .guide-foot { padding-inline: var(--inset); }

/* ---- the foot ---- */
.guide-foot {
  inline-size: var(--shell); margin-inline: auto; padding-block: var(--s-8);
  border-block-start: 1px solid var(--line-soft); font-size: var(--fs-small); color: var(--grey);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
}
.guide-foot a { color: var(--grey); }

@media (max-width: 767px) {
  .guide-short, .guide-example { padding: var(--s-5); }
  .guide-orion { padding: var(--s-6); }
  .guide-top .guide-cta { padding: var(--s-2) var(--s-4); }
}
