Files
2026-08-11 10:40:10 +01:00

182 lines
4.4 KiB
CSS

/* Styles for the signed-out public site.
*
* Loaded after app.css so it inherits the same variables, type scale and
* component styles; this file only adds what the marketing pages need. */
.public-masthead {
border-bottom: 1px solid var(--rule, #d8d8d2);
background: var(--surface, #fff);
}
.public-inner {
max-width: 62rem;
margin: 0 auto;
padding: 1rem 1.5rem;
display: flex;
align-items: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.public-nav {
list-style: none;
display: flex;
gap: 1.25rem;
margin: 0;
padding: 0;
}
.public-actions { margin-left: auto; }
.public-page {
max-width: 62rem;
margin: 0 auto;
padding: 2rem 1.5rem 4rem;
}
.hero {
padding: 2.5rem 0 1rem;
border-bottom: 1px solid var(--rule, #d8d8d2);
margin-bottom: 2rem;
}
.hero h1 {
font-size: clamp(1.9rem, 4.5vw, 3rem);
line-height: 1.15;
margin: 0 0 1rem;
max-width: 20ch;
}
.lede {
font-size: 1.15rem;
line-height: 1.6;
max-width: 62ch;
color: var(--text-strong, #1c1c1a);
}
.hero-actions {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-top: 1.75rem;
}
.btn-large { padding: 0.7rem 1.4rem; font-size: 1.02rem; }
.btn-block { display: block; text-align: center; }
.panel {
padding: 2rem 0;
border-bottom: 1px solid var(--rule, #d8d8d2);
}
.panel:last-of-type { border-bottom: 0; }
.panel h2 { margin-top: 0; }
.panel p, .panel li { max-width: 72ch; }
.panel-quiet { background: var(--surface-sunken, #f6f6f3); padding: 2rem 1.5rem; border-radius: 6px; border-bottom: 0; }
.panel-highlight { background: var(--surface-sunken, #f6f6f3); padding: 1.5rem; border-radius: 6px; border: 2px solid var(--accent, #2f5d50); border-bottom: 2px solid var(--accent, #2f5d50); }
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
gap: 1.25rem;
margin-top: 1.5rem;
}
.card {
border: 1px solid var(--rule, #d8d8d2);
border-radius: 6px;
padding: 1.25rem;
background: var(--surface, #fff);
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card-q { font-style: italic; color: var(--text-muted, #55554e); margin: 0.25rem 0 0.75rem; }
.card p { max-width: none; }
.evidence-example {
border: 1px solid var(--rule, #d8d8d2);
border-radius: 6px;
padding: 1.25rem;
margin-top: 1.25rem;
background: var(--surface, #fff);
overflow-x: auto;
}
.evidence-head {
display: flex;
gap: 0.75rem;
align-items: baseline;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.rel-type { font-weight: 700; font-family: var(--mono, ui-monospace, monospace); }
.rel-score { font-variant-numeric: tabular-nums; }
.rel-status { color: var(--text-muted, #55554e); font-size: 0.9rem; }
.evidence-note { font-style: italic; color: var(--text-muted, #55554e); margin-bottom: 0; }
table.weights, table.signals, table.data {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
table.weights th, table.weights td,
table.signals th, table.signals td,
table.data th, table.data td {
text-align: left;
padding: 0.45rem 0.6rem;
border-bottom: 1px solid var(--rule, #d8d8d2);
vertical-align: top;
}
table.weights caption { text-align: left; padding-bottom: 0.5rem; color: var(--text-muted, #55554e); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
/* Wide content scrolls inside its own box; the page never scrolls sideways. */
.panel { overflow-x: auto; }
.pipeline { line-height: 1.7; }
.pipeline li { margin-bottom: 0.5rem; }
.why, .wont { line-height: 1.7; }
.wont li { margin-bottom: 0.6rem; }
.public-footer {
border-top: 1px solid var(--rule, #d8d8d2);
background: var(--surface-sunken, #f6f6f3);
margin-top: 2rem;
}
.public-footer p { margin: 0.25rem 0; font-size: 0.92rem; }
.secret {
background: var(--surface-sunken, #f6f6f3);
border: 1px solid var(--rule, #d8d8d2);
border-radius: 4px;
padding: 0.9rem;
overflow-x: auto;
user-select: all;
}
.or-divider {
text-align: center;
position: relative;
color: var(--text-muted, #55554e);
margin: 1.5rem 0;
}
.or-divider::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
border-top: 1px solid var(--rule, #d8d8d2);
}
.or-divider span {
position: relative;
background: var(--surface, #fff);
padding: 0 0.75rem;
}
.row-inactive { opacity: 0.6; }
.auth-footer { margin-top: 1.5rem; }
@media (prefers-color-scheme: dark) {
.card, .evidence-example, .public-masthead { background: var(--surface, #1c1c1a); }
.or-divider span { background: var(--surface, #1c1c1a); }
}