mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-04 03:57:18 +01:00
The outlined CTA "DISCOVERY CALL BUCHEN" renders --teal on the dark page at 3.50:1, below the 4.5 AA floor — and at 12px uppercase with 0.14em tracking, which is the hardest thing on the site to read already. --teal itself is not wrong. It is tuned to carry WHITE on top of it (4.94:1) and works as a fill. The same colour AS text on dark is the failing case. Lightening --teal would have fixed the text and broken the fill: white-on-teal drops to 3.45:1 at the lightness the text needs. Two roles, two tokens. --teal-on-dark (#3796a8) is 5.01:1 on the dark page and is used only where teal has to be read rather than sat on. Found by the fleet UI audit (dotfiles scripts/ci/ui-defect-audit.mjs). Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
96 lines
1.8 KiB
CSS
96 lines
1.8 KiB
CSS
.section {
|
|
background: var(--ink);
|
|
padding: 5rem 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.eyebrow {
|
|
font-size: 0.6rem;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: var(--teal-70);
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.title {
|
|
font-family: var(--font-cormorant), serif;
|
|
font-size: 2.4rem;
|
|
font-weight: 300;
|
|
color: var(--white);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.title em {
|
|
font-style: italic;
|
|
color: var(--teal);
|
|
}
|
|
|
|
.sub {
|
|
font-size: 0.85rem;
|
|
color: var(--white-35);
|
|
max-width: 34rem;
|
|
margin: 1.2rem auto 2rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.btns {
|
|
display: flex;
|
|
gap: 0.8rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btnPrimary {
|
|
background: var(--teal);
|
|
color: var(--white);
|
|
border: none;
|
|
padding: 0.8rem 2rem;
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
font-family: var(--font-dm-sans), sans-serif;
|
|
border-radius: var(--radius-sm);
|
|
transition: background var(--transition-normal);
|
|
}
|
|
|
|
.btnPrimary:hover {
|
|
background: var(--teal-dark);
|
|
}
|
|
|
|
.btnOutline {
|
|
border: 1px solid var(--teal-30);
|
|
/* Teal-as-text on the dark band — see --teal-on-dark. Plain --teal is
|
|
3.50:1 here; this is 5.01:1. */
|
|
color: var(--teal-on-dark);
|
|
background: none;
|
|
padding: 0.8rem 2rem;
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
font-family: var(--font-dm-sans), sans-serif;
|
|
border-radius: var(--radius-sm);
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
transition: all var(--transition-normal);
|
|
}
|
|
|
|
.btnOutline:hover {
|
|
border-color: var(--teal);
|
|
background: var(--teal-10);
|
|
}
|
|
|
|
.note {
|
|
font-size: 0.65rem;
|
|
color: var(--white-15);
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.btnPrimary,
|
|
.btnOutline {
|
|
min-height: 2.75rem;
|
|
}
|
|
}
|