-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
109 lines (106 loc) · 5.44 KB
/
styles.css
File metadata and controls
109 lines (106 loc) · 5.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;520;600;700&display=swap');
:root {
color-scheme: light;
--canvas: #faf9f5;
--surface: #f5f0e8;
--card: #efe9de;
--card-strong: #e8e0d2;
--ink: #141413;
--body: #3d3d3a;
--muted: #6c6a64;
--hairline: #e6dfd8;
--hairline-strong: #d8cec0;
--primary: #cc785c;
--primary-active: #a9583e;
--dark: #181715;
--dark-2: #252320;
--on-dark: #faf9f5;
--max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
overflow-x: hidden;
font-family: Aptos, Avenir Next, Segoe UI, ui-sans-serif, system-ui, -apple-system, sans-serif;
color: var(--body);
background:
radial-gradient(circle at 12% 0%, rgba(204, 120, 92, .16), transparent 28rem),
linear-gradient(180deg, var(--canvas), #f3eee6 52%, var(--canvas));
}
a { color: var(--primary-active); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 0 0 clamp(32px, 5vw, 64px); }
.hero { padding: clamp(34px, 5vw, 64px) 0 clamp(26px, 4vw, 42px); }
.eyebrow { margin: 0 0 14px; color: var(--primary-active); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { color: var(--ink); font-family: 'Crimson Pro', Tiempos Headline, Georgia, serif; font-weight: 520; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { max-width: 980px; font-size: clamp(2.9rem, 7vw, 5.35rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.025em; }
.lede { max-width: 730px; margin: 26px 0 0; color: var(--body); font-size: clamp(1.06rem, 1.7vw, 1.28rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, .links a {
display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
padding: 0 18px; border: 1px solid var(--hairline-strong); border-radius: 9px;
color: var(--ink); text-decoration: none; background: rgba(250,249,245,.72);
transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.button:hover, .links a:hover { transform: translateY(-1px); border-color: rgba(204,120,92,.5); background: #fffaf3; text-decoration: none; }
.button:active, .links a:active { transform: translateY(1px); }
.button.primary { color: #fff; border-color: transparent; background: var(--primary); font-weight: 700; }
.hero-art { margin: 0 0 18px; padding: 10px; background: var(--dark); border-color: var(--dark-2); }
.hero-art img { display: block; width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); aspect-ratio: 16 / 9; object-fit: cover; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.stats div, .card { border: 1px solid var(--hairline); border-radius: 14px; background: rgba(245,240,232,.78); }
.stats div { padding: 22px; }
.stats strong { display: block; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.06em; }
.stats span { display: block; margin-top: 6px; color: var(--muted); line-height: 1.35; }
.card { padding: clamp(22px, 4vw, 32px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .75fr); gap: 28px; align-items: start; margin: 18px 0; background: var(--surface); }
p, li { color: var(--body); font-size: 1.01rem; line-height: 1.68; }
ul { margin: 0; padding-left: 1.2rem; }
.links { display: grid; gap: 10px; }
.links a { justify-content: flex-start; border-radius: 9px; min-height: 50px; background: var(--canvas); }
.note { margin-top: 18px; border-color: rgba(204,120,92,.35); }
.diagram-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; margin-top: 18px; }
.diagram-feature img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--hairline); background: var(--canvas); }
@media (max-width: 760px) {
main { width: min(100% - 32px, var(--max)); padding-top: 28px; }
.hero { padding-top: 32px; }
.grid, .stats, .feature, .diagram-feature { grid-template-columns: 1fr; }
h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); letter-spacing: -.045em; }
.actions { display: grid; grid-template-columns: 1fr; }
.button { width: 100%; }
.card { border-radius: 12px; }
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--canvas: #181715;
--surface: #252320;
--card: #1f1e1b;
--card-strong: #2d2a25;
--ink: #faf9f5;
--body: #ddd6cb;
--muted: #a09d96;
--hairline: rgba(250, 249, 245, .14);
--hairline-strong: rgba(250, 249, 245, .22);
--primary: #d88468;
--primary-active: #f2b29a;
--dark: #100f0e;
--dark-2: #252320;
--on-dark: #faf9f5;
}
body {
background:
radial-gradient(circle at 12% 0%, rgba(216, 132, 104, .18), transparent 28rem),
linear-gradient(180deg, #1d1b18, var(--canvas) 58%, #141311);
}
.button, .links a { background: rgba(37, 35, 32, .78); color: var(--ink); }
.button:hover, .links a:hover { background: rgba(45, 42, 37, .95); }
.button.primary { color: #17110e; background: #f2b29a; }
.stats div, .card { background: rgba(37, 35, 32, .76); }
.hero-art { background: #100f0e; }
.diagram-feature img { background: var(--surface); }
}