Files
rea/website/public/assets/styles.css
T
morluto 5685fb0538 feat(website): add a night canal scene behind the homepage hero (#17275)
A short painted video plays once behind the homepage introduction in the dark theme: a paper boat on a canal unfolds into a ship of light. It holds on its final frame, shows a still to people who prefer reduced motion, and keeps the first frame if autoplay is refused. The light theme keeps the plain hero.
2026-12-05 17:23:45 -05:00

3183 lines
62 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
color-scheme: light;
/* Built from the logo: ink #14191e, paper #edf2f6, cyan #02adfa. */
--ink: #14191e;
--muted: #56626d;
--line: #dbe3ea;
--line-strong: #b9c6d1;
--soft: #edf2f6;
--raised: #f7f9fb;
--tint: #e0eff8;
--accent: #0b6c9a;
--page: #ffffff;
--button: #14191e;
--button-hover: #2a333c;
--button-text: #ffffff;
--selection: #c8e6f7;
/* Article body text; components inside an article keep their own color. */
--article-text: #3a4550;
--font-latin: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial;
--font-code: "SFMono-Regular", Consolas, "Liberation Mono";
--font-sans: var(--font-latin), sans-serif;
--font-mono: var(--font-code), monospace;
font-family: var(--font-sans);
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--page);
color: var(--ink);
line-height: 1.65;
overflow-wrap: anywhere;
}
a {
color: var(--accent);
text-underline-offset: 0.2em;
}
a:hover {
text-decoration-thickness: 2px;
}
button,
input {
font: inherit;
}
button {
cursor: pointer;
}
::selection {
background: var(--selection);
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 5px;
}
code,
pre {
font-family: var(--font-mono);
}
code {
font-size: max(0.9em, 0.75rem);
overflow-wrap: anywhere;
}
span[translate="no"] {
direction: ltr;
unicode-bidi: isolate;
}
html[dir="rtl"] span[translate="no"] {
display: inline-block;
max-inline-size: 100%;
text-align: start;
}
kbd {
padding: 0.05rem 0.35rem;
border: 1px solid var(--line);
border-bottom-width: 2px;
border-radius: 3px;
background: var(--soft);
color: var(--ink);
font-family: var(--font-mono);
font-size: 0.85em;
white-space: nowrap;
}
p {
margin: 0 0 1.2rem;
}
p,
li,
dd,
figcaption {
text-wrap: pretty;
}
th,
td {
overflow-wrap: anywhere;
}
h4 {
text-wrap: balance;
}
h1,
h2,
h3 {
overflow-wrap: break-word;
text-wrap: balance;
line-height: 1.14;
font-weight: 650;
letter-spacing: -0.035em;
}
h1 {
margin: 0 0 1.5rem;
font-size: clamp(2.75rem, 6.5vw, 5.4rem);
}
h2 {
margin: 0 0 1.2rem;
font-size: clamp(1.75rem, 3vw, 2.4rem);
}
h3 {
margin: 0 0 0.65rem;
font-size: 1.2rem;
letter-spacing: -0.02em;
}
ul,
ol {
padding-inline-start: 1.3rem;
}
li + li {
margin-top: 0.45rem;
}
section[id] {
scroll-margin-top: 2rem;
}
.container {
width: min(var(--content-width, 1080px), calc(100% - 3.5rem));
margin-inline: auto;
}
.skip-link {
position: absolute;
inset-inline-start: 1rem;
top: -5rem;
padding: 0.6rem 1rem;
background: var(--ink);
color: white;
z-index: 10;
}
.skip-link:focus {
top: 0.75rem;
}
.back-to-top {
position: fixed;
inset-inline-end: calc(1.5rem + env(safe-area-inset-right, 0px));
bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
z-index: 5;
display: inline-flex;
align-items: center;
gap: 0.4rem;
min-height: 44px;
padding: 0.5rem 0.85rem;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--page);
color: var(--muted);
font-size: 0.875rem;
font-weight: 600;
text-decoration: none;
}
.back-to-top[hidden] {
display: none;
}
.back-to-top:hover {
background: var(--soft);
color: var(--ink);
}
.site-header {
position: relative;
border-bottom: 1px solid var(--line);
}
.language-picker {
position: relative;
min-inline-size: 0;
font-size: 0.8rem;
}
.language-picker summary {
display: flex;
align-items: center;
gap: 0.4rem;
min-height: 44px;
padding: 0.35rem 0.65rem;
border: 1px solid transparent;
border-radius: 5px;
color: var(--muted);
cursor: pointer;
white-space: nowrap;
list-style: none;
}
.language-picker summary:hover,
.language-picker[open] summary {
background: var(--soft);
color: var(--ink);
}
.language-picker summary > span:last-child {
min-inline-size: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.language-picker summary::-webkit-details-marker {
display: none;
}
.language-picker summary::after {
content: "";
flex-shrink: 0;
inline-size: 0.75rem;
block-size: 0.75rem;
background-color: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
center / contain no-repeat;
}
.language-picker[open] summary::after {
transform: rotate(180deg);
}
@media (forced-colors: active) {
.language-picker summary::after {
/* Keep the mask visible with the user's high-contrast text color. */
forced-color-adjust: none;
background-color: CanvasText;
}
}
.language-picker nav {
position: absolute;
inset-inline-end: 0;
top: calc(100% + 0.5rem);
z-index: 12;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.15rem;
width: min(340px, calc(100vw - 2.5rem));
max-height: 70vh;
overflow: auto;
padding: 0.6rem;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--page);
box-shadow: 0 5px 20px rgb(32 37 43 / 8%);
}
.language-picker nav a {
display: flex;
align-items: center;
min-height: 44px;
padding: 0.45rem 0.6rem;
color: var(--muted);
text-decoration: none;
border-radius: 3px;
overflow-wrap: anywhere;
}
.language-picker nav a:hover,
.language-picker nav a[aria-current="true"] {
color: var(--accent);
background: var(--soft);
}
.translation-notice {
padding: 0.9rem 1.2rem;
margin-block: 1.5rem;
border-inline-start: 2px solid var(--accent);
background: var(--soft);
color: var(--muted);
font-size: 0.9rem;
}
.header-inner {
width: min(1320px, calc(100% - 3.5rem));
min-height: 88px;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 2rem;
}
.brand {
display: flex;
align-items: baseline;
gap: 0.9rem;
color: var(--ink);
text-decoration: none;
}
.brand-name {
font-size: 1.45rem;
font-weight: 750;
white-space: nowrap;
letter-spacing: -0.065em;
}
.brand-caption {
color: var(--muted);
font-size: 0.9rem;
}
.navigation {
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 0.9rem;
flex-wrap: wrap;
gap: 0.65rem 1.4rem;
}
.navigation a {
display: inline-flex;
align-items: center;
min-height: 44px;
color: var(--muted);
text-decoration: none;
white-space: nowrap;
}
.navigation a:hover,
.navigation a[aria-current="page"],
.navigation a[aria-current="true"] {
color: var(--ink);
}
.navigation a[aria-current="page"],
.navigation a[aria-current="true"] {
text-decoration: underline;
}
.navigation .nav-start {
color: var(--ink);
}
.header-social {
display: flex;
align-items: center;
gap: 8px;
}
.theme-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 44px;
height: 44px;
padding: 0;
border: 1px solid transparent;
border-radius: 5px;
background: var(--page);
color: var(--muted);
}
.theme-toggle:hover {
background: var(--soft);
color: var(--ink);
}
/* The switch needs the theme script, which marks the root element. */
:root:not([data-theme]) .theme-toggle,
.theme-toggle[hidden],
.theme-toggle .theme-sun,
:root[data-theme="dark"] .theme-toggle .theme-moon {
display: none;
}
:root[data-theme="dark"] .theme-toggle .theme-sun {
display: block;
}
.nav-github,
.nav-discord,
.nav-x {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
height: 44px;
padding-inline: 10px;
gap: 8px;
border: 1px solid transparent;
border-radius: 5px;
color: var(--muted);
text-decoration: none;
}
.nav-github:hover,
.nav-discord:hover,
.nav-x:hover {
background: var(--soft);
color: var(--ink);
}
.nav-github svg,
.nav-discord svg,
.nav-x svg {
display: block;
flex-shrink: 0;
}
.nav-github-count {
font-size: 0.875rem;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.faq-list {
border-top: 1px solid var(--line);
}
.faq-item {
padding-block: 1rem;
border-bottom: 1px solid var(--line);
scroll-margin-top: 2rem;
}
.faq-item summary {
cursor: pointer;
color: var(--ink);
font-weight: 600;
line-height: 1.55;
}
.faq-item[open] summary {
margin-bottom: 0.9rem;
}
.faq-item > :last-child {
margin-bottom: 0;
}
.eyebrow {
margin-bottom: 1.2rem;
font-size: 0.9rem;
color: var(--muted);
}
.hero {
padding-block: 5.8rem 4.6rem;
}
.hero h1 {
max-width: 900px;
}
.hero .lede {
max-width: 710px;
}
.lede {
font-size: 1.2rem;
color: var(--muted);
line-height: 1.7;
}
.actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1.6rem;
margin-top: 2rem;
}
.button {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0.7rem 1.25rem;
border: 1px solid var(--button);
border-radius: 6px;
background: var(--button);
color: var(--button-text);
font-size: 0.95rem;
font-weight: 500;
text-decoration: none;
}
.button:hover {
border-color: var(--button-hover);
background: var(--button-hover);
text-decoration: none;
}
.button.secondary {
border-color: var(--line);
background: var(--page);
color: var(--ink);
}
.button.secondary:hover {
background: var(--soft);
}
.text-link {
font-size: 0.95rem;
font-weight: 500;
}
.home-hero {
padding-block: 5rem 3rem;
}
.code-key {
color: var(--accent);
background: var(--tint);
border-radius: 2px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.agent-terminal.home-analysis-terminal {
margin-block: 1rem;
}
.agent-reply {
padding: 1.4rem;
background: var(--page);
color: var(--ink);
}
.agent-reply .reply-label {
color: var(--accent);
font-size: 0.75rem;
font-weight: 600;
}
.agent-reply > :last-child {
margin-bottom: 0;
}
.home-setup .agent-terminal {
margin-block: 1rem;
}
.home-setup .code-inline {
margin-block: 1rem;
}
.home-setup > .caption {
margin-bottom: 0;
}
.code-block {
margin-block: 1.3rem;
border: 1px solid var(--line);
border-radius: 5px;
overflow: hidden;
background: var(--soft);
}
.code-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1rem;
overflow-wrap: anywhere;
padding: 0.6rem 1rem;
border-bottom: 1px solid var(--line);
color: var(--muted);
font-size: 0.9rem;
}
.copy-button {
padding: 0.15rem 0.45rem;
color: var(--muted);
background: transparent;
border: 0;
border-radius: 3px;
font-size: 0.9rem;
}
.copy-button:hover {
background: var(--line);
color: var(--ink);
}
pre {
margin: 0;
padding: 1.15rem;
overflow-x: auto;
font-size: 0.875rem;
line-height: 1.75;
}
pre code {
font-size: inherit;
overflow-wrap: normal;
}
.code-inline {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.95rem 1.1rem;
}
.code-inline code {
min-width: 0;
font-size: 0.875rem;
}
.code-inline .copy-button {
flex-shrink: 0;
white-space: nowrap;
}
.section {
padding-block: 3.8rem;
border-top: 1px solid var(--line);
}
.section-heading {
max-width: 650px;
margin-bottom: 2rem;
}
.section-heading p {
color: var(--muted);
}
.stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.5rem;
}
.stats dt {
font-size: 2rem;
font-weight: 600;
line-height: 1.2;
letter-spacing: -0.04em;
}
.stats dd {
margin: 0.5rem 0 0;
color: var(--muted);
font-size: 0.875rem;
line-height: 1.5;
}
.workflows {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2.8rem;
}
.workflows p {
margin-bottom: 0.8rem;
color: var(--muted);
}
.workflows a {
font-size: 0.9rem;
}
.start-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
}
.start-row h2 {
margin-bottom: 0.65rem;
}
.start-row p {
margin: 0;
color: var(--muted);
}
.site-footer {
margin-top: 1.5rem;
padding-block: 2rem;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.875rem;
}
.footer-grid {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
gap: 2rem 2.5rem;
padding-top: 1.5rem;
}
.footer-brand {
display: inline-flex;
align-items: baseline;
gap: 0.6rem;
color: var(--ink);
text-decoration: none;
}
.footer-caption {
color: var(--muted);
font-size: 0.9rem;
}
.footer-about p {
max-width: 30rem;
margin: 0.9rem 0 0;
line-height: 1.6;
}
.footer-column h2 {
margin: 0 0 0.9rem;
color: var(--ink);
font-size: 0.875rem;
font-weight: 650;
}
.footer-column ul {
display: grid;
gap: 0.6rem;
margin: 0;
padding: 0;
list-style: none;
}
.footer-column a,
.footer-legal a {
display: inline-flex;
align-items: center;
min-height: 24px;
color: var(--muted);
text-decoration: none;
}
.footer-column a:hover,
.footer-legal a:hover {
color: var(--ink);
text-decoration: underline;
}
.footer-legal {
margin: 2rem 0 0;
}
@media (max-width: 640px) {
.footer-grid {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.footer-about {
grid-column: 1 / -1;
}
}
.page-heading {
padding-block: 4.3rem 2.7rem;
}
/* An illustration under the introduction of a guide or post. */
.page-art {
display: block;
width: 100%;
max-width: 850px;
height: auto;
margin-top: 2.2rem;
border: 1px solid var(--line);
border-radius: 12px;
}
.page-heading h1 {
max-width: 850px;
font-size: clamp(2.6rem, 5.5vw, 4.25rem);
}
.page-heading .lede {
max-width: 730px;
}
.page-heading .evidence-details {
max-width: 730px;
}
.breadcrumb {
margin-bottom: 2rem;
color: var(--muted);
font-size: 0.875rem;
}
.breadcrumb a {
color: var(--muted);
}
.page-meta {
color: var(--muted);
font-size: 0.875rem;
}
.contributors-section {
padding-block: 0 4rem;
}
.contributors-toolbar {
display: flex;
align-items: end;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem 2rem;
margin-bottom: 1rem;
}
.contributors-toolbar h2 {
margin: 0;
}
.contributors-search {
display: grid;
gap: 0.35rem;
width: min(100%, 19rem);
font-size: 0.85rem;
color: var(--muted);
}
.contributors-search input {
min-width: 0;
width: 100%;
min-height: 44px;
padding: 0.5rem 0.75rem;
border: 1px solid var(--line);
border-radius: 5px;
background: var(--page);
color: var(--ink);
}
.contributors-search input::placeholder {
color: var(--muted);
}
.contributors-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr));
gap: 0.75rem;
padding: 0;
margin: 0;
list-style: none;
}
.contributors-grid li {
margin: 0;
min-width: 0;
}
.contributor-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
gap: 0.7rem;
height: 100%;
padding: 1.25rem 0.65rem;
border: 1px solid var(--line);
border-radius: 6px;
color: var(--ink);
text-decoration: none;
text-align: center;
font-size: 0.8rem;
line-height: 1.4;
}
.contributor-card:hover {
background: var(--soft);
border-color: var(--accent);
}
.contributor-card img {
border-radius: 50%;
background: var(--soft);
object-fit: cover;
}
.contributor-card span {
max-width: 100%;
overflow-wrap: anywhere;
}
.article-layout {
display: grid;
grid-template-columns: 190px minmax(0, 1fr);
gap: 4rem;
padding-bottom: 3.5rem;
}
.contents {
align-self: start;
position: sticky;
top: 2rem;
padding-top: 2.4rem;
font-size: 0.875rem;
}
.contents p {
font-weight: 600;
color: var(--ink);
margin-bottom: 0.8rem;
}
.contents ul {
margin: 0;
padding: 0;
list-style: none;
}
.contents li + li {
margin-top: 0.75rem;
}
.contents a {
color: var(--muted);
text-decoration: none;
}
.contents a:hover {
color: var(--ink);
text-decoration: underline;
}
.article {
max-width: 760px;
min-width: 0;
}
.article-section {
padding-block: 2.4rem;
border-top: 1px solid var(--line);
}
.article-section h2 {
font-size: 1.8rem;
}
.article :where(p, li) {
color: var(--article-text);
}
.article :where(p, ul, ol, dl):not(figure *) {
max-width: 60ch;
}
.article .stats {
margin: 0 0 1.6rem;
}
.article .stats dt {
color: var(--ink);
}
.article .stats dd {
color: var(--muted);
}
.blog-takeaway {
max-width: 60ch;
margin-top: 1.8rem;
padding-inline-start: 1.25rem;
border-inline-start: 2px solid var(--accent);
}
.blog-takeaway .eyebrow {
color: var(--accent);
}
.blog-takeaway p:last-child {
margin-bottom: 0;
}
.blog-takeaway ul {
margin: 0;
padding-inline-start: 1.15rem;
}
.blog-takeaway li + li {
margin-top: 0.75rem;
}
.reconstruction-flywheel {
max-width: 880px;
margin: 0 auto 4rem;
padding-block: 1.5rem 1.75rem;
border-block: 1px solid var(--line);
}
.flywheel-heading {
text-align: center;
}
.flywheel-heading .eyebrow {
margin-bottom: 0.6rem;
color: var(--accent);
}
.flywheel-heading > p:last-child {
color: var(--muted);
font-size: 0.875rem;
}
.flywheel-diagram {
position: relative;
max-width: 760px;
height: 440px;
margin-inline: auto;
}
.flywheel-arrows {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.flywheel-path-mobile {
display: none;
}
.flywheel-node {
position: absolute;
width: 30%;
text-align: center;
transform: translate(-50%, -50%);
}
.flywheel-node p {
margin: 0.6rem 0 0;
color: var(--muted);
font-size: 0.875rem;
line-height: 1.5;
}
.flywheel-node .flywheel-kicker {
margin: 0 0 0.4rem;
color: var(--accent);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.09em;
text-transform: uppercase;
}
.flywheel-node h3 {
margin: 0;
font-size: 1.5rem;
line-height: 1.2;
}
.flywheel-agent {
top: 15%;
left: 50%;
width: 38%;
}
.flywheel-oracle {
top: 58%;
left: 79%;
}
.flywheel-memory {
top: 58%;
left: 21%;
}
.flywheel-retry,
.flywheel-center,
.flywheel-reuse,
.flywheel-pass {
position: absolute;
margin: 0;
padding: 0.25rem;
background: var(--page);
color: var(--muted);
font-size: 0.75rem;
line-height: 1.5;
text-align: center;
transform: translate(-50%, -50%);
}
.flywheel-retry {
top: 36%;
left: 68%;
width: 23%;
}
.flywheel-center {
top: 57%;
left: 50%;
width: 20%;
color: var(--accent);
font-size: 0.9375rem;
}
.flywheel-reuse {
top: 33%;
left: 23%;
color: var(--accent);
}
.flywheel-pass {
top: 94%;
left: 50%;
width: 75%;
color: var(--accent);
font-size: 0.8125rem;
}
.flywheel-projects {
display: flex;
justify-content: center;
align-items: center;
gap: 1.4rem;
margin-top: 0.3rem;
}
.flywheel-projects a {
font-size: 0.9375rem;
font-weight: 600;
}
.flywheel-projects span {
color: var(--muted);
}
.reconstruction-flywheel figcaption {
margin: 1rem auto 0;
max-width: 600px;
color: var(--muted);
font-size: 0.875rem;
text-align: center;
}
@media (max-width: 640px) {
.reconstruction-flywheel {
margin-bottom: 2.75rem;
}
.flywheel-diagram {
height: 405px;
}
.flywheel-agent {
width: 52%;
}
.flywheel-path-desktop {
display: none;
}
.flywheel-path-mobile {
display: initial;
}
.flywheel-node h3 {
font-size: 1.125rem;
}
.flywheel-node p {
font-size: 0.75rem;
}
.flywheel-node .flywheel-kicker {
font-size: 0.75rem;
letter-spacing: 0.05em;
}
.flywheel-center {
font-size: 0.75rem;
}
.flywheel-retry {
font-size: 0.75rem;
}
.flywheel-projects {
gap: 1rem;
}
}
.blog-article blockquote {
margin: 1.6rem 0;
padding-inline-start: 1.25rem;
border-inline-start: 2px solid var(--line);
font-size: 1.05rem;
}
.blog-article blockquote p {
color: var(--ink);
}
.caption {
font-size: 0.875rem;
color: var(--muted);
}
.explanatory-figure {
margin: 0;
}
.figure-viewport {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: 5px;
}
.explanatory-figure img {
display: block;
width: 100%;
min-width: 880px;
height: auto;
}
.explanatory-figure figcaption {
max-width: 800px;
margin-top: 1rem;
color: var(--muted);
font-size: 0.875rem;
}
.explanatory-figure figcaption a {
white-space: nowrap;
}
.case-figure {
margin-bottom: 3.2rem;
}
.aegis-step-selector {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.aegis-step-selector button {
min-height: 44px;
}
.aegis-calculation .flow-node {
display: flex;
align-items: center;
justify-content: center;
gap: 0.35rem;
min-height: 3.5rem;
font-variant-numeric: tabular-nums;
}
.aegis-calculation .aegis-code {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
font-size: 1.5rem;
letter-spacing: 0.06em;
}
.aegis-clock-controls {
margin-top: 1.7rem;
}
.aegis-clock-controls label {
display: block;
font-size: 0.875rem;
font-weight: 500;
}
.aegis-clock-controls input {
display: block;
width: 100%;
min-height: 44px;
margin: 0;
accent-color: var(--accent);
}
.aegis-clock-scale {
display: flex;
justify-content: space-between;
color: var(--muted);
font-size: 0.75rem;
font-variant-numeric: tabular-nums;
}
.aegis-clock-controls .actions {
gap: 0.7rem;
margin-top: 1.2rem;
}
.aegis-clock-controls .caption {
margin-bottom: 0;
}
.aegis-demo .button:disabled,
[data-aegis-check]:disabled {
opacity: 0.6;
cursor: default;
}
.step-selector {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 0.5rem;
margin-block: 1.5rem 0.9rem;
}
.step-selector button {
padding: 0.55rem 0.3rem;
border: 1px solid var(--line);
border-radius: 4px;
background: var(--page);
color: var(--muted);
font-size: 0.85rem;
}
.step-selector button span {
font-size: 0.75rem;
margin-inline-end: 0.3rem;
font-variant-numeric: tabular-nums;
}
.step-selector button[aria-pressed="true"] {
border-color: var(--accent);
background: var(--soft);
color: var(--accent);
}
.code-comparison {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.9rem;
}
.code-comparison .code-block {
margin: 0;
min-width: 0;
}
.code-comparison .code-header {
padding-inline: 0.8rem;
font-size: 0.8rem;
}
.code-comparison pre {
padding: 1rem 0.8rem;
font-size: 0.75rem;
line-height: 1.95;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.step-comparison .is-active {
background: var(--tint);
color: var(--ink);
border-radius: 2px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.step-comparison pre .code-step.is-active {
display: inline-block;
width: 100%;
border-radius: 4px;
}
.step-detail {
margin-block: 1.1rem;
padding-inline-start: 1rem;
border-inline-start: 2px solid var(--accent);
}
.step-detail p {
margin: 0;
font-size: 0.9rem;
}
.evidence-details {
margin-block: 1.5rem;
}
.evidence-details summary {
cursor: pointer;
color: var(--accent);
font-size: 0.95rem;
}
.evidence-details[open] summary {
margin-bottom: 1.2rem;
}
.evidence-details h3 {
margin-top: 1.5rem;
font-size: 1.1rem;
}
.evidence-details[open]::details-content {
padding-inline-start: 1rem;
border-inline-start: 1px solid var(--line);
}
.evidence-table-wrap {
overflow-x: auto;
margin-block: 1rem;
}
.evidence-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.evidence-table caption {
text-align: start;
color: var(--muted);
margin-bottom: 0.6rem;
}
.evidence-table th,
.evidence-table td {
text-align: start;
padding: 0.6rem 0.7rem;
border-bottom: 1px solid var(--line);
}
.rea-queries {
margin-block: 1.5rem 1.8rem;
padding: 0;
list-style: none;
counter-reset: query;
}
.rea-queries li {
position: relative;
padding-block: 1.2rem;
padding-inline: 2.4rem 0;
border-top: 1px solid var(--line);
counter-increment: query;
}
.rea-queries li + li {
margin-top: 0;
}
.rea-queries li::before {
content: counter(query, decimal-leading-zero);
position: absolute;
top: 1.2rem;
inset-inline-start: 0;
color: var(--muted);
font-size: 0.875rem;
}
.rea-queries h3,
.rea-queries h4 {
margin: 0 0 0.6rem;
color: var(--ink);
font-size: 1.05rem;
font-weight: 600;
line-height: 1.4;
}
.rea-query-pair {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.9rem;
margin-block: 0.9rem;
}
.rea-query-pair .code-block {
margin: 0;
min-width: 0;
}
.rea-query-pair .code-header {
padding-inline: 0.8rem;
font-size: 0.75rem;
}
.rea-query-pair pre {
padding: 0.8rem;
font-size: 0.75rem;
line-height: 1.8;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.rea-queries p:last-child {
margin: 0;
font-size: 0.9rem;
}
.verification {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-top: 1.7rem;
}
.verification h3 {
font-size: 1.1rem;
}
.verification p {
margin: 0;
}
.reading-list {
list-style: none;
padding: 0;
margin-bottom: 0;
}
.reading-list li {
padding-block: 1rem;
border-top: 1px solid var(--line);
}
.reading-list span {
display: block;
color: var(--muted);
font-size: 0.875rem;
margin-top: 0.2rem;
}
.requirements {
margin-top: 1.5rem;
padding-bottom: 0.25rem;
font-size: 0.9rem;
color: var(--muted);
}
.prompt {
margin: 1.2rem 0;
padding: 1rem 1.2rem;
background: var(--soft);
border-inline-start: 2px solid var(--line-strong);
}
.prompt p {
margin: 0;
}
.provider {
display: grid;
grid-template-columns: 105px minmax(0, 1fr);
gap: 1.3rem;
padding-block: 1.2rem;
border-top: 1px solid var(--line);
}
.provider h3 {
font-size: 1rem;
margin-top: 0.2rem;
}
.provider p {
margin-bottom: 0.5rem;
}
.provider a {
font-size: 0.9rem;
}
.small-heading {
margin-top: 1.8rem;
}
.agent-terminal {
margin-block: 1.5rem;
overflow: hidden;
border: 1px solid #262f38;
border-radius: 5px;
background: #14191e;
color: #edf2f6;
}
.terminal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.65rem 1rem;
border-bottom: 1px solid #2a333c;
color: #bdc8d4;
font-size: 0.8rem;
}
.terminal-title {
display: flex;
align-items: center;
gap: 0.7rem;
}
.terminal-dots {
display: flex;
gap: 4px;
}
.terminal-dots i {
width: 6px;
height: 6px;
border-radius: 50%;
background: #81909e;
}
.agent-terminal .copy-button {
color: #d6dee7;
}
.agent-terminal .copy-button:hover {
background: #2a333c;
color: white;
}
.agent-terminal .terminal-prompt {
margin: 0;
overflow-wrap: anywhere;
padding: 1.4rem;
color: #edf2f6;
font-family: var(--font-mono);
font-size: 0.9rem;
line-height: 1.9;
}
.prompt-symbol {
color: #7fd3ff;
margin-inline-end: 0.65rem;
}
.terminal-cursor {
display: inline-block;
width: 0.5em;
height: 1em;
margin-inline-start: 0.4em;
vertical-align: -0.12em;
background: #7fd3ff;
animation: terminal-blink 1s step-end infinite;
}
@keyframes terminal-blink {
50% {
opacity: 0;
}
}
.workflow-figure {
margin: 1.7rem 0;
border: 1px solid var(--line);
border-radius: 5px;
padding: 1.4rem;
background: var(--raised);
}
.figure-title {
margin: 0 0 1.3rem;
font-size: 0.9rem;
font-weight: 600;
color: var(--ink);
}
.flow-steps {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.9rem;
padding: 0;
margin: 0;
list-style: none;
}
.flow-steps li {
position: relative;
margin: 0;
min-width: 0;
}
.flow-steps li:not(:last-child)::after {
content: "→";
position: absolute;
inset-inline-end: -1.4rem;
top: 2.1rem;
color: #8191a2;
}
.flow-label {
display: block;
margin-bottom: 0.65rem;
color: var(--muted);
font-size: 0.75rem;
}
.flow-node {
display: block;
padding: 0.8rem;
background: white;
border: 1px solid var(--line);
border-radius: 4px;
color: var(--accent);
font-size: 0.875rem;
line-height: 1.5;
font-weight: 500;
}
.flow-note {
display: block;
margin-top: 0.65rem;
font-size: 0.8rem;
line-height: 1.55;
color: var(--muted);
}
.flow-result {
margin: 1.3rem 0 0;
padding: 0.9rem 1rem;
border-inline-start: 2px solid var(--accent);
background: var(--soft);
color: var(--ink);
font-size: 0.9rem;
}
.flow-steps:has(> li:nth-child(4):last-child) {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1.6rem;
}
.th04-overview {
margin-bottom: 3.2rem;
}
.th04-ring-figure img,
.ctf-mask-figure img {
min-width: 680px;
}
.notion-channel {
color: var(--accent);
background: var(--soft);
border-radius: 2px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.notion-clipboard-grid,
.notion-table-example {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.notion-clipboard-grid .code-block,
.notion-table-example .code-block {
min-width: 0;
margin: 0;
}
.notion-clipboard-grid pre,
.notion-table-example pre {
padding: 1rem;
font-size: 0.75rem;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.notion-mini-flow {
display: flex;
flex-wrap: wrap;
gap: 0.6rem 1.8rem;
margin: 1.3rem 0 0;
padding: 0;
list-style: none;
font-size: 0.8rem;
}
.notion-mini-flow li {
position: relative;
margin: 0;
}
.notion-mini-flow li:not(:last-child)::after {
content: "→";
position: absolute;
inset-inline-end: -1.3rem;
color: #8191a2;
}
.workflow-figure figcaption {
margin-top: 1rem;
color: var(--muted);
font-size: 0.8rem;
}
.guide-index {
padding-bottom: 3rem;
}
.guide-entry {
display: grid;
grid-template-columns: 160px minmax(0, 1fr);
gap: 2.5rem;
padding-block: 2.5rem;
border-top: 1px solid var(--line);
}
.guide-entry .eyebrow {
margin: 0;
}
.media-entry {
grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
align-items: start;
}
.entry-image {
display: block;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--soft);
}
.entry-image img {
display: block;
width: 100%;
height: auto;
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.media-entry:hover .entry-image img {
transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
.entry-image img {
transition: none;
}
}
.guide-entry h2 {
font-size: 1.75rem;
}
.guide-entry p {
max-width: 660px;
color: var(--muted);
}
.guide-route {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
margin-bottom: 1.25rem;
font-size: 0.85rem;
color: var(--muted);
}
.guide-route span {
padding: 0.2rem 0.55rem;
background: var(--soft);
border-radius: 3px;
color: #414b55;
}
.example-files {
display: flex;
flex-wrap: wrap;
gap: 0.65rem 1.25rem;
padding: 0;
list-style: none;
font-size: 0.9rem;
}
.example-files li + li {
margin: 0;
}
.example-app {
max-width: 720px;
padding-block: 3.5rem;
}
.example-app h1 {
font-size: 3rem;
}
.example-notes {
padding: 0;
list-style: none;
margin-block: 2rem;
}
.example-notes li {
padding-block: 0.8rem;
border-bottom: 1px solid var(--line);
}
.example-status {
margin-block: 1.5rem 1rem;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.home-page {
--content-width: 1200px;
}
.home-page .section {
padding-block: 5rem;
}
.home-page-nav {
position: sticky;
top: 0;
z-index: 6;
background: var(--page);
border-bottom: 1px solid var(--line);
}
.home-page-nav > summary {
display: flex;
align-items: center;
gap: 0.75rem;
min-height: 52px;
color: var(--ink);
font-size: 0.8rem;
font-weight: 600;
list-style: none;
cursor: pointer;
}
.home-page-nav > summary::-webkit-details-marker {
display: none;
}
.home-nav-current {
margin-inline-start: auto;
color: var(--muted);
font-weight: 400;
}
.home-page-nav[open] > summary svg {
transform: rotate(180deg);
}
.home-nav-links {
position: absolute;
inset: 100% 0 auto;
max-height: calc(100svh - 5rem);
overflow-y: auto;
padding-block: 0.4rem 1rem;
background: var(--page);
border-bottom: 1px solid var(--line);
}
.home-nav-title {
display: none;
}
.home-nav-links ul {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.2rem 1rem;
margin: 0;
padding: 0;
list-style: none;
}
.home-nav-links li + li {
margin: 0;
}
.home-nav-links a {
display: flex;
align-items: center;
min-height: 44px;
padding: 0.5rem 0.65rem;
border-inline-start: 2px solid transparent;
color: var(--muted);
font-size: 0.825rem;
line-height: 1.5;
text-decoration: none;
}
.home-nav-links a:hover {
color: var(--ink);
background: var(--soft);
}
.home-nav-links a[aria-current="location"] {
border-inline-start-color: var(--accent);
background: var(--raised);
color: var(--accent);
font-weight: 600;
}
.home-page section[id],
.home-workflow[id] {
scroll-margin-top: 5.25rem;
}
/* Newcomers see the step-by-step guide before the shortcuts below it. */
.home-setup-agent > .home-expert-shortcut {
margin: 0.5rem 0 1.25rem;
color: var(--ink);
}
.home-expert-shortcut a {
display: block;
margin-top: 0.25rem;
font-weight: 600;
text-wrap: balance;
}
@media (min-width: 1800px) {
.home-page-nav {
position: fixed;
top: 7.5rem;
inset-inline-end: max(
1.5rem,
calc((100vw - var(--content-width)) / 2 - 208px)
);
width: 160px;
max-height: calc(100svh - 9rem);
overflow-y: auto;
border: 0;
z-index: 2;
}
/* Without the script the sidebar starts closed; its summary opens it. */
.home-page-nav[open] > summary {
display: none;
}
.home-nav-links {
position: static;
max-height: none;
overflow: visible;
padding: 0;
border: 0;
}
.home-nav-links .container {
width: 100%;
}
.home-nav-title {
display: block;
margin-bottom: 0.7rem;
padding-inline-start: 0.75rem;
color: var(--muted);
font-size: 0.75rem;
font-weight: 600;
}
.home-nav-links ul {
display: block;
border-inline-start: 1px solid var(--line);
}
.home-nav-links a {
margin-inline-start: -1px;
font-size: 0.78rem;
}
.home-page section[id],
.home-workflow[id] {
scroll-margin-top: 2rem;
}
}
.home-start-grid {
display: grid;
justify-items: center;
gap: clamp(2.75rem, 5vw, 4rem);
}
.home-intro {
position: relative;
isolation: isolate;
max-width: 56rem;
text-align: center;
}
/* The scene spans the window; keep it from widening the page. */
main:has(.home-art) {
overflow-x: clip;
}
/* A night scene behind the introduction: a paper boat on a canal becomes a
ship of light. Dark theme only, since the scene is a night sky. */
.home-art {
display: none;
}
:root[data-theme="dark"] .home-art {
display: block;
position: absolute;
z-index: -1;
top: -5rem;
bottom: -3rem;
left: 50%;
width: 100vw;
translate: -50% 0;
overflow: hidden;
pointer-events: none;
}
.home-art::before,
.home-art video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 15% bottom;
/* Dim the picture itself so its colour survives behind white text. */
filter: brightness(0.62) saturate(1.12);
}
.home-art::before {
content: "";
background: url("hero/paper-boat-start.jpg") 15% bottom / cover no-repeat;
}
.home-art::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
var(--page),
transparent 18%,
transparent 70%,
var(--page)
);
}
:root[data-theme="dark"] .home-intro :is(h1, .lede, .home-question) {
text-shadow:
0 1px 2px rgb(0 0 0 / 45%),
0 2px 24px rgb(0 0 0 / 55%);
}
:root[data-theme="dark"] .home-intro .lede {
color: rgb(236 240 244 / 88%);
}
/* Over the scene, the outlined links get a frosted fill so they stay legible
when the picture behind them is busy. */
:root[data-theme="dark"] .home-intro .community-links a {
border-color: rgb(237 242 246 / 16%);
background: rgb(11 14 17 / 55%);
color: rgb(237 242 246 / 82%);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
}
:root[data-theme="dark"] .home-intro .community-links a:hover {
border-color: rgb(237 242 246 / 32%);
color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
.home-art video {
display: none;
}
.home-art::before {
background-image: url("hero/paper-boat-end.jpg");
}
}
/* A question to the reader between the introduction and the buttons. */
.home-question {
margin-block: 1.4rem 0;
color: var(--ink);
font-size: 1.35rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.home-intro h1 {
margin-inline: auto;
font-size: clamp(2.4rem, 5.6vw, 4.5rem);
line-height: 1.04;
letter-spacing: -0.035em;
text-wrap: balance;
}
.home-intro .lede {
max-width: 36rem;
margin-inline: auto;
text-wrap: pretty;
}
.home-intro .actions {
justify-content: center;
}
.home-reading-links {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2.5rem;
margin-top: 3.5rem;
padding-top: 2rem;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.9rem;
}
.home-reading-links p {
max-width: 22rem;
margin: 0.5rem 0 0;
}
/* Small community links under the hero buttons. */
.community-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.6rem;
margin-top: 1.5rem;
}
.community-links a {
display: inline-flex;
align-items: center;
gap: 0.5rem;
min-height: 40px;
padding: 0.35rem 0.95rem;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
font-size: 0.9rem;
text-decoration: none;
}
.community-links a:hover {
border-color: var(--line-strong);
color: var(--ink);
}
@media (max-width: 430px) {
.community-links {
gap: 0.5rem;
}
.community-links a {
gap: 0.4rem;
padding-inline: 0.75rem;
font-size: 0.85rem;
}
}
/* Real REA sessions, one per showcase, switched by a row of tabs. */
.showcase-tabs {
display: grid;
justify-items: center;
gap: 1.25rem;
width: 100%;
max-width: 76rem;
}
.showcase-tablist {
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.25rem;
max-width: 100%;
padding: 0.3rem;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--raised);
}
.showcase-tablist button {
padding: 0.5rem 0.95rem;
border: 0;
border-radius: 8px;
background: none;
color: var(--muted);
font: inherit;
font-size: 0.95rem;
cursor: pointer;
}
.showcase-tablist button:hover {
color: var(--ink);
}
.showcase-tablist button[aria-selected="true"] {
background: var(--tint);
color: var(--ink);
}
.showcase-progress {
position: absolute;
inset: auto 0 0 0;
height: 2px;
background: var(--accent);
transform: scaleX(0);
transform-origin: left;
}
.showcase-tabs [role="tabpanel"] {
width: 100%;
}
.showcase-tabs [role="tabpanel"] img {
display: block;
width: 100%;
height: auto;
border: 1px solid var(--line);
border-radius: 16px;
box-shadow: 0 30px 80px -30px rgb(20 25 30 / 45%);
}
.showcase-tabs [role="tabpanel"] a:hover img {
border-color: var(--line-strong);
}
/* The setup panel is the product window under the headline. */
.home-setup {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
grid-template-rows: auto 1fr;
column-gap: clamp(2rem, 4vw, 3.5rem);
width: 100%;
max-width: 68rem;
min-width: 0;
padding: clamp(1.5rem, 3vw, 2.5rem);
border: 1px solid var(--line);
border-radius: 14px;
background: var(--raised);
box-shadow:
0 24px 60px -28px rgb(20 25 30 / 28%),
0 2px 6px rgb(20 25 30 / 6%);
}
:where(:root[data-theme="dark"]) .home-setup {
box-shadow:
0 30px 80px -30px rgb(0 0 0 / 70%),
0 0 0 1px rgb(255 255 255 / 2%);
}
.home-setup-agent {
grid-row: 1 / -1;
min-width: 0;
}
.home-setup > details {
grid-column: 2;
min-width: 0;
}
.home-start-grid .home-setup h2 {
font-size: 1.3rem;
letter-spacing: -0.02em;
margin-bottom: 0.7rem;
}
.home-setup-agent .terminal-prompt {
font-size: 1.02rem;
line-height: 1.6;
}
@media (max-width: 860px) {
.home-setup {
grid-template-columns: minmax(0, 1fr);
}
.home-setup-agent,
.home-setup > details {
grid-column: 1;
grid-row: auto;
}
}
.home-setup-agent > p {
color: var(--muted);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.home-install-resources {
display: flex;
flex-wrap: wrap;
gap: 0.6rem 1.25rem;
font-size: 0.85rem;
}
/* The label gets its own line so the platform links stay together. */
.home-install-resources > span {
flex-basis: 100%;
color: var(--muted);
}
.home-install-resources a {
white-space: nowrap;
}
.home-install-options {
font-size: 0.85rem;
}
.home-setup-command > summary,
.home-install-options > summary {
width: fit-content;
min-height: 44px;
padding-block: 0.65rem;
color: var(--muted);
font-size: 0.9rem;
cursor: pointer;
}
.home-setup-command[open] > summary,
.home-install-options[open] > summary {
margin-bottom: 0.5rem;
}
.home-install-options .home-other-install-options {
margin-bottom: 0;
}
.home-other-install-options {
margin-top: 0.65rem;
color: var(--muted);
font-size: 0.85rem;
}
.prose-highlight {
padding: 0.08em 0.35em;
border-radius: 4px;
background: var(--tint);
color: var(--accent);
font-weight: 600;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.home-workflow {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2.5rem;
margin-block: 2rem;
}
.home-workflow li + li {
margin-top: 0;
}
.home-workflow li::marker {
color: var(--muted);
font-size: 0.85rem;
}
.home-workflow h3 {
margin-bottom: 0.6rem;
font-size: 1.05rem;
}
.home-workflow p {
margin: 0;
color: var(--muted);
font-size: 0.95rem;
}
.home-page #analysis-guides {
scroll-margin-top: 5rem;
}
.home-examples-intro {
margin-bottom: 2rem;
color: var(--muted);
font-size: 1.05rem;
}
.home-case-story > h3,
.home-case-result > h3 {
font-size: 1.15rem;
}
.home-case-story > h3:not(:first-child) {
margin-top: 1.75rem;
}
.home-case-story > p,
.home-case-result > p {
color: var(--muted);
font-size: 0.95rem;
}
.home-help-links p {
margin-bottom: 0;
}
.home-help-links p + p {
margin-top: 0.9rem;
}
.home-role-comparison {
display: grid;
grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
gap: 0 2rem;
margin: 0;
}
.agent-investigation,
.manual-investigation {
min-width: 0;
}
.comparison-question {
margin-block: 1.8rem 1.2rem;
font-size: 1.05rem;
color: var(--muted);
}
.comparison-question strong {
color: var(--ink);
}
.comparison-label {
padding-bottom: 0.8rem;
border-bottom: 1px solid var(--line);
font-size: 1.125rem;
font-weight: 600;
}
.agent-investigation > .comparison-label {
color: var(--accent);
}
.expert-step-selector {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-block: 1.2rem 1rem;
}
.expert-step-selector button {
min-height: 44px;
padding: 0.6rem 0.4rem;
border-radius: 5px;
font-size: 0.75rem;
}
.expert-analysis-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 0.52fr);
align-items: start;
gap: 0.9rem;
}
.expert-assembly {
min-width: 0;
margin: 0;
}
.expert-assembly .code-header {
padding: 0.9rem 1rem;
font-size: 0.75rem;
cursor: pointer;
list-style: none;
}
.expert-assembly summary::-webkit-details-marker {
display: none;
}
.expert-assembly summary:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.assembly-disclosure::after {
content: "+";
color: var(--accent);
white-space: nowrap;
}
.expert-assembly[open] .assembly-disclosure::after {
content: "−";
}
.expert-assembly pre {
margin: 0;
padding: 0.8rem;
font-size: 0.75rem;
line-height: 1.6;
}
.assembly-omission {
color: var(--muted);
}
.expert-reasoning {
min-width: 0;
}
.expert-thought {
position: relative;
padding: 1rem 0.9rem;
border: 1px solid var(--line);
border-radius: 16px;
background: var(--page);
}
.expert-thought + .expert-thought {
margin-top: 1rem;
}
.expert-thought::before,
.expert-thought::after {
content: "";
position: absolute;
border: 1px solid var(--line);
border-radius: 50%;
background: var(--page);
}
.expert-thought::before {
bottom: -18px;
right: 38px;
width: 12px;
height: 12px;
}
.expert-thought::after {
bottom: -30px;
right: 47px;
width: 6px;
height: 6px;
}
.expert-thought > p {
margin: 0;
font-size: 0.9rem;
line-height: 1.65;
}
.expert-thought > .thought-label {
margin-bottom: 0.6rem;
color: var(--accent);
font-size: 0.75rem;
font-weight: 600;
}
.expert-thought > .expert-task {
margin-top: 0.8rem;
color: var(--muted);
font-size: 0.75rem;
}
.expert-facts {
display: grid;
gap: 0.45rem;
margin: 0.9rem 0 0;
padding-top: 0.8rem;
border-top: 1px solid var(--line);
font-size: 0.75rem;
}
.expert-facts div {
display: flex;
justify-content: space-between;
gap: 0.5rem;
}
.expert-facts dt {
font-family: var(--font-mono);
}
.expert-facts dd {
margin: 0;
color: var(--accent);
}
.expert-rule {
display: grid;
gap: 0.3rem;
margin-top: 0.9rem;
padding-top: 0.8rem;
border-top: 1px solid var(--line);
font-size: 0.75rem;
}
.expert-rule strong {
color: var(--accent);
font-size: 1.4rem;
}
.expert-illustration {
display: block;
width: 120px;
height: 90px;
margin: 2rem 0 0 auto;
}
.expert-caption {
margin: 0.5rem 0 0;
color: var(--muted);
font-size: 0.75rem;
text-align: right;
}
.manual-work-summary {
margin: 1rem 0 0;
color: var(--muted);
font-size: 0.9rem;
}
.manual-work-summary strong {
font-weight: 500;
}
.agent-percent-rule {
display: grid;
justify-items: start;
gap: 0.2rem;
margin-top: 0.9rem;
color: var(--accent);
}
.agent-percent-rule code {
color: var(--ink);
}
.agent-percent-rule > span {
margin-inline-start: 0.4rem;
color: var(--muted);
}
.agent-percent-rule strong {
font-size: 1.2rem;
}
.agent-evidence-roles {
display: grid;
gap: 1rem;
margin: 1.2rem 0 0;
}
.agent-evidence-roles dt {
margin-bottom: 0.25rem;
color: var(--accent);
font-size: 0.75rem;
font-weight: 600;
}
.agent-evidence-roles dd {
margin: 0;
color: var(--muted);
font-size: 0.9rem;
}
.home-role-comparison figcaption {
order: 3;
grid-column: 1 / -1;
margin-top: 1.2rem;
font-size: 0.8rem;
color: var(--muted);
}
.home-showcase-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: 2rem;
margin-bottom: 2rem;
}
.home-showcase-heading .lede {
max-width: 680px;
margin-bottom: 0;
}
.home-case-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.5rem;
}
.home-case-card {
display: flex;
min-width: 0;
flex-direction: column;
padding: 2rem;
border: 1px solid var(--line);
border-radius: 5px;
}
.home-case-card .eyebrow {
margin-bottom: 0.8rem;
color: var(--accent);
}
.home-case-card h3 {
font-size: 1.25rem;
}
.home-case-card p:not(.eyebrow) {
color: var(--muted);
font-size: 1rem;
}
.home-case-card .text-link {
margin-top: auto;
padding-top: 0.7rem;
}
.home-page #community p {
color: var(--muted);
}
.home-environments {
background: var(--soft);
}
.home-environment-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(2rem, 4vw, 4rem);
align-items: start;
}
.home-example-grid {
display: grid;
grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
align-items: start;
gap: clamp(2rem, 4vw, 4rem);
}
.percent-figure,
.dino-demo {
min-width: 0;
margin: 0;
padding: 1.5rem;
border: 1px solid var(--line);
border-radius: 5px;
}
.percent-operation,
.percent-controls,
.dino-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.percent-operation button,
.percent-controls button,
.dino-buttons button {
min-height: 44px;
border: 1px solid var(--line);
border-radius: 4px;
padding: 0.5rem 0.8rem;
font: inherit;
font-size: 0.85rem;
color: var(--ink);
background: var(--page);
cursor: pointer;
}
.percent-operation button[aria-pressed="true"] {
color: var(--accent);
border-color: var(--accent);
background: var(--soft);
}
.percent-display {
padding: 0.9rem 1.2rem;
margin-block: 1rem;
border-radius: 4px;
background: var(--soft);
text-align: right;
font-variant-numeric: tabular-nums;
}
.percent-expression {
display: block;
min-height: 1.5rem;
color: var(--muted);
font-size: 0.9rem;
}
.percent-display strong {
display: block;
font-size: 3rem;
line-height: 1.1;
font-weight: 500;
letter-spacing: -0.04em;
}
.percent-controls .percent-key {
min-width: 68px;
font-size: 1.25rem;
color: var(--accent);
border-color: var(--line-strong);
}
.percent-controls button:disabled {
opacity: 0.45;
cursor: default;
}
.percent-controls .percent-reset {
margin-inline-start: auto;
border-color: transparent;
color: var(--muted);
}
.percent-status {
min-height: 3rem;
margin-top: 1rem;
font-size: 0.9rem;
}
.percent-figure figcaption,
.dino-demo figcaption {
margin-top: 0.8rem;
color: var(--muted);
font-size: 0.8rem;
}
.percent-rules {
margin-bottom: 0;
}
.percent-rules > div {
padding-block: 0.55rem;
}
.percent-rules dt {
font-size: 0.8rem;
color: var(--muted);
margin-bottom: 0.25rem;
}
.percent-rules dd {
margin: 0;
font-size: 0.9rem;
}
.percent-rules dd span,
.percent-rules dd code {
display: block;
}
.percent-rules dd span {
margin-bottom: 0.25rem;
}
.home-evidence-details {
margin-top: 2rem;
padding-block: 1rem;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.home-evidence-details > summary {
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
}
.home-evidence-details[open] > summary {
margin-bottom: 1.5rem;
}
.calculator-trace {
margin-block: 1.5rem;
}
.dino-example-grid {
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
gap: 2.5rem;
}
.dino-stage {
--dino-ground: #b7c0c9;
--dino-ink: #5b6570;
--dino-player: #294f82;
--dino-crash: #8c4b40;
--dino-eye: #ffffff;
overflow: hidden;
margin-block: 0.8rem;
background: var(--soft);
border-radius: 4px;
color: var(--muted);
}
.dino-stage canvas,
.dino-fallback {
display: block;
width: 100%;
height: auto;
}
.dino-stage canvas {
touch-action: manipulation;
}
.dino-buttons .button {
background: var(--ink);
border-color: var(--ink);
color: white;
}
.dino-controls {
display: grid;
gap: 1.2rem;
}
.dino-speed-label {
display: grid;
grid-template-columns: 1fr auto;
gap: 0.5rem;
font-size: 0.875rem;
}
.dino-speed-label output {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
color: var(--accent);
}
.dino-speed-label input {
grid-column: 1 / -1;
width: 100%;
margin: 0;
min-height: 30px;
accent-color: var(--accent);
}
.dino-auto-label {
display: flex;
align-items: center;
gap: 0.6rem;
min-height: 36px;
font-size: 0.8rem;
color: var(--muted);
}
.dino-auto-label input {
width: 17px;
height: 17px;
flex-shrink: 0;
accent-color: var(--accent);
}
.dino-status {
min-height: 2.6rem;
margin: 1rem 0 0;
font-size: 0.8rem;
color: var(--muted);
}
.dino-rule {
color: var(--muted);
font-size: 0.95rem;
}
.dino-rule strong {
color: var(--ink);
}
.dino-loop {
margin-top: 2rem;
}
.dino-lab-demo {
margin-block: 2rem;
}
.dino-lab-demo .dino-stage {
margin-block: 1.5rem;
}
.speed-check-table td:last-child,
.speed-check-table th:last-child {
text-align: end;
}
.speed-check-table {
width: 100%;
table-layout: fixed;
}
[hidden] {
display: none !important;
}
@media (max-width: 850px) {
.home-start-grid,
.home-role-comparison,
.home-environment-grid,
.home-example-grid {
grid-template-columns: minmax(0, 1fr);
gap: 2rem;
}
.home-workflow,
.home-case-grid {
grid-template-columns: minmax(0, 1fr);
}
.home-role-comparison figcaption {
margin-top: 0;
}
.agent-investigation {
order: 1;
}
.manual-investigation {
order: 2;
}
}
@media (max-width: 640px) {
.home-page .section {
padding-block: 3.5rem;
}
.home-reading-links {
grid-template-columns: minmax(0, 1fr);
gap: 1.5rem;
margin-top: 2.5rem;
}
.home-showcase-heading {
align-items: flex-start;
flex-direction: column;
}
.home-install-resources > span {
flex-basis: 100%;
}
.expert-analysis-grid {
grid-template-columns: minmax(0, 1fr);
}
.expert-reasoning {
display: grid;
grid-template-columns: minmax(0, 1fr) 88px;
column-gap: 0.75rem;
align-items: end;
}
.expert-thought::before {
right: -18px;
bottom: 42px;
}
.expert-thought::after {
right: -30px;
bottom: 36px;
}
.expert-illustration {
width: 88px;
height: 66px;
margin: 0;
}
.expert-caption {
grid-column: 1 / -1;
text-align: left;
}
.expert-step-selector button {
font-size: 0.75rem;
}
.home-hero {
padding-block: 2.8rem;
}
/* On phones the scene sits under the text instead of behind the headline. */
:root[data-theme="dark"] .home-art {
top: -2.8rem;
}
.home-art::before,
.home-art video {
top: auto;
height: 55%;
}
.home-art::after {
background: linear-gradient(
to bottom,
var(--page) 45%,
transparent 62%,
transparent 85%,
var(--page)
);
}
.percent-figure,
.dino-demo {
padding: 1.1rem;
}
}
@media (max-width: 850px) {
.workflows {
gap: 1.8rem;
}
.article-layout {
grid-template-columns: 150px minmax(0, 1fr);
gap: 2rem;
}
.code-comparison,
.rea-query-pair {
grid-template-columns: 1fr;
}
.flow-steps,
.flow-steps:has(> li:nth-child(4):last-child) {
grid-template-columns: 1fr;
gap: 2rem;
}
.flow-steps li:not(:last-child)::after {
content: "↓";
top: auto;
bottom: -1.7rem;
inset-inline-end: auto;
inset-inline-start: 0.85rem;
}
}
@media (max-width: 640px) {
.back-to-top {
inset-inline-end: calc(1rem + env(safe-area-inset-right, 0px));
bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
.site-footer {
padding-bottom: calc(2rem + 44px + env(safe-area-inset-bottom, 0px));
}
.container {
width: calc(100% - 2.5rem);
}
/* Keep every link on one line; the row scrolls sideways when it is full. */
.navigation {
flex-wrap: nowrap;
justify-content: flex-start;
gap: 1.1rem;
margin-inline: -1.25rem;
padding-inline: 1.25rem;
overflow-x: auto;
font-size: 0.875rem;
scrollbar-width: none;
}
.navigation::-webkit-scrollbar {
display: none;
}
.navigation a {
flex: none;
min-height: 40px;
}
.hero {
padding-block: 3.5rem 3rem;
}
.hero h1 {
font-size: clamp(2.55rem, 10vw, 3.75rem);
}
.lede {
font-size: 1.075rem;
}
.actions {
gap: 1.2rem;
}
.section {
padding-block: 2.6rem;
}
.workflows,
.verification {
grid-template-columns: 1fr;
}
.stats dt {
font-size: 1.65rem;
}
.stats dd {
font-size: 0.875rem;
}
.start-row {
align-items: flex-start;
flex-direction: column;
}
.page-heading {
padding-block: 3rem 2rem;
}
.page-heading h1 {
font-size: clamp(2.45rem, 9vw, 3.4rem);
}
.article-layout {
display: block;
}
.contents {
position: static;
padding-top: 0;
padding-bottom: 1.7rem;
}
.contents p {
display: none;
}
.contents ul {
display: flex;
flex-wrap: wrap;
gap: 0.65rem 1.3rem;
}
.contents li + li {
margin: 0;
}
.article-section {
padding-block: 2rem;
}
.article .stats {
gap: 1rem;
}
.provider {
grid-template-columns: minmax(0, 1fr);
gap: 0.25rem;
}
.evidence-details[open]::details-content {
padding-inline-start: 0.65rem;
}
.guide-entry {
grid-template-columns: 1fr;
gap: 0.7rem;
}
.workflow-figure {
padding: 1rem;
}
.notion-clipboard-grid,
.notion-table-example {
grid-template-columns: 1fr;
}
.notion-mini-flow {
display: grid;
gap: 1.5rem;
}
.notion-mini-flow li:not(:last-child)::after {
content: "↓";
inset-inline-end: auto;
inset-inline-start: 0.4rem;
bottom: -1.4rem;
}
.step-selector {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
pre {
padding: 1rem;
}
.code-inline {
align-items: flex-start;
padding: 0.9rem;
}
}
@media (prefers-reduced-motion: reduce) {
.terminal-cursor {
animation: none;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--ink: #edf2f6;
--muted: #9ba6b1;
--line: #242c34;
--line-strong: #36414b;
--soft: #11161b;
--raised: #161c22;
--tint: #102a3a;
--accent: #4cc3ff;
--page: #0b0e11;
--button: #02adfa;
--button-hover: #4cc3ff;
--button-text: #06121a;
--selection: #134563;
--article-text: #c9d2da;
}
:where(:root[data-theme="dark"]) .dino-stage {
--dino-ground: var(--line-strong);
--dino-ink: var(--muted);
--dino-player: var(--accent);
--dino-crash: #ff8a7a;
--dino-eye: var(--page);
}
:where(:root[data-theme="dark"]) .reconstruction-flywheel [stroke="#294f82"] {
stroke: var(--accent);
}
:where(:root[data-theme="dark"]) .reconstruction-flywheel [stroke="#5b6570"] {
stroke: var(--muted);
}
:where(:root[data-theme="dark"]) .skip-link,
:where(:root[data-theme="dark"]) .button,
:where(:root[data-theme="dark"]) .dino-buttons .button {
color: var(--button-text);
}
:where(:root[data-theme="dark"]) .code-key,
:where(:root[data-theme="dark"]) .notion-channel,
:where(:root[data-theme="dark"]) .prose-highlight,
:where(:root[data-theme="dark"]) .step-selector button[aria-pressed="true"],
:where(:root[data-theme="dark"]) .percent-operation button[aria-pressed="true"],
:where(:root[data-theme="dark"]) .flow-result,
:where(:root[data-theme="dark"]) .home-nav-links a[aria-current="location"] {
background: var(--tint);
}
:where(:root[data-theme="dark"]) .copy-button:hover {
background: var(--tint);
}
:where(:root[data-theme="dark"]) .step-comparison .is-active {
background: var(--tint);
color: var(--accent);
}
:where(:root[data-theme="dark"]) .guide-route span {
color: var(--article-text);
}
:where(:root[data-theme="dark"]) .prompt {
border-inline-start-color: var(--line-strong);
}
:where(:root[data-theme="dark"]) .agent-terminal {
border-color: var(--line);
background: var(--soft);
}
:where(:root[data-theme="dark"]) .terminal-header {
border-bottom-color: var(--line);
}
:where(:root[data-theme="dark"]) .agent-terminal .copy-button:hover {
background: var(--tint);
}
:where(:root[data-theme="dark"]) .workflow-figure {
background: var(--soft);
}
:where(:root[data-theme="dark"]) .flow-node {
background: var(--tint);
border-color: var(--line-strong);
}
:where(:root[data-theme="dark"]) .flow-steps li:not(:last-child)::after,
:where(:root[data-theme="dark"]) .notion-mini-flow li:not(:last-child)::after {
color: var(--muted);
}
:where(:root[data-theme="dark"]) .percent-controls .percent-key {
border-color: var(--line-strong);
}
@media (max-width: 360px) {
.stats {
grid-template-columns: 1fr;
}
}
/* Keep prose natural in each language while code and evidence stay left-to-right. */
html:lang(zh),
html:lang(ja),
html:lang(ko),
html:lang(th),
html[dir="rtl"] {
letter-spacing: normal;
}
html:lang(zh) h1,
html:lang(zh) h2,
html:lang(zh) h3,
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) h3,
html:lang(th) h1,
html:lang(th) h2,
html:lang(th) h3,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
letter-spacing: normal;
line-height: 1.35;
}
html[dir="rtl"] code,
html[dir="rtl"] pre,
html[dir="rtl"] kbd,
html[dir="rtl"] .dino-stage,
html[dir="rtl"] .aegis-calculation {
direction: ltr;
unicode-bidi: isolate;
text-align: left;
}
html[dir="rtl"] .percent-display {
direction: ltr;
unicode-bidi: isolate;
}
@media (min-width: 851px) {
html[dir="rtl"]
.flow-steps:not(.aegis-calculation)
li:not(:last-child)::after {
content: "←";
}
}
@media (min-width: 641px) {
html[dir="rtl"] .notion-mini-flow li:not(:last-child)::after {
content: "←";
}
}
html[dir="rtl"] .terminal-prompt {
font-family: inherit;
text-align: start;
}
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .brand-name {
unicode-bidi: isolate;
}
@media (max-width: 1279px) {
.brand-caption {
display: none;
}
}
@media (max-width: 1100px) {
.header-inner {
grid-template-columns: auto minmax(0, 1fr);
row-gap: 0.65rem;
padding-block: 0.8rem;
}
.navigation {
grid-column: 1 / -1;
grid-row: 2;
justify-content: flex-start;
}
.header-social {
grid-column: 2;
grid-row: 1;
min-inline-size: 0;
justify-content: flex-end;
gap: 0.45rem;
}
.language-picker {
position: static;
}
.language-picker nav {
inset-inline: 1.25rem;
top: 4.3rem;
width: auto;
}
}
@media (max-width: 850px) {
.nav-github-count {
display: none;
}
.explanatory-figure figcaption a {
white-space: normal;
}
}
@media (max-width: 400px) {
.header-inner {
column-gap: 1rem;
}
.language-picker summary > span[aria-hidden="true"] {
display: none;
}
.header-social .nav-x {
display: none;
}
}
/* Select fonts with the appropriate CJK glyph forms. */
:lang(ja) {
--font-sans:
var(--font-latin), "Hiragino Sans", "Hiragino Kaku Gothic ProN",
"Yu Gothic UI", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
--font-mono:
var(--font-code), "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP",
"Noto Sans CJK JP", monospace;
}
:lang(zh-CN) {
--font-sans:
var(--font-latin), "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
"Noto Sans CJK SC", sans-serif;
--font-mono:
var(--font-code), "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
"Noto Sans CJK SC", monospace;
}
:lang(zh-TW) {
--font-sans:
var(--font-latin), "PingFang TC", "Microsoft JhengHei", "Noto Sans TC",
"Noto Sans CJK TC", sans-serif;
--font-mono:
var(--font-code), "PingFang TC", "Microsoft JhengHei", "Noto Sans TC",
"Noto Sans CJK TC", monospace;
}
:lang(ko) {
--font-sans:
"Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic",
var(--font-latin), sans-serif;
--font-mono:
var(--font-code), "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo",
"Malgun Gothic", monospace;
}
:lang(en) {
--font-sans: var(--font-latin), sans-serif;
--font-mono: var(--font-code), monospace;
}
/* The language offer floats above the page so content never shifts. */
/* It shares the bottom edge with the back-to-top button, which returns once
the offer is accepted or dismissed. */
body:has(.language-suggestion) .back-to-top {
display: none;
}
.language-suggestion {
position: fixed;
inset-inline: 1rem;
inset-block-end: 1rem;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
max-inline-size: 30rem;
margin-inline: auto;
padding-block: 0.35rem;
padding-inline: 1.1rem 0.35rem;
border: 1px solid var(--line-strong);
border-radius: 6px;
background: var(--page);
box-shadow: 0 5px 20px rgb(32 37 43 / 8%);
font-size: 0.9rem;
}
.language-suggestion a {
color: var(--accent);
font-weight: 600;
}
.language-suggestion button {
flex-shrink: 0;
min-inline-size: 44px;
min-block-size: 44px;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--muted);
font-size: 1.25rem;
cursor: pointer;
}
.language-suggestion button:hover {
background: var(--soft);
color: var(--ink);
}
@media print {
.language-suggestion {
display: none;
}
}