:root {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;

  color-scheme: dark;
  color: #e4e4e7;
  background-color: #09090b;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

a {
  font-weight: 500;
  color: #e4e4e7;
  text-decoration: none;
  border-bottom: 1px solid #3f3f46;
  transition: all 0.15s ease;
}
a:hover {
  color: #c7f000;
  border-bottom-color: #c7f000;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background: #09090b;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  color: #c7f000;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

button {
  border-radius: 6px;
  border: 1px solid #3f3f46;
  padding: 0.5em 1em;
  margin: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  background: #1a1a1d;
  color: #e4e4e7;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
button:hover {
  border-color: #c7f000;
  background: rgba(199, 240, 0, 0.15);
  color: #c7f000;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px 0 rgba(199, 240, 0, 0.2);
}
button:active {
  transform: translateY(0);
}
button:focus-visible {
  outline: 2px solid #c7f000;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  align-items: start;
}

.container > h1 {
  grid-column: 1 / -1;
}

.container > div:first-of-type {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  text-align: center;
  color: #c7f000;
  margin-bottom: 1rem;
  font-family: 'SF Mono', Monaco, 'Cascadia Mono', monospace;
  opacity: 0.8;
}

fieldset {
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 0.5rem;
  background: #18181b;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

fieldset:hover {
  border-color: rgba(199, 240, 0, 0.3);
  background: #1c1c1f;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(199, 240, 0, 0.02);
}

legend {
  color: #1c1c1f;
  font-weight: 400;
  padding: 0.1rem 0.6rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(199, 240, 0);
  border-radius: 20px;
  border: 1px solid rgba(199, 240, 0, 0.4);
}
