/* ---------------------------------------------------------------
   article.css — shared long-form layout for jordanurbs.com
   Sovereignpreneur Mode A (lime/violet). Matches index.html tokens.
   Used by the Conscious Parents satellite / answer-library pages.
   --------------------------------------------------------------- */

:root {
  --bg:            #10081A;
  --bg-raised:     #1A0F28;
  --border:        #2A1A3F;
  --text:          #EDE8F5;
  --text-muted:    #9B8AB5;
  --primary:       #9D4EDD;
  --primary-soft:  rgba(157,78,221,0.14);
  --primary-line:  rgba(157,78,221,0.4);
  --accent:        #C6FF3D;
  --accent-soft:   rgba(198,255,61,0.14);
  --accent-text:   #10081A;
  --max-w:         720px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 15% -5%, rgba(157,78,221,0.20), transparent 45%),
    radial-gradient(circle at 92% 8%, rgba(198,255,61,0.05), transparent 40%);
}

/* ---- Masthead ---- */
.masthead {
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.masthead-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.masthead a { color: var(--text-muted); text-decoration: none; }
.masthead a:hover { color: var(--accent); }
.masthead .home { color: var(--text); }

/* ---- Layout ---- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 4rem; }

/* ---- Type ---- */
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1.25rem;
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  line-height: 1.25;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2rem 0 0.6rem;
  color: var(--accent);
}
p { margin: 0 0 1.15rem; }
strong { font-weight: 600; color: #fff; }
em { color: var(--text); }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

/* The direct answer under the H1 — the AEO liftable block. */
.answer {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 1.15rem 1.35rem;
  margin: 0 0 2rem;
}
.answer p:last-child { margin-bottom: 0; }

.byline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.byline a { color: var(--text-muted); }

.kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.5rem 0 -1.5rem;
}

/* ---- Lists ---- */
ul, ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }
ul.clean { list-style: none; padding-left: 0; }
ul.clean li { padding-left: 1.5rem; position: relative; }
ul.clean li::before {
  content: "\2192";
  position: absolute; left: 0;
  color: var(--accent);
}

/* ---- Callouts ---- */
.aside {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.aside p:last-child { margin-bottom: 0; }
.aside strong { color: var(--accent); }

blockquote {
  margin: 0 0 1.25rem;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--primary-line);
  color: var(--text-muted);
  font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }

/* ---- The five-question charter block ---- */
.qcard {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.qcard h3 { margin-top: 0; }
.qcard p:last-child { margin-bottom: 0; }

/* ---- CTA ---- */
.cta {
  background: var(--bg-raised);
  border: 1px solid var(--primary-line);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  margin: 3.5rem 0 1rem;
}
.cta h2 {
  border-top: 0;
  padding-top: 0;
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}
.cta p { color: var(--text-muted); font-size: 0.98rem; }
.cta ul.clean { margin-bottom: 1.3rem; font-size: 0.98rem; }

form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; }
@media (max-width: 520px) { form .fields { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
input:focus { outline: 2px solid var(--primary); border-color: transparent; }
input::placeholder { color: var(--text-muted); }
button {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.honeypot { position: absolute; left: -9999px; height: 0; width: 0; border: 0; padding: 0; }
.note { margin-top: 0.7rem; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* ---- Related / footer ---- */
.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.related h2 {
  border-top: 0; padding-top: 0;
  font-size: 1.15rem; margin: 0 0 0.8rem;
}
.sitefoot {
  border-top: 1px solid var(--border);
  padding: 2rem 20px 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.sitefoot a { color: var(--text-muted); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
