*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #fcfcfc;
  --fg: #0f172a;
  --muted: #465169;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.about-shell {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 6vw, 4rem);
}

.about-simple {
  max-width: 720px;
  margin: 0 auto;
}

.about-simple h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.about-copy code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.15em 0.35em;
  border-radius: 0.35rem;
}

.about-copy pre {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #f1f5f9;
  color: var(--fg);
  border-radius: 0;
  overflow-x: auto;
}

.about-copy pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.about-copy .code-block {
  position: relative;
  margin: 0 0 1.25rem;
}

.about-copy .code-block pre {
  margin: 0;
}

.about-copy .code-copy {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.1rem;
  z-index: 1;
  opacity: 0;
  transition: background 140ms ease, color 140ms ease, transform 80ms ease, opacity 140ms ease;
  line-height: 1;
}

.about-copy .code-block:hover .code-copy,
.about-copy .code-block:focus-within .code-copy,
.about-copy .code-copy:focus-visible {
  opacity: 1;
}

.about-copy .code-copy:hover,
.about-copy .code-copy:focus-visible {
  background: rgba(148, 163, 184, 0.25);
  color: var(--fg);
}

.about-copy .code-copy:active {
  transform: translateY(1px);
  background: rgba(148, 163, 184, 0.4);
}

.about-copy .code-copy:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.7);
  outline-offset: 2px;
}

.about-copy .code-copy svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  transition: opacity 120ms ease;
}

.about-copy .code-copy .code-copy__icon--check {
  display: none !important;
}

.about-copy .code-copy.is-copied {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.about-copy .code-copy.is-copied .code-copy__icon--copy {
  display: none !important;
}

.about-copy .code-copy.is-copied .code-copy__icon--check {
  display: inline-block !important;
}

.about-copy p {
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
