/* Subpages (privacy policy, 404) in the one-pager design; uses its tokens from onepager.css. */

/* top band: the one-pager gradient, so the transparent white header stays readable */
.sub-top{position:relative;overflow:hidden;color:#fff;background:var(--grad)}
.sub-top .wrap{padding-top:168px;padding-bottom:88px}
.sub-top .eyebrow{color:var(--on-2)}
.sub-top h1{font-size:clamp(40px,4.4vw,60px);line-height:1.08;max-width:820px}
.sub-top .lead{max-width:560px;margin-top:22px;color:rgba(255,255,255,.8);font-size:18.5px}
.sub-top .cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.sub-top .meta{margin-top:22px;font-size:14.5px;color:var(--on-2)}

/* privacy policy: sticky contents on the left, numbered sections on the right */
.legal{padding:96px 0 112px}
.legal .wrap{display:grid;grid-template-columns:4fr 8fr;gap:80px;align-items:start}
.toc{position:sticky;top:104px}
.toc p{font:600 12.5px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--brand-2);margin-bottom:18px}
.toc ol{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.toc li{border-bottom:1px solid var(--rule)}
.toc a{display:grid;grid-template-columns:32px 1fr;gap:8px;padding:12px 0;font-size:15px;line-height:1.45;color:var(--ink-2);transition:color .2s}
.toc a .i{color:var(--brand-3);font-weight:500;font-variant-numeric:tabular-nums}
.toc a:hover{color:var(--brand)}
.doc{max-width:720px}
.doc section{padding:0 0 40px;margin-bottom:40px;border-bottom:1px solid var(--rule);scroll-margin-top:96px}
.doc section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.doc .n{display:block;font:500 15px/1 var(--sans);color:var(--brand-3);margin-bottom:12px}
.doc h2{font-size:26px;line-height:1.25;margin-bottom:14px}
.doc p{color:var(--ink-2)}
.doc a{color:var(--brand-2);text-decoration:underline;text-underline-offset:.2em}
.doc a:hover{color:var(--brand)}

/* 404: the band fills the screen, nothing else on the page */
.nf .sub-top .wrap{min-height:calc(100svh - 120px);display:flex;flex-direction:column;justify-content:center;padding-bottom:120px}

@media (max-width:1080px){
  .legal .wrap{grid-template-columns:1fr;gap:48px}
  .toc{position:static}
}
@media (max-width:640px){
  .sub-top .wrap{padding-top:120px;padding-bottom:56px}
  .sub-top h1{font-size:clamp(32px,9vw,40px)}
  .legal{padding:56px 0 72px}
  .doc h2{font-size:22px}
  .doc section{padding-bottom:32px;margin-bottom:32px}
  .nf .sub-top .wrap{min-height:calc(100svh - 160px);padding-bottom:72px}
}
