/* ── Tool list layout ──────────────────────────────── */
.tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  clip-path: polygon(
    0 6px, 6px 0,
    calc(100% - 6px) 0, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) 100%,
    6px 100%, 0 calc(100% - 6px)
  );
}
.tool-row:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(0,255,209,0.08), 0 0 0 var(--cyan);
}
.tool-row--featured {
  border-color: rgba(0,255,209,0.25);
  background: linear-gradient(90deg, rgba(0,255,209,0.05) 0%, var(--bg-2) 40%);
}

.tool-row__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.tool-row__body { min-width: 0; }
.tool-row__top  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tool-row__title {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; white-space: nowrap;
}
.tool-row__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.tool-row__cta {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--cyan); white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
}
.tool-row:hover .tool-row__cta { text-decoration: underline; }

@media (max-width: 640px) {
  .tool-row { grid-template-columns: 48px 1fr; gap: 14px; padding: 16px; }
  .tool-row__cta { display: none; }
  .tool-row__title { font-size: 16px; }
}

/* ── Editorial content section ─────────────────────── */
.editorial__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1200px;
}

.editorial__block .label {
  display: block;
  margin-bottom: 12px;
}

.editorial__block h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
}

.editorial__block p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 16px;
}
.editorial__block p:last-child { margin-bottom: 0; }

.editorial__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editorial__list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.editorial__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 13px;
  top: 2px;
}

@keyframes dice-roll {
  0%   { transform: rotate(0deg) scale(1); }
  15%  { transform: rotate(-20deg) scale(1.15); }
  35%  { transform: rotate(15deg) scale(1.1); }
  55%  { transform: rotate(-10deg) scale(1.05); }
  70%  { transform: rotate(6deg) scale(1.02); }
  85%  { transform: rotate(-3deg) scale(1.01); }
  100% { transform: rotate(0deg) scale(1); }
}

.editorial__guides-intro {
  padding-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

@media (min-width: 768px) {
  .editorial__guides-intro-text {
    text-align: center;
  }
}

.editorial__guides-intro > p {
  margin: 0;
  flex: 1;
}

.editorial__guides-icon {
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 1px;
  animation: dice-roll 2.8s ease-in-out infinite;
  animation-delay: 1s;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,255,209,0.6));
}

.editorial__guides-box {
  margin-top: 24px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(0,255,209,0.03);
}

.editorial__guides-box > p {
  margin-top: 0;
}

.editorial__guides {
  margin-top: 0 !important;
}

.editorial__guides {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

@media (max-width: 767px) {
  .editorial__guides {
    justify-content: center;
  }
  .editorial__guide{width: 250px;}
}

.editorial__guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 1px solid;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  clip-path: polygon(
    0 4px, 4px 0,
    calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 4px), calc(100% - 4px) 100%,
    4px 100%, 0 calc(100% - 4px)
  );
}

.editorial__guide--cyan {
  color: var(--cyan);
  border-color: rgba(0,255,209,0.35);
  background: rgba(0,255,209,0.07);
}
.editorial__guide--cyan:hover {
  background: rgba(0,255,209,0.15);
  box-shadow: 0 0 16px rgba(0,255,209,0.25);
  transform: translateY(-2px);
}

.editorial__guide--green {
  color: #39FF14;
  border-color: rgba(57,255,20,0.35);
  background: rgba(57,255,20,0.07);
}
.editorial__guide--green:hover {
  background: rgba(57,255,20,0.15);
  box-shadow: 0 0 16px rgba(57,255,20,0.25);
  transform: translateY(-2px);
}

.editorial__guide--pink {
  color: var(--pink);
  border-color: rgba(255,46,99,0.35);
  background: rgba(255,46,99,0.07);
}
.editorial__guide--pink:hover {
  background: rgba(255,46,99,0.15);
  box-shadow: 0 0 16px rgba(255,46,99,0.25);
  transform: translateY(-2px);
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.faq-header h2 {
  margin: 0;
}

.faq-expand-all {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0,255,209,0.07);
  border: 1px solid rgba(0,255,209,0.3);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), box-shadow var(--transition);
}
.faq-expand-all:hover {
  background: rgba(0,255,209,0.15);
  box-shadow: 0 0 12px rgba(0,255,209,0.2);
}


.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; max-width: 1200px; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px; font-family: var(--font-head); font-size: 14px; font-weight: 600;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 18px; color: var(--cyan); transition: transform var(--transition);
  flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p {
  padding: 0 20px 16px; margin: 0;
  border-top: 1px solid var(--border);
}

/* ── Category label ────────────────────────────────── */
.tool-category {
  font-family: 'Press Start 2P', monospace; font-size: 11px;
  color: var(--text-muted); letter-spacing: 0.08em;
  text-transform: uppercase; padding: 20px 0 10px;
}
