@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/inter.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fafaf8;
  --card: #ffffff;
  --fg: #1c1c1b;
  --text: #55554f;
  --line: #e6e5e0;
  --soft: #f1f0ec;
  --term: #161616;
  --teal: rgb(56 150 170 / .2);
  --blue: rgb(82 119 195 / .18);
  --blue-fg: #2d4f9a;
  --flash: #3896aa;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171717;
    --card: #1b1b1b;
    --fg: #ededeb;
    --text: #a9a9a4;
    --line: #2c2c2b;
    --soft: #232322;
    --term: #101010;
    --teal: rgb(56 150 170 / .35);
    --blue: rgb(82 119 195 / .4);
    --blue-fg: #dbe5fb;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s;
}

::selection { background: var(--teal); color: var(--fg); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--flash); outline-offset: 2px; border-radius: 0; }

main {
  max-width: 704px;
  margin: 0 auto;
  padding: clamp(48px, 14vh, 160px) 16px 80px;
}

.mono, .caption, .term { font-family: "JetBrains Mono", ui-monospace, monospace; }

.top { display: flex; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 0; object-fit: cover; }

.intro { margin-top: 28px; }
h1 { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--fg); }
.intro p + p { margin-top: 24px; }
.intro p { font-size: 17px; text-wrap: pretty; }

.chip {
  padding: 1px 3px;
  border-radius: 0;
  transition: filter .15s;
}
.chip:hover { filter: brightness(1.15); }
.blue { background: var(--blue); color: var(--blue-fg); }

hr {
  margin: 48px 0 52px;
  border: 0;
  border-top: 2px dotted var(--line);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  position: relative;
  min-height: 328px;
  padding: 20px;
  border-radius: 0;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card h2 { font-size: 15px; font-weight: 400; color: var(--text); }
.wide { grid-column: 1 / -1; min-height: 0; }

.projects { padding: 0; background: var(--term); border-color: var(--line); }
.term {
  height: 100%;
  padding: 16px 20px 20px;
  font-size: 13px;
  line-height: 1.9;
  color: #c9c9c4;
}
.prompt { color: #9ad18b; }
.more { color: #7fc6d6; text-decoration: underline; text-decoration-color: rgb(127 198 214 / .4); text-underline-offset: 3px; transition: color .1s, text-decoration-color .1s; }
.more:hover, .more:focus-visible { color: #fff; text-decoration-color: #fff; }
.note { color: #94948e; font-size: 12px; }
@keyframes blink { 50% { opacity: 0; } }

.time { display: flex; flex-direction: column; }
.stack { position: relative; flex: 1; display: flex; flex-direction: column; margin: 28px -21px -21px 0; padding-top: 22px; }
.stack::before, .stack::after, .frame {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
}
.stack::before, .stack::after { content: ""; position: absolute; right: -1px; bottom: 0; }
.stack::before { top: 0;  left: 32px; }
.stack::after  { top: 10px; left: 26px; }
.frame { position: relative; z-index: 1; flex: 1; padding: 12px 12px 10px; border-right: 0; border-bottom: 0; display: flex; flex-direction: column; }
.clock {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-radius: 0;
  background: var(--soft);
  font: 500 clamp(44px, 8vw, 60px)/1 "JetBrains Mono", ui-monospace, monospace;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.clock .sep { animation: blink 2s steps(1) infinite; }
.caption { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg); }

.toolbox { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.toolbox h2 { text-align: center; font-size: 20px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 16px 24px; align-items: center; }
.specs dt { font: 13px "JetBrains Mono", ui-monospace, monospace; color: var(--text); }
.specs dt::after { content: ":"; }
.specs dd { display: flex; flex-wrap: wrap; gap: 16px; }
.logo { width: 32px; height: 32px; object-fit: contain; }
@media (prefers-color-scheme: dark) {
  .logo.mono { filter: invert(1); }
}


.hosted { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.remotes { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.remotes a { color: var(--text); transition: color .15s; }
.remotes a:hover { color: var(--fg); }
.remotes b { font-weight: 500; color: var(--fg); }

.back { font-size: 14px; color: var(--text); transition: color .15s; }
.back:hover { color: var(--fg); }

.tools { display: flex; flex-direction: column; gap: 16px; }
.tool {
  min-height: 0;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  transition: border-color .15s;
}
.tool:hover, .tool:focus-visible { border-color: var(--text); }
.tool h2 { font: 500 15px/1.5 "JetBrains Mono", ui-monospace, monospace; color: var(--fg); }
.tool p { font-size: 14px; line-height: 1.5; }
.tool .tag { margin-left: 8px; padding: 1px 6px; font-size: 11px; font-weight: 400; vertical-align: 1px; color: var(--text); background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }
.tool .url { font-size: 13px; color: var(--text); transition: color .15s; }
.tool:hover .url { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .clock .sep { animation: none; }
}

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .wide, .tool { min-height: 0; }
  .tool { grid-template-columns: 32px 1fr; }
  .tool .url { grid-column: 2; }
  .intro p, h1 { font-size: 16px; }
}

:root {
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='160%25' height='160%25'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='1' flood-opacity='.35'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M3.5 3.5L20 12.6l-8.6 2.5-4.4 7.4z' fill='%232c2c2c' stroke='%23fff' stroke-width='3.4' stroke-linejoin='round' paint-order='stroke' filter='url%28%23s%29'/%3E%3C/svg%3E") 3 3, default;
  --cursor-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='160%25' height='160%25'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='1' flood-opacity='.35'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M3.5 3.5L20 12.6l-8.6 2.5-4.4 7.4z' fill='%232c2c2c' stroke='%23fff' stroke-width='3.4' stroke-linejoin='round' paint-order='stroke' filter='url%28%23s%29'/%3E%3Ccircle cx='19' cy='24' r='6' fill='%232f80ed' stroke='%23fff' stroke-width='1.3'/%3E%3Cpath d='M19 24v-5.35A5.35 5.35 0 0 0 13.65 24zM19 24v5.35A5.35 5.35 0 0 0 24.35 24z' fill='%239cc9ff'/%3E%3C/svg%3E") 3 3, pointer;
  --cursor-blocked: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='160%25' height='160%25'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='1' flood-opacity='.35'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M3.5 3.5L20 12.6l-8.6 2.5-4.4 7.4z' fill='%232c2c2c' stroke='%23fff' stroke-width='3.4' stroke-linejoin='round' paint-order='stroke' filter='url%28%23s%29'/%3E%3Ccircle cx='19' cy='24' r='6' fill='%23fff' stroke='%238e8e93' stroke-width='1.6'/%3E%3Cpath d='M15.3 20.3l7.4 7.4' stroke='%238e8e93' stroke-width='1.6'/%3E%3C/svg%3E") 3 3, not-allowed;
}
html, * { cursor: var(--cursor); }
a, a *, button, [role="button"], label, select, summary { cursor: var(--cursor-link); }
input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]), textarea, [contenteditable] { cursor: text; }
:disabled, [aria-disabled="true"] { cursor: var(--cursor-blocked); }
