/* ============================================================
   SKORTA — content / SEO pages
   Loaded AFTER lux.css (reuses its :root tokens, nav, footer,
   buttons). Fast, prose-first, no animation engine.
   ============================================================ */

.doc { color: var(--mid); }
.doc main { padding-top: clamp(5.5rem, 12vh, 8rem); position: relative; z-index: 2; }
.doc .wrap { max-width: 74rem; }

/* ---------- motion: reveal-on-scroll + smooth scroll (driven by content.js) ---------- */
.doc .rv { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.doc .rv.in { opacity: 1; transform: none; }
.doc-hero .kicker.rv { transition-delay: 0s; }
.doc-hero .doc-h1.rv { transition-delay: 0.06s; }
.doc-hero .doc-lede.rv { transition-delay: 0.12s; }
.doc-hero .doc-cta-row.rv { transition-delay: 0.18s; }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--low); padding-block: 0.5rem 1.6rem; }
.crumbs a { color: var(--mid); transition: color 0.3s; }
.crumbs a:hover { color: var(--green-hi); }
.crumbs .sep { color: var(--low); opacity: 0.6; }
.crumbs [aria-current] { color: var(--plat); }

/* ---------- page hero ---------- */
.doc-hero { padding-block: clamp(0.5rem, 2vh, 1.5rem) clamp(2.5rem, 6vh, 4rem); border-bottom: 1px solid var(--line-soft); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.doc-h1 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(2.1rem, 5.2vw, 4.2rem); line-height: 1.05; letter-spacing: -0.014em; color: var(--plat); text-wrap: balance; margin-bottom: clamp(1.1rem, 2.5vh, 1.6rem); }
.doc-h1 em { font-style: italic; color: var(--mid); }
.doc-lede { font-family: var(--ui); font-size: clamp(1.08rem, 0.4vw + 1rem, 1.32rem); line-height: 1.6; color: var(--mid); max-width: 40em; }
.doc-lede strong { color: var(--plat); font-weight: 600; }

/* ---------- prose ---------- */
.prose { max-width: 44rem; }
.prose > section { margin-bottom: clamp(2.4rem, 5vh, 3.6rem); }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.55rem, 2.8vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--plat); margin-bottom: clamp(0.9rem, 2vh, 1.3rem); text-wrap: balance; }
.prose h3 { font-family: var(--ui); font-stretch: 108%; font-weight: 620; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--plat); margin: 1.6rem 0 0.6rem; }
.prose p { font-size: clamp(1.02rem, 0.3vw + 0.96rem, 1.14rem); line-height: 1.75; color: var(--mid); margin-bottom: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--plat); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--plat); border-bottom: 1px solid var(--green-hi); padding-bottom: 1px; transition: color 0.3s, border-color 0.3s; }
.prose a:hover { color: var(--green-hi); }
.prose ul { margin: 0.6rem 0 1.15rem; padding-left: 0; }
.prose li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; font-size: clamp(1rem, 0.3vw + 0.94rem, 1.1rem); line-height: 1.65; color: var(--mid); }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 1px; background: var(--green-hi); }

/* ---------- inline CTA row (after hero + at section ends) ---------- */
.doc-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.6rem, 3vh, 2.2rem); }
.doc-cta-row .btn-solid, .doc-cta-row .btn-ghost { min-height: 46px; }

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin-top: clamp(1rem, 2vh, 1.5rem); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; padding: 1.15rem 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--plat); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--green-hi); font-size: 1.2rem; line-height: 1; flex: none; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1.2rem; }
.faq .faq-a p { font-size: clamp(1rem, 0.3vw + 0.94rem, 1.08rem); line-height: 1.7; color: var(--mid); }

/* ---------- related links ---------- */
.related { border-top: 1px solid var(--line-soft); padding-top: clamp(2rem, 5vh, 3rem); margin-top: clamp(2.5rem, 6vh, 4rem); }
.related-h { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--green-hi); text-transform: uppercase; margin-bottom: 1.4rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 0.8rem; }
.related-grid a { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.2rem 1.35rem; background: var(--bg-1); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; min-height: 44px; }
.related-grid a:hover { background: var(--bg-2); border-color: rgba(127, 176, 148, 0.4); }
.rc-t { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--plat); }
.rc-d { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--low); }
.rc-desc { font-family: var(--ui); font-size: 0.92rem; line-height: 1.45; color: var(--mid); margin-top: 0.15rem; }

/* ---------- CTA band ---------- */
.cta-band { margin-top: clamp(3rem, 8vh, 5rem); border-top: 1px solid var(--line-soft); background: radial-gradient(90% 120% at 12% 0%, rgba(47, 92, 70, 0.14), transparent 60%), var(--bg-1); }
.cta-band .wrap { padding-block: clamp(3rem, 8vh, 5rem); }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.1; color: var(--plat); letter-spacing: -0.012em; max-width: 20em; margin-bottom: 0.8rem; text-wrap: balance; }
.cta-band h2 em { font-style: italic; color: var(--green-hi); }
.cta-band p { max-width: 34em; margin-bottom: 1.6rem; }

@media (max-width: 640px) {
  .prose, .faq { max-width: none; }
  .doc-cta-row .btn-solid, .doc-cta-row .btn-ghost { flex: 1 1 100%; }
}
