/* forgenesis.ai sub-pages (Doctrine · Terms · Privacy · Contact) — v2.0 shared stylesheet.
 * design_handoff_forgenesis_v2 sub-page spec: single column max-w 42rem, serif body, a top-bar
 * lockup (breathing Ember + wordmark, both → home) + "← back", h1 + italic lede, Söhne-13px
 * uppercase kicker h2, serif body, a mono coda + inter-page foot links. Tokens mirror
 * frontend/app/globals.css. Type: Spectral (Canela proxy) + IBM Plex Mono (canonical), loaded
 * per-page via Google Fonts. Quiet Posture: the only motion is the Ember's 6s breath, off under
 * prefers-reduced-motion. */
:root {
  --dark: #0a0908;
  --text: #f1ede2;
  --muted: #c8c3b7;
  --faint: #807c70;
  --dim: #4a4741;
  --line: rgba(255, 255, 255, 0.12);
  --ember-core: #f0c078;
  --ember: #d4892b;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  background: var(--dark);
  color: var(--muted);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
*:focus-visible {
  outline: 2px solid var(--ember-core);
  outline-offset: 3px;
  border-radius: 2px;
}
.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 7rem;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.lockup-ember {
  animation: emberBreath 6s ease-in-out infinite;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 14px;
  color: var(--text);
}
.back {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
}
.back:hover {
  color: var(--muted);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 46px);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.lede {
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  margin: 0 0 3.5rem;
}
.lede.tight {
  margin-bottom: 1rem;
}
h2 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 2.6rem 0 0.6rem;
}
p {
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 1.1rem;
}
a {
  color: var(--text);
}
ul {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
}
li {
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 0.5rem;
}
em {
  font-style: italic;
  color: var(--text);
}
strong {
  color: var(--text);
  font-weight: 600;
}
.mailto {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--ember);
}
/* Draft-pending-counsel note (Terms / Privacy) — the only amber surface. */
.draft {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: #e0a96b;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.4);
  border-radius: 6px;
  padding: 0.7rem 0.95rem;
  margin: 0 0 3rem;
}
/* mono coda line (e.g. the Doctrine principle string, or a draft date) */
.coda {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
  margin-top: 4rem;
  border-top: 0.5px solid var(--line);
  padding-top: 1.4rem;
}
.foot-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--faint);
}
/* when foot-links is the only footer element, it carries the top rule itself */
.foot-links.solo {
  margin-top: 4rem;
  border-top: 0.5px solid var(--line);
  padding-top: 1.4rem;
}
.foot-links a {
  color: var(--faint);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--muted);
}
.foot-sep {
  color: var(--dim);
}
@keyframes emberBreath {
  0%,
  100% {
    opacity: 0.92;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}
