| @@ -1,84 +1,96 @@ |
| 1 | | // krz — plain-text-on-purpose. ascii frames, uppercase labels, |
| 2 | | // mono, near-black/white, mostly monochrome with one link accent. |
| 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. |
| 3 | 9 | |
| 4 | | @mixin dark { |
| 5 | | --bg: #0a0a0b; |
| 6 | | --surface: #101012; |
| 7 | | --border: #2a2a2e; |
| 8 | | --text: #f1f1ef; |
| 9 | | --muted: #9b9b9e; |
| 10 | | --dim: #6a6a6e; |
| 11 | | --blue: #6f9dff; |
| 12 | | --btn-bg: #f1f1ef; |
| 13 | | --btn-fg: #0a0a0b; |
| 14 | | --sel-bg: #6f9dff; |
| 15 | | --sel-fg: #0a0a0b; |
| 10 | @mixin light { |
| 11 | --bg: #ffffff; |
| 12 | --fg: #111113; |
| 13 | --mut: #5a5a60; |
| 14 | --dim: #6b6b72; |
| 15 | --line: #e3e3e0; |
| 16 | --hair: #cfcfca; |
| 17 | --ac: #d9291f; |
| 18 | --hov: #f6f6f4; |
| 16 | 19 | } |
| 17 | 20 | |
| 18 | | @mixin light { |
| 19 | | --bg: #fbfbf9; |
| 20 | | --surface: #ffffff; |
| 21 | | --border: #d9d8d2; |
| 22 | | --text: #17171a; |
| 23 | | --muted: #5c5c5f; |
| 24 | | --dim: #8a8a8d; |
| 25 | | --blue: #2f6bd6; |
| 26 | | --btn-bg: #17171a; |
| 27 | | --btn-fg: #fbfbf9; |
| 28 | | --sel-bg: #2f6bd6; |
| 29 | | --sel-fg: #ffffff; |
| 21 | @mixin dark { |
| 22 | --bg: #0e0e10; |
| 23 | --fg: #f2f2f0; |
| 24 | --mut: #a0a0a6; |
| 25 | --dim: #8a8a92; |
| 26 | --line: #26262a; |
| 27 | --hair: #3a3a40; |
| 28 | --ac: #ff5a4d; |
| 29 | --hov: #17171a; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | | :root { @include dark; } |
| 33 | | @media (prefers-color-scheme: light) { :root { @include light; } } |
| 32 | :root { @include light; } |
| 33 | @media (prefers-color-scheme: dark) { :root { @include dark; } } |
| 34 | 34 | |
| 35 | 35 | :root { |
| 36 | | --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace; |
| 37 | | --max: 60rem; |
| 36 | --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, |
| 37 | "Helvetica Neue", Arial, sans-serif; |
| 38 | --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| 39 | --max: 1200px; |
| 40 | --gut: 40px; |
| 38 | 41 | } |
| 39 | 42 | |
| 40 | 43 | * { box-sizing: border-box; } |
| 41 | 44 | html { -webkit-text-size-adjust: 100%; } |
| 45 | @media (prefers-reduced-motion: no-preference) { |
| 46 | html { scroll-behavior: smooth; } |
| 47 | } |
| 42 | 48 | |
| 43 | 49 | body { |
| 44 | 50 | margin: 0; |
| 45 | 51 | background: var(--bg); |
| 46 | | color: var(--muted); |
| 47 | | font-family: var(--mono); |
| 48 | | font-size: 15.5px; |
| 49 | | line-height: 1.7; |
| 52 | color: var(--fg); |
| 53 | font-family: var(--sans); |
| 54 | font-size: 15px; |
| 55 | line-height: 1.55; |
| 50 | 56 | min-height: 100vh; |
| 51 | 57 | display: flex; |
| 52 | 58 | flex-direction: column; |
| 59 | counter-reset: sec; |
| 53 | 60 | -webkit-font-smoothing: antialiased; |
| 54 | 61 | } |
| 55 | 62 | |
| 56 | | a { color: var(--blue); text-decoration: none; } |
| 57 | | a:hover { text-decoration: underline; text-underline-offset: 3px; } |
| 63 | a { color: inherit; text-decoration: none; } |
| 64 | ::selection { background: var(--ac); color: #fff; } |
| 65 | :focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; } |
| 58 | 66 | |
| 59 | | ::selection { background: var(--sel-bg); color: var(--sel-fg); } |
| 60 | | :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } |
| 67 | // Anchored sections must clear the sticky-free header on jump. |
| 68 | :target { scroll-margin-top: 24px; } |
| 61 | 69 | |
| 62 | 70 | // ---- Header ---------------------------------------------------------------- |
| 63 | 71 | .site-header { |
| 64 | 72 | display: flex; |
| 65 | | align-items: center; |
| 73 | align-items: baseline; |
| 66 | 74 | justify-content: space-between; |
| 67 | 75 | gap: 1rem; |
| 68 | 76 | flex-wrap: wrap; |
| 69 | 77 | max-width: var(--max); |
| 70 | 78 | width: 100%; |
| 71 | 79 | margin: 0 auto; |
| 72 | | padding: 1.5rem 1.25rem; |
| 73 | | border-bottom: 1px solid var(--border); |
| 80 | padding: 28px var(--gut) 20px; |
| 81 | border-bottom: 2px solid var(--fg); |
| 74 | 82 | } |
| 75 | | .brand { color: var(--text); font-weight: 700; letter-spacing: -0.01em; } |
| 76 | | .brand:hover { text-decoration: none; } |
| 77 | | |
| 78 | | .site-nav { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; } |
| 79 | | .site-nav a { color: var(--muted); } |
| 80 | | .site-nav a:hover { color: var(--text); text-decoration: none; } |
| 81 | | .sep { color: var(--dim); } |
| 83 | .brand { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; } |
| 84 | .site-nav { |
| 85 | display: flex; |
| 86 | gap: 26px; |
| 87 | font-size: 12px; |
| 88 | font-weight: 600; |
| 89 | text-transform: uppercase; |
| 90 | letter-spacing: 0.12em; |
| 91 | } |
| 92 | .site-nav a { color: var(--mut); } |
| 93 | .site-nav a:hover { color: var(--ac); } |
| 82 | 94 | |
| 83 | 95 | // ---- Main ------------------------------------------------------------------ |
| 84 | 96 | .site-main { |
| @@ -86,174 +98,187 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; } |
| 86 | 98 | max-width: var(--max); |
| 87 | 99 | width: 100%; |
| 88 | 100 | margin: 0 auto; |
| 89 | | padding: 3rem 1.25rem 4rem; |
| 101 | padding: 56px var(--gut) 72px; |
| 90 | 102 | } |
| 91 | 103 | |
| 92 | | // ---- Hero ------------------------------------------------------------------ |
| 93 | | .tagline { color: var(--muted); font-size: 1rem; margin: 0 0 2rem; } |
| 94 | | |
| 95 | | .btn { |
| 96 | | display: inline-block; |
| 97 | | font-family: var(--mono); |
| 98 | | font-size: 0.92rem; |
| 99 | | padding: 0.6rem 1.1rem; |
| 100 | | border: 1px solid var(--border); |
| 101 | | color: var(--text); |
| 102 | | background: transparent; |
| 104 | .tagline { |
| 105 | font-size: 28px; |
| 106 | line-height: 1.25; |
| 107 | letter-spacing: -0.025em; |
| 108 | font-weight: 500; |
| 109 | max-width: 19ch; |
| 110 | margin: 0 0 72px; |
| 103 | 111 | } |
| 104 | | .btn:hover { text-decoration: none; border-color: var(--dim); } |
| 105 | | .btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); } |
| 106 | | .btn-primary:hover { opacity: 0.88; border-color: var(--btn-bg); } |
| 107 | 112 | |
| 108 | | // ---- Directory (home + services) ------------------------------------------- |
| 109 | | .dir { margin: 2.5rem 0 0; } |
| 113 | // ---- Numbered sections ----------------------------------------------------- |
| 114 | .sec { counter-increment: sec; margin: 0 0 64px; } |
| 115 | .sec:last-child { margin-bottom: 0; } |
| 110 | 116 | |
| 111 | | .dir-label { |
| 112 | | color: var(--muted); |
| 113 | | font-size: 0.8rem; |
| 117 | .sec-label { |
| 118 | display: flex; |
| 119 | align-items: baseline; |
| 120 | gap: 14px; |
| 121 | font-size: 11px; |
| 114 | 122 | font-weight: 700; |
| 115 | 123 | text-transform: uppercase; |
| 116 | | letter-spacing: 0.18em; |
| 117 | | margin: 0; |
| 118 | | padding-bottom: 0.6rem; |
| 119 | | border-bottom: 1px solid var(--border); |
| 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); |
| 120 | 129 | } |
| 130 | .sec-label::before { content: counter(sec, decimal-leading-zero); color: var(--ac); } |
| 121 | 131 | |
| 122 | | .dir-list { list-style: none; padding: 0; margin: 0; } |
| 123 | | .dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 2rem; } |
| 124 | | .dir-item { border-bottom: 1px solid var(--border); } |
| 125 | | |
| 126 | | .dir-row { |
| 127 | | display: block; |
| 128 | | padding: 0.7rem 0.6rem; |
| 129 | | margin: 0 -0.6rem; |
| 130 | | color: var(--muted); |
| 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 2px; |
| 131 | 139 | } |
| 132 | | .dir-row:hover { background: var(--surface); text-decoration: none; } |
| 133 | | .dir-row:hover .dir-name { color: var(--blue); } |
| 140 | .dir-group:first-of-type .sec-sub { margin-top: 20px; } |
| 134 | 141 | |
| 135 | | .dir-head { display: flex; align-items: baseline; gap: 0.75rem; } |
| 136 | | .dir-name { color: var(--text); font-weight: 700; } |
| 137 | | .dir-host { color: var(--dim); font-size: 0.78rem; margin-left: auto; } |
| 138 | | .dir-desc { |
| 139 | | display: block; |
| 140 | | color: var(--muted); |
| 141 | | font-size: 0.86rem; |
| 142 | | line-height: 1.5; |
| 143 | | margin-top: 0.1rem; |
| 142 | // ---- Directory rows -------------------------------------------------------- |
| 143 | // The name column is fixed so names align down the page; long descriptions |
| 144 | // wrap inside their own cell rather than pushing the grid out of true. |
| 145 | .dir { list-style: none; margin: 0; padding: 0; } |
| 146 | .dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 48px; } |
| 147 | .dir-item { border-bottom: 1px solid var(--line); } |
| 148 | |
| 149 | .dir-row { |
| 150 | display: grid; |
| 151 | grid-template-columns: 150px 1fr auto; |
| 152 | align-items: baseline; |
| 153 | gap: 4px 20px; |
| 154 | padding: 11px 8px 11px 0; |
| 144 | 155 | } |
| 156 | .dir-name { font-weight: 600; letter-spacing: -0.01em; } |
| 157 | .dir-desc { color: var(--mut); font-size: 14px; } |
| 158 | .dir-host { font-family: var(--mono); font-size: 11.5px; color: var(--dim); } |
| 159 | .dir-item:hover { background: var(--hov); } |
| 160 | .dir-item:hover .dir-name { color: var(--ac); } |
| 145 | 161 | |
| 146 | | .dir-item-app { display: flex; flex-direction: column; align-items: flex-start; } |
| 147 | | .dir-item-app .dir-row { width: 100%; } |
| 162 | .dir-item-app { display: flex; align-items: baseline; gap: 24px; } |
| 163 | .dir-item-app .dir-row { flex: 1; grid-template-columns: 150px 1fr; min-width: 0; } |
| 148 | 164 | .dir-actions { |
| 149 | 165 | display: flex; |
| 150 | | gap: 1.1rem; |
| 151 | | font-size: 0.84rem; |
| 152 | | padding: 0 0 0.75rem; |
| 166 | gap: 20px; |
| 167 | font-size: 12px; |
| 168 | font-weight: 600; |
| 169 | text-transform: uppercase; |
| 170 | letter-spacing: 0.08em; |
| 171 | white-space: nowrap; |
| 153 | 172 | } |
| 173 | .dir-actions a { color: var(--ac); } |
| 174 | .dir-actions a:hover { text-decoration: underline; text-underline-offset: 3px; } |
| 154 | 175 | |
| 155 | | @media (min-width: 44rem) { |
| 156 | | .dir-item-app { flex-direction: row; align-items: center; gap: 1.5rem; } |
| 157 | | .dir-item-app .dir-row { flex: 1; min-width: 0; } |
| 158 | | .dir-actions { white-space: nowrap; padding: 0; } |
| 176 | @media (min-width: 1000px) { |
| 177 | .dir-grid { grid-template-columns: 1fr 1fr; } |
| 159 | 178 | } |
| 160 | 179 | |
| 161 | | @media (min-width: 48rem) { |
| 162 | | .dir-grid { grid-template-columns: 1fr 1fr; } |
| 180 | @media (max-width: 760px) { |
| 181 | :root { --gut: 20px; } |
| 182 | .tagline { font-size: 22px; max-width: none; margin-bottom: 48px; } |
| 183 | .dir-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } |
| 184 | .dir-item-app { display: block; } |
| 185 | .dir-item-app .dir-row { grid-template-columns: 1fr; } |
| 186 | .dir-actions { padding: 0 0 12px; } |
| 163 | 187 | } |
| 164 | 188 | |
| 165 | | .home-note { |
| 166 | | margin: 3.5rem 0 0; |
| 167 | | padding-top: 1.5rem; |
| 168 | | border-top: 1px solid var(--border); |
| 169 | | font-size: 0.88rem; |
| 189 | // ---- Prose (app detail, privacy, home about) ------------------------------- |
| 190 | .prose { max-width: 64ch; } |
| 191 | .prose p { margin: 0 0 14px; } |
| 192 | .prose a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; } |
| 193 | .prose strong { font-weight: 600; } |
| 194 | .prose ul { list-style: none; padding-left: 0; margin: 14px 0; } |
| 195 | .prose li { margin: 6px 0; padding-left: 20px; position: relative; color: var(--mut); } |
| 196 | .prose li::before { |
| 197 | content: ""; position: absolute; left: 0; top: 0.62em; |
| 198 | width: 8px; height: 1px; background: var(--ac); |
| 170 | 199 | } |
| 171 | | .home-note p { margin: 0; } |
| 200 | .prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; } |
| 172 | 201 | |
| 173 | | // ---- Prose ----------------------------------------------------------------- |
| 174 | | .prose { max-width: 44rem; } |
| 175 | 202 | .page-label { |
| 176 | | color: var(--text); |
| 177 | | font-size: 1rem; |
| 203 | font-size: 11px; |
| 178 | 204 | font-weight: 700; |
| 179 | 205 | text-transform: uppercase; |
| 180 | | letter-spacing: 0.2em; |
| 181 | | margin: 0 0 1.75rem; |
| 206 | letter-spacing: 0.16em; |
| 207 | margin: 0 0 16px; |
| 208 | padding-bottom: 10px; |
| 209 | border-bottom: 1px solid var(--fg); |
| 182 | 210 | } |
| 183 | 211 | .prose h2 { |
| 184 | | color: var(--muted); |
| 185 | | font-size: 0.82rem; |
| 212 | font-size: 11px; |
| 186 | 213 | font-weight: 700; |
| 187 | 214 | text-transform: uppercase; |
| 188 | | letter-spacing: 0.18em; |
| 189 | | margin: 2.5rem 0 0.85rem; |
| 215 | letter-spacing: 0.14em; |
| 216 | color: var(--dim); |
| 217 | margin: 40px 0 10px; |
| 218 | } |
| 219 | .lede { |
| 220 | font-size: 22px; |
| 221 | line-height: 1.3; |
| 222 | letter-spacing: -0.02em; |
| 223 | font-weight: 500; |
| 224 | color: var(--fg); |
| 225 | margin: 0 0 24px; |
| 226 | max-width: 34ch; |
| 190 | 227 | } |
| 191 | | .prose p { margin: 0 0 1rem; } |
| 192 | | .prose a { color: var(--blue); } |
| 193 | | .prose strong { color: var(--text); font-weight: 700; } |
| 194 | | .prose ul { list-style: none; padding-left: 0; margin: 1rem 0; } |
| 195 | | .prose li { margin: 0.4rem 0; padding-left: 1.3rem; position: relative; } |
| 196 | | .prose li::before { content: "-"; position: absolute; left: 0; color: var(--dim); } |
| 197 | | .prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; } |
| 198 | | .prose .lede { color: var(--muted); margin: -0.5rem 0 1.25rem; } |
| 199 | 228 | |
| 200 | | .back { font-size: 0.9rem; margin: 0 0 1.5rem; } |
| 201 | | .back a { color: var(--muted); } |
| 229 | .back { font-size: 12px; font-weight: 600; text-transform: uppercase; |
| 230 | letter-spacing: 0.1em; margin: 0 0 28px; } |
| 231 | .back a { color: var(--mut); } |
| 232 | .back a:hover { color: var(--ac); } |
| 202 | 233 | |
| 203 | 234 | // ---- App page: actions + screenshots --------------------------------------- |
| 204 | | .app-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 1rem; } |
| 205 | | .prose a.btn { color: var(--text); } |
| 206 | | .prose a.btn-primary { color: var(--btn-fg); } |
| 207 | | .privacy-link { font-size: 0.9rem; margin: 0.25rem 0 0; } |
| 235 | .app-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; } |
| 236 | .btn { |
| 237 | display: inline-block; |
| 238 | font-family: var(--sans); |
| 239 | font-size: 12px; |
| 240 | font-weight: 600; |
| 241 | text-transform: uppercase; |
| 242 | letter-spacing: 0.08em; |
| 243 | padding: 10px 18px; |
| 244 | border: 1px solid var(--hair); |
| 245 | color: var(--fg); |
| 246 | } |
| 247 | .btn:hover { border-color: var(--fg); } |
| 248 | .btn-primary { background: var(--ac); border-color: var(--ac); color: #fff; } |
| 249 | .btn-primary:hover { opacity: 0.88; border-color: var(--ac); } |
| 250 | .prose a.btn { color: var(--fg); text-decoration: none; } |
| 251 | .prose a.btn-primary { color: #fff; } |
| 252 | .privacy-link { font-size: 13px; margin: 12px 0 0; } |
| 208 | 253 | |
| 209 | 254 | .shots { |
| 210 | 255 | display: flex; |
| 211 | | gap: 0.85rem; |
| 256 | gap: 14px; |
| 212 | 257 | overflow-x: auto; |
| 213 | | margin: 1.5rem 0 0.5rem; |
| 214 | | padding-bottom: 0.75rem; |
| 258 | margin: 20px 0 8px; |
| 259 | padding-bottom: 12px; |
| 215 | 260 | scroll-snap-type: x mandatory; |
| 216 | 261 | -webkit-overflow-scrolling: touch; |
| 217 | 262 | } |
| 218 | | .shots figure { flex: 0 0 auto; width: 11rem; margin: 0; scroll-snap-align: start; } |
| 219 | | .shots img { |
| 220 | | display: block; |
| 221 | | width: 100%; |
| 222 | | height: auto; |
| 223 | | border: 1px solid var(--border); |
| 224 | | background: var(--surface); |
| 225 | | } |
| 226 | | .shots figcaption { color: var(--dim); font-size: 0.8rem; margin-top: 0.55rem; line-height: 1.4; } |
| 263 | .shots figure { flex: 0 0 auto; width: 176px; margin: 0; scroll-snap-align: start; } |
| 264 | .shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); } |
| 265 | .shots figcaption { color: var(--dim); font-size: 12px; margin-top: 8px; line-height: 1.4; } |
| 227 | 266 | |
| 228 | | // ---- Plain list (services / apps) ------------------------------------------ |
| 229 | | .plainlist { list-style: none; padding: 0; margin: 1.5rem 0 0; } |
| 230 | | .plainlist li { |
| 231 | | padding: 0.85rem 0; |
| 232 | | border-bottom: 1px solid var(--border); |
| 233 | | display: flex; |
| 234 | | flex-direction: column; |
| 235 | | gap: 0.4rem; |
| 236 | | } |
| 267 | // ---- Plain list (privacy index) -------------------------------------------- |
| 268 | .plainlist { list-style: none; padding: 0; margin: 20px 0 0; } |
| 269 | .plainlist li { padding: 11px 0; border-bottom: 1px solid var(--line); } |
| 237 | 270 | .plainlist li:last-child { border-bottom: 0; } |
| 238 | | .pl-main { color: var(--muted); } |
| 239 | | .pl-name { color: var(--text); font-weight: 700; } |
| 240 | | .pl-desc { color: var(--muted); } |
| 241 | | .pl-links { display: flex; gap: 1.1rem; font-size: 0.88rem; } |
| 242 | | .pl-link { color: var(--blue); } |
| 243 | | |
| 244 | | @media (min-width: 40rem) { |
| 245 | | .plainlist li { flex-direction: row; align-items: baseline; gap: 1rem; } |
| 246 | | .pl-links { margin-left: auto; white-space: nowrap; } |
| 247 | | } |
| 271 | .pl-name { font-weight: 600; } |
| 272 | .pl-desc { color: var(--mut); font-size: 14px; } |
| 248 | 273 | |
| 249 | 274 | // ---- Footer ---------------------------------------------------------------- |
| 250 | 275 | .site-footer { |
| 251 | 276 | max-width: var(--max); |
| 252 | 277 | width: 100%; |
| 253 | 278 | margin: 0 auto; |
| 254 | | padding: 1.5rem 1.25rem 2.5rem; |
| 255 | | border-top: 1px solid var(--border); |
| 279 | padding: 20px var(--gut) 40px; |
| 280 | border-top: 1px solid var(--line); |
| 256 | 281 | } |
| 257 | | .foot-links { color: var(--dim); font-size: 0.85rem; margin: 0; } |
| 258 | | .foot-links a { color: var(--muted); } |
| 259 | | .foot-links a:hover { color: var(--text); } |
| 282 | .foot-links { font-size: 12px; color: var(--dim); margin: 0; } |
| 283 | .foot-links a { color: var(--mut); } |
| 284 | .foot-links a:hover { color: var(--ac); } |