/* 818 Slots — shared components for child pages (login/register/app/legal/etc).
   Imports the same token system from main.css; adds page-level article layout,
   breadcrumb, page hero, FAQ reuse, related-links and legal prose rules. */

.page-hero {
  position: relative;
  margin-top: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,13,11,0.94) 20%, rgba(9,13,11,0.35) 75%);
}
.page-hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; }
.page-kicker {
  font-family: var(--font-ui); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 8px;
}
.page-h1 { font-family: var(--font-my); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); max-width: 44ch; }
@media (min-width: 720px) { .page-hero { aspect-ratio: 21/7; } .page-h1 { font-size: 27px; } .page-hero-copy { padding: 30px; } }

.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 14px 0 4px;
  font-family: var(--font-ui); font-size: 11.5px; color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--jade); }
.breadcrumb .sep { color: var(--ink-faint); }
.breadcrumb .current { color: var(--ink-soft); }

.article {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 900px) { .article { grid-template-columns: 2.1fr 1fr; align-items: start; } }

.prose { min-width: 0; }
.prose h2 {
  font-family: var(--font-my); font-weight: 700; font-size: 17px; color: var(--ink);
  margin: 28px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-my); font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  margin: 18px 0 8px;
}
.prose p {
  font-size: 13.5px; line-height: 1.85; color: var(--ink-soft);
  margin-bottom: 12px; max-width: 74ch;
}
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose li { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 6px; }
.prose ol li::marker, .prose ul li::marker { color: var(--jade); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a.inline-link { color: var(--jade); border-bottom: 1px solid rgba(39,199,141,0.35); }

.prose-figure { margin: 20px 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--surface-border-soft); }
.prose-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose-figure figcaption { font-family: var(--font-ui); font-size: 11px; color: var(--ink-faint); padding: 9px 12px; background: var(--surface-2); }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 46px;
  background: var(--surface-2);
  border: 1px solid var(--surface-border-soft);
  border-radius: var(--radius-md);
  font-size: 13px; line-height: 1.7; color: var(--ink-soft);
}
.step-list li::before {
  content: counter(step);
  position: absolute; left: 12px; top: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--jade-soft); color: var(--jade);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 800; font-size: 12px;
}

.callout {
  background: var(--gold-soft);
  border: 1px solid rgba(230,179,84,0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 16px 0;
}
.callout strong { color: var(--gold); }

.aside { display: flex; flex-direction: column; gap: 16px; }
.aside-card {
  background: var(--surface-2);
  border: 1px solid var(--surface-border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
}
.aside-card-title { font-family: var(--font-ui); font-weight: 800; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.aside-cta { display: block; text-align: center; font-family: var(--font-ui); font-weight: 800; font-size: 13.5px; padding: 12px 0; border-radius: var(--radius-pill); background: linear-gradient(135deg, var(--jade), var(--jade-strong)); color: #06140f; margin-bottom: 10px; }
.aside-links { display: flex; flex-direction: column; gap: 9px; }
.aside-links a { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.aside-links a:hover { color: var(--jade); }

.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }
.related-card {
  background: var(--surface-2); border: 1px solid var(--surface-border-soft);
  border-radius: var(--radius-md); padding: 14px; font-size: 12.5px;
}
.related-card-label { font-family: var(--font-ui); font-weight: 800; font-size: 10px; color: var(--jade); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.related-card a { color: var(--ink-soft); font-weight: 600; }
.related-card a:hover { color: var(--jade); }

/* Legal/policy prose pages: denser paragraph rhythm, no step list */
.legal-prose h2 { font-size: 15.5px; margin-top: 24px; }
.legal-prose p, .legal-prose li { font-size: 13px; }
.legal-meta { font-family: var(--font-ui); font-size: 11px; color: var(--ink-faint); margin-bottom: 20px; }

/* Contact page cards */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 20px 0; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: var(--surface-2); border: 1px solid var(--surface-border-soft); border-radius: var(--radius-md); padding: 16px; }
.contact-card-icon { width: 34px; height: 34px; border-radius: var(--radius-pill); background: var(--jade-soft); color: var(--jade); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.contact-card-title { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 5px; }
.contact-card-desc { font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
