/* Tools hub + Block OTA — shared monochrome extensions */

.tools-hero {
  min-height: calc(100dvh - var(--nav-h) - 8rem);
  display: grid;
  align-content: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-top: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tools-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 12ch;
  animation: rise 0.85s var(--ease-out) 0.12s both;
}

.tool-list {
  display: grid;
  gap: 0;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 0;
  position: relative;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: background 0.35s var(--ease);
  animation: rise 0.7s var(--ease-out) both;
}

.tool-row + .tool-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.tool-row:hover {
  background: var(--glow);
}

.tool-row:hover .tool-arrow {
  color: var(--fg);
  transform: translateX(4px);
}

.tool-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.tool-row h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.tool-row p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

.tool-arrow {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: color 0.3s var(--ease), transform 0.35s var(--ease);
  flex-shrink: 0;
}

/* Block OTA */
.ota-panel {
  max-width: 640px;
  width: 100%;
  min-width: 0;
}

.ota-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  animation: rise 0.9s var(--ease-out) 0.28s both;
}

.note-block {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  max-width: 640px;
}

.note-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--fg);
  opacity: 0.35;
}

.note-grid {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.note-item {
  padding: 1.35rem 0;
  position: relative;
}

.note-item + .note-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.note-item h3 {
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.note-item p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

.warn-line {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 48ch;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .tools-hero h1,
  .ota-panel .hero h1,
  .icon-hero h1 {
    max-width: none;
  }

  .tool-row {
    gap: 0.85rem;
  }
}
