/* demo/style.css */
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: grid;
  color: #e0e0e0;
  overflow-x: hidden;
  background: #050505;
  place-items:  center;
  min-height: 100dvh;
  padding: 2rem;
  font-family: -apple-system, SF Pro Text, Helvetica Neue, sans-serif, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell;
}

.blob {
  position: fixed;
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50%;
}

.blob-1 {
  opacity: .4;
  background: #333;
  width: 40vmax;
  height: 40vmax;
  top: -15%;
  left: -10%;
}

.blob-2 {
  opacity: .3;
  background: #222;
  width: 35vmax;
  height: 35vmax;
  bottom: -20%;
  right: -10%;
}

main {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items:  center;
  gap: 1.5rem;
  width: 100%;
  max-width: 540px;
}

h1 {
  letter-spacing: -.04em;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.tagline {
  color: #fff6;
  max-width: 380px;
  font-size: 1rem;
  line-height: 1.5;
}

.install {
  overflow: hidden;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  width: 100%;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #ffffff14;
}

.tab {
  color: #ffffff59;
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  flex: 1;
  padding: .6rem 1rem;
  transition: color .15s, background .15s;
  font-size: .8rem;
}

.tab:hover {
  color: #fff9;
}

.tab.active {
  color: #fff;
  background: #ffffff0d;
}

.code-panels {
  position: relative;
  min-height: 3.5rem;
}

.panel {
  display: none;
  color: #a8e6cf;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: SF Mono, Fira Code, Cascadia Code, monospace;
  font-size: .82rem;
  line-height: 1.6;
}

.panel.active {
  display: block;
}

.links {
  display: flex;
  gap: 1rem;
}

.links a {
  color: #ffffff80;
  text-decoration: none;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  padding: .4rem 1rem;
  transition: color .15s, border-color .15s;
  font-size: .85rem;
}

.links a:hover {
  color: #fff;
  border-color: #ffffff4d;
}

.note {
  color: #fff3;
  font-size: .75rem;
}

.credit {
  position: fixed;
  z-index: 10;
  max-width: 300px;
  bottom: 12px;
  right: 16px;
}
