mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 16:01:54 +00:00
177 lines
13 KiB
CSS
177 lines
13 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--surface: #e7eef2;
|
|
--paper: #f8fbfc;
|
|
--ink: #102a3a;
|
|
--muted: #557080;
|
|
--line: #a8bbc5;
|
|
--signal: #f05a28;
|
|
--route: #246bfe;
|
|
--field: #2e7d5a;
|
|
--shadow: 0 18px 50px rgba(16, 42, 58, 0.12);
|
|
--display: "Bahnschrift", "DIN Alternate", "Arial Narrow", sans-serif;
|
|
--body: "Source Sans 3", "Noto Sans", "Segoe UI", sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
|
|
a { color: inherit; text-underline-offset: 0.22em; }
|
|
button { font: inherit; }
|
|
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 30; background: var(--ink); color: white; padding: .65rem 1rem; }
|
|
.skip-link:focus { top: 1rem; }
|
|
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
|
|
|
|
.masthead { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.25rem, 4vw, 5rem); border-bottom: 1px solid var(--line); }
|
|
.wordmark { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 700; letter-spacing: .04em; text-decoration: none; }
|
|
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--signal); color: white; clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%); }
|
|
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); font-size: .92rem; }
|
|
nav a { text-decoration: none; }
|
|
nav a:hover { text-decoration: underline; }
|
|
|
|
.hero { min-height: min(calc(100vh - 78px), 900px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr); align-items: center; gap: clamp(3rem, 6vw, 8rem); padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem); }
|
|
.hero-copy { max-width: 700px; }
|
|
.status-line { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-weight: 650; }
|
|
.status-line span { width: .72rem; height: .72rem; border-radius: 50%; background: var(--field); box-shadow: 0 0 0 .28rem rgba(46, 125, 90, .15); }
|
|
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: .98; margin: 0; }
|
|
h1 { font-size: clamp(3.3rem, 6vw, 6.6rem); letter-spacing: -.055em; max-width: 12ch; }
|
|
h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.04em; max-width: 13ch; }
|
|
h3 { font-size: 1.55rem; line-height: 1.15; }
|
|
.lede { max-width: 630px; font-size: clamp(1.1rem, 1.6vw, 1.38rem); color: #2e4a5a; margin: 2rem 0; }
|
|
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
|
|
.primary-action { display: inline-flex; background: var(--ink); color: white; padding: .82rem 1.15rem; text-decoration: none; font-weight: 700; }
|
|
.primary-action:hover { background: var(--route); }
|
|
.text-action { font-weight: 650; }
|
|
|
|
.dispatch { background: var(--paper); border: 1px solid var(--ink); box-shadow: var(--shadow); }
|
|
.dispatch-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
|
|
.dispatch-head p { margin: 0; font-family: var(--display); font-weight: 650; }
|
|
.dispatch-head button, .console-nav button, .copy-button { border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .45rem .72rem; cursor: pointer; font-weight: 650; }
|
|
.dispatch-head button:hover, .console-nav button:hover, .copy-button:hover { background: var(--ink); color: white; }
|
|
.route { list-style: none; margin: 0; padding: 1.2rem 1.4rem; }
|
|
.route-step { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; min-height: 88px; opacity: .58; }
|
|
.route-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 65px; height: 48px; width: 2px; background: var(--line); }
|
|
.route-step.is-active, .route-step.is-complete, .route-step.is-ready { opacity: 1; }
|
|
.route-step.is-active .node { background: var(--signal); color: white; border-color: var(--signal); transform: scale(1.12); }
|
|
.route-step.is-complete .node { background: var(--field); color: white; border-color: var(--field); }
|
|
.route-step.is-complete::after { background: var(--field); }
|
|
.node { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--route); border-radius: 50%; font-family: var(--display); font-weight: 700; transition: transform .2s, background .2s; }
|
|
.route-step strong, .route-step small { display: block; }
|
|
.route-step small { color: var(--muted); margin-top: .15rem; }
|
|
.peer { border: 1px solid var(--route); color: var(--route); padding: .25rem .5rem; font-size: .78rem; }
|
|
.route-readout { margin: 0; padding: .85rem 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
|
|
|
|
.principle-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
|
|
.principle-strip p { margin: 0; padding: 1rem; text-align: center; border-right: 1px solid var(--line); font-size: .9rem; font-weight: 650; }
|
|
.principle-strip p:last-child { border: 0; }
|
|
.system-section, .evidence-section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); }
|
|
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
|
|
.section-intro p { margin: 0; max-width: 650px; font-size: 1.18rem; color: #2e4a5a; }
|
|
.blueprint { display: grid; grid-template-columns: repeat(3, 1fr); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; border: 1px solid var(--line); }
|
|
.blueprint article { min-height: 330px; padding: clamp(1.5rem, 3vw, 3rem); background: rgba(248, 251, 252, .93); border-right: 1px solid var(--line); }
|
|
.blueprint article:last-child { border: 0; }
|
|
.blueprint-index { display: inline-block; margin-bottom: 5rem; color: var(--route); border-bottom: 2px solid currentColor; font-weight: 700; }
|
|
.blueprint p { color: var(--muted); }
|
|
|
|
.context-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); background: var(--ink); color: var(--paper); }
|
|
.context-section p { max-width: 650px; color: #c1d0d8; font-size: 1.14rem; }
|
|
.truth-note { display: inline-block; border-left: 3px solid var(--signal); padding-left: 1rem; }
|
|
.context-diagram { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 360px; }
|
|
.wide-context { position: relative; display: grid; place-items: center; height: 250px; border: 1px solid #6e8795; overflow: hidden; font-family: var(--display); }
|
|
.churn { position: absolute; width: 180%; height: 18px; background: var(--signal); transform: rotate(23deg); opacity: .72; }
|
|
.churn.second { transform: rotate(-28deg); background: var(--route); }
|
|
.churn.third { transform: rotate(66deg); background: #a8bbc5; }
|
|
.versus { color: #8fa5b1; font-size: .82rem; writing-mode: vertical-rl; }
|
|
.focused-context { display: grid; gap: .7rem; }
|
|
.focused-context span { display: grid; place-items: center; min-height: 74px; border: 1px solid #8fa5b1; background: #18384a; font-family: var(--display); }
|
|
|
|
.evidence-section { background: var(--paper); }
|
|
.ledger { border-top: 2px solid var(--ink); }
|
|
.ledger-row { display: grid; grid-template-columns: 1.4fr 1fr .65fr; gap: 2rem; align-items: center; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
|
|
.ledger-head { font-size: .82rem; color: var(--muted); font-weight: 700; }
|
|
.ledger-row strong { justify-self: start; padding: .24rem .5rem; font-size: .8rem; }
|
|
.proven { color: var(--field); border: 1px solid currentColor; }
|
|
.pending { color: #a64a28; border: 1px solid currentColor; }
|
|
|
|
.start-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
|
|
.start-section p { color: var(--muted); max-width: 600px; }
|
|
.command-panel { background: #0d2534; color: #dbe6eb; box-shadow: var(--shadow); }
|
|
.command-tabs { display: flex; border-bottom: 1px solid #446170; }
|
|
.command-tabs button { border: 0; border-right: 1px solid #446170; background: transparent; color: #9eb2bc; padding: .75rem 1rem; cursor: pointer; }
|
|
.command-tabs button[aria-selected="true"] { background: #17394b; color: white; }
|
|
pre { margin: 0; padding: 1.6rem; min-height: 190px; overflow: auto; font-size: .88rem; line-height: 1.7; }
|
|
.copy-button { margin: 0 1.4rem 1.4rem; border-color: #9eb2bc; color: #dbe6eb; }
|
|
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.2rem clamp(1.25rem, 6vw, 7rem); border-top: 1px solid var(--line); }
|
|
footer div { display: flex; gap: 1.5rem; }
|
|
|
|
.console-body { min-height: 100vh; background: #dce7ec; }
|
|
.console-nav p { margin: 0 auto 0 0; color: var(--muted); }
|
|
.console-shell { padding: 2rem clamp(1rem, 4vw, 4rem) 5rem; }
|
|
.console-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); }
|
|
.console-summary div { padding: 1.1rem 1.3rem; border-right: 1px solid var(--line); }
|
|
.console-summary div:last-child { border: 0; }
|
|
.console-summary p { margin: 0 0 .3rem; color: var(--muted); font-size: .78rem; }
|
|
.console-summary strong { font-family: var(--display); font-size: 1.12rem; }
|
|
.console-error { background: #ffe4da; border-left: 4px solid var(--signal); padding: 1rem; }
|
|
.console-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
|
|
.console-panel { min-height: 210px; padding: 1.2rem; border: 1px solid var(--line); background: var(--paper); }
|
|
.agents-panel { grid-column: span 3; }
|
|
.messages-panel { grid-column: span 2; }
|
|
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
|
|
.panel-heading h1, .panel-heading h2 { font-size: 1.45rem; letter-spacing: -.02em; }
|
|
.panel-heading span { color: var(--muted); font-size: .78rem; }
|
|
.agent-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
|
|
.agent-row { display: grid; grid-template-columns: 12px 1fr auto; gap: .75rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid #d7e1e6; }
|
|
.agent-row small { display: block; color: var(--muted); }
|
|
.agent-row code { font-size: .75rem; }
|
|
.presence { width: 10px; height: 10px; border-radius: 50%; background: #8297a2; }
|
|
.presence.working, .presence.online { background: var(--field); }
|
|
.presence.blocked { background: var(--signal); }
|
|
.list-row, .message-row, .locality-row { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid #d7e1e6; }
|
|
.list-row small, .message-row small { display: block; color: var(--muted); margin-top: .2rem; }
|
|
.decision-copy { white-space: pre-wrap; color: var(--muted); line-height: 1.55; }
|
|
.list-row > span { color: var(--route); font-size: .8rem; }
|
|
.message-row { display: block; }
|
|
.message-row p { margin: 0; font-size: .8rem; color: var(--muted); }
|
|
.message-row span { display: block; margin-top: .25rem; }
|
|
.empty-state { color: var(--muted); max-width: 40ch; padding: 1rem 0; }
|
|
.context-detail p { max-width: 55ch; }
|
|
.context-detail small { color: var(--muted); }
|
|
|
|
@media (max-width: 900px) {
|
|
.hero { grid-template-columns: 1fr; min-height: auto; }
|
|
.dispatch { max-width: 650px; }
|
|
.principle-strip { grid-template-columns: 1fr 1fr; }
|
|
.principle-strip p { border-bottom: 1px solid var(--line); }
|
|
.section-intro, .context-section, .start-section { grid-template-columns: 1fr; }
|
|
.blueprint { grid-template-columns: 1fr; }
|
|
.blueprint article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
|
|
.blueprint-index { margin-bottom: 2rem; }
|
|
.console-summary { grid-template-columns: repeat(2, 1fr); }
|
|
.console-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.agents-panel { grid-column: span 2; }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
body { font-size: 16px; }
|
|
.masthead { padding-block: 1rem; align-items: flex-start; }
|
|
nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; }
|
|
.hero { padding-top: 4rem; }
|
|
h1 { font-size: clamp(3rem, 13vw, 5.2rem); }
|
|
.hero-actions, footer { align-items: flex-start; flex-direction: column; }
|
|
.peer { display: none; }
|
|
.ledger-row { grid-template-columns: 1fr; gap: .25rem; }
|
|
.ledger-head { display: none; }
|
|
.context-diagram { grid-template-columns: 1fr; }
|
|
.versus { writing-mode: initial; text-align: center; }
|
|
.console-summary, .console-grid, .agent-list { grid-template-columns: 1fr; }
|
|
.console-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
|
|
.agents-panel, .messages-panel { grid-column: auto; }
|
|
.console-nav p { display: none; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html { scroll-behavior: auto; }
|
|
*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
|
|
}
|