/* ------------------------------------------------------------- guides
 *
 * A reading page. One column, no chrome that moves, nothing to click except
 * the links. It is meant to be read by a person on a phone and parsed by a
 * crawler, and both want the same thing: the answer near the top, in text.
 */

body.guide-page { background: var(--surface); }

.guide-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 820px; margin: 0 auto; padding: 22px 22px 0;
}
.guide-nav nav { display: flex; gap: 20px; font-size: 14px; }
.guide-nav nav a { color: var(--muted); font-weight: 560; }
.guide-nav nav a:hover { color: var(--ink); }

.guide {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 22px 72px;
}
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 2px; }

.guide h1 {
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.032em;
}
.guide-lede {
  margin: 16px 0 40px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.guide h2 {
  margin-top: 42px;
  font-size: 21px;
  letter-spacing: -0.024em;
}
.guide h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.guide p { margin-top: 14px; font-size: 16px; line-height: 1.72; color: var(--body); }
.guide ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 11px; }
.guide ul li {
  position: relative; padding-left: 24px;
  font-size: 16px; line-height: 1.65; color: var(--body);
}
.guide ul li::before {
  content: ''; position: absolute; left: 6px; top: 10px;
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand);
}

.guide-faq { margin-top: 48px; }
.guide-faq > div { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.guide-faq > div:last-child { border-bottom: 1px solid var(--line-soft); }
.guide-faq p { margin-top: 7px; font-size: 15.5px; color: var(--muted); }

.guide-cta {
  margin-top: 52px;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.guide-cta h2 { margin-top: 0; font-size: 19px; }
.guide-cta p { margin-top: 10px; font-size: 15px; }
.guide-cta .btn { margin-top: 18px; }

.guide-related { margin-top: 48px; }
.guide-related ul { display: grid; gap: 0; }
.guide-related li { padding: 0; }
.guide-related li::before { display: none; }
.guide-related li a {
  display: block; padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink);
}
.guide-related li:last-child a { border-bottom: 1px solid var(--line-soft); }
.guide-related li a:hover { color: var(--brand); }

/* The index. Every page reachable in one click from here. */
.guide-index { max-width: 900px; }
.guide-group { margin-top: 44px; }
.guide-group h2 { display: flex; align-items: baseline; gap: 10px; }
.guide-group h2 span {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--surface-sunken); padding: 3px 9px; border-radius: 999px;
}
.guide-group ul {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px 26px;
}
.guide-group li { padding-left: 0; }
.guide-group li::before { display: none; }
.guide-group li a {
  display: block; padding: 9px 0; font-size: 14.5px; color: var(--body);
  border-bottom: 1px solid var(--line-soft);
}
.guide-group li a:hover { color: var(--brand); }

.guide-foot {
  max-width: 720px; margin: 0 auto; padding: 32px 22px 56px;
  border-top: 1px solid var(--line-soft);
}
.guide-foot p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.guide-foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13.5px; }
.guide-foot nav a { color: var(--faint); }
.guide-foot nav a:hover { color: var(--ink); }

.guide-cta { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px; align-items: center; }
.guide-mascot { width: 92px; height: auto; }
.guide-cta > h2, .guide-cta > p, .guide-cta > .btn { grid-column: 2; }
.guide-cta .guide-mascot { grid-row: 1 / span 3; }
@media (max-width: 560px) {
  .guide-cta { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guide-cta > h2, .guide-cta > p, .guide-cta > .btn { grid-column: 1; }
  .guide-cta .guide-mascot { grid-row: auto; width: 72px; }
}

.guide-meta {
  margin: -24px 0 40px;
  font-size: 13px;
  color: var(--faint);
}

/* Said to the machine out loud, rather than hidden where only it would look. */
.guide-agent {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-sunken);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.guide-agent code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: #fff;
  padding: 2px 6px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

/* A country list, as links: one hop from a topic page to every country page. */
.guide-links {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  margin: 14px 0 4px;
}
.guide-links a {
  font-size: 13.5px; color: var(--brand-dark);
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-wash);
}
.guide-links a:hover { background: #e2e0ff; }
