Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
280 lines (250 loc) · 7.6 KB
/
Copy pathstyles.css
File metadata and controls
280 lines (250 loc) · 7.6 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
:root {
color-scheme: dark;
--ink: #f7fbff;
--muted: #9fb1c7;
--panel: rgba(9, 17, 29, .78);
--panel-strong: rgba(15, 29, 46, .94);
--line: rgba(174, 209, 255, .18);
--cyan: #52e0d5;
--gold: #f5c35b;
--rose: #ff6f91;
--green: #84e68b;
--bg: #07111d;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background:
linear-gradient(120deg, rgba(82, 224, 213, .16), transparent 30%),
linear-gradient(200deg, rgba(245, 195, 91, .12), transparent 35%),
var(--bg);
color: var(--ink);
}
a { color: inherit; text-decoration: none; }
.topbar {
position: sticky;
top: 0;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
gap: 24px;
padding: 14px clamp(20px, 4vw, 56px);
background: rgba(7, 17, 29, .82);
border-bottom: 1px solid var(--line);
backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border-radius: 8px;
background: linear-gradient(135deg, var(--cyan), var(--gold));
color: #06111d;
font-size: 13px;
}
nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.hero {
min-height: min(720px, 76vh);
display: grid;
grid-template-columns: minmax(0, .95fr) minmax(320px, 560px);
gap: clamp(28px, 5vw, 72px);
align-items: center;
padding: clamp(36px, 5vw, 68px) clamp(20px, 5vw, 72px) 34px;
}
.hero-copy { max-width: 760px; }
.eyebrow {
margin: 0 0 12px;
color: var(--cyan);
text-transform: uppercase;
font-size: 12px;
font-weight: 800;
letter-spacing: .12em;
}
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(42px, 4.2vw, 64px); max-width: 760px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: 20px; }
.lede {
max-width: 760px;
margin: 18px 0 0;
color: var(--muted);
font-size: clamp(17px, 1.6vw, 19px);
line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 18px;
border-radius: 8px;
font-weight: 800;
transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: var(--cyan); color: #06111d; }
.primary:hover { filter: brightness(1.06); }
.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.04); }
.secondary:hover { border-color: var(--cyan); }
.ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-visual {
margin: 0;
min-height: 360px;
border: 1px solid var(--line);
border-radius: 8px;
overflow: hidden;
background: rgba(255,255,255,.04);
box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.signal-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
margin: 0 clamp(20px, 5vw, 72px);
border: 1px solid var(--line);
background: var(--line);
}
.signal-grid div { padding: 24px; background: var(--panel); }
.signal-grid strong { display: block; font-size: 34px; color: var(--gold); }
.signal-grid span { color: var(--muted); }
.section { padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 + p { color: var(--muted); }
.recipes, .use-cases, .doc-grid, .profile-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.recipes article, .use-cases div, .doc-grid a, .profile-grid div, details {
min-height: 100%;
padding: 22px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel);
}
.recipes article span, .profile-grid span, .doc-grid span {
display: block;
color: var(--muted);
margin-top: 10px;
line-height: 1.55;
}
.recipes p, .use-cases p, .boundary p, details p { color: var(--muted); line-height: 1.6; }
code {
display: block;
margin-top: 14px;
color: var(--green);
white-space: normal;
overflow-wrap: anywhere;
}
.split {
display: grid;
grid-template-columns: minmax(0, .75fr) minmax(320px, 1.25fr);
gap: 30px;
align-items: start;
background: rgba(82, 224, 213, .06);
}
.terminal {
margin: 0;
padding: 22px;
border-radius: 8px;
border: 1px solid var(--line);
background: #050b12;
color: #d5f7ef;
overflow-x: auto;
line-height: 1.7;
}
.terminal code { margin: 0; white-space: pre; }
.boundary {
display: grid;
grid-template-columns: .8fr 1.2fr;
gap: 24px;
background: rgba(245, 195, 91, .06);
}
.boundary ul {
margin: 0;
padding: 0;
display: grid;
gap: 10px;
list-style: none;
}
.boundary li {
padding: 14px 16px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel);
}
details { margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; }
footer {
display: flex;
flex-wrap: wrap;
gap: 18px;
justify-content: space-between;
padding: 28px clamp(20px, 5vw, 72px);
color: var(--muted);
border-top: 1px solid var(--line);
}
.not-found main { max-width: 720px; margin: 18vh auto; padding: 24px; }
/* Inline icons */
.i { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.16em; flex: none; }
/* Topbar external links */
.topbar-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.topbar-links { display: flex; align-items: center; gap: 8px; }
.ext {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 12px;
border: 1px solid var(--line);
border-radius: 8px;
background: rgba(255, 255, 255, .03);
color: var(--ink);
font-size: 13px;
font-weight: 700;
transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.ext:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(82, 224, 213, .08); }
/* Hero credibility badges */
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.hero-badges li {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 13px;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--panel);
color: var(--muted);
font-size: 13px;
font-weight: 600;
}
.hero-badges .i { color: var(--green); }
/* Signal grid icons */
.signal-grid div { display: flex; flex-direction: column; gap: 6px; }
.signal-grid .i { width: 24px; height: 24px; color: var(--cyan); }
/* Card hover polish */
.recipes article, .doc-grid a, .profile-grid div { transition: border-color .15s ease, transform .15s ease; }
.recipes article:hover, .doc-grid a:hover, .profile-grid div:hover { border-color: var(--cyan); transform: translateY(-2px); }
/* Footer links with icons */
footer a { display: inline-flex; align-items: center; gap: 7px; transition: color .15s ease; }
footer a:hover { color: var(--cyan); }
/* Sticky-header offset for in-page anchors */
.section, #top { scroll-margin-top: 84px; }
@media (max-width: 900px) {
.hero, .split, .boundary { grid-template-columns: 1fr; }
.recipes, .use-cases, .doc-grid, .profile-grid, .signal-grid { grid-template-columns: 1fr; }
.topbar { align-items: flex-start; flex-direction: column; }
.topbar-right { flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
.topbar-links { flex-wrap: wrap; }
h1 { font-size: 42px; }
}