static/main.css

532 lines · 16094 bytes

  1/* krz. Swiss/systematic. System sans, light-first, one red accent.
  2
  3   Tokens. Contrast against the matching --bg, WCAG AA needs 4.5:1 for the
  4   small text this design uses throughout:
  5     light  fg 18.9  mut 6.9  dim 5.3  ac 4.9
  6     dark   fg 17.2  mut 7.4  dim 5.6  ac 6.3
  7   The accent carries 11-12px uppercase text, so it cannot be lightened
  8   toward poster red without dropping below 4.5. */
  9
 10:root {
 11  --bg:   #ffffff;
 12  --fg:   #111113;
 13  --mut:  #5a5a60;
 14  --dim:  #6b6b72;
 15  --line: #e3e3e0;
 16  --hair: #cfcfca;
 17  --ac:   #d9291f;
 18  --hov:  #f6f6f4;
 19}
 20
 21@media (prefers-color-scheme: dark) {
 22  :root {
 23    --bg:   #0e0e10;
 24    --fg:   #f2f2f0;
 25    --mut:  #a0a0a6;
 26    --dim:  #8a8a92;
 27    --line: #26262a;
 28    --hair: #3a3a40;
 29    --ac:   #ff5a4d;
 30    --hov:  #17171a;
 31  }
 32}
 33
 34:root {
 35  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
 36          "Helvetica Neue", Arial, sans-serif;
 37  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
 38  --max: 1200px;
 39  --gut: 40px;
 40}
 41
 42* { box-sizing: border-box; }
 43html { -webkit-text-size-adjust: 100%; }
 44@media (prefers-reduced-motion: no-preference) {
 45  html { scroll-behavior: smooth; }
 46}
 47
 48body {
 49  margin: 0;
 50  background: var(--bg);
 51  color: var(--fg);
 52  font-family: var(--sans);
 53  font-size: 15px;
 54  line-height: 1.55;
 55  min-height: 100vh;
 56  display: flex;
 57  flex-direction: column;
 58  counter-reset: sec;
 59  -webkit-font-smoothing: antialiased;
 60}
 61
 62a { color: inherit; text-decoration: none; }
 63::selection { background: var(--ac); color: #fff; }
 64:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
 65
 66/* Anchored sections must clear the sticky-free header on jump. */
 67:target { scroll-margin-top: 24px; }
 68
 69/* ---- Header ---------------------------------------------------------------- */
 70.site-header {
 71  display: flex;
 72  align-items: baseline;
 73  justify-content: space-between;
 74  gap: 1rem;
 75  flex-wrap: wrap;
 76  max-width: var(--max);
 77  width: 100%;
 78  margin: 0 auto;
 79  padding: 28px var(--gut) 20px;
 80  border-bottom: 2px solid var(--fg);
 81}
 82.brand { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
 83.site-nav {
 84  display: flex;
 85  gap: 26px;
 86  font-size: 12px;
 87  font-weight: 600;
 88  text-transform: uppercase;
 89  letter-spacing: 0.12em;
 90}
 91.site-nav a { color: var(--mut); }
 92.site-nav a:hover { color: var(--ac); }
 93
 94/* ---- Main ------------------------------------------------------------------ */
 95.site-main {
 96  flex: 1;
 97  max-width: var(--max);
 98  width: 100%;
 99  margin: 0 auto;
100  padding: 56px var(--gut) 72px;
101}
102
103.tagline {
104  font-size: clamp(34px, 5.2vw, 60px);
105  line-height: 1.05;
106  letter-spacing: -0.045em;
107  font-weight: 700;
108  max-width: 17ch;
109  margin: 8px 0 80px;
110  text-wrap: balance;
111}
112
113/* ---- Numbered sections ----------------------------------------------------- */
114.sec { counter-increment: sec; margin: 0 0 64px; }
115.sec:last-child { margin-bottom: 0; }
116
117.sec-label {
118  display: flex;
119  align-items: baseline;
120  gap: 14px;
121  font-size: 11px;
122  font-weight: 700;
123  text-transform: uppercase;
124  letter-spacing: 0.16em;
125  color: var(--fg);
126  margin: 0 0 16px;
127  padding-bottom: 10px;
128  border-bottom: 1px solid var(--fg);
129}
130.sec-label::before { content: counter(sec, decimal-leading-zero); color: var(--ac); }
131
132.sec-sub {
133  font-size: 11px;
134  font-weight: 600;
135  text-transform: uppercase;
136  letter-spacing: 0.14em;
137  color: var(--dim);
138  margin: 32px 0 10px;
139}
140.svc-group:first-of-type .sec-sub { margin-top: 20px; }
141
142/* ---- Home: app rows ------------------------------------------------------- */
143.app-rows { list-style: none; margin: 0; padding: 0; }
144.app-rows li { border-bottom: 1px solid var(--line); }
145.app-row {
146  display: grid;
147  grid-template-columns: 44px 160px 1fr auto;
148  align-items: center;
149  gap: 4px 20px;
150  padding: 12px 0;
151}
152.app-row-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
153.app-row-desc { color: var(--mut); }
154.app-row-go { color: var(--dim); }
155a.app-row:hover .app-row-name, a.app-row:hover .app-row-go { color: var(--ac); }
156@media (prefers-reduced-motion: no-preference) {
157  .app-row-go { transition: transform 0.2s; }
158  .app-row:hover .app-row-go { transform: translateX(4px); }
159}
160
161/* ---- Services: cards ------------------------------------------------------- */
162.svc-group + .svc-group { margin-top: 8px; }
163.svc-cards {
164  list-style: none;
165  margin: 0;
166  padding: 0;
167  display: grid;
168  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
169  gap: 0 32px;
170}
171.svc-card {
172  display: flex;
173  flex-direction: column;
174  height: 100%;
175  padding: 14px 0 16px;
176  border-top: 1px solid var(--line);
177}
178.svc-name { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
179.svc-desc { color: var(--mut); font-size: 14px; margin: 2px 0 10px; }
180.svc-host { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
181.svc-card:hover { border-top-color: var(--ac); }
182.svc-card:hover .svc-name, .svc-card:hover .svc-host { color: var(--ac); }
183
184@media (max-width: 760px) {
185  :root { --gut: 20px; }
186  .app-row { grid-template-columns: 44px 1fr auto; gap: 0 14px; }
187  .app-row .app-icon { grid-row: span 2; }
188  .app-row-go { grid-row: span 2; grid-column: 3; }
189  .app-row-desc { grid-column: 2; font-size: 14px; line-height: 1.35; }
190}
191
192/* ---- Prose (app detail, privacy, home about) ------------------------------- */
193.prose { max-width: 64ch; }
194.prose p { margin: 0 0 14px; }
195.prose a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
196.prose strong { font-weight: 600; }
197.prose ul { list-style: none; padding-left: 0; margin: 14px 0; }
198.prose li { margin: 6px 0; padding-left: 20px; position: relative; color: var(--mut); }
199.prose li::before {
200  content: ""; position: absolute; left: 0; top: 0.62em;
201  width: 8px; height: 1px; background: var(--ac);
202}
203.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
204.prose pre { overflow-x: auto; }
205
206.page-label {
207  font-size: 11px;
208  font-weight: 700;
209  text-transform: uppercase;
210  letter-spacing: 0.16em;
211  margin: 0 0 16px;
212  padding-bottom: 10px;
213  border-bottom: 1px solid var(--fg);
214}
215.prose h2 {
216  font-size: 11px;
217  font-weight: 700;
218  text-transform: uppercase;
219  letter-spacing: 0.14em;
220  color: var(--dim);
221  margin: 40px 0 10px;
222}
223.lede {
224  font-size: 22px;
225  line-height: 1.3;
226  letter-spacing: -0.02em;
227  font-weight: 500;
228  color: var(--fg);
229  margin: 0 0 24px;
230  max-width: 34ch;
231}
232
233.back { font-size: 12px; font-weight: 600; text-transform: uppercase;
234  letter-spacing: 0.1em; margin: 0 0 28px; }
235.back a { color: var(--mut); }
236.back a:hover { color: var(--ac); }
237
238/* ---- Buttons --------------------------------------------------------------- */
239.btn {
240  display: inline-block;
241  font-family: var(--sans);
242  font-size: 12px;
243  font-weight: 600;
244  text-transform: uppercase;
245  letter-spacing: 0.08em;
246  padding: 10px 18px;
247  border: 1px solid var(--hair);
248  color: var(--fg);
249}
250.btn:hover { border-color: var(--fg); }
251
252/* Black-on-light / white-on-dark, after Apple's badge proportions. */
253.btn-store {
254  display: inline-flex;
255  align-items: center;
256  gap: 8px;
257  height: 44px;
258  padding: 0 16px 0 12px;
259  border-radius: 9px;
260  background: var(--fg);
261  color: var(--bg);
262  font-size: 19px;
263  font-weight: 600;
264  letter-spacing: -0.02em;
265  line-height: 1;
266}
267.btn-store svg { width: 20px; height: 24px; flex: none; }
268.btn-store small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
269.btn-store:hover { opacity: 0.85; }
270
271/* ---- App: shared pieces ----------------------------------------------------
272   --tint is per app (front matter). It only colors art and fallback icons;
273   text keeps the site tokens so contrast holds. */
274.app, .app-card { --tint: var(--fg); }
275
276.app-icon {
277  flex: none;
278  display: block;
279  width: 112px;
280  height: 112px;
281  border-radius: 22.5%;
282  object-fit: cover;
283  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 8px 24px -8px rgb(0 0 0 / 0.35);
284  background: var(--bg);
285}
286.app-icon-sm { width: 64px; height: 64px; }
287.app-icon-xs { width: 44px; height: 44px; }
288.app-icon-mono {
289  display: grid;
290  place-items: center;
291  color: #fff;
292  font-weight: 700;
293  font-size: 0.48em;
294  letter-spacing: -0.04em;
295  background: linear-gradient(150deg, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint) 60%);
296}
297.app-icon.app-icon-mono { font-size: 62px; }
298.app-icon-sm.app-icon-mono { font-size: 36px; }
299.app-icon-xs.app-icon-mono { font-size: 24px; }
300
301.app-art {
302  position: relative;
303  overflow: hidden;
304  aspect-ratio: 12 / 5;
305  background: var(--tint);
306}
307.app-art > img:only-child { width: 100%; height: 100%; object-fit: cover; display: block; }
308.app-art-composed {
309  background:
310    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tint) 55%, #fff) 0%, transparent 60%),
311    linear-gradient(160deg, var(--tint), color-mix(in srgb, var(--tint) 60%, #000));
312}
313/* Sized by height so each screenshot's top (where marketing shots carry
314   their headline) stays in frame; the bottom runs off the edge. */
315.app-art .fan {
316  position: absolute;
317  left: 50%;
318  top: 22%;
319  height: 120%;
320  width: auto;
321  border-radius: 18px;
322  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12);
323}
324.app-art .fan-1 { transform: translateX(-50%); z-index: 2; top: 12%; }
325.app-art .fan-2 { transform: translateX(-112%) rotate(-6deg); }
326.app-art .fan-3 { transform: translateX(12%) rotate(6deg); }
327.app-art-mark {
328  position: absolute;
329  inset: auto 0 -0.18em 0.04em;
330  color: rgb(255 255 255 / 0.16);
331  font-size: clamp(64px, 14vw, 180px);
332  font-weight: 700;
333  letter-spacing: -0.05em;
334  line-height: 1;
335  white-space: nowrap;
336}
337
338.app-id { min-width: 0; }
339.app-name { font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
340.app-tagline { font-size: 17px; line-height: 1.35; color: var(--mut); margin: 6px 0 0; letter-spacing: -0.01em; }
341.app-meta {
342  font-size: 11px;
343  font-weight: 600;
344  text-transform: uppercase;
345  letter-spacing: 0.12em;
346  color: var(--dim);
347  margin: 10px 0 0;
348}
349
350/* ---- App: detail page ------------------------------------------------------ */
351.app-hero { aspect-ratio: 12 / 4.2; }
352
353.app-head {
354  display: flex;
355  align-items: flex-end;
356  gap: 24px;
357  padding: 20px 0 28px;
358  border-bottom: 2px solid var(--fg);
359}
360.app-head .app-icon {
361  margin: -76px 0 0 28px;
362  position: relative;
363  box-shadow: 0 0 0 4px var(--bg), 0 12px 32px -10px rgb(0 0 0 / 0.45);
364}
365.app-head .app-id { flex: 1; padding-bottom: 2px; }
366.app-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
367
368.app-highlights {
369  list-style: none;
370  margin: 0;
371  padding: 0;
372  display: grid;
373  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
374  border-bottom: 1px solid var(--line);
375}
376.app-highlights li { padding: 22px 24px 24px 0; }
377.app-highlights li + li { padding-left: 24px; border-left: 1px solid var(--line); }
378.app-highlights h2 {
379  font-size: 15px;
380  font-weight: 700;
381  letter-spacing: -0.01em;
382  margin: 0 0 4px;
383  padding-top: 12px;
384  border-top: 2px solid var(--ac);
385  display: inline-block;
386}
387.app-highlights p { margin: 0; color: var(--mut); font-size: 14px; }
388
389.shots {
390  display: flex;
391  gap: 20px;
392  overflow-x: auto;
393  margin: 0 calc(var(--gut) * -1);
394  padding: 32px var(--gut) 20px;
395  scroll-snap-type: x mandatory;
396  scroll-padding: 0 var(--gut);
397  -webkit-overflow-scrolling: touch;
398  scrollbar-width: thin;
399}
400.shots figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: start; }
401.shots img {
402  display: block;
403  width: 100%;
404  aspect-ratio: 640 / 1390;
405  object-fit: cover;
406  border-radius: 24px;
407  box-shadow: 0 0 0 1px var(--line), 0 16px 32px -20px rgb(0 0 0 / 0.5);
408  background: var(--hov);
409}
410.shots figcaption { color: var(--mut); font-size: 13px; margin-top: 12px; line-height: 1.4; }
411
412.app-body { margin-top: 24px; }
413.app-foot {
414  display: flex;
415  gap: 24px;
416  flex-wrap: wrap;
417  margin: 48px 0 0;
418  padding-top: 14px;
419  border-top: 1px solid var(--line);
420  font-size: 12px;
421  font-weight: 600;
422  text-transform: uppercase;
423  letter-spacing: 0.08em;
424}
425.app-foot a { color: var(--ac); }
426.app-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
427
428/* ---- App: index cards ------------------------------------------------------ */
429.apps-intro { margin-bottom: 32px; }
430.app-cards {
431  list-style: none;
432  margin: 0;
433  padding: 0;
434  display: grid;
435  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
436  gap: 40px 32px;
437}
438.app-card {
439  position: relative;
440  display: flex;
441  flex-direction: column;
442  border-bottom: 1px solid var(--line);
443}
444.app-card .app-art { aspect-ratio: 16 / 9; }
445.app-card-body { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0 0; }
446.app-card .app-name { font-size: 22px; }
447.app-card .app-tagline { font-size: 15px; margin-top: 2px; }
448.app-card .app-meta { margin-top: 8px; }
449.app-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
450.app-card-actions {
451  display: flex;
452  justify-content: space-between;
453  margin: 16px 0 0;
454  padding: 12px 0 14px;
455  font-size: 12px;
456  font-weight: 600;
457  text-transform: uppercase;
458  letter-spacing: 0.08em;
459  color: var(--mut);
460}
461.app-card-actions a { position: relative; z-index: 2; color: var(--ac); }
462.app-card-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
463.app-card .app-art .fan { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
464.app-card:hover .app-name { color: var(--ac); }
465.app-card-more { margin-left: auto; }
466.app-card:hover .app-card-more { color: var(--ac); }
467@media (prefers-reduced-motion: no-preference) {
468  .app-card:hover .fan-1 { transform: translateX(-50%) translateY(-4%); }
469  .app-card:hover .fan-2 { transform: translateX(-122%) rotate(-9deg); }
470  .app-card:hover .fan-3 { transform: translateX(22%) rotate(9deg); }
471}
472
473.dir-more { margin: 14px 0 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
474.dir-more a { color: var(--ac); }
475.dir-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
476
477@media (max-width: 760px) {
478  .app-hero { aspect-ratio: 4 / 3; margin: 0 calc(var(--gut) * -1); }
479  .app-head { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
480  .app-head .app-icon { width: 96px; height: 96px; margin: -64px 0 0 0; }
481  .app-head .app-icon-mono { font-size: 54px; }
482  .app-head .app-id { flex-basis: 100%; }
483  .app-name { font-size: 28px; }
484  .app-highlights li, .app-highlights li + li { padding: 18px 0; border-left: 0; }
485  .app-highlights li + li { border-top: 1px solid var(--line); }
486  .shots figure { width: 62vw; }
487}
488
489/* ---- Plain list (privacy index) -------------------------------------------- */
490.plainlist { list-style: none; padding: 0; margin: 20px 0 0; }
491.plainlist li {
492  position: relative;
493  display: flex;
494  align-items: center;
495  gap: 16px;
496  padding: 12px 0;
497  border-bottom: 1px solid var(--line);
498}
499.plainlist li:last-child { border-bottom: 0; }
500.pl-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
501.pl-name::after { content: ""; position: absolute; inset: 0; }
502.plainlist li:hover .pl-name { color: var(--ac); }
503.pl-desc { display: block; color: var(--mut); font-size: 14px; }
504
505/* ---- App reference strip (privacy policy pages) ----------------------------- */
506.app-ref {
507  display: grid;
508  grid-template-columns: 44px 1fr;
509  align-items: center;
510  gap: 0 14px;
511  max-width: 64ch;
512  margin: 0 0 32px;
513  padding: 14px 16px;
514  border-left: 3px solid var(--tint, var(--ac));
515  background: var(--hov);
516}
517.app-ref .app-icon { grid-row: span 2; }
518.app-ref-name { font-weight: 700; letter-spacing: -0.015em; }
519.app-ref-desc { color: var(--mut); font-size: 14px; }
520.app-ref:hover .app-ref-name { color: var(--ac); }
521
522/* ---- Footer ---------------------------------------------------------------- */
523.site-footer {
524  max-width: var(--max);
525  width: 100%;
526  margin: 0 auto;
527  padding: 20px var(--gut) 40px;
528  border-top: 1px solid var(--line);
529}
530.foot-links { font-size: 12px; color: var(--dim); margin: 0; }
531.foot-links a { color: var(--mut); }
532.foot-links a:hover { color: var(--ac); }