/* Legal documents, the About page and the 404 page. Loaded on top of svc.css and ui.css. */
.lg-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(100px + 6vh) var(--gut) clamp(34px, 6vh, 70px); }
.lg-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(3,6,33,0) 60%, #030621 100%), radial-gradient(54vw 50vh at 80% 20%, rgba(148,90,202,.26), transparent 72%), radial-gradient(40vw 40vh at 6% 100%, rgba(43,178,184,.13), transparent 70%), #04022a; }
.lg-in { max-width: 1180px; margin: 0 auto; }
.lg-hero h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 200; text-wrap: balance; }
.lg-hero h1 b { font-family: "Suez One", "Heebo", serif; font-weight: 400; }
.lg-hero .meta { margin: 18px 0 0; color: var(--mute); }
.lg-wrap { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 7vh, 80px) var(--gut) clamp(70px, 12vh, 150px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.lg-wrap.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.lg-toc { position: sticky; top: 100px; border-top: 1px solid var(--line); }
.lg-toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--mute); font-size: .95rem; line-height: 1.4; }
.lg-toc a:hover { color: var(--white); }
.doc { max-width: 74ch; }
.doc h2 { margin: 2.2em 0 .6em; font-family: "Suez One", "Heebo", serif; font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.2; scroll-margin-top: 100px; }
.doc > h2:first-child, .doc > p:first-child + h2 { margin-top: 1.4em; }
.doc h3 { margin: 1.8em 0 .5em; font-size: 1.15rem; font-weight: 700; }
.doc p { margin: 0 0 1em; color: #d4d4da; line-height: 1.85; }
.doc ul { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.doc li { margin: 0 0 .5em; color: #d4d4da; line-height: 1.8; }
.doc a { color: var(--teal); border-bottom: 1px solid rgba(43,178,184,.4); overflow-wrap: anywhere; }
.doc a:hover { color: var(--white); }

/* 404 */
.nf { position: relative; isolation: isolate; overflow: hidden; min-height: 78svh; display: grid; place-items: center; text-align: center; padding: calc(100px + 4vh) var(--gut) 60px; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50vw 46vh at 50% 40%, rgba(148,90,202,.26), transparent 70%), #04022a; }
.nf .code { font-family: "Suez One", "Heebo", serif; font-size: clamp(8rem, 24vw, 22rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px rgba(43,178,184,.45); direction: ltr; }
.nf h1 { margin: 10px 0 12px; font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 200; letter-spacing: -.03em; }
.nf p { margin: 0 auto 26px; color: var(--mute); max-width: 44ch; }
.nf .links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 30px; }
.nf .links a { color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.nf .links a:hover { color: var(--white); border-color: var(--teal); }

@media (max-width: 900px) {
  .lg-wrap { grid-template-columns: 1fr; }
  .lg-toc { display: none; }
}
