:root {
  color-scheme: light;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #24272d;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body { min-height: 100svh; background: #fff; }

.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.workspace-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 10vw, 144px);
  width: min(100%, 620px);
}

.workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 150px;
  padding: 10px 12px 14px;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.folder {
  display: block;
  width: clamp(124px, 17vw, 160px);
  aspect-ratio: 160 / 128;
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(.2,.75,.25,1), filter 240ms ease;
}

.folder svg { display: block; width: 100%; height: 100%; overflow: visible; }

.workspace-name {
  color: #30343b;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
  transition: color 180ms ease;
}

.workspace:hover .folder,
.workspace:focus-visible .folder {
  transform: translateY(-7px);
  filter: saturate(1.04);
}

.workspace:hover .workspace-name,
.workspace:focus-visible .workspace-name { color: #111318; }

.workspace:focus-visible {
  outline: 2px solid #aeb8c6;
  outline-offset: 5px;
}

@media (max-width: 480px) {
  .landing { padding: 32px 16px; }
  .workspace-list { gap: 22px; }
  .workspace { min-width: 0; padding-inline: 6px; }
  .folder { width: min(36vw, 132px); }
  .workspace-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}