
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(../assets/fonts/Onest-Regular.ttf) format("truetype"); }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(../assets/fonts/Onest-Medium.ttf) format("truetype"); }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(../assets/fonts/Onest-SemiBold.ttf) format("truetype"); }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(../assets/fonts/Onest-Bold.ttf) format("truetype"); }


@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }


:root {
  --accent: #5cc0ff;
  --accent-ink: #06121c;
  --sheet: #0b0b0d;  
  --card: #101013;   
  --pop: #0b0b0e;    
  --ring: #1a1a1f;
  --well: #050506;   --well-ring: #131317;
  --rail-ring: #1b1b20;
  --chrome: #0f0f12;
  --ink: #f5f7fb;
  --ink2: rgb(245 247 251 / .68);
  
  --ink3: rgb(245 247 251 / .52);
  --good: #5fe39a; --warn: #ffc35c;

  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --ease-out: cubic-bezier(0, 0, .58, 1);
  --mac-open: cubic-bezier(.16, 1, .3, 1);
  --gap: 14px;
  --top: 92px; 
}
@property --t { syntax: "<number>"; inherits: false; initial-value: 0; }

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--sheet);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none; 
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--sheet);
  color: var(--ink);
  font: 400 15px/1.55 Onest, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: color-mix(in oklab, var(--accent) 40%, transparent); }
[hidden] { display: none !important; }


.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}


.skip {
  position: fixed; z-index: 60;
  top: 10px; left: 50%;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transform: translate(-50%, -160%);
  transition: transform .18s var(--ease-out);
}
.skip:focus { transform: translate(-50%, 0); outline: 2px solid var(--ink); outline-offset: 2px; }



body::before {
  content: "";
  position: fixed; z-index: 44;
  top: 0; left: 0; right: 0;
  height: 86px;
  background: var(--sheet);
  pointer-events: none;
}
.me {
  position: fixed; z-index: 46;
  top: 26px; right: 18px; 
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 700 12px/1 Onest, sans-serif;
  color: #2a0f14;
  background: #ff7a6b; 
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .5);
  user-select: none;
  transition: transform .3s var(--spring);
  view-transition-name: me;
}
.me:hover { transform: scale(1.06); }
.me:active { transform: scale(.96); }
.me:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.me.pic { background-color: var(--card); background-size: cover; background-position: center; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .1); }
.me[aria-current="page"] { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 3.5px rgb(255 255 255 / .7), inset 0 1px 0 rgb(255 255 255 / .5); }


.dock {
  position: fixed;
  z-index: 45;
  top: 0; left: 0;
  width: 100%; height: 0;
  transform-origin: 50% 0;
  user-select: none;
  -webkit-user-select: none;
  view-transition-name: dock;
}
.dock > * { position: absolute; top: 0; left: 0; }
.dock-bar {
  height: 64px; 
  border-radius: 20px;
  background: var(--sheet);
  box-shadow: 0 12px 30px -8px rgb(0 0 0 / .5), inset 0 1px 0 rgb(255 255 255 / .09), inset 0 0 0 1px var(--ring);
}
.dock-tile {
  --lit: 0; --top: #101013;
  width: 46px; height: 46px;
  transform-origin: 0 0;
  border-radius: 22.37%; 
  background: var(--top); 
  box-shadow:
    0 2.3px 9.2px -1.84px rgb(0 0 0 / .45),
    inset 0 1px 0 rgb(255 255 255 / .1),
    inset 0 0 0 1px rgb(255 255 255 / calc(.07 + .05 * var(--lit)));
  color: var(--ink2);
  cursor: pointer;
}
.dock-tile > * { position: absolute; inset: 11.5px; width: 23px; height: 23px; } 
.dock-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dock-tile[aria-current="page"] { color: var(--ink); }
.dock-tile::after { 
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: #000;
  opacity: var(--press, 0);
}
.dock-div { width: 1px; height: 30px; background: rgb(255 255 255 / .14); }
.dock-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ink); opacity: 0; }
.dock-label {
  height: 25px;
  padding: 0 11px;
  border-radius: 8px;
  display: grid; place-items: center;
  white-space: nowrap;
  font: 600 12.5px/1 Onest, sans-serif;
  color: var(--ink);
  background: var(--pop);
  box-shadow: 0 5px 14px -3px rgb(0 0 0 / .4), inset 0 0 0 1px rgb(255 255 255 / .12);
  pointer-events: none;
  opacity: 0;
}
.dock-label::before { 
  content: "";
  position: absolute; left: 50%; top: -5px;
  margin-left: -6px;
  border: 6px solid transparent; border-top: 0;
  border-bottom: 5.5px solid var(--pop);
}


svg.g { display: block; fill: currentColor; fill-rule: evenodd; }
svg.g.line { fill: none; stroke: currentColor; stroke-width: 1.98; stroke-linecap: round; stroke-linejoin: round; }


.banners { position: fixed; z-index: 60; right: 16px; bottom: 16px; width: 344px; max-width: calc(100vw - 32px); pointer-events: none; }
.banner {
  position: absolute; right: 0; bottom: 0;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px 13px 60px;
  border-radius: 18px;
  background: var(--pop);
  box-shadow: 0 10px 26px -6px rgb(0 0 0 / .35), inset 0 0 0 1px var(--ring);
  pointer-events: auto;
  opacity: 0;
  transform: translate(40px, var(--y, 0px)) scale(.96);
  transition: opacity .5s var(--mac-open), transform .5s var(--mac-open);
}
.banner.in { opacity: 1; transform: translate(0, var(--y, 0px)) scale(1); }
.banner.out { opacity: 0; transform: translate(0, var(--y, 0px)) scale(.92); transition-duration: .3s; transition-timing-function: ease; }
.banner.in:not(.out) { transition: opacity .5s var(--mac-open), transform .35s var(--ease-out); }
.banner .ic {
  position: absolute; left: 14px; top: 50%; margin-top: -17px;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  font: 700 17px/1 Onest, sans-serif; font-style: normal; color: #fff;
  background: var(--tile);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
}
.banner .ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.banner b { display: block; padding-right: 36px; font: 600 13.5px/1.35 Onest, sans-serif; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner span { display: block; margin-top: 2px; font: 400 12.5px/1.35 Onest, sans-serif; color: var(--ink2); }
.banner time { position: absolute; right: 14px; top: 14.5px; font: 400 11.5px/1.35 Onest, sans-serif; color: var(--ink3); }



.panel {
  border-radius: 28px;
  background: var(--sheet);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .65), inset 0 0 0 1px var(--ring);
}

.card {
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ring);
}
.card h3 { margin: 0 0 6px; font-weight: 600; font-size: 15.5px; }
.card p { margin: 0; color: var(--ink2); font-size: 14px; }
.label { margin: 0 0 12px; font: 600 12.5px/1 Onest, sans-serif; color: var(--ink3); }

.well {
  border-radius: 14px;
  background: rgb(255 255 255 / .025);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .04);
  overflow: hidden;
}
.row {
  position: relative;
  min-height: 48px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink2);
}
.row + .row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: rgb(255 255 255 / .07); }
.row > :first-child { flex: 1; min-width: 0; }
.row .val { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }


.ptile {
  flex: none;
  display: grid; place-items: center;
  border-radius: 22.37%;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .07);
}
.ptile > * { width: 50%; height: 50%; }
.ptile > img { width: auto; height: 62%; } 



.pill {
  height: 38px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px;
  font: 600 13.5px/1 Onest, sans-serif;
  color: var(--ink);
  background: rgb(255 255 255 / .08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .06);
  transition: transform .12s, filter .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.pill:hover { background: rgb(255 255 255 / .13); }
.pill:active { transform: scale(.97); }
.pill.pri { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }
.pill.pri:hover { filter: brightness(1.08); }
.pill.pri:active { filter: brightness(.92); transform: scale(.98); }
.pill.big { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
.pill:disabled { opacity: .4; pointer-events: none; }
.pill:focus-visible { outline: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 2px var(--accent); }


.field {
  position: relative;
  height: 40px;
  display: flex; align-items: center;
  border-radius: 10px;
  background: var(--well);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / .25), inset 0 0 0 1px rgb(255 255 255 / .06);
  transition: box-shadow .2s;
}
.field:focus-within { box-shadow: inset 0 2px 5px rgb(0 0 0 / .25), inset 0 0 0 1px var(--accent); }
.field.bad { box-shadow: inset 0 2px 5px rgb(0 0 0 / .25), inset 0 0 0 1px var(--warn); }
.field input {
  flex: 1; min-width: 0; height: 100%;
  padding: 0 12px;
  border: 0; outline: 0; background: none;
  font-size: 13.5px;
  color: var(--ink);
  caret-color: var(--ink);
}
.field input::placeholder { color: var(--ink3); }
.field > svg { flex: none; width: 16px; height: 16px; margin-left: 12px; fill: none; stroke: var(--ink3); stroke-width: 2; stroke-linecap: round; }
.field > svg + input { padding-left: 8px; }
.field .icon-btn {
  flex: none; width: 28px; height: 28px; margin-right: 8px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px; background: none;
  color: var(--ink3);
  transition: color .15s;
}
.field .icon-btn:hover { color: var(--ink); }
.field .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }


.toggle {
  --t: 0; --x: 0px;
  position: relative; flex: none;
  width: 44px; height: 24px; padding: 0;
  border: 0; border-radius: 12px;
  background: color-mix(in oklab, var(--accent) calc(var(--t) * 100%), rgb(255 255 255 / .14));
  box-shadow: inset 0 1px 3px rgb(0 0 0 / .25);
  transition: --t .25s;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.toggle[aria-checked="true"] { --t: 1; --x: 20px; }
.toggle i {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgb(0 0 0 / .2), inset 0 -1px 0 rgb(0 0 0 / .08);
  transform: translateX(var(--x));
  transition: transform .35s var(--spring), background .3s, box-shadow .3s, scale .3s var(--spring);
}
.toggle.held i { 
  scale: 1.7 1.4;
  background: rgb(255 255 255 / .22);
  backdrop-filter: saturate(1.6) brightness(1.1);
  box-shadow: 0 5px 14px rgb(0 0 0 / .22), inset 0 .6px 0 rgb(255 255 255 / .75), inset 0 -.6px 0 rgb(255 255 255 / .3), inset 0 0 0 .6px rgb(255 255 255 / .45);
}
.toggle.dragging, .toggle.dragging i { transition: background .3s, box-shadow .3s, scale .3s var(--spring); }
.toggle:focus-visible { outline: none; box-shadow: inset 0 1px 3px rgb(0 0 0 / .25), 0 0 0 2px var(--accent); }


.seg {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border-radius: 13px;
  background: var(--chrome);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px var(--rail-ring);
  touch-action: none;
  user-select: none;
}
.seg.full { display: flex; }
.seg.full > button { flex: 1; }
.seg > button {
  position: relative; z-index: 1;
  height: 32px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; background: none;
  font: 500 13px/1 Onest, sans-serif;
  color: var(--ink2);
  transition: color .2s;
  white-space: nowrap;
}
.seg > button:hover { color: var(--ink); }
.seg > button[aria-pressed="true"] { color: var(--accent); }
.seg > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
.seg > button > svg { flex: none; width: 15px; height: 15px; }
.seg-thumb {
  position: absolute; top: 2px; left: 0;
  height: calc(100% - 4px);
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), inset 0 0 0 1px color-mix(in oklab, var(--accent) 35%, transparent);
  transition: transform .45s var(--spring), width .45s var(--spring), opacity .18s;
  pointer-events: none;
}

.seg.held .seg-thumb { opacity: 0; }
.seg.dragging .seg-thumb { transition: opacity .18s; }
.seg-lens { border-radius: 13px; }
.seg.held .seg-lens { opacity: 1; scale: 1; }

.seg.quiet { background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.seg.quiet > button { padding: 0 8px; color: var(--ink3); font-weight: 500; }
.seg.quiet > button:hover { color: var(--ink2); }
.seg.quiet > button[aria-pressed="true"] { color: var(--ink); }
.seg.quiet .seg-thumb { background: rgb(255 255 255 / .08); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 1px 2px rgb(0 0 0 / .3); }


.eye .strike { transition: opacity .15s; }
.eye[aria-pressed="true"] .strike { opacity: 0; }

.link { color: var(--accent); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }


.lens {
  position: absolute; left: 0; top: 0; z-index: 2;
  overflow: hidden;
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / .55), 0 2px 6px rgb(0 0 0 / .3);
  opacity: 0; scale: .94;
  transition: opacity .18s var(--ease-out), scale .35s var(--spring);
  pointer-events: none;
}
.lens > .lens-in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--sheet); }
.lens .mag { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.lens .mag > * { position: absolute !important; left: 0 !important; top: 0 !important; margin: 0 !important; }
.lens::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / .025);
  box-shadow:
    inset 1px 1.5px 0 rgb(255 255 255 / .6),
    inset -1px -1px 0 rgb(255 255 255 / .2),
    inset 0 0 0 1px rgb(255 255 255 / .1),
    inset 0 2px 1px rgb(255 255 255 / .07),
    inset 0 -7px 9px -8px rgb(255 255 255 / .16),
    inset 0 0 9px rgb(0 0 0 / .28);
}


.spinner { position: relative; width: 36px; height: 36px; }
.spinner i {
  position: absolute; left: 50%; top: 0;
  width: 3px; height: 9px; margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  transform-origin: 1.5px 18px;
  animation: spoke 1s steps(12, end) infinite;
}
@keyframes spoke { from { opacity: 1; } to { opacity: .14; } }


pre.code {
  position: relative;
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--well);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / .25), inset 0 0 0 1px rgb(255 255 255 / .05);
  overflow-x: auto;
  scrollbar-width: none;
  font: 400 13px/1.6 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color: #dfdfe0;
}
pre.code .k { color: #fc5fa3; font-weight: 600; }
pre.code .s { color: #fc6a5d; }
pre.code .n { color: #d0bf69; }
pre.code .c { color: #7f8c98; font-style: italic; }
pre.code .f { color: #67b7a4; }
pre.code .g { color: #a167e6; }
pre.code .p { color: #5dd8ff; }
pre.code .copy { position: absolute; top: 8px; right: 8px; height: 28px; padding: 0 10px; font-size: 12px; opacity: 0; transition: opacity .15s, background .2s; }
pre.code:hover .copy, pre.code .copy:focus-visible { opacity: 1; }


.uprofile { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; }
.uprofile-face {
  flex: none;
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px var(--ring);
}
.uprofile-initials {
  display: grid;
  place-items: center;
  font: 700 24px/1 Onest, sans-serif;
  color: #2a0f14;
  background: #ff7a6b;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .5);
}
.uprofile .muted { margin: 4px 0 0; font-size: 14px; color: var(--ink3); }
.uprofile-bio {
  max-width: 62ch;
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}


main {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--top) 24px 96px;
}
h1 { margin: 0; font-weight: 600; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
h2 { margin: 0; font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; }
.lede { margin: 16px 0 0; max-width: 54ch; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink2); text-wrap: pretty; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); }


[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); will-change: transform; }


@media (max-width: 760px) {
  .me { right: 12px; }
  main { padding: 84px 16px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner i { animation: none; }
  [data-tilt] { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
