website/design/roadmap-vision/vision.css

212 lines
7.4 KiB
CSS

/* Roadmap design vision — local concept mockups. Development inputs only;
never copied into the production site. Visual language mirrors site-v2.css
(same color roles, radius and typography) so a later production build keeps
the same design system. No JavaScript, no requests, no storage. */
:root {
color-scheme: dark;
--bg: #06101d;
--bg-deep: #030811;
--surface: #0b1928;
--surface-raised: #102235;
--line: #213a50;
--line-soft: rgba(145, 192, 222, .15);
--text: #f7f8fb;
--muted: #a8b7c5;
--dim: #73889a;
--cyan: #65e5ff;
--cyan-soft: #b9f3ff;
--pink: #ff63c8;
--pink-soft: #ffb5e3;
--green: #6ce7b7;
--caution: #e0cba6;
--danger: #ff9b8a;
--max: 1180px;
--radius: 24px;
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
}
html[data-theme="bright"] {
color-scheme: light;
--bg: #f4f7fb;
--bg-deep: #e7eef5;
--surface: #fff;
--surface-raised: #e8f0f7;
--line: #bacad7;
--line-soft: #667c9624;
--text: #142a40;
--muted: #435b72;
--dim: #566a7f;
--cyan: #006880;
--cyan-soft: #075b72;
--pink: #a51b75;
--pink-soft: #892363;
--green: #176947;
--caution: #795617;
--danger: #a33324;
}
* { box-sizing: border-box; }
body {
background: radial-gradient(ellipse at 20% -10%, var(--surface-raised), transparent 55%), var(--bg);
color: var(--text);
margin: 0;
min-height: 100vh;
padding: clamp(1rem, 4vw, 3rem);
}
a { color: var(--cyan); }
a:focus-visible, summary:focus-visible, button:focus-visible {
outline: 2px solid var(--cyan);
outline-offset: 3px;
border-radius: 6px;
}
.wrap { margin: 0 auto; max-width: var(--max); }
.eyebrow {
color: var(--cyan);
font-size: .72rem;
letter-spacing: .22em;
margin: 0 0 .6rem;
text-transform: uppercase;
}
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 .7rem; }
.lede { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.2rem; max-width: 62ch; }
.candidate-note {
border: 1px dashed var(--line);
border-radius: 14px;
color: var(--dim);
font-size: .82rem;
line-height: 1.55;
margin: 0 0 2rem;
padding: .7rem 1rem;
}
.candidate-note b { color: var(--muted); }
.topline { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.topline a {
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
font-size: .85rem;
padding: .45rem 1rem;
text-decoration: none;
}
.topline a[aria-current="page"] { border-color: var(--cyan); color: var(--cyan); }
.topline a:hover { border-color: var(--cyan); color: var(--cyan); }
.stage-tag { color: var(--dim); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
section { margin: 0 0 2.6rem; }
h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 .3rem; }
section > .hint { color: var(--dim); font-size: .88rem; line-height: 1.55; margin: 0 0 1rem; max-width: 68ch; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 1.1rem 1.2rem;
}
.card.raised { background: var(--surface-raised); }
.card h3 { font-size: 1rem; margin: 0 0 .5rem; }
.criteria {
border-top: 1px solid var(--line-soft);
color: var(--dim);
font-size: .74rem;
line-height: 1.5;
margin: .9rem 0 0;
padding-top: .55rem;
}
.criteria b { color: var(--cyan); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge {
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
display: inline-block;
font-size: .72rem;
letter-spacing: .04em;
padding: .18rem .65rem;
}
.badge.cyan { border-color: var(--cyan); color: var(--cyan); }
.badge.pink { border-color: var(--pink); color: var(--pink); }
.badge.green { border-color: var(--green); color: var(--green); }
.badge.caution { border-color: var(--caution); color: var(--caution); }
.badge.danger { border-color: var(--danger); color: var(--danger); }
.badge.dim { border-color: var(--line); color: var(--dim); }
code, .mono {
background: var(--bg-deep);
border-radius: 6px;
font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
font-size: .8em;
overflow-wrap: anywhere;
padding: .1rem .35rem;
}
dl.fields { display: grid; gap: .45rem; grid-template-columns: max-content 1fr; margin: .6rem 0 0; }
dl.fields dt { color: var(--dim); font-size: .8rem; padding-top: .12rem; }
dl.fields dd { font-size: .88rem; margin: 0; overflow-wrap: anywhere; }
/* Project tree */
.tree { list-style: none; margin: 0; padding-left: 0; }
.tree ul { list-style: none; margin: 0; padding-left: 1.3rem; position: relative; }
.tree ul::before {
border-left: 1px solid var(--line);
content: "";
height: calc(100% - .9rem);
left: .55rem;
position: absolute;
top: .55rem;
}
.tree li { padding: .55rem 0 .55rem 1.1rem; position: relative; }
.tree ul li::before {
border-top: 1px solid var(--line);
content: "";
left: 0;
position: absolute;
top: 1.35rem;
width: .8rem;
}
.node-head { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; }
.node-head .name { font-weight: 600; }
.node-body { color: var(--muted); font-size: .86rem; line-height: 1.55; margin: .35rem 0 0; }
/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
background: var(--line);
content: "";
left: .52rem;
position: absolute;
top: .4rem;
bottom: .4rem;
width: 1px;
}
.timeline li { padding: 0 0 1.3rem 1.9rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
background: var(--surface);
border: 2px solid var(--cyan);
border-radius: 50%;
height: .6rem;
left: .24rem;
position: absolute;
top: .3rem;
width: .6rem;
}
.timeline .dot.muted { border-color: var(--line); }
.timeline .dot.green { border-color: var(--green); }
.timeline .dot.caution { border-color: var(--caution); }
.timeline .step-label { color: var(--dim); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { font-size: .98rem; margin: .2rem 0 .3rem; }
.timeline p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0; }
.threshold { align-items: center; display: flex; gap: .5rem; margin-top: .6rem; }
.threshold .bar { display: flex; gap: .25rem; }
.threshold .unit { background: var(--surface-raised); border: 1px solid var(--green); border-radius: 6px; height: .75rem; width: 2.4rem; }
.threshold .unit.off { border-color: var(--line); opacity: .5; }
.decision-card { border-left: 3px solid var(--green); }
/* A bound commitment reads pink; accepted decisions read green (Stage 04). */
.card.committed { border-left: 3px solid var(--pink); }
.decision-card.revision { border-left-color: var(--caution); }
.decision-card.stale { border-left-color: var(--danger); opacity: .78; }
.decision-card.stale s { color: var(--dim); }
.verify-row { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
footer.site-note { border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .8rem; line-height: 1.6; margin-top: 3rem; padding-top: 1rem; }
@media (max-width: 560px) {
dl.fields { grid-template-columns: 1fr; }
dl.fields dt { padding-top: .3rem; }
.threshold { align-items: flex-start; flex-direction: column; }
.badge { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}