Spaces:
Running
Running
File size: 8,834 Bytes
8bbafb9 9bae954 8bbafb9 9bae954 8bbafb9 9bae954 8bbafb9 9bae954 8bbafb9 9bae954 af2a9a4 8bbafb9 9bae954 8bbafb9 9bae954 8bbafb9 9bae954 8bbafb9 3aa8590 8bbafb9 0cb14a1 8bbafb9 9bae954 8bbafb9 9bae954 | 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 | /* FastGPU brand: blue #2684FF, Schibsted Grotesk (display), Instrument Sans (text), JetBrains Mono (figures). */
:root {
--brand: #2684ff;
--brand-ink: #0b5fd6;
--brand-soft: rgba(38, 132, 255, 0.1);
--bg: #f7f9fc;
--panel: #ffffff;
--ink: #0f1b2d;
--muted: #5a6b82;
--line: #dfe6ef;
--good: #11845b;
--radius: 10px;
--shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 4px 16px rgba(15, 27, 45, 0.05);
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root {
--brand-ink: #7fb6ff;
--brand-soft: rgba(38, 132, 255, 0.16);
--bg: #0b111b;
--panel: #111a28;
--ink: #e8eef7;
--muted: #93a3ba;
--line: #223147;
--good: #3ccf91;
--shadow: none;
color-scheme: dark;
}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font: 400 15px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--brand-ink); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
outline: 2px solid var(--brand);
outline-offset: 2px;
}
.mono, .num, .price { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.top, main, footer { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 17px/1 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: -0.01em; }
.mark-bg { fill: var(--brand); fill-opacity: 0.1; }
.mark { fill: var(--brand); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent); }
h1 {
margin: 26px 0 8px;
font: 700 clamp(24px, 4vw, 34px)/1.15 "Schibsted Grotesk", system-ui, sans-serif;
letter-spacing: -0.02em;
text-wrap: balance;
}
.lede { margin: 0 0 20px; color: var(--muted); max-width: 62ch; }
.panel {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 16px;
}
.field-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.combo { position: relative; }
#model {
width: 100%;
font: inherit;
font-size: 16px;
color: var(--ink);
background: var(--bg);
border: 1px solid var(--line);
border-radius: 8px;
padding: 11px 12px;
}
#model::placeholder { color: var(--muted); }
#suggestions {
position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px);
margin: 0; padding: 4px; list-style: none;
background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
max-height: 340px; overflow-y: auto;
}
#suggestions li {
display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
padding: 8px 10px; border-radius: 6px; cursor: pointer;
}
#suggestions li[aria-selected="true"], #suggestions li:hover { background: var(--brand-soft); }
.opt-name { font-weight: 500; overflow-wrap: anywhere; }
.opt-meta { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.picks-label { color: var(--muted); font-size: 12.5px; margin-right: 2px; }
.chip {
font: 500 12.5px/1 "Instrument Sans", system-ui, sans-serif;
color: var(--ink); background: transparent;
border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.opts label { display: grid; gap: 5px; font-weight: 600; font-size: 13px; min-width: 0; }
.opts select {
width: 100%; min-width: 0;
font: 400 14px/1.3 "Instrument Sans", system-ui, sans-serif; color: var(--ink);
background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
}
.opts .check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.opts .check input { width: 16px; height: 16px; accent-color: var(--brand); }
.status { min-height: 1.4em; margin: 14px 2px 0; color: var(--muted); font-size: 13.5px; }
.result { margin-top: 6px; transition: opacity 0.15s ease; }
.result.loading { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { .result { transition: none; } }
.model { margin: 4px 0 14px; }
.model-id { font: 700 20px/1.25 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: -0.01em; overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
a.model-id:hover { color: var(--brand-ink); text-decoration: underline; }
.facts { margin: 4px 0 0; color: var(--muted); }
.fineprint { margin: 6px 0 0; color: var(--muted); font-size: 13px; max-width: 78ch; }
.need {
background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand);
border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px;
}
.need-num { margin: 0; font: 700 34px/1.1 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: -0.02em; }
.need-num .mono { font-weight: 500; }
.need-what { margin: 2px 0 0; font-weight: 500; }
.table-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.table-head h2 { margin: 0; font: 700 17px/1.3 "Schibsted Grotesk", system-ui, sans-serif; }
.sort { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sort button { font: 500 13px/1 "Instrument Sans", system-ui, sans-serif; color: var(--muted); background: var(--panel); border: 0; padding: 8px 11px; cursor: pointer; }
.sort button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 12px/1.2 "Instrument Sans", system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: color-mix(in srgb, var(--bg) 60%, var(--panel)); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 500; }
.num { text-align: right; white-space: nowrap; }
.setup { display: block; font-weight: 600; }
.sub { display: block; color: var(--muted); font: 400 12.5px/1.35 "Instrument Sans", system-ui, sans-serif; margin-top: 2px; }
.price { font-weight: 500; text-decoration: underline dotted; text-decoration-thickness: 1px; }
tr.cheapest .price { color: var(--good); }
tr.cheapest .num .sub { color: var(--good); }
.star { color: #c58a00; }
.rent { margin-left: 6px; font-weight: 600; color: var(--brand-ink); text-decoration: none; white-space: nowrap; }
.rent:hover { text-decoration: underline; }
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.linklike { font: inherit; color: var(--brand-ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 16px 0 0; }
.thanks { margin-top: 14px; }
.button { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 8px; }
.button:hover { background: #1a6fe0; }
footer { margin-top: 36px; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p { margin: 0 0 8px; max-width: 78ch; }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 640px) {
.opts { grid-template-columns: 1fr 1fr; }
.opts label:nth-child(3) { grid-column: 1 / -1; }
table, thead, tbody, tr, th, td { display: block; }
thead { display: none; }
table { border: 0; background: transparent; }
tbody tr { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; padding: 6px 0; display: grid; grid-template-columns: 1fr auto; }
tbody th, tbody td { border: 0; padding: 4px 12px; }
tbody th { grid-column: 1 / -1; }
.num { text-align: left; }
tbody td:nth-of-type(2)::before { content: "per month "; color: var(--muted); font-size: 12px; font-family: "Instrument Sans", system-ui, sans-serif; }
}
|