mirror of
https://github.com/bpmforge/kryptkeeper.git
synced 2026-11-23 16:02:01 +00:00
b40d29aaf1
Snapshot of development commit e8b02df1. Internal planning, review and agent files are no longer published; docs/design/SECURITY_PRINCIPLES.md holds the project's non-negotiable rules. The proof page separates mock passes from real-system results and shows the public release commit beside each version. Pre-1.0 internal builds are summarised in docs/release/PRE_1.0_INTERNAL_BUILDS.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
444 lines
28 KiB
CSS
444 lines
28 KiB
CSS
/* Layout: one 68rem column; hero pairs the pitch with a rendered certificate chain,
|
|
then capability grid, protocol table, quickstart, release verification, maturity, footer.
|
|
Palette and type match the product UI (ui/src/index.css): warm stone neutrals,
|
|
sage primary, amber and brick states, Geist; wordmark gradient from the app sidebar. */
|
|
:root {
|
|
--bg: #1a1917;
|
|
--surface: #201e1b;
|
|
--surface-2: #242220;
|
|
--fg: #ece9e4;
|
|
--muted: #a5a099;
|
|
--border: #2c2a27;
|
|
--accent: #7fae8c;
|
|
--accent-fg: #16150f;
|
|
--accent-2: #d8a657;
|
|
--ok: #7fae8c;
|
|
--warn: #d8a657;
|
|
--danger: #c05f4e;
|
|
--code-bg: #161513;
|
|
--edge: #4a463f;
|
|
--shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 28px -6px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.4);
|
|
--brand-a: #45c6e8;
|
|
--brand-b: #839ef2;
|
|
--font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
--font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
--font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
--step--1: 0.875rem;
|
|
--step-0: 1rem;
|
|
--step-1: 1.25rem;
|
|
--step-2: 1.6rem;
|
|
--step-3: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
|
|
color-scheme: dark;
|
|
}
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([data-theme="dark"]) {
|
|
--bg: #fcfcfb; --surface: #ffffff; --surface-2: #f7f7f5; --fg: #17191c;
|
|
--muted: #707378; --border: #e6e6e3; --accent: #1f6f4f; --accent-fg: #fcfcfb;
|
|
--accent-2: #a86a12; --ok: #1f6f4f; --warn: #a26611; --danger: #a8342a;
|
|
--code-bg: #f0f0ec; --brand-a: #1b8fb3; --brand-b: #4f63c9; --edge: #d8d8d4;
|
|
--shadow: 0 1px 2px rgba(23, 25, 28, 0.06), 0 10px 28px -8px rgba(23, 25, 28, 0.16); color-scheme: light;
|
|
}
|
|
}
|
|
:root[data-theme="light"] {
|
|
--bg: #fcfcfb; --surface: #ffffff; --surface-2: #f7f7f5; --fg: #17191c;
|
|
--muted: #707378; --border: #e6e6e3; --accent: #1f6f4f; --accent-fg: #fcfcfb;
|
|
--accent-2: #a86a12; --ok: #1f6f4f; --warn: #a26611; --danger: #a8342a;
|
|
--code-bg: #f0f0ec; --brand-a: #1b8fb3; --brand-b: #4f63c9; --edge: #d8d8d4;
|
|
--shadow: 0 1px 2px rgba(23, 25, 28, 0.06), 0 10px 28px -8px rgba(23, 25, 28, 0.16); color-scheme: light;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { -webkit-text-size-adjust: 100%; }
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font: 400 var(--step-0)/1.6 var(--font-body);
|
|
padding-inline: 16px;
|
|
}
|
|
a { color: var(--accent); text-underline-offset: 3px; }
|
|
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
|
|
.wrap { max-width: 68rem; margin-inline: auto; }
|
|
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
|
|
h2 { font-size: var(--step-2); }
|
|
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
|
|
p { margin: 0; }
|
|
.muted { color: var(--muted); }
|
|
.label {
|
|
font: 500 0.75rem/1 var(--font-mono);
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* Header */
|
|
header.site {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 1rem;
|
|
padding-block: 1.25rem; border-bottom: 1px solid var(--border);
|
|
}
|
|
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--fg); text-decoration: none; font: 600 1.15rem/1 var(--font-display); letter-spacing: -0.01em; }
|
|
.brand .tile { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--ok); color: var(--accent-fg); display: grid; place-items: center; }
|
|
.brand .tile svg { width: 18px; height: 18px; }
|
|
.brand .word { background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
nav.top { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: var(--step--1); }
|
|
nav.top a { color: var(--muted); text-decoration: none; }
|
|
nav.top a:hover { color: var(--fg); }
|
|
|
|
/* Hero */
|
|
.hero {
|
|
display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
|
|
gap: 3rem; align-items: center; padding-block: 4rem 3.5rem;
|
|
}
|
|
.hero h1 { font-size: var(--step-3); letter-spacing: -0.01em; }
|
|
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 36rem; margin-top: 1.25rem; line-height: 1.5; }
|
|
.hero .stack { display: flex; flex-direction: column; gap: 0; }
|
|
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
|
|
.btn {
|
|
display: inline-flex; align-items: center; gap: 0.5rem;
|
|
padding: 0.7rem 1.1rem; border-radius: 6px; font-weight: 600; font-size: var(--step--1);
|
|
text-decoration: none; border: 1px solid var(--border); color: var(--fg); background: var(--surface);
|
|
}
|
|
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
|
|
.btn:hover { border-color: var(--accent); }
|
|
.meta-line { margin-top: 1.25rem; font: 400 var(--step--1)/1.5 var(--font-mono); color: var(--muted); }
|
|
|
|
/* Certificate chain: the product's own subject matter, shown as the hero image */
|
|
.chain { display: flex; flex-direction: column; gap: 0; font-family: var(--font-mono); font-size: 0.8rem; }
|
|
.cert {
|
|
background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
|
|
padding: 0.9rem 1rem; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.2rem 1rem;
|
|
}
|
|
.cert .kind { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
|
|
.cert .kind b { font: 600 0.85rem/1 var(--font-body); color: var(--fg); }
|
|
.cert dt { color: var(--muted); }
|
|
.cert dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
|
|
.cert.leaf { border-color: var(--accent); }
|
|
.pill { font: 500 0.7rem/1 var(--font-mono); padding: 0.25rem 0.5rem; border-radius: 999px; border: 1px solid currentColor; }
|
|
.pill.ok { color: var(--ok); }
|
|
.pill.renew { color: var(--accent-2); }
|
|
.link { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0 0.35rem 1.4rem; color: var(--muted); font-size: 0.72rem; }
|
|
.link::before { content: ""; width: 1px; height: 1.2rem; background: var(--border); }
|
|
|
|
section { padding-block: 3.5rem; border-top: 1px solid var(--border); }
|
|
.section-head { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; max-width: 42rem; }
|
|
|
|
/* Capabilities */
|
|
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
|
|
.cap { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
|
|
.cap p { color: var(--muted); font-size: 0.95rem; }
|
|
|
|
/* Protocols */
|
|
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
|
|
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 34rem; }
|
|
th, td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
th { font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
|
|
tr:last-child td { border-bottom: 0; }
|
|
td.proto { font-weight: 600; white-space: nowrap; }
|
|
td.rfc { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--accent-2); white-space: nowrap; }
|
|
|
|
/* Code */
|
|
.code {
|
|
position: relative; background: var(--code-bg); border: 1px solid var(--border); border-radius: 8px;
|
|
}
|
|
.code pre { margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto; font: 400 0.85rem/1.65 var(--font-mono); color: var(--fg); }
|
|
.code .c { color: var(--muted); }
|
|
.copy {
|
|
position: absolute; top: 0.6rem; right: 0.6rem; font: 500 0.72rem/1 var(--font-body);
|
|
background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0.35rem 0.55rem; cursor: pointer;
|
|
}
|
|
.copy:hover { color: var(--fg); }
|
|
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
|
|
.two > div { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
|
|
.two p { color: var(--muted); }
|
|
|
|
/* Maturity */
|
|
.maturity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
|
|
.tier { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; border-top: 3px solid var(--border); min-width: 0; }
|
|
.tier.validated { border-top-color: var(--ok); }
|
|
.tier.beta { border-top-color: var(--warn); }
|
|
.tier.exp { border-top-color: var(--danger); }
|
|
.tier ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.35rem; }
|
|
|
|
footer.site { padding-block: 2.5rem 3rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; font-size: var(--step--1); color: var(--muted); }
|
|
footer .contacts { display: flex; flex-direction: column; gap: 0.35rem; }
|
|
footer .addr { font-family: var(--font-mono); color: var(--fg); user-select: all; }
|
|
|
|
@media (max-width: 880px) {
|
|
.hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 2.5rem; }
|
|
.caps, .maturity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.two { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
@media (max-width: 560px) {
|
|
.caps, .maturity { grid-template-columns: minmax(0, 1fr); }
|
|
nav.top { display: none; }
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.cert.leaf .pill.renew { animation: pulse 2.4s ease-in-out infinite; }
|
|
@keyframes pulse { 50% { opacity: 0.55; } }
|
|
}
|
|
|
|
.chapter { padding-block: 3rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 2.5rem; }
|
|
.chapter > header { display: flex; flex-direction: column; gap: 0.6rem; max-width: 42rem; }
|
|
.shot { margin: 0; display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; }
|
|
.shot figcaption { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.5rem; }
|
|
.shot figcaption p { color: var(--muted); font-size: 0.95rem; }
|
|
.frame { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); min-width: 0; }
|
|
.frame .bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--border); }
|
|
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
|
|
.frame .bar span { margin-left: 0.6rem; font: 400 0.72rem/1 var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.frame a { display: block; }
|
|
.frame img { display: block; width: 100%; height: auto; }
|
|
.note { font-size: var(--step--1); color: var(--muted); }
|
|
@media (max-width: 880px) {
|
|
.shot { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* Elevation: dark stone surfaces sit too close to the page background, so
|
|
framed content (screenshots, certificate cards, code, tables) gets a lighter
|
|
edge and a soft shadow to lift it off the page. */
|
|
.frame, .cert, .code, .table-scroll {
|
|
border-color: var(--edge);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.cert.leaf { border-color: var(--accent); }
|
|
.frame .bar { background: var(--surface-2); }
|
|
.btn { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
|
|
|
|
/* ==========================================================================
|
|
Feature hubs, walkthroughs and paths (generated by site/tools/build.mjs)
|
|
========================================================================== */
|
|
.skip { position: absolute; left: 16px; top: -4rem; z-index: 20; background: var(--accent); color: var(--accent-fg); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 600; text-decoration: none; }
|
|
.skip:focus { top: 0.75rem; }
|
|
main.page { padding-block: 1.5rem 3rem; overflow-wrap: anywhere; }
|
|
main.page section { padding-block: 2.25rem 0; border-top: 0; }
|
|
main.page section > h2 { margin-bottom: 1.25rem; }
|
|
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 40rem; }
|
|
.intro { color: var(--muted); max-width: 40rem; }
|
|
.as { font-size: var(--step--1); color: var(--muted); }
|
|
.as strong { color: var(--fg); font-family: var(--font-mono); font-weight: 500; }
|
|
|
|
/* Breadcrumbs */
|
|
.crumb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 1.5rem; }
|
|
.pill.role { color: var(--accent); font-size: 0.72rem; padding: 0.3rem 0.6rem; }
|
|
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--step--1); color: var(--muted); }
|
|
.crumbs li + li::before { content: "\203A"; margin-right: 0.5rem; color: var(--edge); }
|
|
.crumbs a { color: var(--muted); }
|
|
.crumbs a:hover { color: var(--fg); }
|
|
.crumbs [aria-current] { color: var(--fg); }
|
|
|
|
/* Page head and hub hero */
|
|
.page-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.5rem; max-width: 46rem; }
|
|
.page-head h1 { font-size: var(--step-3); letter-spacing: -0.01em; }
|
|
.hub-hero { margin: 1.5rem 0 0; }
|
|
|
|
/* Path pages: step cards in a vertical list joined by a thin connector line */
|
|
:root { --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 16px -8px rgba(0, 0, 0, 0.5); --hover-edge: color-mix(in srgb, var(--accent) 55%, var(--border)); }
|
|
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --shadow-sm: 0 1px 2px rgba(23, 25, 28, 0.06), 0 6px 16px -8px rgba(23, 25, 28, 0.14); } }
|
|
:root[data-theme="light"] { --shadow-sm: 0 1px 2px rgba(23, 25, 28, 0.06), 0 6px 16px -8px rgba(23, 25, 28, 0.14); }
|
|
.label b { color: var(--accent); font-weight: 500; }
|
|
.path-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.75rem; position: relative; }
|
|
.path-steps::before { content: ""; position: absolute; left: 2rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--edge); }
|
|
.pstep { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
|
|
.pstep:hover, .pstep:focus-within { border-color: var(--hover-edge); transform: translateY(-2px); box-shadow: var(--shadow); }
|
|
.pstep .card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--code-bg); border-radius: 14px 14px 0 0; }
|
|
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: brightness(0.92); transition: filter 0.15s ease; }
|
|
.pstep:hover .card-img img, .pstep:focus-within .card-img img { filter: brightness(1.06); }
|
|
.pstep-text { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; }
|
|
.pstep h3 { font-size: 1.15rem; font-weight: 600; }
|
|
.pstep h3 a { color: var(--fg); text-decoration: none; }
|
|
.pstep p { color: var(--muted); font-size: 0.95rem; }
|
|
.pstep .label { text-transform: none; letter-spacing: 0.04em; }
|
|
.pstep .stretch::after { border-radius: 14px; }
|
|
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.5rem; font: 500 0.78rem/1 var(--font-mono); color: var(--muted); }
|
|
.pstep-text .card-foot { margin-top: 0.5rem; }
|
|
.arr { display: inline-block; color: var(--accent); font-size: 1.05rem; transition: transform 0.15s ease; }
|
|
.pstep:hover .arr, .pstep:focus-within .arr { transform: translateX(4px); }
|
|
@media (min-width: 768px) {
|
|
.pstep { flex-direction: row; align-items: stretch; }
|
|
.pstep .card-img { flex: 0 0 42%; align-self: center; margin: 1.25rem 0 1.25rem 1.25rem; border-radius: 10px; }
|
|
.pstep-text { flex: 1; justify-content: center; padding: 1.5rem; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.pstep, .arr, .card-img img { transition: none; }
|
|
.pstep:hover, .pstep:focus-within { transform: none; }
|
|
.pstep:hover .arr, .pstep:focus-within .arr { transform: none; }
|
|
}
|
|
.thumb img { display: block; max-width: 100%; height: auto; border: 1px solid var(--edge); border-radius: 10px; box-shadow: var(--shadow); background: var(--surface); }
|
|
|
|
/* Card grids: hubs, paths, points, walkthroughs */
|
|
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
|
|
.card-grid.wt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: wt; }
|
|
.card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; box-shadow: var(--shadow); }
|
|
.card h3 a { color: var(--fg); text-decoration: none; }
|
|
.card p { color: var(--muted); font-size: 0.95rem; }
|
|
.card .meta { margin-top: auto; padding-top: 0.25rem; font: 400 0.75rem/1 var(--font-mono); color: var(--muted); }
|
|
.card:hover, .card:focus-within { border-color: var(--accent); }
|
|
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
|
|
.stretch:focus-visible { outline: none; }
|
|
.stretch:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
|
|
.card-grid.points .card { box-shadow: none; }
|
|
.wt-card .thumb { order: -1; margin: -1.1rem -1.2rem 0.4rem; }
|
|
.wt-card .thumb img { border: 0; border-bottom: 1px solid var(--edge); border-radius: 10px 10px 0 0; box-shadow: none; width: 100%; }
|
|
.link-list { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
|
|
|
|
/* Callout for content still being captured */
|
|
.callout { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border: 1px solid var(--warn); border-left-width: 4px; border-radius: 8px; background: var(--surface); color: var(--fg); font-size: 0.95rem; max-width: 46rem; }
|
|
.callout strong { color: var(--warn); }
|
|
|
|
/* Walkthrough steps: one card per step, "Step N" and caption on top, screenshot in a rounded frame below */
|
|
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
|
|
.part .steps { margin-top: 1rem; }
|
|
.part + .part { border-top: 1px solid var(--border); margin-top: 2.5rem; }
|
|
.step { display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
|
|
.step-head { display: flex; gap: 0.5rem 0.9rem; align-items: baseline; }
|
|
.step-head .label { flex: none; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: none; }
|
|
.step-head p { min-width: 0; font-weight: 500; }
|
|
.step-head code, .page-head code { font: 400 0.88em var(--font-mono); background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }
|
|
.shot-fig { margin: 0 auto; max-width: 1040px; }
|
|
.shot-fig img { display: block; max-width: 100%; height: auto; margin-inline: auto; border: 1px solid var(--edge); border-radius: 10px; box-shadow: var(--shadow); background: var(--surface); }
|
|
.shot-fig a { display: block; cursor: zoom-in; }
|
|
.shot-fig.narrow { max-width: 400px; }
|
|
|
|
/* Previous and next */
|
|
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
|
|
.pager a { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.9rem 1.1rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--surface); color: var(--fg); text-decoration: none; }
|
|
.pager a:hover { border-color: var(--accent); }
|
|
.pager .next { text-align: right; grid-column: 2; }
|
|
.pager .prev { grid-column: 1; }
|
|
|
|
/* Path boxes */
|
|
.path-box { margin-top: 2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--surface); }
|
|
.path-box h2 { font-size: var(--step-1); margin-bottom: 0.75rem; }
|
|
.path-box ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
|
|
.path-box ul.link-list { gap: 0.4rem; }
|
|
|
|
.how-link { font-size: var(--step--1); }
|
|
|
|
/* Lightbox */
|
|
dialog.lightbox { margin: auto; padding: 0; border: 1px solid var(--edge); border-radius: 12px; background: var(--surface); color: var(--fg); max-width: min(96vw, 80rem); max-height: 94vh; overflow: auto; box-shadow: var(--shadow); }
|
|
dialog.lightbox::backdrop { background: color-mix(in srgb, var(--bg) 82%, transparent); }
|
|
.lightbox-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.75rem; }
|
|
.lightbox img { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; margin-inline: auto; border-radius: 6px; }
|
|
.lightbox p { font-size: var(--step--1); color: var(--muted); padding-inline: 0.25rem; overflow-wrap: anywhere; }
|
|
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
|
|
.lightbox-bar span { font: 400 0.75rem/1 var(--font-mono); color: var(--muted); }
|
|
.lightbox button { font: 500 0.8rem/1 var(--font-body); background: var(--surface-2); color: var(--fg); border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem 0.7rem; cursor: pointer; }
|
|
.lightbox button:hover { border-color: var(--accent); }
|
|
|
|
@media (max-width: 880px) {
|
|
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 560px) {
|
|
.card-grid, .card-grid.wt-grid { grid-template-columns: minmax(0, 1fr); }
|
|
.pager { grid-template-columns: minmax(0, 1fr); }
|
|
.pager .next, .pager .prev { grid-column: 1; text-align: left; }
|
|
.step { padding: 1rem; }
|
|
/* Keep site navigation reachable on phones now that it carries the feature pages. */
|
|
header.site { flex-wrap: wrap; row-gap: 0.75rem; }
|
|
nav.top { display: flex; gap: 0.5rem 1rem; }
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.card, .pager a { transition: border-color 0.15s ease; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html { scroll-behavior: auto; }
|
|
* { animation: none !important; transition: none !important; }
|
|
}
|
|
|
|
/* features showcase */
|
|
.shot.flip figcaption { order: 0; }
|
|
@media (min-width: 881px) {
|
|
.shot.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); }
|
|
.shot.flip figcaption { order: 2; }
|
|
}
|
|
.shot figcaption h3 a { color: var(--fg); text-decoration: none; }
|
|
.shot figcaption h3 a:hover { color: var(--accent); }
|
|
.shot .how-link { margin-top: 0.25rem; }
|
|
main.page section.chapter { padding-block: 3rem 0.5rem; border-top: 1px solid var(--border); }
|
|
main.page section.chapter:first-of-type { border-top: 0; }
|
|
.band-jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; font-size: var(--step--1); }
|
|
.band-jump a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--edge); padding-bottom: 2px; }
|
|
.band-jump a:hover { color: var(--fg); border-color: var(--accent); }
|
|
.showcase { display: flex; flex-direction: column; gap: 3rem; }
|
|
.more-hubs { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1.25rem; }
|
|
.more-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 2rem; }
|
|
.more-cols > div { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
|
|
.more-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.95rem; }
|
|
.more-cols a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
|
|
.more-cols a:hover { color: var(--accent); text-decoration: underline; }
|
|
.all-link { font-size: var(--step--1); font-weight: 600; }
|
|
.path-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.25rem; }
|
|
.path-list li { position: relative; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; padding: 1rem 1.15rem; border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: 8px; background: var(--surface); overflow-wrap: anywhere; }
|
|
.path-list li:hover, .path-list li:focus-within { border-color: var(--accent); }
|
|
.path-list h3 { font-size: var(--step-0); }
|
|
.path-list h3 a { color: var(--fg); text-decoration: none; }
|
|
.path-list p { color: var(--muted); font-size: 0.9rem; }
|
|
.path-list .steps-n { margin-top: auto; padding-top: 0.5rem; font: 500 0.75rem/1 var(--font-mono); color: var(--accent-2); }
|
|
@media (max-width: 880px) {
|
|
.more-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 560px) {
|
|
.more-cols, .path-list { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* Proof page and home summary: result pills, record cards, gap list. */
|
|
.pill { white-space: nowrap; }
|
|
.pill.pass { color: var(--ok); }
|
|
.pill.partial { color: var(--warn); }
|
|
.pill.fail { color: var(--danger); }
|
|
.pill.against, .pill.mock { color: var(--muted); }
|
|
.proof-stats-text { margin: 0.75rem 0 0; font-size: var(--step--1); }
|
|
.proof-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: var(--step--1); }
|
|
.proof-stats li { display: flex; align-items: center; gap: 0.5rem; }
|
|
.proof-stats b { font-variant-numeric: tabular-nums; }
|
|
.proof-headlines { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
|
|
.proof-headlines li { display: flex; align-items: baseline; gap: 0.75rem; min-width: 0; }
|
|
.proof-headlines .pill { flex: none; min-width: 4.2rem; text-align: center; }
|
|
.proof-headlines li > span { min-width: 0; overflow-wrap: anywhere; }
|
|
#records, #gaps { padding-block: 2.5rem 0; scroll-margin-top: 1rem; }
|
|
#records > h2, #gaps > h2 { margin-bottom: 1.25rem; }
|
|
.proof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
|
|
.proof { padding: 1.1rem 1.25rem; border: 1px solid var(--edge); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; scroll-margin-top: 1rem; }
|
|
.proof-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.5rem 1rem; }
|
|
.proof-head h3 { min-width: 0; font-size: 1.15rem; }
|
|
.proof-head .pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
|
.proof-meta { font: 400 0.8rem/1.5 var(--font-mono); color: var(--muted); overflow-wrap: anywhere; }
|
|
.proof-dl { margin: 0; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.5rem 1rem; font-size: 0.95rem; }
|
|
.proof-dl dt { font: 500 0.75rem/1.6 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
|
|
.proof-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
.proof-np h4 { font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); margin: 0 0 0.5rem; }
|
|
.proof-np ul, .proof-rows ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; color: var(--muted); font-size: 0.95rem; }
|
|
.proof-rows summary { cursor: pointer; font-size: 0.95rem; }
|
|
.proof-rows ul { list-style: none; padding: 0; margin-top: 0.75rem; }
|
|
.proof-rows li { display: flex; align-items: baseline; gap: 0.6rem; color: var(--fg); }
|
|
.proof-rows li .pill { flex: none; min-width: 4.2rem; text-align: center; }
|
|
.proof-rows li > span { min-width: 0; overflow-wrap: anywhere; }
|
|
.proof-evidence, .proof-shots { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
|
|
.proof-evidence h4, .proof-shots h4 { font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
|
|
.term { min-width: 0; border: 1px solid var(--edge); border-radius: 8px; background: #0f1419; color: #d8dee9; overflow: hidden; }
|
|
.term-head, .term summary { padding: 0.55rem 0.8rem; font-size: 0.85rem; color: #d8dee9; }
|
|
.term summary { cursor: pointer; overflow-wrap: anywhere; }
|
|
.term .muted { color: #8b97a5; }
|
|
.term a { color: #9ec5e8; }
|
|
.term-label { font-weight: 500; }
|
|
.term pre { margin: 0; padding: 0.7rem 0.8rem; border-top: 1px solid #263140; max-height: 22rem; overflow: auto; font: 400 0.8rem/1.55 var(--font-mono); white-space: pre; tab-size: 4; background: #0f1419; }
|
|
.term pre code { font: inherit; color: inherit; background: none; padding: 0; }
|
|
.proof-shots { gap: 1rem; }
|
|
.proof-shot { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; max-width: 1040px; }
|
|
.proof-shot a { display: block; cursor: zoom-in; }
|
|
.proof-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
|
|
.proof-shot figcaption { font-size: var(--step--1); color: var(--fg); overflow-wrap: anywhere; }
|
|
.proof-link { font-size: var(--step--1); overflow-wrap: anywhere; }
|
|
.proof-link code, .proof-meta code { font: 400 0.9em var(--font-mono); }
|
|
.gap-group { margin-top: 1.5rem; }
|
|
.gap-group h3 { margin-bottom: 0.6rem; }
|
|
.gap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
|
|
.gap-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.25rem 1.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
|
|
.gap-list li > * { min-width: 0; overflow-wrap: anywhere; }
|
|
@media (max-width: 560px) {
|
|
.proof { padding: 1rem; }
|
|
.proof-dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
|
|
.proof-dl dd { margin-bottom: 0.5rem; }
|
|
.gap-list li { grid-template-columns: minmax(0, 1fr); }
|
|
}
|