/* ---- pages.v1: legal pages and the blog (ported from the old site 2026-09-14) ---- */
.pages main{position:relative;z-index:1;overflow-x:clip}
.pg{padding:128px 0 84px}
.pg-wrap{max-width:820px}
.pg h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin-top:14px;max-width:22ch}
.pg .lede{margin-top:16px;max-width:60ch;font-size:1.05rem}
.pg .eyebrow{display:inline-flex}
.pg-meta{margin-top:14px;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mist)}
.crumb{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:0 0 4px -6px;padding:0 10px 0 6px;border-radius:999px;color:var(--mist);text-decoration:none;font-size:.86rem;font-weight:700;transition:color .2s,background .2s}
.crumb svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.crumb:hover{color:var(--cream);background:var(--surface)}
.hero-fig{margin:28px 0 0;border-radius:20px;overflow:hidden;border:1px solid var(--stroke);background:var(--surface)}
.hero-fig img{display:block;width:100%;height:auto}
/* prose */
.prose{margin-top:32px;font-size:1.02rem;line-height:1.75;color:var(--cream)}
.prose p{margin:0 0 18px}
.prose h2{font-size:1.45rem;line-height:1.25;margin:40px 0 12px}
.prose h3{font-size:1.15rem;line-height:1.3;margin:28px 0 10px}
.prose h4{font-size:1rem;margin:22px 0 8px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:24px}
.prose li{margin:6px 0}
.prose li p{margin:0}
.prose a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.prose strong,.prose b{color:#fff}
.prose blockquote{margin:22px 0;padding:14px 20px;border-left:3px solid #F97316;background:var(--surface);border-radius:0 14px 14px 0;color:var(--mist)}
.prose figure{margin:26px 0;border-radius:16px;overflow:hidden;border:1px solid var(--stroke);background:var(--surface)}
.prose figure img{display:block;width:100%;height:auto}
.prose>*:first-child{margin-top:0}
/* the "short version" box that opens every legal page: first h2 + list */
.prose>h2:first-child{margin-top:0}
.prose>h2:first-child+ul,.prose>h2:first-child+p{padding:18px 22px;border-radius:16px;background:var(--surface);border:1px solid var(--stroke);margin-bottom:28px}
.prose>h2:first-child+ul{padding-left:42px}
.pg-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:44px;padding-top:24px;border-top:1px solid var(--stroke)}
.pg-links a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--stroke);background:var(--surface);color:var(--mist);font-size:.84rem;font-weight:700;text-decoration:none}
.pg-links a:hover{color:var(--cream);border-color:var(--stroke-bright)}
.pg-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:44px;padding:26px 28px;border-radius:20px;background:linear-gradient(135deg,rgba(var(--accent-rgb),.16),rgba(255,255,255,.03));border:1px solid rgba(var(--accent-rgb),.3)}
.pg-cta b{font-size:1.05rem;line-height:1.35;max-width:26ch}
/* blog cards */
.bgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:40px}
.bgrid.three{grid-template-columns:repeat(3,1fr);margin-top:22px}
.bcard{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:var(--surface);border:1px solid var(--stroke);color:var(--cream);text-decoration:none;transition:transform .2s,border-color .2s}
.bcard img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.bcard-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px}
.bcat{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text)}
.bcard h2{font-size:1.15rem;line-height:1.3;margin:0}
.bcard p{margin:0;color:var(--mist);font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bcard.big{grid-column:1/-1;flex-direction:row}
.bcard.big img{width:50%;aspect-ratio:auto;min-height:300px}
.bcard.big .bcard-body{justify-content:center;padding:32px}
.bcard.big h2{font-size:1.6rem}
.more-h{margin-top:64px;font-size:1.4rem}
@media(hover:hover){.bcard:hover{transform:translateY(-4px);border-color:var(--stroke-accent)}}
@media(max-width:900px){
  .pg{padding:108px 0 64px}
  .bgrid,.bgrid.three{grid-template-columns:1fr}
  .bcard.big{flex-direction:column}
  .bcard.big img{width:100%;aspect-ratio:16/10;min-height:0}
  .bcard.big .bcard-body{padding:20px 22px 24px}
  .bcard.big h2{font-size:1.2rem}
  .pg-cta .btn{width:100%;justify-content:center}
}
@media(max-width:700px){.prose{font-size:.98rem}.prose h2{font-size:1.3rem}}
