mirror of
https://github.com/Nutlope/hallmark.git
synced 2026-08-14 12:35:33 +02:00
Each .ex-card div is now an <a target="_blank" rel="noopener"> wrapping the same content. The hover-play video, prompt line, and .ex-card styles all work unchanged (the class already had color: inherit + focus-visible). Added one CSS line — text-decoration: none on .ex-card — so the <a> doesn't underline the card. Linked destinations: - examples/tally/ — SaaS, modern-minimal (from /Users/youssef/test-hallmark-9) - examples/wayfare/ — travel booking, atmospheric (from test-hallmark-12) - _tests/09-slow-pour/ — small-batch coffee subscription (already in site) - examples/bananastudio/ — creative studio with playful motion (from test-hallmark-6) - _tests/06-anya-portfolio/ — software architect personal site (already in site) - examples/najm/ — Moroccan fashion (from test-hallmark-7) - _tests/11-soroe-ceramics/ — small ceramics studio (already in site) - examples/hyperlane/ — developer infrastructure (from test-hallmark-15) site/examples/ adds ~308 KB total across the 5 copied projects. The other 3 already live under site/_tests/ so no copying needed for them.
1088 lines
30 KiB
CSS
1088 lines
30 KiB
CSS
@import url("./tokens.css");
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; }
|
|
|
|
html {
|
|
font-family: var(--font-body);
|
|
color: var(--color-ink-0);
|
|
background: var(--color-paper-0);
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
body {
|
|
font-size: var(--text-base);
|
|
line-height: 1.55;
|
|
background:
|
|
radial-gradient(1200px 600px at 12% -10%, color-mix(in oklch, var(--color-accent-tint) 70%, transparent), transparent 60%),
|
|
radial-gradient(900px 500px at 88% 8%, color-mix(in oklch, var(--color-companion) 35%, transparent), transparent 55%),
|
|
var(--color-paper-0);
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
::selection { background: var(--color-accent); color: var(--color-paper-0); }
|
|
|
|
a { color: inherit; text-decoration: none; }
|
|
|
|
button, input, select { font: inherit; color: inherit; }
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--color-focus);
|
|
outline-offset: 3px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
/* ───────── shared layout ───────── */
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1240px;
|
|
margin: 0 auto;
|
|
padding-inline: var(--space-xl);
|
|
}
|
|
|
|
.eyebrow {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--color-ink-2);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.italic-accent {
|
|
font-family: var(--font-italic);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
/* ───────── nav · N5 Floating pill ───────── */
|
|
.nav {
|
|
position: fixed;
|
|
top: 18px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 50;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
padding: 6px 8px 6px 18px;
|
|
background: color-mix(in oklch, var(--color-paper-0) 78%, transparent);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
backdrop-filter: blur(20px);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-pill);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 30px -12px rgba(20, 30, 80, 0.18);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.nav__brand {
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-right: var(--space-xs);
|
|
}
|
|
|
|
.nav__brand svg { display: block; }
|
|
|
|
.nav__links {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav__link {
|
|
padding: 8px 14px;
|
|
border-radius: var(--radius-pill);
|
|
color: var(--color-ink-1);
|
|
transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
|
|
}
|
|
|
|
.nav__link:hover { background: var(--color-paper-2); color: var(--color-ink-0); }
|
|
.nav__link.is-hover { background: var(--color-paper-2); color: var(--color-ink-0); }
|
|
|
|
.nav__cta {
|
|
padding: 8px 14px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--color-ink-0);
|
|
color: var(--color-paper-0);
|
|
font-weight: 500;
|
|
border: 1px solid var(--color-ink-0);
|
|
cursor: pointer;
|
|
transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
|
|
}
|
|
|
|
.nav__cta:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-1px); }
|
|
.nav__cta:active { transform: translateY(0); }
|
|
|
|
@media (max-width: 760px) {
|
|
.nav__links { display: none; }
|
|
.nav { padding: 6px 8px 6px 14px; }
|
|
}
|
|
|
|
/* ───────── hero · Marquee Hero ───────── */
|
|
.hero {
|
|
padding-top: 140px;
|
|
padding-bottom: var(--space-3xl);
|
|
position: relative;
|
|
overflow: clip;
|
|
}
|
|
|
|
.hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
linear-gradient(to right, color-mix(in oklch, var(--color-ink-0) 6%, transparent) 1px, transparent 1px),
|
|
linear-gradient(to bottom, color-mix(in oklch, var(--color-ink-0) 6%, transparent) 1px, transparent 1px);
|
|
background-size: 64px 64px;
|
|
mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, black 30%, transparent 70%);
|
|
-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, black 30%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero__live {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 14px 6px 12px;
|
|
border: var(--rule-soft);
|
|
background: var(--color-paper-0);
|
|
border-radius: var(--radius-pill);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-1);
|
|
}
|
|
|
|
.hero__live .dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--color-success);
|
|
box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-success) 60%, transparent);
|
|
animation: pulse 1800ms var(--ease-in-out) infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-success) 60%, transparent); }
|
|
70% { box-shadow: 0 0 0 10px color-mix(in oklch, var(--color-success) 0%, transparent); }
|
|
100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-success) 0%, transparent); }
|
|
}
|
|
|
|
.hero__layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
|
|
gap: var(--space-3xl);
|
|
align-items: center;
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.hero__layout { grid-template-columns: 1fr; gap: var(--space-2xl); }
|
|
}
|
|
|
|
.hero__h1 {
|
|
font-family: var(--font-display);
|
|
font-weight: 600;
|
|
font-size: var(--text-5xl);
|
|
line-height: 0.96;
|
|
letter-spacing: -0.03em;
|
|
margin: 0.4em 0 0.2em;
|
|
max-width: 13ch;
|
|
}
|
|
|
|
.hero__h1 .italic-accent {
|
|
color: var(--color-accent);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.hero__sub {
|
|
font-size: var(--text-md);
|
|
color: var(--color-ink-1);
|
|
max-width: 46ch;
|
|
margin: 0 0 var(--space-xl);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.hero__ctas {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 14px 22px;
|
|
border-radius: var(--radius-pill);
|
|
font-weight: 500;
|
|
font-size: var(--text-base);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: transform var(--dur-fast) var(--ease-out),
|
|
background var(--dur-fast) var(--ease-out),
|
|
border-color var(--dur-fast) var(--ease-out),
|
|
box-shadow var(--dur-fast) var(--ease-out);
|
|
position: relative;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.btn--primary {
|
|
background: var(--color-ink-0);
|
|
color: var(--color-paper-0);
|
|
border-color: var(--color-ink-0);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 8px 24px -10px rgba(0, 10, 60, 0.4);
|
|
}
|
|
|
|
.btn--primary:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-1px); }
|
|
.btn--primary:active { transform: translateY(0); }
|
|
|
|
.btn--ghost {
|
|
background: transparent;
|
|
color: var(--color-ink-0);
|
|
border-color: color-mix(in oklch, var(--color-ink-0) 16%, transparent);
|
|
}
|
|
|
|
.btn--ghost:hover { background: var(--color-paper-2); border-color: color-mix(in oklch, var(--color-ink-0) 22%, transparent); }
|
|
|
|
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
|
|
|
|
.hero__fineprint {
|
|
margin-top: var(--space-md);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-2);
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero__fineprint span::before { content: "·"; margin-right: var(--space-md); color: var(--color-ink-3); }
|
|
.hero__fineprint span:first-child::before { content: ""; margin: 0; }
|
|
|
|
/* live invoice card · Tier-A pure-CSS art */
|
|
.invoice {
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-lg);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.7) inset,
|
|
0 24px 60px -28px rgba(20, 30, 80, 0.25),
|
|
0 4px 12px -4px rgba(20, 30, 80, 0.08);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-sm);
|
|
position: relative;
|
|
transform: rotate(0.5deg);
|
|
max-width: 420px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.invoice::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -8px;
|
|
border: 1px dashed color-mix(in oklch, var(--color-ink-0) 8%, transparent);
|
|
border-radius: calc(var(--radius-lg) + 8px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.invoice__head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: var(--space-sm);
|
|
border-bottom: var(--rule-hair);
|
|
}
|
|
|
|
.invoice__title { font-weight: 600; color: var(--color-ink-0); }
|
|
|
|
.invoice__tag {
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--color-success);
|
|
background: color-mix(in oklch, var(--color-success) 18%, transparent);
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-pill);
|
|
}
|
|
|
|
.invoice__rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: var(--space-sm) 0;
|
|
}
|
|
|
|
.invoice__row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-1);
|
|
}
|
|
|
|
.invoice__row strong { color: var(--color-ink-0); font-weight: 500; }
|
|
|
|
.invoice__total {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
padding-top: var(--space-sm);
|
|
border-top: var(--rule-hair);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.invoice__total .num {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 600;
|
|
color: var(--color-ink-0);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.invoice__bar {
|
|
height: 6px;
|
|
background: var(--color-paper-3);
|
|
border-radius: var(--radius-pill);
|
|
margin-top: var(--space-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.invoice__bar > i {
|
|
display: block;
|
|
height: 100%;
|
|
width: 64%;
|
|
background: linear-gradient(90deg, var(--color-accent), var(--color-companion));
|
|
border-radius: inherit;
|
|
transition: width var(--dur-slow) var(--ease-out);
|
|
}
|
|
|
|
/* hero marquee strip */
|
|
.hero__marquee {
|
|
margin-top: var(--space-3xl);
|
|
border-top: var(--rule-hair);
|
|
border-bottom: var(--rule-hair);
|
|
padding: var(--space-md) 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
-webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
|
|
mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
|
|
}
|
|
|
|
.hero__marquee__track {
|
|
display: flex;
|
|
gap: var(--space-3xl);
|
|
animation: marquee 38s linear infinite;
|
|
width: max-content;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-2);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
|
|
.hero__marquee__track span { display: inline-flex; align-items: center; gap: var(--space-md); }
|
|
.hero__marquee__track span::after { content: "✦"; color: var(--color-accent); }
|
|
|
|
@keyframes marquee {
|
|
to { transform: translateX(-50%); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.hero__marquee__track { animation: none; }
|
|
}
|
|
|
|
/* ───────── logos strip ───────── */
|
|
.logos {
|
|
padding: var(--space-2xl) 0;
|
|
}
|
|
|
|
.logos__label {
|
|
text-align: center;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.16em;
|
|
color: var(--color-ink-2);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.logos__row {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: var(--space-xl);
|
|
align-items: center;
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.logos__row > div {
|
|
font-family: var(--font-display);
|
|
font-weight: 600;
|
|
font-size: var(--text-md);
|
|
letter-spacing: -0.02em;
|
|
text-align: center;
|
|
color: var(--color-ink-1);
|
|
}
|
|
|
|
.logos__row .l-1 { font-family: var(--font-italic); font-style: italic; font-weight: 400; }
|
|
.logos__row .l-2 { font-family: var(--font-mono); font-weight: 500; text-transform: lowercase; letter-spacing: -0.02em; }
|
|
.logos__row .l-3 { font-weight: 700; letter-spacing: -0.05em; }
|
|
.logos__row .l-4 { font-weight: 300; letter-spacing: 0.3em; text-transform: uppercase; font-size: var(--text-sm); }
|
|
.logos__row .l-5 { font-weight: 800; }
|
|
.logos__row .l-6 { font-weight: 500; font-style: italic; }
|
|
|
|
@media (max-width: 760px) {
|
|
.logos__row { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-lg); }
|
|
}
|
|
|
|
/* ───────── workbench / live demo ───────── */
|
|
.workbench {
|
|
padding: var(--space-4xl) 0 var(--space-3xl);
|
|
}
|
|
|
|
.section-head {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-2xl);
|
|
align-items: end;
|
|
margin-bottom: var(--space-2xl);
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.section-head { grid-template-columns: 1fr; gap: var(--space-md); }
|
|
}
|
|
|
|
.section-head__title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-3xl);
|
|
font-weight: 600;
|
|
letter-spacing: -0.025em;
|
|
line-height: 1.05;
|
|
margin: var(--space-sm) 0 0;
|
|
}
|
|
|
|
.section-head__title em { font-family: var(--font-italic); font-weight: 400; color: var(--color-accent); font-style: italic; }
|
|
|
|
.section-head__desc {
|
|
font-size: var(--text-md);
|
|
color: var(--color-ink-1);
|
|
max-width: 50ch;
|
|
}
|
|
|
|
.bench {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-xl);
|
|
overflow: hidden;
|
|
box-shadow: 0 30px 80px -40px rgba(20, 30, 80, 0.2);
|
|
}
|
|
|
|
@media (max-width: 880px) {
|
|
.bench { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.bench__rail {
|
|
padding: var(--space-lg);
|
|
border-right: var(--rule-hair);
|
|
background: var(--color-paper-1);
|
|
}
|
|
|
|
@media (max-width: 880px) {
|
|
.bench__rail { border-right: 0; border-bottom: var(--rule-hair); }
|
|
}
|
|
|
|
.bench__brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.bench__nav { display: flex; flex-direction: column; gap: 2px; font-size: var(--text-sm); }
|
|
|
|
.bench__navitem {
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius-md);
|
|
color: var(--color-ink-1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
transition: background var(--dur-fast) var(--ease-out);
|
|
}
|
|
|
|
.bench__navitem:hover { background: var(--color-paper-2); }
|
|
.bench__navitem[aria-current="page"] { background: var(--color-paper-2); color: var(--color-ink-0); font-weight: 500; }
|
|
|
|
.bench__navitem .glyph { width: 14px; height: 14px; flex: none; opacity: 0.8; }
|
|
|
|
.bench__main { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-lg); }
|
|
|
|
.bench__statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
|
|
|
|
@media (max-width: 580px) { .bench__statrow { grid-template-columns: 1fr; } }
|
|
|
|
.bench__stat {
|
|
background: var(--color-paper-1);
|
|
padding: var(--space-md);
|
|
border-radius: var(--radius-md);
|
|
border: var(--rule-hair);
|
|
}
|
|
|
|
.bench__stat .label {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--color-ink-2);
|
|
}
|
|
|
|
.bench__stat .value {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
margin-top: 4px;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
}
|
|
|
|
.bench__stat .delta {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--color-success);
|
|
background: color-mix(in oklch, var(--color-success) 14%, transparent);
|
|
padding: 2px 6px;
|
|
border-radius: var(--radius-pill);
|
|
}
|
|
|
|
.bench__chart {
|
|
background: var(--color-paper-1);
|
|
border-radius: var(--radius-md);
|
|
border: var(--rule-hair);
|
|
padding: var(--space-lg);
|
|
position: relative;
|
|
min-height: 240px;
|
|
}
|
|
|
|
.bench__chart h4 {
|
|
margin: 0 0 var(--space-sm);
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
color: var(--color-ink-1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.bench__chart h4 .live {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--color-success);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.bench__chart h4 .live::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
background: var(--color-success);
|
|
}
|
|
|
|
.bench__chart svg { width: 100%; height: auto; display: block; }
|
|
|
|
.bench__chart .grid line { stroke: color-mix(in oklch, var(--color-ink-0) 6%, transparent); stroke-width: 1; }
|
|
.bench__chart .area { fill: url(#area-grad); }
|
|
.bench__chart .line { fill: none; stroke: var(--color-accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
|
|
.bench__chart .dot {
|
|
fill: var(--color-paper-0);
|
|
stroke: var(--color-accent);
|
|
stroke-width: 2;
|
|
filter: drop-shadow(0 4px 10px rgba(60, 30, 220, 0.25));
|
|
}
|
|
|
|
/* ───────── stats triplet ───────── */
|
|
.stats {
|
|
padding: var(--space-3xl) 0;
|
|
}
|
|
|
|
.stats__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-md);
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr; } }
|
|
|
|
.stats__card {
|
|
padding: var(--space-2xl) var(--space-xl);
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-lg);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.stats__card:nth-child(1) { background: linear-gradient(160deg, var(--color-accent-tint), var(--color-paper-0) 60%); }
|
|
.stats__card:nth-child(2) { background: linear-gradient(160deg, color-mix(in oklch, var(--color-companion) 35%, var(--color-paper-0)), var(--color-paper-0) 60%); }
|
|
.stats__card:nth-child(3) { background: linear-gradient(160deg, color-mix(in oklch, var(--color-warning) 25%, var(--color-paper-0)), var(--color-paper-0) 60%); }
|
|
|
|
.stats__num {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(2.8rem, 6vw, 4.5rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.04em;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.stats__num small {
|
|
font-size: 0.5em;
|
|
font-weight: 500;
|
|
color: var(--color-ink-1);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.stats__label {
|
|
font-family: var(--font-mono);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-1);
|
|
margin-top: var(--space-md);
|
|
}
|
|
|
|
.stats__note {
|
|
margin-top: var(--space-sm);
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-1);
|
|
max-width: 28ch;
|
|
}
|
|
|
|
/* ───────── three feature cards ───────── */
|
|
.features {
|
|
padding: var(--space-4xl) 0 var(--space-3xl);
|
|
}
|
|
|
|
.features__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-md);
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 880px) { .features__grid { grid-template-columns: 1fr; } }
|
|
|
|
.feature {
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-xl);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
|
|
transform-style: preserve-3d;
|
|
will-change: transform;
|
|
}
|
|
|
|
.feature:hover {
|
|
box-shadow: 0 20px 60px -30px rgba(40, 30, 120, 0.28);
|
|
}
|
|
|
|
.feature__art {
|
|
height: 180px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-paper-1);
|
|
border: var(--rule-hair);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Feature 1 — meter / counter */
|
|
.art-meter { background: linear-gradient(180deg, var(--color-paper-0), var(--color-paper-1)); }
|
|
.art-meter::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 22px;
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-md);
|
|
background:
|
|
repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in oklch, var(--color-ink-0) 6%, transparent) 22px 23px);
|
|
}
|
|
.art-meter::after {
|
|
content: "1,247 / sec";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-md);
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
color: var(--color-accent);
|
|
background: var(--color-paper-0);
|
|
padding: 6px 12px;
|
|
border-radius: var(--radius-pill);
|
|
border: var(--rule-soft);
|
|
}
|
|
|
|
/* Feature 2 — pricing tiers visualisation */
|
|
.art-tiers { padding: 22px; display: flex; align-items: end; gap: 10px; height: 180px; }
|
|
.art-tiers > i {
|
|
flex: 1;
|
|
background: linear-gradient(180deg, var(--color-companion), color-mix(in oklch, var(--color-companion) 50%, var(--color-paper-1)));
|
|
border-radius: var(--radius-sm);
|
|
border: var(--rule-hair);
|
|
}
|
|
.art-tiers > i:nth-child(1) { height: 35%; }
|
|
.art-tiers > i:nth-child(2) { height: 50%; }
|
|
.art-tiers > i:nth-child(3) { height: 70%; background: linear-gradient(180deg, var(--color-accent), var(--color-accent-soft)); }
|
|
.art-tiers > i:nth-child(4) { height: 90%; }
|
|
.art-tiers > i:nth-child(5) { height: 60%; }
|
|
|
|
/* Feature 3 — invoice stack */
|
|
.art-invoice {
|
|
padding: 22px;
|
|
}
|
|
.art-invoice .sheet {
|
|
position: absolute;
|
|
width: 70%;
|
|
height: 60%;
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--color-ink-2);
|
|
box-shadow: 0 6px 16px -8px rgba(20, 30, 80, 0.2);
|
|
}
|
|
.art-invoice .sheet:nth-child(1) { top: 20%; left: 14%; transform: rotate(-4deg); z-index: 1; }
|
|
.art-invoice .sheet:nth-child(2) { top: 16%; left: 22%; transform: rotate(2deg); z-index: 2; }
|
|
.art-invoice .sheet:nth-child(3) { top: 12%; left: 30%; transform: rotate(-1deg); z-index: 3; background: var(--color-accent-tint); }
|
|
.art-invoice .sheet b { display: block; color: var(--color-ink-0); font-size: 12px; margin-bottom: 6px; font-family: var(--font-display); font-weight: 600; }
|
|
.art-invoice .sheet em { font-style: normal; color: var(--color-accent); font-weight: 600; font-size: 14px; }
|
|
|
|
.feature__title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-lg);
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
margin: 0;
|
|
}
|
|
|
|
.feature__desc {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-1);
|
|
margin: 0;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.feature__link {
|
|
margin-top: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: var(--color-accent);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.feature__link::after {
|
|
content: "→";
|
|
transition: transform var(--dur-fast) var(--ease-out);
|
|
}
|
|
|
|
.feature:hover .feature__link::after { transform: translateX(3px); }
|
|
|
|
/* ───────── pricing ───────── */
|
|
.pricing {
|
|
padding: var(--space-4xl) 0 var(--space-3xl);
|
|
}
|
|
|
|
.pricing__head { text-align: center; margin-bottom: var(--space-xl); }
|
|
|
|
.pricing__toggle {
|
|
margin: var(--space-md) auto 0;
|
|
display: inline-flex;
|
|
padding: 4px;
|
|
background: var(--color-paper-2);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-pill);
|
|
}
|
|
|
|
.pricing__toggle button {
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 8px 16px;
|
|
border-radius: var(--radius-pill);
|
|
font-size: var(--text-sm);
|
|
cursor: pointer;
|
|
color: var(--color-ink-1);
|
|
transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
|
|
}
|
|
|
|
.pricing__toggle button[aria-pressed="true"] { background: var(--color-paper-0); color: var(--color-ink-0); font-weight: 500; box-shadow: 0 2px 6px -2px rgba(20, 30, 80, 0.14); }
|
|
|
|
.pricing__toggle .save {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--color-success);
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.pricing__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-md);
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 980px) { .pricing__grid { grid-template-columns: 1fr; } }
|
|
|
|
.tier {
|
|
background: var(--color-paper-0);
|
|
border: var(--rule-soft);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-xl);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
position: relative;
|
|
}
|
|
|
|
.tier--featured {
|
|
background: var(--color-ink-0);
|
|
color: var(--color-paper-0);
|
|
border-color: var(--color-ink-0);
|
|
transform: scale(1.02);
|
|
box-shadow: 0 24px 60px -30px rgba(0, 0, 60, 0.5);
|
|
}
|
|
|
|
.tier--featured .tier__price { color: var(--color-paper-0); }
|
|
.tier--featured .tier__features li { color: color-mix(in oklch, var(--color-paper-0) 75%, transparent); }
|
|
.tier--featured .tier__features li::before { color: var(--color-companion); }
|
|
.tier--featured .btn--primary { background: var(--color-companion); color: var(--color-ink-0); border-color: var(--color-companion); }
|
|
.tier--featured .btn--primary:hover { background: var(--color-paper-0); border-color: var(--color-paper-0); }
|
|
|
|
.tier__badge {
|
|
position: absolute;
|
|
top: -12px;
|
|
left: var(--space-xl);
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
background: var(--color-companion);
|
|
color: var(--color-ink-0);
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-pill);
|
|
}
|
|
|
|
.tier__name {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.tier__price {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-3xl);
|
|
font-weight: 600;
|
|
letter-spacing: -0.03em;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 4px;
|
|
}
|
|
|
|
.tier__price small {
|
|
font-size: 0.4em;
|
|
font-weight: 400;
|
|
color: var(--color-ink-2);
|
|
}
|
|
|
|
.tier--featured .tier__price small { color: color-mix(in oklch, var(--color-paper-0) 70%, transparent); }
|
|
|
|
.tier__desc { font-size: var(--text-sm); color: var(--color-ink-1); margin-top: -4px; }
|
|
.tier--featured .tier__desc { color: color-mix(in oklch, var(--color-paper-0) 75%, transparent); }
|
|
|
|
.tier__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--text-sm); }
|
|
|
|
.tier__features li { padding-left: 22px; position: relative; color: var(--color-ink-1); }
|
|
.tier__features li::before {
|
|
content: "✓";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
color: var(--color-accent);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ───────── testimonial ───────── */
|
|
.testimonial { padding: var(--space-3xl) 0; }
|
|
|
|
.testimonial__quote {
|
|
font-family: var(--font-italic);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-size: clamp(1.6rem, 3.4vw, 2.6rem);
|
|
line-height: 1.25;
|
|
letter-spacing: -0.015em;
|
|
max-width: 22ch;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.testimonial__quote::before { content: "\201C"; color: var(--color-accent); margin-right: 4px; }
|
|
.testimonial__quote::after { content: "\201D"; color: var(--color-accent); }
|
|
|
|
.testimonial__byline {
|
|
margin-top: var(--space-xl);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-1);
|
|
}
|
|
|
|
.testimonial__byline strong { color: var(--color-ink-0); font-weight: 500; }
|
|
.testimonial__byline span { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-2); text-transform: uppercase; letter-spacing: 0.1em; }
|
|
|
|
/* ───────── CTA ───────── */
|
|
.cta {
|
|
padding: var(--space-3xl) 0 var(--space-4xl);
|
|
}
|
|
|
|
.cta__panel {
|
|
position: relative;
|
|
background: var(--color-ink-0);
|
|
color: var(--color-paper-0);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-4xl) var(--space-2xl);
|
|
text-align: center;
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.cta__panel::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(600px 200px at 20% 110%, color-mix(in oklch, var(--color-accent) 60%, transparent), transparent 70%),
|
|
radial-gradient(500px 220px at 90% -10%, color-mix(in oklch, var(--color-companion) 50%, transparent), transparent 70%);
|
|
z-index: -1;
|
|
}
|
|
|
|
.cta__panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
z-index: -1;
|
|
}
|
|
|
|
.cta__title {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(2.4rem, 6vw, 5rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1;
|
|
margin: 0 0 var(--space-md);
|
|
max-width: 16ch;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.cta__title em { font-family: var(--font-italic); font-weight: 400; font-style: italic; color: var(--color-companion); }
|
|
|
|
.cta__sub {
|
|
color: color-mix(in oklch, var(--color-paper-0) 75%, transparent);
|
|
max-width: 50ch;
|
|
margin: 0 auto var(--space-xl);
|
|
font-size: var(--text-md);
|
|
}
|
|
|
|
.cta__panel .btn--primary { background: var(--color-paper-0); color: var(--color-ink-0); border-color: var(--color-paper-0); }
|
|
.cta__panel .btn--primary:hover { background: var(--color-companion); border-color: var(--color-companion); }
|
|
.cta__panel .btn--ghost { color: var(--color-paper-0); border-color: rgba(255, 255, 255, 0.18); }
|
|
.cta__panel .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
|
|
|
|
/* ───────── footer · Ft5 Statement ───────── */
|
|
.footer { padding: var(--space-3xl) 0 var(--space-2xl); border-top: var(--rule-hair); }
|
|
|
|
.footer__statement {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(1.8rem, 4.5vw, 3.2rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.05;
|
|
max-width: 22ch;
|
|
margin: 0 0 var(--space-2xl);
|
|
}
|
|
|
|
.footer__statement em { font-family: var(--font-italic); font-weight: 400; font-style: italic; color: var(--color-accent); }
|
|
|
|
.footer__row {
|
|
display: grid;
|
|
grid-template-columns: 1.2fr 1fr 1fr 1fr;
|
|
gap: var(--space-xl);
|
|
border-top: var(--rule-hair);
|
|
padding-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 760px) { .footer__row { grid-template-columns: 1fr 1fr; } }
|
|
|
|
.footer__col h5 {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: var(--color-ink-2);
|
|
margin: 0 0 var(--space-sm);
|
|
}
|
|
|
|
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--text-sm); }
|
|
.footer__col a { color: var(--color-ink-1); transition: color var(--dur-fast) var(--ease-out); }
|
|
.footer__col a:hover { color: var(--color-ink-0); }
|
|
|
|
.footer__legal {
|
|
margin-top: var(--space-2xl);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-2);
|
|
border-top: var(--rule-hair);
|
|
padding-top: var(--space-md);
|
|
}
|
|
|
|
.footer__legal .wordmark { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: var(--text-base); color: var(--color-ink-0); }
|
|
|
|
@media (max-width: 760px) { .footer__legal { flex-direction: column; gap: var(--space-sm); align-items: flex-start; } }
|