.things-intro {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.things-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.things-link {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.things-link:hover {
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  border-color: var(--accent);
}
.things-link h3 {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 23px;
}
.things-intro span {
  color: var(--muted);
  font-size: 0.6em;
  display: block;
  margin-top: 12px;
}
.things-link h3 span {
  color: var(--accent);
  font-size: 18px;
}
.things-link p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.things-back {
  font-size: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .things-list {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .things-link {
    transition: none;
  }
}

.things-intro {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  color: var(--ink);
  margin: 20px 0 56px;
}

.things-group {
  margin: 0 0 48px;
}
.things-group > h2 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.things-list {
  gap: 24px;
  margin-top: 18px;
}
.things-link {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s,
    background 0.25s;
}
.things-link:hover {
  transform: translateY(-3px);
  background: transparent;
}
.things-name {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.things-link h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.things-link p {
  line-height: 1.6;
  max-width: 36ch;
}
.things-map-link {
  margin-top: 24px;
  display: block;
}
.thing-workspace {
  --tool-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.thing-workspace > section {
  animation: tool-arrive 0.5s var(--tool-ease) both;
}
.thing-workspace :is(button, input, textarea, select) {
  transition:
    background-color 0.22s,
    border-color 0.22s,
    box-shadow 0.22s,
    transform 0.18s var(--tool-ease);
}
.thing-workspace button:active:not(:disabled) {
  transform: scale(0.98);
}
.thing-workspace :is(input, textarea, select):focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.thing-workspace :is(#wc-result, #sp-workspace, #tw-results, #as-comparison):not([hidden]) {
  animation: tool-arrive 0.4s var(--tool-ease) both;
}
@keyframes tool-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1000px) {
  .things-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .things-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .things-intro {
    margin-bottom: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.thing-workspace, .things-gallery) *,
  :is(.thing-workspace, .things-gallery) *::before,
  :is(.thing-workspace, .things-gallery) *::after {
    /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
    transition: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
    scroll-behavior: auto !important;
  }
}

html[data-motion="off"] :is(.thing-workspace, .things-gallery) *,
html[data-motion="off"] :is(.thing-workspace, .things-gallery) *::before,
html[data-motion="off"] :is(.thing-workspace, .things-gallery) *::after {
  /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
  animation: none !important;
  /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
  transition: none !important;
  /* biome-ignore lint/complexity/noImportantStyles: Explicit motion preferences and native hidden override component presentation. */
  scroll-behavior: auto !important;
}
