mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdv7StJZXmK5oNtoxtW
168 lines
16 KiB
CSS
168 lines
16 KiB
CSS
/* ---------- legal: the reading room (xlg-) ---------- */
|
|
.xlg { --xlg-top: 96px; }
|
|
.xlg-hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
|
|
.xlg-hero-g { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
|
|
.xlg-hero .x-kick a { text-decoration: none; }
|
|
.xlg-hero .x-kick a:hover { color: var(--ink); }
|
|
.xlg-h1 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 560; letter-spacing: -.045em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
|
|
.xlg-lede { margin: 26px 0 0; max-width: 54ch; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--soft); text-wrap: pretty; }
|
|
.xlg-meta { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; font: 500 13px/1.5 var(--mono); color: var(--soft); }
|
|
.xlg-meta p { margin: 0; }
|
|
.xlg-meta strong { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font-weight: 500; letter-spacing: .04em; }
|
|
.xlg-meta a { color: var(--ink); }
|
|
|
|
.xlg-paper { position: relative; justify-self: end; width: min(100%, 340px); aspect-ratio: .78; }
|
|
.xlg-sheet { position: absolute; inset: 0; padding: 12% 11%; display: flex; flex-direction: column; gap: 5.2%; border-radius: 18px; background: var(--x-raised); border: 1px solid var(--line); box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .35); overflow: hidden; }
|
|
.xlg-sheet-b { z-index: -1; inset: 4% -4% -4% 4%; padding: 0; background: var(--card); box-shadow: none; transform: rotate(2.5deg); }
|
|
.xlg-sheet i { display: block; height: 6px; border-radius: 3px; background: light-dark(rgba(0, 0, 0, .09), var(--border)); flex: none; }
|
|
.xlg-sheet b { display: block; height: 2%; flex: none; }
|
|
.xlg-eye { position: absolute; left: 0; right: 0; top: 0; height: 15%; background: linear-gradient(rgba(115, 115, 115, 0), rgba(115, 115, 115, .12) 30%, rgba(115, 115, 115, .12) 70%, rgba(115, 115, 115, 0)); border-top: 1px solid rgba(115, 115, 115, .35); border-bottom: 1px solid rgba(115, 115, 115, .35); animation: xlg-read 7s var(--ease) infinite alternate; }
|
|
@keyframes xlg-read { from { transform: translateY(0); } to { transform: translateY(560%); } }
|
|
|
|
.xlg-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(72px, 9vw, 140px); }
|
|
.xlg-rail { position: sticky; top: var(--xlg-top); max-height: calc(100vh - var(--xlg-top) - 24px); overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
|
|
.xlg-rail::-webkit-scrollbar { display: none; }
|
|
.xlg-det summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; list-style: none; cursor: default; padding: 0 0 14px 22px; }
|
|
.xlg-det summary::-webkit-details-marker { display: none; }
|
|
.xlg-det summary h2 { margin: 0; font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
|
|
.xlg-pct { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
|
|
.xlg-sigil { position: absolute; inset: 0; width: 100%; height: 100%; color: #737373; opacity: .22; pointer-events: none; }
|
|
.xlg-sheet.sig i, .xlg-sheet.sig b { position: relative; }
|
|
.xlg-find { padding: 0 0 16px 22px; }
|
|
.xlg-find input { width: 100%; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--x-raised); font: 400 14px/1 var(--sans); color: var(--ink); }
|
|
.xlg-find input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
|
|
.xlg-find p { margin: 8px 0 0; min-height: 1.2em; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
|
|
.xlg-track a > span { flex: 1; }
|
|
.xlg-hit { flex: none; padding: 2px 7px; border-radius: 999px; background: #737373; color: var(--x-on-ink); font-size: 13px; font-style: normal; font-variant-numeric: tabular-nums; }
|
|
.xlg-track.finding a[data-none] { opacity: .38; }
|
|
.xlg-track { position: relative; padding-left: 22px; }
|
|
.xlg-line { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
|
|
.xlg-line i { display: block; height: 100%; background: var(--ink); transform-origin: 50% 0; }
|
|
.xlg-track ul { list-style: none; margin: 0; padding: 0; }
|
|
.xlg-track a { position: relative; display: flex; align-items: baseline; gap: 8px; padding: 7px 10px 7px 12px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--soft); text-decoration: none; transition: color .3s var(--ease), background .3s var(--ease); }
|
|
.xlg-track a:hover { color: var(--ink); background: var(--card); }
|
|
.xlg-track a[aria-current] { color: var(--ink); font-weight: 560; }
|
|
.xlg-mark { position: absolute; left: -22px; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: #737373; box-shadow: 0 0 0 3px rgba(115, 115, 115, .14); }
|
|
|
|
.xlg-art { min-width: 0; max-width: 760px; }
|
|
.xlg-sec { padding: 0 0 clamp(36px, 4vw, 56px); }
|
|
.xlg-sec + .xlg-sec { padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
|
|
.xlg-hd { position: relative; scroll-margin-top: var(--xlg-top); }
|
|
.xlg-h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 560; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
|
|
.xlg-n { flex: none; min-width: 2.2ch; font-size: .62em; font-weight: 500; letter-spacing: 0; color: var(--faint); transition: color .5s var(--ease); display: inline-block; }
|
|
.xlg-sec[data-on] .xlg-n { color: #737373; }
|
|
.xlg-prose { font-size: 17px; line-height: 1.7; color: light-dark(#1d1d1f, var(--foreground)); }
|
|
.xlg-prose > :first-child { margin-top: 0; }
|
|
.xlg-prose p { margin: 0 0 1.05em; text-wrap: pretty; }
|
|
.xlg-prose h3 { margin: 1.9em 0 .6em; font-size: 1.15rem; font-weight: 560; letter-spacing: -.015em; line-height: 1.3; }
|
|
.xlg-prose ul, .xlg-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
|
|
.xlg-prose li { margin: 0 0 .5em; padding-left: .2em; }
|
|
.xlg-prose li::marker { color: var(--faint); }
|
|
.xlg-prose strong { font-weight: 600; color: var(--ink); }
|
|
.xlg-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: light-dark(rgba(0, 0, 0, .25), var(--white-22)); text-underline-offset: 3px; transition: text-decoration-color .25s; }
|
|
.xlg-prose a:hover { text-decoration-color: var(--ink); }
|
|
.xlg-prose code { padding: 1px 6px; border-radius: 6px; background: var(--card); font: 500 .86em var(--mono); overflow-wrap: anywhere; }
|
|
.xlg-prose blockquote { margin: 0 0 1.4em; padding: 16px 20px; border-radius: 16px; background: var(--card); border-left: 3px solid var(--ink); }
|
|
.xlg-prose blockquote p:last-child { margin: 0; }
|
|
|
|
.xlg-cl { position: relative; flex: none; align-self: center; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; opacity: 0; transition: opacity .25s, background .25s, color .25s; }
|
|
.xlg-hd:hover .xlg-cl, .xlg-cl:focus-visible, .xlg-cl:has(.xlg-tip:not(:empty)) { opacity: 1; }
|
|
.xlg-cl:hover { background: var(--card); color: var(--ink); }
|
|
.xlg-tip { position: absolute; left: 34px; top: 50%; translate: 0 -50%; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font: 500 11.5px/1.2 var(--sans); white-space: nowrap; pointer-events: none; }
|
|
.xlg-tip:empty { display: none; }
|
|
.xlg-prose h3 .xlg-cl { width: 24px; height: 24px; vertical-align: middle; margin-left: 6px; display: inline-grid; }
|
|
@media (hover: none) { .xlg-cl { opacity: .7; } }
|
|
|
|
.xlg-tw { margin: 0 0 1.6em; max-height: min(72vh, 620px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--x-raised); overscroll-behavior: contain; }
|
|
.xlg-tw table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.5; }
|
|
.xlg-tw th { position: sticky; top: 0; z-index: 1; padding: 12px 16px; background: var(--x-fill); text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
|
|
.xlg-tw td { padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 120px; }
|
|
.xlg-tw tbody tr:last-child td { border-bottom: 0; }
|
|
.xlg-tw tbody tr { transition: background .2s; }
|
|
.xlg-tw tbody tr:hover, .xlg-tw tbody tr:focus-within { background: rgba(115, 115, 115, .06); }
|
|
.xlg-tw tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #737373; }
|
|
.xlg-tw td:first-child { font-weight: 560; color: var(--ink); }
|
|
.xlg-tw:focus-visible { outline-offset: 2px; }
|
|
|
|
.xlg-more { padding: 0 0 clamp(72px, 9vw, 130px); }
|
|
.xlg-more .x-kick a { text-decoration: none; }
|
|
.xlg-more ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
|
|
.xlg-more li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.3; transition: background .3s var(--ease), transform .4s var(--ease); }
|
|
.xlg-more li a:hover { background: light-dark(#ececf0, var(--secondary)); transform: translateY(-2px); }
|
|
.xlg-more svg { flex: none; transition: transform .35s var(--ease); }
|
|
.xlg-more li a:hover svg { transform: translateX(4px); }
|
|
|
|
@media (max-width: 900px) {
|
|
.xlg-hero-g { grid-template-columns: 1fr; }
|
|
.xlg-paper { display: none; }
|
|
.xlg-body { grid-template-columns: 1fr; gap: 28px; }
|
|
.xlg-rail { position: static; max-height: none; overflow: visible; padding: 14px 16px; border-radius: 18px; background: var(--card); }
|
|
.xlg-det summary { cursor: pointer; padding-left: 0; padding-bottom: 0; }
|
|
.xlg-det[open] summary { padding-bottom: 12px; }
|
|
.xlg-pct { display: none; }
|
|
.xlg-track { padding-left: 0; }
|
|
.xlg-find { padding-left: 0; }
|
|
.xlg-find input { height: 44px; font-size: 16px; }
|
|
.xlg-track a { min-height: 44px; align-items: center; }
|
|
.xlg-line, .xlg-mark { display: none; }
|
|
.xlg-track a[aria-current] { background: var(--x-raised); }
|
|
.xlg-h2 { flex-wrap: wrap; }
|
|
.xlg-tw { margin-inline: -4px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .xlg-eye { animation: none; transform: translateY(180%); } }
|
|
|
|
/* ---------- /legal: the index ---------- */
|
|
.xlg-intro { padding: 0 0 clamp(48px, 6vw, 88px); }
|
|
.xlg-intro-g { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
|
|
.xlg-big { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; letter-spacing: -.012em; }
|
|
.xlg-status blockquote { margin: 0; }
|
|
.xlg-grp { padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
|
|
.xlg-grp-g { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
|
|
.xlg-gh h2 { margin: 0; position: sticky; top: var(--xlg-top); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 560; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
|
|
.xlg-gh span[id] { scroll-margin-top: var(--xlg-top); }
|
|
.xlg-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
|
|
.xlg-cardw { height: 100%; will-change: auto; }
|
|
.xlg-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 250px; padding: 26px; border-radius: 24px; background: var(--x-raised); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .5s var(--ease), border-color .4s; }
|
|
.xlg-card:hover { box-shadow: 0 34px 60px -38px rgba(0, 0, 0, .38); border-color: light-dark(rgba(0, 0, 0, .16), var(--border-strong)); }
|
|
.xlg-card-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
|
|
.xlg-card:hover .xlg-card-glow { opacity: 1; }
|
|
.xlg-card-sheet { display: flex; flex-direction: column; gap: 6px; width: 54px; margin-bottom: 14px; }
|
|
.xlg-card-sheet i { display: block; height: 4px; border-radius: 2px; background: light-dark(rgba(0, 0, 0, .12), var(--border-control)); transform-origin: 0 50%; transition: transform .6s var(--ease), background .4s; }
|
|
.xlg-card-sheet i:nth-child(2) { width: 82%; } .xlg-card-sheet i:nth-child(3) { width: 64%; } .xlg-card-sheet i:nth-child(5) { width: 90%; } .xlg-card-sheet i:nth-child(6) { width: 48%; }
|
|
.xlg-card-sheet b { height: 4px; }
|
|
.xlg-card:hover .xlg-card-sheet i { background: #737373; }
|
|
.xlg-card:hover .xlg-card-sheet i:nth-child(odd) { transform: scaleX(1.18); }
|
|
.xlg-card-t { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 560; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
|
|
.xlg-card-d { font-size: 15px; line-height: 1.55; color: var(--soft); text-wrap: pretty; }
|
|
.xlg-card-d code { padding: 1px 5px; border-radius: 5px; background: var(--card); font: 500 .88em var(--mono); }
|
|
.xlg-dash { font-family: var(--mono); color: var(--faint); }
|
|
.xlg-card-go { margin-top: auto; align-self: flex-end; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card); transition: background .3s, color .3s, transform .45s var(--ease); }
|
|
.xlg-card:hover .xlg-card-go { background: var(--ink); color: var(--x-on-ink); transform: translateX(3px); }
|
|
.xlg-rest .xlg-prose { max-width: 70ch; }
|
|
.xlg-ladder { position: relative; list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; max-width: none; }
|
|
.xlg-ladder li { align-self: end; }
|
|
.xlg-step { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: calc(110px + var(--k) * 46px); padding: 16px; border-radius: 18px; background: linear-gradient(var(--card), var(--x-raised) 160%); border: 1px solid var(--line); }
|
|
.xlg-step b { font-size: 15px; font-weight: 560; letter-spacing: -.01em; line-height: 1.2; }
|
|
.xlg-step em { font: normal 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
|
|
.xlg-step-n { font-size: 11.5px; color: var(--faint); }
|
|
.xlg-ladder li:nth-child(4) .xlg-step { background: var(--ink); border-color: var(--ink); } .xlg-ladder li:nth-child(4) b { color: var(--x-on-ink); } .xlg-ladder li:nth-child(4) .xlg-step-n { color: light-dark(#a1a1a6, var(--neutral-600)); }
|
|
.xlg-climb { position: absolute; left: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #737373; box-shadow: 0 0 0 5px rgba(115, 115, 115, .16); animation: xlg-climb 8s var(--ease) infinite; }
|
|
@keyframes xlg-climb { 0% { transform: translate(14px, -14px); } 25% { transform: translate(calc(25cqw + 14px), -60px); } 50% { transform: translate(calc(50cqw + 14px), -106px); } 75% { transform: translate(calc(75cqw + 14px), -152px); } 100% { transform: translate(14px, -14px); } }
|
|
.xlg-ladder { container-type: inline-size; }
|
|
.xlg-contact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
|
|
.xlg-contact li { margin: 0; padding: 20px 22px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
|
|
.xlg-contact li > span { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xlg-contact a { font-size: 17px; font-weight: 560; letter-spacing: -.01em; overflow-wrap: anywhere; }
|
|
@media (max-width: 900px) {
|
|
.xlg-intro-g, .xlg-grp-g { grid-template-columns: 1fr; }
|
|
.xlg-gh h2 { position: static; }
|
|
.xlg-ladder { grid-template-columns: repeat(2, 1fr); }
|
|
.xlg-step { height: auto; min-height: 96px; }
|
|
.xlg-climb { display: none; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .xlg-climb { animation: none; } }
|
|
|
|
/* elite bar: no text under 13px on desktop, 14px on phones */
|
|
.xlg-tip, .xlg-tw th, .xlg-step-n, .xlg-contact li > span { font-size: 13px; }
|
|
@media (max-width: 900px) { .xlg-tip, .xlg-tw th, .xlg-step-n, .xlg-contact li > span { font-size: 14px; } }
|